[gnome-shell-sass] system: Align submenu labels with parent
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] system: Align submenu labels with parent
- Date: Mon, 11 Dec 2017 15:18:33 +0000 (UTC)
commit 57a2e5bfe179d9db1e05c3edaffdcb3fee307be0
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Nov 19 20:26:50 2017 +0100
system: Align submenu labels with parent
All section titles use an icon, while all corresponding submenu items
are plain-text. As a result, labels in submenus aren't aligned with
the labels in the parent, which makes them harder to read and look
unbalanced. Address this by adding additional whitespace to submenu
items to account for the additional elements in the title.
https://bugzilla.gnome.org/show_bug.cgi?id=706191
_common.scss | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 9ffb3a7..9d040a2 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1110,6 +1110,12 @@ StScrollBar {
.aggregate-menu {
min-width: 21em;
.popup-menu-icon { padding: 0 4px; }
+ .popup-sub-menu .popup-menu-item :first-child {
+ &:ltr { /* 12px spacing + 2*4px padding */
+ padding-left: 20px; margin-left: 1.09em; }
+ &:rtl { /* 12px spacing + 2*4px padding */
+ padding-right: 20px; margin-right: 1.09em; }
+ }
}
.system-menu-action {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]