[gnome-themes-standard] spinbutton: don't apply insets to the spinbutton



commit 062fc8a82e0fc3f4e1f8d93565bc45c4a26cc012
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 2 13:27:12 2011 -0400

    spinbutton: don't apply insets to the spinbutton
    
    It doesn't look nice, as the widget is composed by two separate
    backgrounds.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 27f24c1..3773272 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -170,8 +170,11 @@
 /*****************
  * GtkSpinButton *
  *****************/
-.spinbutton {
+.spinbutton,
+.spinbutton:focused {
     padding: 3 2;
+
+    -adwaita-inset-top: none;
 }
 
 .spinbutton.button,



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