Commit 7b7fe14b authored by nana-4's avatar nana-4

Adwaita: Don't round the non-csd menu corners

Otherwise, the menu will have ugly black corners.

See #1661
parent e0e9d8c6
......@@ -2064,9 +2064,11 @@ menu,
padding: 4px 0px;
background-color: $menu_color;
border: 1px solid $borders_color; // adds borders in a non composited env
border-radius: $menu_radius;
.csd & { border: none; } // axes borders in a composited env
.csd & {
border: none; // axes borders in a composited env
border-radius: $menu_radius;
}
&:backdrop { background-color: $backdrop_menu_color; }
......
......@@ -824,9 +824,9 @@ 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; }
.csd menu, .csd .menu, .csd .context-menu { border: none; }
.csd menu, .csd .menu, .csd .context-menu { border: none; border-radius: 5px; }
menu:backdrop, .menu:backdrop, .context-menu:backdrop { background-color: #313131; }
......
......@@ -832,9 +832,9 @@ 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; }
.csd menu, .csd .menu, .csd .context-menu { border: none; }
.csd menu, .csd .menu, .csd .context-menu { border: none; border-radius: 5px; }
menu:backdrop, .menu:backdrop, .context-menu:backdrop { background-color: #fcfcfc; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment