[libadwaita/wip/exalm/stylesheet2: 47/103] stylesheet: Nest popover menu styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet2: 47/103] stylesheet: Nest popover menu styles
- Date: Fri, 16 Apr 2021 22:38:45 +0000 (UTC)
commit d72a76eb45be3a5982a9928b366bc99f072c4df1
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 8 20:02:20 2021 +0500
stylesheet: Nest popover menu styles
src/stylesheet/_common.scss | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 3bc41f4..a77beb8 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -1887,7 +1887,9 @@ popover.menu {
}
}
-// initial styling for popover menu and bar
+/*******************
+ * Popover Menubar *
+ *******************/
menubar {
padding: 0px;
box-shadow: inset 0 -1px transparentize(black, 0.9);
@@ -1905,18 +1907,20 @@ menubar {
color: $insensitive_fg_color;
box-shadow: none;
}
- }
- & > item popover.menu.background > contents {
- padding: $menu-margin;
- }
- //nested submenus
- & > item popover.menu popover.menu {
- padding: 0 0 4px 0;
- }
- & > item popover.menu.background popover.menu.background > contents {
- margin: 0;
- border-radius: $popover_radius; //including top
+ popover.menu.background > contents {
+ padding: $menu-margin;
+ }
+
+ //nested submenus
+ popover.menu popover.menu {
+ padding: 0 0 4px 0;
+ }
+
+ popover.menu.background popover.menu.background > contents {
+ margin: 0;
+ border-radius: $popover_radius; //including top
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]