[gnome-shell-sass] status/power: Merge with system indicator



commit ac683f85693ae13908ec3ecbf9e845334050d485
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 30 03:32:05 2022 +0200

    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>

 widgets/_quick-settings.scss | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
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;
+    }
+  }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]