[gnome-themes-standard] Style the fallback panel selected menubar
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Style the fallback panel selected menubar
- Date: Sat, 19 Mar 2011 19:00:31 +0000 (UTC)
commit c0b5dc40ef695c9cc623150c9a689e7ff53be057
Author: William Jon McCann <jmccann redhat com>
Date: Sat Mar 19 14:59:54 2011 -0400
Style the fallback panel selected menubar
For some reason the gradient isn't working. Need to figure out why.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 10 ++++++++++
themes/Adwaita/gtk-3.0/gtk.css | 2 ++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7537278..695cd2f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1147,6 +1147,16 @@ PanelToplevel {
color: @os_chrome_fg_color;
}
+.gnome-panel-menu-bar.menuitem:prelight {
+ background-color: @os_chrome_bg_color;
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@os_chrome_bg_color),
+ to (@os_chrome_fg_color));
+ color: @os_chrome_selected_fg_color;
+ border-color: @os_chrome_bg_color;
+}
+
/* panel buttons (clock etc) */
PanelApplet.GtkToggleButton {
background-color: black;
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 1ea9d55..eddc36a 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -39,6 +39,8 @@
@define-color os_chrome_bg_color black;
@define-color os_chrome_fg_color #ccc;
+ define-color os_chrome_selected_bg_color #666;
+ define-color os_chrome_selected_fg_color white;
@define-color chrome_bg_color #1e1a17;
@define-color chrome_fg_color #fff;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]