[gnome-shell-sass] status/power: Merge with system indicator
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] status/power: Merge with system indicator
- Date: Wed, 10 Aug 2022 14:28:56 +0000 (UTC)
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]