summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2020-09-29 12:54:25 +0200
committerJakub Steiner <jimmac@gmail.com>2020-11-13 17:27:40 +0100
commit8a92ee03ea547d52802b51b56aee0140be6ea6f7 (patch)
treecc952c73bfecd448717b87df46d789c5c18ff725
parent1f472104ad747178d3f7d04aa01b60ed1d89ecf5 (diff)
downloadgtk+-8a92ee03ea547d52802b51b56aee0140be6ea6f7.tar.gz
Adwaita: rounded submenus
- all corners have rounded corners See https://gitlab.gnome.org/GNOME/gtk/-/issues/2745
-rw-r--r--gtk/theme/Adwaita/_common.scss4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ae2c0b7cfd..cea17f53da 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4154,8 +4154,6 @@ menubar {
box-shadow: none;
}
}
- // remove padding and rounding from menubar submenu decoration
- .csd.popup decoration { border-radius:0; }
// only bottom part rounded for menubar menus
& > item popover.menu.background > contents {
margin-top: -1px; //nudge it into the menubar
@@ -4166,7 +4164,7 @@ menubar {
//nested submenus
& > item popover.menu.background popover.menu.background > contents {
margin: 0;
- border-radius: 0;
+ border-radius: $popover_radius; //including top
}
}