[gnome-shell] popup-menu: Tweak submenu style
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popup-menu: Tweak submenu style
- Date: Mon, 4 Apr 2011 19:58:15 +0000 (UTC)
commit a7df1a3d777de94fcf80b0d4a5f2311354f8419f
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Apr 4 17:38:52 2011 +0200
popup-menu: Tweak submenu style
Tone down the background color and use an inset shadow to give the
subsection some depth.
Expander menu item is always highlighted when open.
https://bugzilla.gnome.org/show_bug.cgi?id=646001
data/theme/gnome-shell.css | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index e058a2a..d540340 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -102,8 +102,15 @@ StTooltip StLabel {
min-width: 200px;
}
+.popup-submenu-menu-item:open {
+ background-color: #4c4c4c;
+}
+
.popup-sub-menu {
- background-color: #606060;
+ background-gradient-start: rgba(80,80,80,0.3);
+ background-gradient-end: rgba(80,80,80,0.7);
+ background-gradient-direction: vertical;
+ box-shadow: inset 0px 2px 4px rgba(0,0,0,0.9);
}
/* The remaining popup-menu sizing is all done in ems, so that if you
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]