diff options
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/gkleen@sif/niri/swayosd.nix | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/accounts/gkleen@sif/niri/swayosd.nix b/accounts/gkleen@sif/niri/swayosd.nix index 8e410b5a..984927c2 100644 --- a/accounts/gkleen@sif/niri/swayosd.nix +++ b/accounts/gkleen@sif/niri/swayosd.nix | |||
@@ -19,11 +19,11 @@ | |||
19 | image, | 19 | image, |
20 | label { | 20 | label { |
21 | color: rgb(255, 255, 255); | 21 | color: rgb(255, 255, 255); |
22 | } | ||
23 | 22 | ||
24 | progressbar:disabled, | 23 | &:disabled { |
25 | image:disabled { | 24 | opacity: 1; |
26 | opacity: rgb(84, 84, 84); | 25 | color: rgb(84, 84, 84); |
26 | } | ||
27 | } | 27 | } |
28 | 28 | ||
29 | progressbar { | 29 | progressbar { |
@@ -31,23 +31,35 @@ | |||
31 | border-radius: 999px; | 31 | border-radius: 999px; |
32 | background: transparent; | 32 | background: transparent; |
33 | border: none; | 33 | border: none; |
34 | } | 34 | |
35 | trough { | 35 | trough, progress { |
36 | min-height: inherit; | 36 | min-height: inherit; |
37 | border-radius: inherit; | 37 | border-radius: inherit; |
38 | border: none; | 38 | border: none; |
39 | background: rgb(127, 127, 127); | 39 | } |
40 | } | 40 | |
41 | progress { | 41 | trough { |
42 | min-height: inherit; | 42 | background: rgb(127, 127, 127); |
43 | border-radius: inherit; | 43 | } |
44 | border: none; | 44 | progress { |
45 | background: rgb(255, 255, 255); | 45 | background: rgb(255, 255, 255); |
46 | } | ||
47 | |||
48 | &:disabled { | ||
49 | opacity: 1; | ||
50 | |||
51 | trough { | ||
52 | background: rgb(19, 19, 19); | ||
53 | } | ||
54 | progress { | ||
55 | background: rgb(38, 38, 38); | ||
56 | } | ||
57 | } | ||
46 | } | 58 | } |
47 | } | 59 | } |
48 | ''; | 60 | ''; |
49 | buildInputs = with pkgs; [sass]; | 61 | buildInputs = with pkgs; [sass]; |
50 | } "scss -C --sourcemap=none $src $out"; | 62 | } "scss -C --sourcemap=none --style=compact $src $out"; |
51 | }; | 63 | }; |
52 | }; | 64 | }; |
53 | } | 65 | } |