[gnome-themes-standard] 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] fallback-panel: properly override selection color for panel menuitems
- Date: Tue, 10 Apr 2012 15:33:16 +0000 (UTC)
commit 9f9e1438c0bbee2e50ccea4702c5776bc10ef53e
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 34634a8..ff7814b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2463,7 +2463,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]