summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2022-07-30 03:32:05 +0200
committerFlorian Müllner <fmuellner@gnome.org>2022-08-10 16:28:30 +0200
commitac683f85693ae13908ec3ecbf9e845334050d485 (patch)
treeacda65b924a9a24e284115cdbb1091c74c1248b2
parent3e7228735e0783eeb6bf1751f9b52c2fe6839699 (diff)
downloadgnome-shell-sass-ac683f85693ae13908ec3ecbf9e845334050d485.tar.gz
status/power: Merge with system indicator
Now that the old system menu has been ported over, we can move the power toggle to its intended place. The main difference to the stand-alone toggle is that the button now uses its natural size rather than the fixed size of regular quick items. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
-rw-r--r--widgets/_quick-settings.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/_quick-settings.scss b/widgets/_quick-settings.scss
index 82d88b4..53325fa 100644
--- a/widgets/_quick-settings.scss
+++ b/widgets/_quick-settings.scss
@@ -86,4 +86,14 @@
.quick-settings-system-item {
& > StBoxLayout { spacing: 2 * $base_padding; }
+
+ & .power-item {
+ min-height: 0;
+ min-width: 0;
+
+ &:insensitive {
+ @include button(normal);
+ background-color: transparent;
+ }
+ }
}