Merge branch 'wip/jimmac/menu-clipped-shadow' into 'master'
Wip/jimmac/menu clipped shadow Closes #1987 See merge request GNOME/gtk!2837
This commit is contained in:
@@ -4152,12 +4152,9 @@ menubar {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
// only bottom part rounded for menubar menus
|
||||
|
||||
& > item popover.menu.background > contents {
|
||||
margin-top: -1px; //nudge it into the menubar
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
padding: 0 0 $menu_radius 0;
|
||||
padding: 0;
|
||||
}
|
||||
//nested submenus
|
||||
& > item popover.menu.background popover.menu.background > contents {
|
||||
@@ -4169,7 +4166,7 @@ menubar {
|
||||
$_menu-padding: 12px;
|
||||
|
||||
popover.menu {
|
||||
padding: 0px;
|
||||
padding: 2px 2px 2px 4px; //allow some shadow. #1987
|
||||
|
||||
box.inline-buttons {
|
||||
padding: 0 $_menu-padding;
|
||||
@@ -4201,10 +4198,7 @@ popover.menu {
|
||||
& > arrow,
|
||||
&.background > contents {
|
||||
background-color: $menu_color;
|
||||
}
|
||||
|
||||
&.background > contents {
|
||||
padding: 8px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&.background separator {
|
||||
|
||||
Reference in New Issue
Block a user