diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2023-01-30 17:57:42 -0300 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2023-02-14 17:11:24 +0100 |
commit | 865b7fc0178380107807b642f5df1ec26061d678 (patch) | |
tree | 7543d98bd498303c963f39329b80e41e7fa25ae9 | |
parent | 96c3588b6f1a46f0819b913d3d0256346f03dfcc (diff) | |
download | gnome-shell-sass-865b7fc0178380107807b642f5df1ec26061d678.tar.gz |
quickSettings: Add 'subtitle' property
Add a subtitle label to QuickToggle, with a less prominent font.
Make the subtitle invisible when no text is present.
This new property will be used by next commits to implement quick
settings with a static title, and a changing subtitle.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
-rw-r--r-- | widgets/_quick-settings.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/_quick-settings.scss b/widgets/_quick-settings.scss index 54d1693..e191371 100644 --- a/widgets/_quick-settings.scss +++ b/widgets/_quick-settings.scss @@ -31,6 +31,12 @@ &:rtl > StBoxLayout { padding-right: $base_padding*2.5; } .quick-toggle-title { font-weight: bold; } + + & StBoxLayout > .quick-toggle-subtitle { + font-weight: normal; + font-size: 12px; + } + .quick-toggle-icon, .quick-toggle-arrow { icon-size: $base_icon_size; } } |