[gnome-themes-standard] Widget theme: fixed text-shadow for raised buttons, blue text for active buttons.



commit a64dfabf61a38ab3d7fa8d1bb3be7c3db3a69859
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Dec 7 14:26:29 2011 +0100

    Widget theme: fixed text-shadow for raised buttons, blue text for active buttons.

 .../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css |    9 ++++++++-
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |   15 ++++++++++-----
 2 files changed, 18 insertions(+), 6 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 dc73de2..8f56247 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -37,8 +37,15 @@ GtkComboBox {
 }
 
 .button *:active,
-GtkComboBox *:active {
+.button *:active:hover,
+.button *:active:focus,
+.button *:active:hover:focus,
+GtkComboBox *:active,
+GtkComboBox *:active:hover,
+GtkComboBox *:active:focus,
+GtkComboBox *:active:hover:focus {
     text-shadow: @button_active_text_shadow 0 -1;
+    color: @theme_selected_bg_color; /* Not sure about this one */
 }
 
 .button
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 3d9618e..e019180 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -414,16 +414,20 @@ GtkComboBox.combobox-entry .button {
 
     border-style: solid;
     border-color: transparent;
-    /* border-image in -assets variant */
 
     text-shadow: @button_text_shadow 0 1;
 }
 
-.button *:active {
+.button *:active,
+.button *:active:hover,
+.button *:active:hover:focus,
+.button *:active:focus {
     text-shadow: @button_active_text_shadow 0 1;
+    font-weight: medium;
+    color: darker(@theme_selected_bg_color); /* Not sure about this one */
 }
 
-.button *:insensitive { /* this really makes no sense*/
+.button *:insensitive {
     color: @insensitive_fg_color;
     text-shadow: none;
 }
@@ -451,10 +455,11 @@ GtkComboBox.combobox-entry .button {
     border-color: transparent;
 }
 
-.button.raised *,
-.raised .button *,
+.primary-toolbar .button.raised *,
+.primary-toolbar .raised .button *,
 .inline-toolbar .button * {
     icon-shadow: @button_text_shadow 0 1;
+    text-shadow: @button_text_shadow 0 1;
 }
 
 .button.raised *:active,



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