[gnome-themes-standard] HighContrast: fix insensitive menu items
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] HighContrast: fix insensitive menu items
- Date: Sat, 31 Aug 2013 23:32:31 +0000 (UTC)
commit aca7970084ca29a75494a31a7a1a227a30c6728c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Aug 31 16:21:32 2013 -0700
HighContrast: fix insensitive menu items
These weren't rendered correctly.
themes/HighContrast/gtk-3.0/gtk-widgets.css | 30 +++++++++++---------------
1 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/themes/HighContrast/gtk-3.0/gtk-widgets.css b/themes/HighContrast/gtk-3.0/gtk-widgets.css
index 4634a8d..7eda046 100644
--- a/themes/HighContrast/gtk-3.0/gtk-widgets.css
+++ b/themes/HighContrast/gtk-3.0/gtk-widgets.css
@@ -501,38 +501,34 @@ GtkComboBox .button {
/*********
* Menus *
*********/
+.menu {
+ border-style: solid;
+ border-color: @theme_fg_color;
+ border-width: 1px;
+
+ color: @theme_fg_color;
+}
+
.menuitem {
color: @theme_fg_color;
+ background-color: transparent;
}
.menuitem:insensitive {
color: @theme_button_insensitive_fg;
}
-.menubar .menuitem {
- padding: 3px 5px;
-}
-
-.menubar .menuitem:hover {
- background-color: @theme_active_color;
+.menuitem:hover {
color: @theme_base_color;
+ background-color: @theme_active_color;
}
.menu .menuitem {
padding: 4px;
}
-.menu .menuitem:hover {
- background-color: @theme_active_color;
- color: @theme_base_color;
-}
-
-.menu {
- border-style: solid;
- border-color: @theme_fg_color;
- border-width: 1px;
-
- color: @theme_fg_color;
+.menubar .menuitem {
+ padding: 3px 5px;
}
.menuitem.separator {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]