[gnome-themes-standard] Flatten switch active background style



commit acd6dfcb769d64fdf738178ae99a7f1c1a39fe33
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue May 6 17:13:11 2014 -0400

    Flatten switch active background style

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b33e001..c50c6f4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -876,10 +876,11 @@ GtkColorButton.button {
 
 .trough:active,
 .trough:active:hover {
-    box-shadow: inset .5px .5px @theme_selected_bg_color,
-                inset -.5px .5px @theme_selected_bg_color,
-                inset .5px -.5px @theme_selected_bg_color,
-                inset -.5px -.5px @theme_selected_bg_color;
+    box-shadow: inset 0 2px 2px shade(@theme_selected_bg_color, 0.7),
+                inset .5px .5px shade(@theme_selected_bg_color, 0.7),
+                inset -.5px .5px shade(@theme_selected_bg_color, 0.7),
+                inset .5px -.5px shade(@theme_selected_bg_color, 0.7),
+                inset -.5px -.5px shade(@theme_selected_bg_color, 0.7);
     border-image: none;
     border-width: 0px 0px 1px;
     border-radius: 3.5px;
@@ -3874,12 +3875,8 @@ GtkSwitch.trough:active {
 }
 
 GtkSwitch.trough:active {
-    background-image: linear-gradient(to bottom,
-                                      @switch_trough_active_bg_a,
-                                      @switch_trough_active_bg_b 20%,
-                                      @switch_trough_active_bg_c
-                                      );
-    background-color: transparent;
+    background-image: none;
+    background-color: @theme_selected_bg_color;
 }
 
 GtkSwitch.trough:insensitive {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]