forked from AuroraMiddleware/gtk
Adwaita: menu border-radius fix from gtk3
- avoid painting over the rounded corners with background
This commit is contained in:
parent
8d537379ed
commit
a3e517aa9c
@ -2066,6 +2066,10 @@ menubar,
|
|||||||
.csd.popup decoration {border-radius:0;}
|
.csd.popup decoration {border-radius:0;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Needed to make the border-radius of menus work
|
||||||
|
// otherwise the background bleeds out of the menu edges
|
||||||
|
.background.popup { background-color: transparent; }
|
||||||
|
|
||||||
menu,
|
menu,
|
||||||
.menu,
|
.menu,
|
||||||
.context-menu {
|
.context-menu {
|
||||||
|
@ -815,6 +815,8 @@ menubar > menuitem:disabled, .menubar > menuitem:disabled { color: #919190; box-
|
|||||||
|
|
||||||
menubar .csd.popup decoration, .menubar .csd.popup decoration { border-radius: 0; }
|
menubar .csd.popup decoration, .menubar .csd.popup decoration { border-radius: 0; }
|
||||||
|
|
||||||
|
.background.popup { background-color: transparent; }
|
||||||
|
|
||||||
menu, .menu, .context-menu { padding: 4px 0px; background-color: #2f2f2f; border: 1px solid #1b1b1b; border-radius: 5px; }
|
menu, .menu, .context-menu { padding: 4px 0px; background-color: #2f2f2f; border: 1px solid #1b1b1b; border-radius: 5px; }
|
||||||
|
|
||||||
.csd menu, .csd .menu, .csd .context-menu { border: none; }
|
.csd menu, .csd .menu, .csd .context-menu { border: none; }
|
||||||
|
@ -823,6 +823,8 @@ menubar > menuitem:disabled, .menubar > menuitem:disabled { color: #929595; box-
|
|||||||
|
|
||||||
menubar .csd.popup decoration, .menubar .csd.popup decoration { border-radius: 0; }
|
menubar .csd.popup decoration, .menubar .csd.popup decoration { border-radius: 0; }
|
||||||
|
|
||||||
|
.background.popup { background-color: transparent; }
|
||||||
|
|
||||||
menu, .menu, .context-menu { padding: 4px 0px; background-color: #ffffff; border: 1px solid #cdc7c2; border-radius: 5px; }
|
menu, .menu, .context-menu { padding: 4px 0px; background-color: #ffffff; border: 1px solid #cdc7c2; border-radius: 5px; }
|
||||||
|
|
||||||
.csd menu, .csd .menu, .csd .context-menu { border: none; }
|
.csd menu, .csd .menu, .csd .context-menu { border: none; }
|
||||||
|
Loading…
Reference in New Issue
Block a user