forked from AuroraMiddleware/gtk
Adwaita: remove chin on menus
- clipping a rounded corner seems to be working fine for first and last item. Addresses https://gitlab.gnome.org/GNOME/gtk/-/issues/3366
This commit is contained in:
parent
994cc32d7b
commit
04d802f7f4
@ -4152,12 +4152,9 @@ menubar {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// only bottom part rounded for menubar menus
|
|
||||||
& > item popover.menu.background > contents {
|
& > item popover.menu.background > contents {
|
||||||
margin-top: -1px; //nudge it into the menubar
|
padding: 0;
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-top-right-radius: 0;
|
|
||||||
padding: 0 0 $menu_radius 0;
|
|
||||||
}
|
}
|
||||||
//nested submenus
|
//nested submenus
|
||||||
& > item popover.menu.background popover.menu.background > contents {
|
& > item popover.menu.background popover.menu.background > contents {
|
||||||
@ -4169,7 +4166,7 @@ menubar {
|
|||||||
$_menu-padding: 12px;
|
$_menu-padding: 12px;
|
||||||
|
|
||||||
popover.menu {
|
popover.menu {
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
|
|
||||||
box.inline-buttons {
|
box.inline-buttons {
|
||||||
padding: 0 $_menu-padding;
|
padding: 0 $_menu-padding;
|
||||||
@ -4201,10 +4198,7 @@ popover.menu {
|
|||||||
& > arrow,
|
& > arrow,
|
||||||
&.background > contents {
|
&.background > contents {
|
||||||
background-color: $menu_color;
|
background-color: $menu_color;
|
||||||
}
|
padding: 0;
|
||||||
|
|
||||||
&.background > contents {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.background separator {
|
&.background separator {
|
||||||
|
Loading…
Reference in New Issue
Block a user