2014-11-23 17:06:45 +00:00
|
|
|
/**************
|
|
|
|
! GTK settings
|
|
|
|
***************/
|
|
|
|
|
2014-07-05 19:54:53 +00:00
|
|
|
* {
|
2015-08-06 23:10:35 +00:00
|
|
|
-GtkArrow-arrow-scaling: .5;
|
2015-08-06 19:39:22 +00:00
|
|
|
-GtkExpander-expander-size: 8;
|
|
|
|
-GtkStatusbar-shadow-type: none;
|
|
|
|
-GtkToolItemGroup-expander-size: 8;
|
|
|
|
-GtkWindow-resize-grip-height: 0;
|
|
|
|
-GtkWindow-resize-grip-width: 0;
|
|
|
|
-WnckTasklist-fade-overlay-rect: 0;
|
|
|
|
|
2015-08-06 23:10:35 +00:00
|
|
|
outline-color: alpha($selected_bg_color, .5);
|
2015-08-06 19:39:22 +00:00
|
|
|
outline-style: dashed;
|
|
|
|
outline-width: 1px;
|
|
|
|
outline-offset: -1px;
|
|
|
|
outline-radius: $roundness;
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
2014-11-23 17:06:45 +00:00
|
|
|
|
|
|
|
/*************
|
|
|
|
! Base states
|
|
|
|
*************/
|
|
|
|
|
2014-12-19 21:41:02 +00:00
|
|
|
%selected {
|
2015-08-06 19:39:22 +00:00
|
|
|
&, &:focus {
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
2014-10-18 20:57:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2015-08-06 23:10:35 +00:00
|
|
|
/* hyperlinks */
|
|
|
|
-GtkHTML-link-color: $link_color;
|
|
|
|
-GtkIMHtml-hyperlink-color: $link_color;
|
|
|
|
-GtkWidget-link-color: $link_color;
|
|
|
|
-GtkWidget-visited-link-color: $link_color;
|
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:selected { @extend %selected; }
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:insensitive,
|
2015-08-06 23:10:35 +00:00
|
|
|
&:insensitive:insensitive { color: mix($fg_color, $bg_color, .5); }
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:insensitive { -gtk-image-effect: dim; }
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:hover { -gtk-image-effect: highlight; }
|
2014-10-18 20:57:23 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:link, &:visited { color: $link_color; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.background {
|
2015-08-06 19:39:22 +00:00
|
|
|
background-color: $bg_color;
|
|
|
|
color: $fg_color;
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:backdrop {
|
|
|
|
text-shadow: none;
|
|
|
|
icon-shadow: none;
|
|
|
|
}
|
2015-05-31 16:20:35 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&.csd { background-color: $bg_color; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gtkstyle-fallback {
|
2015-08-06 19:39:22 +00:00
|
|
|
background-color: alpha($bg_color, .5);
|
|
|
|
color: $fg_color;
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:prelight {
|
|
|
|
background-color: shade($bg_color, 1.1);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:active {
|
2015-08-06 23:10:35 +00:00
|
|
|
background-color: shade($bg_color, .9);
|
2015-08-06 19:39:22 +00:00
|
|
|
color: $fg_color;
|
|
|
|
}
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:insensitive {
|
2015-08-06 23:10:35 +00:00
|
|
|
background-color: shade(shade($bg_color, .95), 1.05);
|
|
|
|
color: mix($fg_color, $bg_color, .5);
|
2015-08-06 19:39:22 +00:00
|
|
|
}
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:selected { @extend %selected; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GtkImage, GtkLabel, GtkBox, GtkGrid {
|
2015-08-06 19:39:22 +00:00
|
|
|
&, &:insensitive { background-color: transparent; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
2014-10-18 20:57:23 +00:00
|
|
|
GtkLabel {
|
2015-08-06 19:39:22 +00:00
|
|
|
&.separator {
|
|
|
|
@extend .dim-label;
|
2015-08-06 23:10:35 +00:00
|
|
|
|
|
|
|
color: $fg_color;
|
2015-08-06 19:39:22 +00:00
|
|
|
}
|
2014-10-18 20:57:23 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&:selected { @extend %selected; }
|
2014-10-18 20:57:23 +00:00
|
|
|
|
2015-08-06 23:10:35 +00:00
|
|
|
&:insensitive { color: mix($fg_color, $bg_color, .5); }
|
2014-10-18 20:57:23 +00:00
|
|
|
}
|