[gnome-themes-standard] Widget theme: correct selected fg color for unfocused windows.



commit f3be0d86611e0cdf1d1c640a74f2828034856dbe
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Dec 21 16:01:55 2011 +0100

    Widget theme: correct selected fg color for unfocused windows.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   10 ++++++----
 themes/Adwaita/gtk-3.0/gtk.css         |    2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index cf4a40c..0107f9c 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -64,16 +64,18 @@ GtkWindow:window-unfocused {
     color: @theme_fg_color;
 }*/
 
-*:selected {
-    background-color: @theme_selected_bg_color;
-    color: @theme_selected_fg_color;
-}
 
+*:selected,
 *:selected:focus {
     background-color: @theme_selected_bg_color;
     color: @theme_selected_fg_color;
 }
 
+*:selected:window-unfocused {
+    background-color: @theme_unfocused_selected_bg_color;
+    color: @theme_unfocused_selected_fg_color;
+}
+
 *:insensitive {
     background-color: @insensitive_bg_color;
     color: @insensitive_fg_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 0fb2054..d87efc0 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -27,7 +27,7 @@
 @define-color theme_unfocused_fg_color #a7aba7;
 @define-color theme_unfocused_bg_color @theme_bg_color; /* FIXME */
 @define-color theme_unfocused_selected_bg_color darker(@theme_selected_bg_color);
- define-color theme_unfocused_selected_fg_color @theme_selected_fg_color; /* FIXME */
+ define-color theme_unfocused_selected_fg_color @theme_unfocused_base_color; /* FIXME */
 @define-color unfocused_button_background @theme_unfocused_bg_color;
 @define-color unfocused_borders @borders;
 @define-color unfocused_insensitive_borders_color mix(@theme_unfocused_bg_color, @unfocused_borders, 0.5);



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