diff options
Diffstat (limited to 'usecases')
-rw-r--r-- | usecases/desktop/graphical/swaync.css | 76 |
1 files changed, 30 insertions, 46 deletions
diff --git a/usecases/desktop/graphical/swaync.css b/usecases/desktop/graphical/swaync.css index 770875d..fe0c277 100644 --- a/usecases/desktop/graphical/swaync.css +++ b/usecases/desktop/graphical/swaync.css | |||
@@ -1,23 +1,6 @@ | |||
1 | /* Adapted from: https://pastebin.com/xycT4nrk */ | 1 | /* Adapted from: https://pastebin.com/xycT4nrk */ |
2 | 2 | ||
3 | @define-color cc-bg @softBackground@; | ||
4 | @define-color noti-border-color @cc-bg; | ||
5 | @define-color noti-bg @background2@; | ||
6 | @define-color noti-bg-darker @background2@; | ||
7 | @define-color noti-bg-hover rgb(27, 27, 43); | ||
8 | @define-color noti-bg-focus rgba(27, 27, 27, 0.6); | ||
9 | @define-color text-color @foreground@; | ||
10 | @define-color text-color-disabled @foreground3@; | ||
11 | @define-color dominant @dominant@; | ||
12 | @define-color dimDominant @dimDominant@; | ||
13 | @define-color bg-selected @dominant; | ||
14 | @define-color border-color @background5@; | ||
15 | @define-color darker-bg @background1@; | ||
16 | |||
17 | * { | 3 | * { |
18 | font-family: mono; | ||
19 | font-weight: bold; | ||
20 | font-size: 14px; | ||
21 | outline: none; | 4 | outline: none; |
22 | transition: all .1s ease-in-out; | 5 | transition: all .1s ease-in-out; |
23 | } | 6 | } |
@@ -30,9 +13,9 @@ | |||
30 | .widget-inhibitors button, | 13 | .widget-inhibitors button, |
31 | .widget-menubar button, | 14 | .widget-menubar button, |
32 | .widget-title>button { | 15 | .widget-title>button { |
33 | color: @text-color; | 16 | color: @theme_text_color; |
34 | background-color: @cc-bg; | 17 | background-color: @theme_base_color; |
35 | border: 1px solid @darker-bg; | 18 | border: 1px solid @borders; |
36 | border-radius: 5px; | 19 | border-radius: 5px; |
37 | box-shadow: none; | 20 | box-shadow: none; |
38 | text-shadow: none; | 21 | text-shadow: none; |
@@ -44,7 +27,7 @@ | |||
44 | .widget-inhibitors button:hover, | 27 | .widget-inhibitors button:hover, |
45 | .widget-menubar button:hover, | 28 | .widget-menubar button:hover, |
46 | .widget-title>button:hover { | 29 | .widget-title>button:hover { |
47 | background-color: @dominant; | 30 | background-color: @theme_bg_color; |
48 | box-shadow: none; | 31 | box-shadow: none; |
49 | text-shadow: none; | 32 | text-shadow: none; |
50 | } | 33 | } |
@@ -52,7 +35,7 @@ | |||
52 | .control-center .notification-row:focus, | 35 | .control-center .notification-row:focus, |
53 | .control-center .notification-row:hover { | 36 | .control-center .notification-row:hover { |
54 | opacity: 1; | 37 | opacity: 1; |
55 | background: @noti-bg-darker | 38 | background: @theme_base_color; |
56 | } | 39 | } |
57 | 40 | ||
58 | .notification-row { | 41 | .notification-row { |
@@ -62,21 +45,21 @@ | |||
62 | } | 45 | } |
63 | 46 | ||
64 | .notification { | 47 | .notification { |
65 | background: @noti-bg; | 48 | background: @theme_base_color; |
66 | margin: 0px; | 49 | margin: 0px; |
67 | border-radius: 5px; | 50 | border-radius: 5px; |
68 | border: 2px solid @border-color; | 51 | border: 2px solid @borders; |
69 | box-shadow: none; | 52 | box-shadow: none; |
70 | } | 53 | } |
71 | 54 | ||
72 | .floating-notifications .notification { | 55 | .floating-notifications .notification { |
73 | border-color: @dominant; | 56 | border-color: @borders; |
74 | } | 57 | } |
75 | 58 | ||
76 | .close-button { | 59 | .close-button { |
77 | border: none; | 60 | border: none; |
78 | background: @dimDominant; | 61 | /*background: @dimDominant;*/ |
79 | color: @cc-bg; | 62 | /*color: @cc-bg;*/ |
80 | padding: 0; | 63 | padding: 0; |
81 | margin: 5px 3px; | 64 | margin: 5px 3px; |
82 | } | 65 | } |
@@ -87,7 +70,7 @@ | |||
87 | } | 70 | } |
88 | 71 | ||
89 | .notification-content { | 72 | .notification-content { |
90 | background: @cc-bg; | 73 | background: @theme_base_color; |
91 | border-radius: 5px 5px 0 0; | 74 | border-radius: 5px 5px 0 0; |
92 | padding: 7px; | 75 | padding: 7px; |
93 | margin: 0; | 76 | margin: 0; |
@@ -101,28 +84,29 @@ | |||
101 | .notification-content .summary { | 84 | .notification-content .summary { |
102 | padding: 3px 1em; | 85 | padding: 3px 1em; |
103 | font-size: 13px; | 86 | font-size: 13px; |
104 | /*color: @text-color;*/ | 87 | color: @theme_text_color; |
105 | } | 88 | } |
106 | 89 | ||
107 | .notification-content .body { | 90 | .notification-content .body { |
108 | padding: 1em; | 91 | padding: 1em; |
109 | font-size: 12px; | 92 | font-size: 12px; |
110 | font-weight: normal; | 93 | font-weight: normal; |
94 | color: @theme_text_color; | ||
111 | } | 95 | } |
112 | 96 | ||
113 | .notification-content .time { | 97 | .notification-content .time { |
114 | font-size: 11px; | 98 | font-size: 11px; |
115 | color: @dominant; | 99 | color: @theme_text_color; |
116 | margin: 3px 3em; | 100 | margin: 3px 3em; |
117 | } | 101 | } |
118 | 102 | ||
119 | .notification-action { | 103 | .notification-action { |
120 | background-color: @noti-bg-darker; | 104 | background-color: @theme_base_color; |
121 | border-radius: 0; | 105 | border-radius: 0; |
122 | border: none; | 106 | border: none; |
123 | border-top: 2px solid @border-color; | 107 | border-top: 2px solid @borders; |
124 | border-left: 1px solid @border-color; | 108 | border-left: 1px solid @borders; |
125 | border-right: 1px solid @border-color; | 109 | border-right: 1px solid @borders; |
126 | } | 110 | } |
127 | 111 | ||
128 | .notification-action:first-child { | 112 | .notification-action:first-child { |
@@ -137,13 +121,13 @@ | |||
137 | 121 | ||
138 | .notification-default-action:hover, | 122 | .notification-default-action:hover, |
139 | .notification-action:hover { | 123 | .notification-action:hover { |
140 | background: @dominant; | 124 | background: @theme_bg_color; |
141 | text-shadow: none; | 125 | text-shadow: none; |
142 | } | 126 | } |
143 | 127 | ||
144 | .control-center { | 128 | .control-center { |
145 | background: @cc-bg; | 129 | background: @theme_bg_color; |
146 | border: 2px solid @dominant; | 130 | border: 2px solid @borders; |
147 | border-radius: 0px; | 131 | border-radius: 0px; |
148 | } | 132 | } |
149 | 133 | ||
@@ -173,9 +157,9 @@ | |||
173 | .widget-notifications, | 157 | .widget-notifications, |
174 | .widget-title, | 158 | .widget-title, |
175 | .widget-volume { | 159 | .widget-volume { |
176 | color: @text-color; | 160 | color: @theme_text_color; |
177 | background: @noti-bg-darker; | 161 | background: @theme_bg_color; |
178 | border: 2px solid @border-color; | 162 | border: 2px solid @borders; |
179 | border-radius: 5px; | 163 | border-radius: 5px; |
180 | padding: 5px 10px; | 164 | padding: 5px 10px; |
181 | margin: 10px; | 165 | margin: 10px; |
@@ -187,21 +171,21 @@ | |||
187 | 171 | ||
188 | .widget-dnd { | 172 | .widget-dnd { |
189 | font-size: large; | 173 | font-size: large; |
190 | color: @text-color; | 174 | color: @theme_text_color; |
191 | } | 175 | } |
192 | 176 | ||
193 | .widget-dnd>switch { | 177 | .widget-dnd>switch { |
194 | /*border-radius: 4px;*/ | 178 | /*border-radius: 4px;*/ |
195 | background: @darker-bg; | 179 | /*background: @darker-bg;*/ |
196 | } | 180 | } |
197 | 181 | ||
198 | .widget-dnd>switch:checked { | 182 | .widget-dnd>switch:checked { |
199 | background: @dominant; | 183 | /*background: @dominant;*/ |
200 | } | 184 | } |
201 | 185 | ||
202 | .widget-dnd>switch slider { | 186 | .widget-dnd>switch slider { |
203 | /*margin: 3px;*/ | 187 | /*margin: 3px;*/ |
204 | background: @border-color; | 188 | /*background: @border-color;*/ |
205 | /*border: 1px solid black;*/ | 189 | /*border: 1px solid black;*/ |
206 | /*border-radius: 5px*/ | 190 | /*border-radius: 5px*/ |
207 | } | 191 | } |
@@ -212,7 +196,7 @@ | |||
212 | 196 | ||
213 | .widget-label>label { | 197 | .widget-label>label { |
214 | font-size: 1rem; | 198 | font-size: 1rem; |
215 | color: @text-color; | 199 | color: @theme_text_color; |
216 | } | 200 | } |
217 | 201 | ||
218 | .widget-mpris > box > button { | 202 | .widget-mpris > box > button { |
@@ -255,5 +239,5 @@ | |||
255 | } | 239 | } |
256 | 240 | ||
257 | scale trough highlight { | 241 | scale trough highlight { |
258 | background-color: @dominant; | 242 | /*background-color: @dominant;*/ |
259 | } | 243 | } |