diff options
author | raveit65 <[email protected]> | 2016-03-08 21:38:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-03-08 21:39:00 +0100 |
commit | 73c1b1c4f8516ca777d31cc924ddf3f8e02656a8 (patch) | |
tree | 442d2382ca365545a9273e619567db8464bf54ab | |
parent | a2be0d3debc38fe95d4deca4d77a70da9e189039 (diff) | |
download | mate-themes-73c1b1c4f8516ca777d31cc924ddf3f8e02656a8.tar.bz2 mate-themes-73c1b1c4f8516ca777d31cc924ddf3f8e02656a8.tar.xz |
GTK+-3.20 Traditional themes: adjust GtkSwitch
-rw-r--r-- | desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css | 10 | ||||
-rw-r--r-- | desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 10 |
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 { |