[gnome-shell/wip/snwh/quick-settings-tweaks] css: Shave padding off of the quick settings menu
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/quick-settings-tweaks] css: Shave padding off of the quick settings menu
- Date: Thu, 1 Sep 2022 14:56:02 +0000 (UTC)
commit eb2aad424fe3dfcbb7fc98bfa5b672b7ba730b88
Author: Sam Hewitt <sam snwh org>
Date: Wed Aug 31 14:55:33 2022 -0230
css: Shave padding off of the quick settings menu
- reduce overall menu padding
- reduce internal padding on submenu
- tweak button sizing
.../gnome-shell-sass/widgets/_quick-settings.scss | 23 ++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
index 869e15f0bf..02117f205e 100644
--- a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
+++ b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
@@ -1,6 +1,10 @@
.quick-settings {
- padding: 4 * $base_padding;
- border-radius: $modal_radius*2;
+ padding: $base_padding*3;
+ border-radius: $modal_radius*2.25;
+
+ .icon-button, .button {
+ padding: $base_padding*1.75;
+ }
}
.quick-settings-grid {
@@ -10,9 +14,9 @@
.quick-toggle {
border-radius: 99px;
- min-width: 11.5em;
- max-width: 11.5em;
- min-height: 48px;
+ min-width: 12em;
+ max-width: 12em;
+ min-height: 40px;
border:none;
&:checked { @include button(default); }
@@ -60,9 +64,9 @@
.quick-toggle-menu {
background-color: $card_bg_color;
- border-radius: $base_border_radius*2.75;
- padding: $base_padding*2.75;
- margin: 0 $base_padding*2.75;
+ border-radius: $base_border_radius*3;
+ padding: $base_padding*2;
+ margin: $base_padding*2 $base_padding*3 0;
& .header {
spacing-rows: 0.5 * $base_padding;
@@ -89,8 +93,7 @@
}
.quick-toggle-menu-container {
- padding: 2 * $base_padding $base_padding 0;
- }
+}
.quick-settings-system-item {
& > StBoxLayout { spacing: 2 * $base_padding; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]