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
This commit is contained in:
Jakub Steiner 2011-04-04 17:38:52 +02:00 committed by Owen W. Taylor
parent 50951d15ea
commit a7df1a3d77

View File

@ -102,8 +102,15 @@ StTooltip StLabel {
min-width: 200px; min-width: 200px;
} }
.popup-submenu-menu-item:open {
background-color: #4c4c4c;
}
.popup-sub-menu { .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 /* The remaining popup-menu sizing is all done in ems, so that if you