[gnome-themes-standard] spinbutton: update for horizontal layout redesign



commit 820ee557b03dfa42b0d68667195740b5202f9c4d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Nov 23 10:56:03 2011 -0500

    spinbutton: update for horizontal layout redesign

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   49 +++++++++++++++++++------------
 1 files changed, 30 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index d5a72a1..e27e1bf 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -141,7 +141,7 @@ GtkStatusbar {
 .entry {
     background-color: @theme_base_color;
 
-    border-style: none;
+    border-style: solid;
     border-width: 1;
     border-radius: 3;
 
@@ -203,33 +203,44 @@ GtkComboBox.combobox-entry .button:prelight,
 /*****************
  * GtkSpinButton *
  *****************/
-.spinbutton.button,
-.spinbutton.button:prelight,
-.spinbutton.button:active,
-.spinbutton.button:focused,
-.spinbutton.button:insensitive {
-    background-image: none;
-    background-color: alpha(@theme_base_color, 0.0);
-
-    border-style: none;
-    border-image: none;
-}
-
-.spinbutton.button {
+.spinbutton .button {
     color: @internal_element_color;
 }
 
-.spinbutton.button:prelight,
-.spinbutton.button:active {
+.spinbutton .button:prelight,
+.spinbutton .button:active {
     color: @internal_element_prelight;
 }
 
-.spinbutton.button:insensitive {
+.spinbutton .button:insensitive {
     color: @insensitive_border_color;
 }
 
-.spinbutton.entry {
-    padding: 0 6 0 1;
+.spinbutton .button,
+.spinbutton .button:prelight,
+.spinbutton .button:active,
+.spinbutton .button:focused,
+.spinbutton .button:insensitive  {
+    border-width: 0 1;
+    border-radius: 0;
+
+    border-image: none;
+    border-style: solid;
+    border-color: @button_border;
+}
+
+.spinbutton .button:nth-child(first),
+.spinbutton .button:nth-child(first):prelight,
+.spinbutton .button:nth-child(first):active,
+.spinbutton .button:nth-child(first):focused,
+.spinbutton .button:nth-child(first):insensitive,
+.spinbutton .button:nth-child(last),
+.spinbutton .button:nth-child(last):prelight,
+.spinbutton .button:nth-child(last):active,
+.spinbutton .button:nth-child(last):focused,
+.spinbutton .button:nth-child(last):insensitive {
+    border-style: none;
+    border-image: none;
 }
 
 /****************



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