[gnome-themes-standard] highcontrast: add :selected wildcard and gtkstyle-fallback selectors



commit d4f3049dc48e3511b41887ad5884cb13a2014160
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Sep 7 14:16:33 2012 -0400

    highcontrast: add :selected wildcard and gtkstyle-fallback selectors
    
    For compatibility with GtkStyle and applications that use :selected
    outside of entries and menus, like Emacs.

 themes/HighContrast/gtk-3.0/gtk-widgets.css |   30 +++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/themes/HighContrast/gtk-3.0/gtk-widgets.css b/themes/HighContrast/gtk-3.0/gtk-widgets.css
index 55501fb..b99aa40 100644
--- a/themes/HighContrast/gtk-3.0/gtk-widgets.css
+++ b/themes/HighContrast/gtk-3.0/gtk-widgets.css
@@ -59,6 +59,36 @@ GtkClutterOffscreen {
     border-color: @theme_button_insensitive_active_bg;
 }
 
+*:selected {
+    background-color: @theme_active_color;
+    color: @theme_base_color;
+}
+
+.gtkstyle-fallback {
+    background-color: @theme_base_color;
+    color: @theme_fg_color;
+}
+
+.gtkstyle-fallback:prelight {
+    background-color: @theme_fg_color;
+    color: @theme_base_color;
+}
+
+.gtkstyle-fallback:active {
+    background-color: @theme_active_color;
+    color: @theme_base_color;
+}
+
+.gtkstyle-fallback:insensitive {
+    background-color: @theme_insensitive_bg;
+    color: @theme_insensitive_color;
+}
+
+.gtkstyle-fallback:selected {
+    background-color: @theme_active_color;
+    color: @theme_base_color;
+}
+
 /********
  * Misc *
  ********/



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