[gnome-themes-standard/lapo-work] Widget theme: removed text-shadow from insenitive combobox and GtkLinkButtons, some small cleanups.



commit f9db601687d493974b4267b178dcad7e54b2f1d8
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Nov 29 21:55:42 2011 +0100

    Widget theme: removed text-shadow from insenitive combobox and GtkLinkButtons, some small cleanups.

 .../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css |   11 +++++------
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |   15 +++++++++++----
 2 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
index 77ec380..33e6567 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -24,21 +24,20 @@ GtkSwitch.slider {
     box-shadow: 0 -1 inset alpha(white, 0.07), 0 1 inset @theme_base_color, 0 2 inset alpha(@button_border, 0.15);
 }
 
-.button {
+.button,
+GtkComboBox {
     text-shadow: @button_text_shadow 0 -1;
 }
 
-.button *:active {
+.button *:active,
+GtkComboBox:active {
     text-shadow: @button_active_text_shadow 0 -1;
 }
 
 .button
 .button.raised,
 .raised .button,
-.inline-toolbar .button {
-    icon-shadow: @button_text_shadow 0 -1;
-}
-
+.inline-toolbar .button,
 .button.raised *,
 .raised .button *,
 .inline-toolbar .button * {
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 53887a3..871b953 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -48,6 +48,7 @@
 /***************
  * Base States *
  ***************/
+
 GtkWindow {
     color: @theme_fg_color;
 }
@@ -407,7 +408,7 @@ GtkScrolledWindow.frame {
     text-shadow: @button_text_shadow 0 1;
 }
 
-.button *:active {
+.button *:active * {
     text-shadow: @button_active_text_shadow 0 1;
 }
 
@@ -422,9 +423,7 @@ GtkScrolledWindow.frame {
 .primary-toolbar .button:focus,
 .primary-toolbar .button:insensitive {
     border-image: none;
-    border-style: solid;
-    border-color: transparent;
-    border-width: 0;
+    border-style: none;
 }
 
 /* We may want a background for focused buttons, but in the meantime let's remove it too */
@@ -684,6 +683,10 @@ GtkScrolledWindow.frame {
     border-radius: 3;
 }
 
+GtkLinkButton * {
+    text-shadow: none;
+}
+
 /*****************
  * Notebooks and *
  * tabs          *
@@ -785,6 +788,10 @@ GtkComboBox {
     text-shadow: @button_text_shadow 0 1;
 }
 
+GtkComboBox *:insensitive {
+    text-shadow: none;
+}
+
 GtkComboBox .separator {
     /* always disable separators */
     -GtkWidget-wide-separators: true;



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