[gnome-shell-sass] system: Replace action icons with regular menu items
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] system: Replace action icons with regular menu items
- Date: Sun, 5 Jan 2020 12:21:52 +0000 (UTC)
commit 1f0334387d333054cbf4fe54a44e3c6c1addcadf
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Oct 15 20:51:33 2019 +0200
system: Replace action icons with regular menu items
Besides making the menu a bit less special, it allows us to fit both
shutdown and suspend actions without any hidden alt-key Easter eggs.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/270
_common.scss | 24 ++----------------------
1 file changed, 2 insertions(+), 22 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 9724a8f..18fd1eb 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1190,7 +1190,8 @@ StScrollBar {
.aggregate-menu {
min-width: 21em;
- .popup-menu-icon { padding: 0 4px; }
+ .popup-menu-icon { padding: 0 4px;
+ -st-icon-style: symbolic; }
.popup-sub-menu .popup-menu-item > :first-child {
&:ltr { /* 12px spacing + 2*4px padding */
padding-left: 20px; margin-left: 1.09em; }
@@ -1199,27 +1200,6 @@ StScrollBar {
}
}
- .system-menu-action {
- -st-icon-style: symbolic;
- color: $fg_color;
- border-radius: 32px; /* wish we could do 50% */
- padding: 13px;
- border: 1px solid $_bubble_borders_color;
-
- &:hover, &:focus {
- background-color: $_hover_bg_color;
- color: $fg_color;
- border: none;
- padding: 14px;
- }
- &:active {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- }
-
- & > StIcon { icon-size: 16px; }
- }
-
// Activities Ripples
.ripple-box {
width: 52px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]