[gtk/wip/jimmac/submenus: 973/973] Adwaita: rounded submenus
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/submenus: 973/973] Adwaita: rounded submenus
- Date: Fri, 13 Nov 2020 16:28:24 +0000 (UTC)
commit 8a92ee03ea547d52802b51b56aee0140be6ea6f7
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Sep 29 12:54:25 2020 +0200
Adwaita: rounded submenus
- all corners have rounded corners
See https://gitlab.gnome.org/GNOME/gtk/-/issues/2745
gtk/theme/Adwaita/_common.scss | 4 +---
1 file changed, 1 insertion(+), 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
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]