numix-gtk-theme/gtk-3.0/scss/widgets/_misc.scss

226 lines
4.2 KiB
SCSS
Raw Normal View History

2014-12-13 14:17:53 +00:00
/***************
! Dimmed label *
****************/
2014-12-28 14:54:48 +00:00
@include exports("dimlabel") {
2015-08-06 19:39:22 +00:00
.dim-label {
2015-08-06 23:10:35 +00:00
opacity: .5;
2015-08-06 19:39:22 +00:00
text-shadow: none;
}
2014-12-13 14:17:53 +00:00
}
2014-12-13 12:06:16 +00:00
/***********
! Tooltip *
************/
@include exports("tooltip") {
2015-08-06 19:39:22 +00:00
.tooltip {
2015-08-06 20:07:34 +00:00
&.background {
@include linear-gradient($tooltip_bg_color);
2014-12-14 12:22:13 +00:00
2015-08-06 23:10:35 +00:00
border: 0;
2015-08-06 20:07:34 +00:00
border-radius: $roundness;
color: $tooltip_fg_color;
}
2014-12-13 12:06:16 +00:00
2015-08-06 20:07:34 +00:00
* {
background-color: transparent;
color: inherit;
}
2015-08-06 19:39:22 +00:00
}
2014-12-13 12:06:16 +00:00
}
/***********
! Dialogs *
************/
@include exports("dialogs") {
2015-08-06 19:39:22 +00:00
GtkMessageDialog, .message-dialog, .prompt {
-GtkDialog-content-area-border: 0;
-GtkDialog-action-area-border: $spacing;
-GtkDialog-button-spacing: 0;
margin: 0;
padding: 0;
}
2014-12-13 12:06:16 +00:00
}
/*********************
! App notifications *
**********************/
@include exports("notifications") {
2015-08-06 19:39:22 +00:00
.app-notification {
&, &.frame {
border-style: solid;
border-color: border_normal($osd_bg);
2015-08-06 23:10:35 +00:00
border-width: 0 1px 1px;
2015-08-06 19:39:22 +00:00
border-radius: 0 0 $roundness $roundness;
padding: $spacing * 2;
background-color: $osd_bg;
background-image: none;
color: $osd_fg;
.button { @include button($osd_bg, $osd_fg); }
}
}
2014-12-13 12:06:16 +00:00
}
/*************
! Expanders *
**************/
@include exports("expander") {
2015-08-06 19:39:22 +00:00
GtkExpander {
padding: $spacing;
outline-offset: 1px;
}
.expander {
2015-09-09 18:49:18 +00:00
color: currentColor;
opacity: .7;
2015-08-06 19:39:22 +00:00
2015-09-09 18:49:18 +00:00
&:hover { opacity: .8; }
2015-08-06 19:39:22 +00:00
2015-09-09 18:49:18 +00:00
&:active { opacity: .7; }
2015-08-06 19:39:22 +00:00
}
2014-12-13 12:06:16 +00:00
}
/*******************
! Symbolic images *
********************/
@include exports("symbolicimage") {
2015-08-06 19:39:22 +00:00
.image {
2015-09-09 18:49:18 +00:00
color: currentColor;
opacity: .5;
2014-12-13 12:06:16 +00:00
2015-09-09 18:49:18 +00:00
&:hover { opacity: .9; }
2014-12-13 12:06:16 +00:00
2015-09-09 18:49:18 +00:00
&:selected, &:selected:hover {
color: $selected_fg_color;
opacity: 1;
}
2015-08-06 19:39:22 +00:00
}
2014-12-13 12:06:16 +00:00
}
/****************
! Floating bar *
*****************/
@include exports("floatingbar") {
2015-08-06 19:39:22 +00:00
.floating-bar {
@include linear-gradient($bg_color);
border: 1px solid border_normal($bg_color);
border-radius: $roundness;
color: $fg_color;
&.top {
border-top-width: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
&.right {
border-right-width: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
&.bottom {
border-bottom-width: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
&.left {
border-left-width: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.button {
-GtkButton-image-spacing: 0;
-GtkButton-inner-border: 0;
2015-08-06 23:10:35 +00:00
border: 0;
2015-08-06 19:39:22 +00:00
background-color: transparent;
background-image: none;
}
}
2014-12-13 12:06:16 +00:00
}
/*************************
! Touch text selections *
**************************/
@include exports("touchbubble") {
2015-08-06 19:39:22 +00:00
GtkBubbleWindow {
border-radius: $roundness;
background-clip: border-box;
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
&.osd.background { background-color: $osd_bg; }
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
.toolbar { background-color: transparent; }
}
2014-12-13 12:06:16 +00:00
}
/***************
! Font-viewer *
****************/
@include exports("fontviewer") {
2015-08-06 19:39:22 +00:00
SushiFontWidget {
padding: $spacing ($spacing * 2);
}
}
/*************
! Gucharmap *
**************/
@include exports("charmap") {
2015-08-06 19:39:22 +00:00
GucharmapChartable {
background-color: $base_color;
color: $text_color;
2015-08-06 19:39:22 +00:00
&:focus, &:hover, &:active, &:selected { @extend %selected; }
}
}
/*************
! Evolution *
**************/
@include exports("evolution") {
2015-08-06 19:39:22 +00:00
EPreviewPane .entry {
background-color: $base_color;
color: $text_color;
}
}
/*******************
! Gnome Bluetooth *
********************/
@include exports("gnome-bluetooth") {
2015-08-06 19:39:22 +00:00
GtkEntry.entry.pin-entry {
font: regular 50;
padding-left: 25px;
padding-right: 25px;
}
2015-08-06 19:39:22 +00:00
GtkLabel.pin-label { font: regular 50; }
}