[gnome-themes-standard/gnome-3-4] fallback-panel: properly override selection color for panel menuitems
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/gnome-3-4] fallback-panel: properly override selection color for panel menuitems
- Date: Tue, 10 Apr 2012 15:33:55 +0000 (UTC)
commit f8034c33ed2970ef21a530337611f6834f818619
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 10 11:29:57 2012 -0400
fallback-panel: properly override selection color for panel menuitems
Since CSS for .menuitem sets background color and color for
.menu .menuitem:hover,
.menu .menuitem *:hover { }
the panel menuitems need to override it with
.gnome-panel-menu-bar .menuitem:hover,
.gnome-panel-menu-bar .menuitem:hover { }
or children that render a background inside the menuitem (such as the
GtkImages used for the menu icons) will get the default background
selection color.
https://bugzilla.gnome.org/show_bug.cgi?id=673654
themes/Adwaita/gtk-3.0/gtk-widgets.css | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 2da5447..f116151 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2462,7 +2462,9 @@ PanelApplet > GtkMenuBar.menubar {
}
.gnome-panel-menu-bar .menuitem:hover,
-PanelApplet > GtkMenuBar.menubar .menuitem:hover {
+PanelApplet > GtkMenuBar.menubar .menuitem:hover,
+.gnome-panel-menu-bar .menuitem *:hover,
+PanelApplet > GtkMenuBar.menubar .menuitem *:hover {
background-color: @os_chrome_selected_bg_color;
color: @os_chrome_selected_fg_color;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]