summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-08 21:38:37 +0100
committerraveit65 <[email protected]>2016-03-08 21:38:37 +0100
commit8ed31483ab2925bf210004b03cae8e487fc16ce9 (patch)
tree1b8d93948c3042af2cafa321af5582724254603e /desktop-themes
parent31414d4857a69762f99a341d1686b4b5305b4844 (diff)
downloadmate-themes-8ed31483ab2925bf210004b03cae8e487fc16ce9.tar.bz2
mate-themes-8ed31483ab2925bf210004b03cae8e487fc16ce9.tar.xz
GTK+-3.20 Traditional themes: adjust GtkSwitch
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css10
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css10
2 files changed, 12 insertions, 8 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index ca06f8e7..a9b6890d 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -2680,18 +2680,20 @@ switch {
}
scale progressbar,
-switch trough:active {
+switch:active {
color: @switch_trough_active_color;
}
-GtkSwitch.trough:active {
+switch:active,
+switch:backdrop:active {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@switch_trough_active_gradient_a),
to (@switch_trough_active_gradient_b));
}
-switch trough:disabled {
+switch:disabled,
+switch:backdrop:disabled {
background-image: none;
background-color: @insensitive_bg_color;
color: mix(@insensitive_bg_color, @insensitive_fg_color, 0.5);
@@ -2703,7 +2705,7 @@ switch slider {
border-radius: 2px;
border-style: solid;
border-color: @switch_slider_border_color;
- padding: 0px 0px 1px 0px;
+ padding: 4px;
}
switch slider:disabled {
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index f93b506a..8d251fce 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -2681,18 +2681,20 @@ switch {
}
scale progressbar,
-switch trough:active {
+switch:active {
color: @switch_trough_active_color;
}
-GtkSwitch.trough:active {
+switch:active,
+switch:backdrop:active {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@switch_trough_active_gradient_a),
to (@switch_trough_active_gradient_b));
}
-switch trough:disabled {
+switch:disabled,
+switch:backdrop:disabled {
background-image: none;
background-color: @insensitive_bg_color;
color: mix(@insensitive_bg_color, @insensitive_fg_color, 0.5);
@@ -2704,7 +2706,7 @@ switch slider {
border-radius: 2px;
border-style: solid;
border-color: @switch_slider_border_color;
- padding: 0px 0px 1px 0px;
+ padding: 4px;
}
switch slider:disabled {