[gnome-shell/wip/snwh/sass-cleanup] theme: popovers adjust nesting
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/sass-cleanup] theme: popovers adjust nesting
- Date: Wed, 18 Dec 2019 21:17:03 +0000 (UTC)
commit 71617e3a07067a7cf859e34077d7dd0e39899d07
Author: Sam Hewitt <sam snwh org>
Date: Wed Dec 18 16:16:58 2019 -0500
theme: popovers adjust nesting
data/theme/gnome-shell-sass/widgets/_popovers.scss | 68 +++++++++++-----------
1 file changed, 34 insertions(+), 34 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index bfeb70fa3e..9cf6b1057d 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -19,54 +19,54 @@ $popover_arrow_height: 12px;
min-width: 15em;
color: $fg_color;
- .popup-menu-content {
- padding: $base_padding * 2 + $base_margin 0;
+ //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
+ &.panel-menu {
+ -boxpointer-gap: $base_margin; // distance from the panel
+ margin-bottom: 1.75em;
}
+}
- // menu items
- .popup-menu-item {
- spacing: $base_padding;
- padding: $base_padding;
-
- &:ltr { padding-right:1.75em; padding-left: 0; }
- &:rtl { padding-right: 0; padding-left:1.75em; }
-
- &:checked {
- background-color: lighten($bg_color, 2%);
- box-shadow: none;
- }
+.popup-menu-content {
+ padding: $base_padding * 2 + $base_margin 0;
+}
- &.selected {
- background-color: transparentize(white, if($variant=='light', 0.2, 0.9));
- color: $fg_color;
- }
+// menu items
+.popup-menu-item {
+ spacing: $base_padding;
+ padding: $base_padding;
- &:active {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- }
+ &:ltr { padding-right:1.75em; padding-left: 0; }
+ &:rtl { padding-right: 0; padding-left:1.75em; }
- &:insensitive { color: transparentize($fg_color,0.5);}
+ &:checked {
+ background-color: lighten($bg_color, 2%);
+ box-shadow: none;
}
- // all icons and other graphical elements
- .popup-inactive-menu-item {
+ &.selected {
+ background-color: transparentize(white, if($variant=='light', 0.2, 0.9));
color: $fg_color;
-
- &:insensitive { color: transparentize($fg_color,0.5); }
}
- //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
- &.panel-menu {
- -boxpointer-gap: $base_margin; // distance from the panel
- margin-bottom: 1.75em;
+ &:active {
+ background-color: $selected_bg_color;
+ color: $selected_fg_color;
}
- // symbolic icons in popover
- .popup-menu-arrow,
- .popup-menu-icon { icon-size: $base_icon_size; }
+ &:insensitive { color: transparentize($fg_color,0.5);}
}
+// all icons and other graphical elements
+.popup-inactive-menu-item {
+ color: $fg_color;
+
+ &:insensitive { color: transparentize($fg_color,0.5); }
+}
+
+// symbolic icons in popover
+.popup-menu-arrow,
+.popup-menu-icon { icon-size: $base_icon_size; }
+
// popover submenus
.popup-sub-menu {
background-color: darken($bg_color, 3%);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]