aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/_common.scss
diff options
context:
space:
mode:
authorHorst31802015-06-22 23:00:17 +0200
committerHorst31802015-06-22 23:00:17 +0200
commit924cfb92065aa8fe64da2e271dd014de2d0187c2 (patch)
tree12bd520acf2e2dede1256a794b1d616252e39f49 /common/gtk-3.0/3.16/_common.scss
parentdcfd87a37b782369170f8534b40e49d71a07ac95 (diff)
downloadsolarc-theme-924cfb92065aa8fe64da2e271dd014de2d0187c2.tar.gz
solarc-theme-924cfb92065aa8fe64da2e271dd014de2d0187c2.tar.xz
solarc-theme-924cfb92065aa8fe64da2e271dd014de2d0187c2.zip
some switch tweaks
Diffstat (limited to 'common/gtk-3.0/3.16/_common.scss')
-rw-r--r--common/gtk-3.0/3.16/_common.scss14
1 files changed, 11 insertions, 3 deletions
diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss
index 2e705c0..d6a187e 100644
--- a/common/gtk-3.0/3.16/_common.scss
+++ b/common/gtk-3.0/3.16/_common.scss
@@ -1328,9 +1328,13 @@ GtkComboBox {
&:insensitive { background-image: linear-gradient(to bottom, transparentize($header_fg, 0.7)); }
}
&.slider {
- background-image: linear-gradient(to bottom, mix($base_color, $header_bg, 90%));
+ background-image: linear-gradient(to bottom, if($darker == 'false', mix($base_color, $header_bg, 90%), darken($header_bg, 4%)));
- &:insensitive { background-image: linear-gradient(to bottom, mix($base_color, $header_bg, 40%)); }
+ &:insensitive {
+ background-image: linear-gradient(to bottom, if($darker == 'false', mix($base_color, $header_bg, 40%), darken($header_bg, 1%)));
+
+ @if $darker=='true' { border-color: mix($header_bg, $selected_bg_color, 60%); }
+ }
}
}
}
@@ -1908,7 +1912,11 @@ GtkSwitch {
// load switch troughs from .png files in assets directory
#{$i}GtkSwitch.trough#{$k} {
- background-image: -gtk-scaled(url("assets/switch#{$l}#{$j}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$j}#{$asset_suffix}@2.png"));
+ background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
+ }
+
+ .list-row:selected GtkSwitch.trough#{$k} {
+ background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
}
.header-bar GtkSwitch.trough#{$k},