e5d4984c1b
Most quick settings items are just buttons with icon, label, and a particular style. While that's easy enough, a dedicated class with corresponding properties is more convenient. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2392>
23 lines
442 B
SCSS
23 lines
442 B
SCSS
.quick-settings {
|
|
padding: 4 * $base_padding;
|
|
}
|
|
|
|
.quick-settings-grid {
|
|
spacing-rows: 3 * $base_padding;
|
|
spacing-columns: 2 * $base_padding;
|
|
}
|
|
|
|
.quick-toggle {
|
|
border-radius: 99px;
|
|
min-width: 11.5em;
|
|
max-width: 11.5em;
|
|
min-height: 48px;
|
|
|
|
&:checked { @include button(default); }
|
|
|
|
& > StBoxLayout { spacing: $base_padding; }
|
|
|
|
.quick-toggle-label { font-weight: bold; }
|
|
.quick-toggle-icon { icon-size: $base_icon_size; }
|
|
}
|