From 9bcc541065d82d62ac45d1992362b4ebbdcf663f Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 5 Nov 2015 18:23:27 +0100 Subject: some menu fixes --- common/gtk-3.0/3.18/sass/_common.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'common/gtk-3.0/3.18/sass') diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index 5c216f6..efd4824 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -1698,7 +1698,7 @@ column-header.button.dnd { // for treeview-like derive widgets } } -.menu, .popup { +.menu { margin: 4px; padding: 0; border-radius: 0; @@ -1744,6 +1744,8 @@ column-header.button.dnd { // for treeview-like derive widgets } } +.csd .popup { border-radius: 2px; } + .menuitem .accelerator { color: gtkalpha(currentColor,0.55); } /************ @@ -2969,6 +2971,10 @@ GtkVolumeButton.button { padding: 8px; } &.tiled { border-radius: 0; } + &.popup { + box-shadow: none; + border-radius: 0; + } // server-side decorations as used by mutter &.ssd { border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0); @@ -2977,7 +2983,7 @@ GtkVolumeButton.button { padding: 8px; } &.maximized { border-radius: 0; } } &.csd { - &.popup, &.menu { + &.popup { border-radius: 2px; box-shadow: 0 3px 6px if($variant == 'light', $_wm_border, transparentize($_wm_border, 0.1)), 0 0 0 1px if($variant == 'light', $_wm_border, darken($bg_color, 10%)); -- cgit v1.2.3