[gnome-themes-standard] highcontrast: improve theming for checks/radios, fix insensitive menus



commit 66d97a79a3f3cb0654b577bac4b3d5cac8a42ce6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 30 14:01:41 2012 -0400

    highcontrast: improve theming for checks/radios, fix insensitive menus

 themes/a11y-base.css |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/themes/a11y-base.css b/themes/a11y-base.css
index c2cef63..41e6a39 100644
--- a/themes/a11y-base.css
+++ b/themes/a11y-base.css
@@ -69,6 +69,8 @@ GtkCheckButton:selected:focus {
     color: @theme_fg_color;
 }
 
+GtkLabel,
+GtkLabel:insensitive,
 GtkImage,
 GtkImage:insensitive {
     background-color: transparent;
@@ -304,6 +306,10 @@ GtkComboBox .button {
     color: @theme_fg_color;
 }
 
+.menuitem:insensitive {
+    color: @theme_button_insensitive_fg;
+}
+
 .menubar .menuitem {
     padding: 3px 5px;
 }
@@ -668,6 +674,45 @@ column-header:first-child .button {
 .radio {
     border-width: 1px;
     border-style: solid;
+    border-color: @theme_active_color;
+    color: @theme_active_color;
+
+    background-color: @theme_button_bg;
+}
+
+.check:insensitive,
+.radio:insensitive {
+    border-color: @theme_button_insensitive_border;
+    color: @theme_button_insensitive_fg;
+    background-color: @theme_button_insensitive_bg;
+}
+
+.menuitem.check,
+.menuitem.radio {
+    background-color: transparent;
+    color: transparent;
+    border-color: transparent;
+}
+
+.menuitem.radio:active,
+.menuitem.check:active,
+.menuitem.radio:inconsistent,
+.menuitem.check:inconsistent {
+    color: @theme_active_color;
+}
+
+.menuitem.radio:active:hover,
+.menuitem.check:active:hover,
+.menuitem.radio:inconsistent:hover,
+.menuitem.check:inconsistent:hover {
+    color: @theme_base_color;
+}
+
+.menuitem.radio:active:insensitive,
+.menuitem.check:active:insensitive,
+.menuitem.radio:inconsistent:insensitive,
+.menuitem.check:inconsistent:insensitive {
+    color: @theme_button_insensitive_fg;
 }
 
 .expander row:selected:focus {



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