some menu changes

This commit is contained in:
Sam Hewitt 2016-03-16 20:42:35 -04:00
parent 4b17621177
commit c430e479d2
2 changed files with 9 additions and 11 deletions

View File

@ -115,7 +115,6 @@
*****************/ *****************/
@define-color placeholder_text_color shade(@foreground, 2.0); @define-color placeholder_text_color shade(@foreground, 2.0);
@define-color view_symbolic shade(@internal_element, 0.50); @define-color view_symbolic shade(@internal_element, 0.50);
@define-color menu_shadow alpha(#000, 0.2);
/* GNOME Apps */ /* GNOME Apps */
@define-color entry_tag_background #3465a4; @define-color entry_tag_background #3465a4;

View File

@ -21,7 +21,9 @@
********/ ********/
.menu { .menu {
box-shadow: 0 2px 3px 2px @menu_shadow, padding: 4px 0;
border-radius: 4px;
box-shadow: 0 2px 3px 2px @shadow,
inset 0 1px 0 0 rgba(255,255,255,0.1); inset 0 1px 0 0 rgba(255,255,255,0.1);
} }
@ -39,7 +41,7 @@
.context-menu { .context-menu {
font: initial; font: initial;
box-shadow: 0 2px 3px 2px @menu_shadow; box-shadow: 0 2px 3px 2px @shadow;
} }
.content-view .menu { .content-view .menu {
@ -55,18 +57,11 @@
} }
/* Menu Item */ /* Menu Item */
.menuitem {
padding: 6px 4px;
}
.menu .menuitem,
.popup .menuitem {
padding: 4px 0px;
}
.menuitem, .menuitem,
.menu .menuitem, .menu .menuitem,
.popup .menuitem { .popup .menuitem {
border:none; border:none;
padding: 8px 4px;
-GtkMenuItem-arrow-scaling: 0.5; -GtkMenuItem-arrow-scaling: 0.5;
-gtk-icon-style: symbolic; -gtk-icon-style: symbolic;
@ -179,6 +174,10 @@
color: @text; color: @text;
} }
.menuitem:hover GtkImage {
color: @selection_foreground;
}
.menu .menuitem GtkImage, .menu .menuitem GtkImage,
.popup .menuitem GtkImage { .popup .menuitem GtkImage {
padding-left: 6px; padding-left: 6px;