[gtk/wip/jimmac/submenus] Adwaita: rounded submenus
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/submenus] Adwaita: rounded submenus
- Date: Tue, 29 Sep 2020 10:55:15 +0000 (UTC)
commit 482fbd090b7c3ba162a5cf2bfaa09f7e504a9f86
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 56e0a8d277..2b5157b312 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4161,8 +4161,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
@@ -4173,7 +4171,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]