forked from AuroraMiddleware/gtk
Adwaita: Fix rounding on menubar menus really
Prioritize the style by increasing specificity. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1976
This commit is contained in:
parent
d7c95ad542
commit
d250e51018
@ -2127,7 +2127,7 @@ menubar,
|
||||
|
||||
// remove padding and rounding from menubar submenus
|
||||
menu {
|
||||
.csd &, & {
|
||||
&:dir(rtl), &:dir(ltr) { // specificity bump
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -811,7 +811,7 @@ menubar:backdrop, .menubar:backdrop { background-color: #353535; }
|
||||
|
||||
menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 4px 8px; }
|
||||
|
||||
.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
|
||||
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }
|
||||
|
||||
menubar > menuitem:hover, .menubar > menuitem:hover { box-shadow: inset 0 -3px #15539e; color: #3584e4; }
|
||||
|
||||
|
@ -819,7 +819,7 @@ menubar:backdrop, .menubar:backdrop { background-color: #f6f5f4; }
|
||||
|
||||
menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 4px 8px; }
|
||||
|
||||
.csd menubar > menuitem menu, menubar > menuitem menu, .csd .menubar > menuitem menu, .menubar > menuitem menu { border-radius: 0; padding: 0; }
|
||||
menubar > menuitem menu:dir(rtl), menubar > menuitem menu:dir(ltr), .menubar > menuitem menu:dir(rtl), .menubar > menuitem menu:dir(ltr) { border-radius: 0; padding: 0; }
|
||||
|
||||
menubar > menuitem:hover, .menubar > menuitem:hover { box-shadow: inset 0 -3px #3584e4; color: #1b6acb; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user