2014-07-05 19:54:53 +00:00
|
|
|
@import "functions";
|
2014-10-18 20:57:23 +00:00
|
|
|
@import "global";
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2014-11-23 17:06:45 +00:00
|
|
|
|
|
|
|
/**************
|
|
|
|
! GTK settings
|
|
|
|
***************/
|
|
|
|
|
2014-07-05 19:54:53 +00:00
|
|
|
* {
|
|
|
|
-GtkArrow-arrow-scaling: 0.5;
|
|
|
|
-GtkButton-child-displacement-x: 0;
|
|
|
|
-GtkButton-child-displacement-y: 0;
|
|
|
|
-GtkButton-default-border: 0;
|
|
|
|
-GtkButton-image-spacing: 0;
|
|
|
|
-GtkButton-inner-border: 1;
|
|
|
|
-GtkButton-interior-focus: true;
|
|
|
|
-GtkButtonBox-child-min-height: 24;
|
|
|
|
-GtkButtonBox-child-internal-pad-y: 1;
|
|
|
|
-GtkExpander-expander-size: 8;
|
|
|
|
-GtkMenu-horizontal-padding: 0;
|
|
|
|
-GtkMenu-vertical-padding: 0;
|
|
|
|
-GtkPaned-handle-size: 4;
|
|
|
|
-GtkProgressBar-min-horizontal-bar-height: 12;
|
|
|
|
-GtkProgressBar-min-vertical-bar-width: 12;
|
|
|
|
-GtkRange-slider-width: 12;
|
|
|
|
-GtkRange-stepper-spacing: 0;
|
|
|
|
-GtkRange-trough-border: 0;
|
|
|
|
-GtkRange-trough-under-steppers: 1;
|
|
|
|
-GtkScrollbar-has-backward-stepper: false;
|
|
|
|
-GtkScrollbar-has-forward-stepper: false;
|
|
|
|
-GtkScrollbar-min-slider-length: 80;
|
|
|
|
-GtkScrolledWindow-scrollbar-spacing: 0;
|
|
|
|
-GtkScrolledWindow-scrollbars-within-bevel: 1;
|
|
|
|
-GtkStatusbar-shadow-type: none;
|
|
|
|
-GtkTextView-error-underline-color: $error_color;
|
|
|
|
-GtkToolButton-icon-spacing: 6;
|
|
|
|
-GtkToolItemGroup-expander-size: 8;
|
|
|
|
-GtkTreeView-expander-size: 8;
|
|
|
|
-GtkWindow-resize-grip-height: 0;
|
|
|
|
-GtkWindow-resize-grip-width: 0;
|
|
|
|
-WnckTasklist-fade-overlay-rect: 0;
|
|
|
|
|
|
|
|
outline-color: alpha($selected_bg_color, 0.5);
|
|
|
|
outline-style: dashed;
|
|
|
|
outline-width: 1px;
|
2014-12-14 11:47:14 +00:00
|
|
|
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-10-18 20:57:23 +00:00
|
|
|
%selected_items {
|
|
|
|
&, &:focus {
|
2014-07-05 19:54:53 +00:00
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
2014-10-18 20:57:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
&:selected { @extend %selected_items; }
|
2014-07-05 19:54:53 +00:00
|
|
|
|
|
|
|
&:insensitive,
|
2014-10-20 08:40:41 +00:00
|
|
|
&:insensitive:insensitive { color: mix($fg_color, $bg_color, 0.50); }
|
2014-07-05 19:54:53 +00:00
|
|
|
|
|
|
|
&:insensitive { -gtk-image-effect: dim; }
|
|
|
|
|
|
|
|
&:hover { -gtk-image-effect: highlight; }
|
2014-10-18 20:57:23 +00:00
|
|
|
|
|
|
|
/* hyperlinks */
|
|
|
|
-GtkHTML-link-color: $link_color;
|
|
|
|
-GtkIMHtml-hyperlink-color: $link_color;
|
|
|
|
-GtkWidget-link-color: $link_color;
|
|
|
|
-GtkWidget-visited-link-color: $link_color;
|
|
|
|
|
|
|
|
&:link, &:visited { color: $link_color; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.background {
|
|
|
|
background-color: $bg_color;
|
|
|
|
color: $fg_color;
|
|
|
|
|
|
|
|
&:backdrop {
|
|
|
|
text-shadow: none;
|
|
|
|
icon-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gtkstyle-fallback {
|
2014-11-23 17:06:45 +00:00
|
|
|
background-color: alpha($bg_color, .5);
|
2014-07-05 19:54:53 +00:00
|
|
|
color: $fg_color;
|
|
|
|
|
|
|
|
&:prelight {
|
|
|
|
background-color: shade($bg_color, 1.1);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: shade($bg_color, 0.9);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:insensitive {
|
|
|
|
background-color: shade(shade($bg_color, 0.95), 1.05);
|
2014-10-20 08:40:41 +00:00
|
|
|
color: mix($fg_color, $bg_color, 0.50);
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
2014-10-18 20:57:23 +00:00
|
|
|
&:selected { @extend %selected_items; }
|
2014-07-05 19:54:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GtkImage, GtkLabel, GtkBox, GtkGrid {
|
|
|
|
&, &:insensitive { background-color: transparent; }
|
|
|
|
}
|
|
|
|
|
2014-10-18 20:57:23 +00:00
|
|
|
GtkLabel {
|
|
|
|
&.separator {
|
|
|
|
color: $fg_color;
|
2014-07-05 19:54:53 +00:00
|
|
|
|
2014-10-18 20:57:23 +00:00
|
|
|
@extend .dim-label;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:selected { @extend %selected_items; }
|
|
|
|
|
2014-10-20 08:40:41 +00:00
|
|
|
&:insensitive { color: mix($fg_color, $bg_color, 0.50); }
|
2014-10-18 20:57:23 +00:00
|
|
|
}
|