[gnome-themes-standard] Widget theme: fixed background of pushed entry style buttons.



commit a6531d67b6f440ca070bcfe123fc1a621fe77002
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Dec 30 14:55:39 2011 +0100

    Widget theme: fixed background of pushed entry style buttons.

 themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css |    3 ++-
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 4233b1d..bcee4b1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -184,7 +184,8 @@ column-header .button:active:focus {
     background-image: -gtk-gradient(linear,
                                     left top, left bottom,
                                     from(shade(@entry_background_a, 0.9)),
-                                    to(@entry_background_d));
+                                    to(@entry_background_b));
+    box-shadow: 0 1 inset @entry_inset, 0 2 inset alpha(@entry_inset, 0.4);
 }
 
 /* Insensitive entry background */
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 27265ee..1130dda 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1231,12 +1231,12 @@ GtkComboBox.combobox-entry .button:window-unfocused:last-child {
 
 GtkComboBox.combobox-entry .button:active:last-child,
 GtkComboBox.combobox-entry .button:hover:active:last-child {
-    box-shadow: 1 0 inset @inset_dark_color;
+    box-shadow: 1 0 inset @inset_dark_color, 0 1 inset @entry_inset, 0 2 inset alpha(@entry_inset, 0.4);;
 }
 
 GtkComboBox.combobox-entry .button:active:first-child,
 GtkComboBox.combobox-entry .button:hover:active:first-child {
-    box-shadow: -1 0 inset @inset_dark_color;
+    box-shadow: -1 0 inset @inset_dark_color, 0 1 inset @entry_inset, 0 2 inset alpha(@entry_inset, 0.4);;
 }
 
 GtkComboBox.combobox-entry .button *:active,



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