A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _budgie.scss

View raw Download
text/plain • 9.43 kiB
ASCII text
        
            
1
// based css:
2
// https://github.com/budgie-desktop/budgie-desktop/blob/master/src/theme/3.20/sass/_main.scss
3
4
/******************
5
* Budgie Desktop *
6
******************/
7
// Container for both the "panel" area and the shadow. Wise to keep
8
// this transparent..
9
.budgie-container { background-color: transparent; }
10
11
// Budgie Menu
12
.budgie-menu {
13
&.background {
14
padding: 0;
15
background-color: $base_color;
16
}
17
18
scrollbar,
19
entry.search { background-color: transparent; }
20
21
entry.search {
22
border-bottom: 1px solid $border_color;
23
border-radius: 0;
24
box-shadow: none;
25
font-size: 120%;
26
}
27
28
.categories {
29
&:dir(ltr) { border-bottom-left-radius: $material_radius; }
30
31
&:dir(rtl) { border-bottom-right-radius: $material_radius; }
32
}
33
34
button {
35
@extend row.activatable;
36
37
min-height: 32px;
38
padding: 0 8px;
39
border-radius: 0;
40
color: $fg_color;
41
font-weight: normal;
42
43
&:disabled { color: $disabled_fg_color; }
44
45
&:checked { @extend %selected_items; }
46
}
47
48
row { all: unset; }
49
}
50
51
// Menu Button
52
button.budgie-menu-launcher {
53
padding: 0 2px;
54
}
55
56
// User Menu
57
popover.background.user-menu {
58
padding: 8px;
59
60
.content-box { background-color: transparent; }
61
62
separator { margin: 4px 0; }
63
64
row {
65
padding: 0;
66
box-shadow: none;
67
background-image: none;
68
}
69
}
70
71
// Raven Trigger
72
button.raven-trigger {
73
padding: 0 4px;
74
}
75
76
// Places Menu
77
popover.background.places-menu {
78
padding: 8px;
79
80
// FIXME: untested
81
.message-bar {
82
// margin-bottom: 4px;
83
}
84
85
.name-button.text-button {
86
// padding: 4px 8px;
87
padding-left: 8px;
88
padding-right: 8px;
89
90
image {
91
&:dir(ltr) { margin-right: 8px - 5px; }
92
&:dir(rtl) { margin-left: 8px - 5px; }
93
}
94
}
95
96
// FIXME: untested
97
.unmount-button {
98
// padding: ($medium_size - 24px) / 2;
99
}
100
101
.places-section-header > image {
102
&:dir(ltr) { margin: 0 8px - 10px 0 8px - 3px; }
103
&:dir(rtl) { margin: 0 8px - 3px 0 8px - 10px; }
104
}
105
106
.places-list {
107
margin-top: 4px;
108
padding-top: 4px;
109
border-top: 1px solid $border_color;
110
background-color: transparent;
111
}
112
113
row {
114
padding: 0;
115
box-shadow: none;
116
background-image: none;
117
}
118
119
// FIXME: untested
120
.unlock-area {
121
entry {
122
}
123
124
button {
125
}
126
}
127
}
128
129
// Panel
130
.budgie-panel {
131
background-color: $panel_bg_color;
132
color: $inverse_fg_color;
133
font-weight: 500;
134
135
button {
136
border-radius: 0;
137
138
@extend %button_selected.flat;
139
}
140
141
separator { background-color: $titlebar_track_color; }
142
143
// used to indicate unread notifications
144
.alert { color: $destructive_color; }
145
146
// End Section needs to be fancy
147
.end-region {
148
// background-color: rgba(0,0,0,0.2);
149
}
150
151
// Tasklist
152
#tasklist-button {
153
padding: 0 4px;
154
155
@extend %flat_button;
156
157
@extend %underscores;
158
}
159
160
// Icon Tasklist
161
button.flat.launcher {
162
padding: 0;
163
164
@extend %underscores;
165
166
&:not(:checked) {
167
color: $tertiary_inverse_fg_color;
168
169
&:hover, &:active { color: $secondary_inverse_fg_color; }
170
171
&:disabled { color: $inverse_track_color; }
172
}
173
}
174
175
.unpinned button.flat.launcher,
176
.pinned button.flat.launcher.running { @extend %underscores:checked; }
177
}
178
179
%underscores {
180
@each $pos, $b_pos, $b_wid in (top, center calc(1px), 2 0 0 0 / 2px 0 0 0),
181
(bottom, center calc(100% - 1px), 0 0 2 0 / 0 0 2px 0),
182
(left, calc(1px) center, 0 2 0 0 / 0 2px 0 0),
183
(right, calc(100% - 1px) center, 0 0 0 2 / 0 0 0 2px) {
184
.#{$pos} & {
185
& {
186
border-image: radial-gradient(circle closest-corner at #{$b_pos},
187
currentColor 0%,
188
transparent 0%)
189
0 0 0 0 / 0 0 0 0;
190
}
191
192
&:checked {
193
border-image: radial-gradient(circle closest-corner at #{$b_pos},
194
currentColor 100%,
195
transparent 0%)
196
#{$b_wid};
197
background-color: $inverse_divider_color;
198
}
199
}
200
}
201
}
202
203
frame.raven-frame > border {
204
border-style: none;
205
box-shadow: $shadow_4;
206
}
207
208
$pos_list: ((top, bottom), (bottom, top), (left, right), (right, left));
209
210
@each $pos, $b_pos in $pos_list {
211
// Panel borders
212
// .#{$pos} .budgie-panel { border-#{$b_pos}: 1px solid $border_color; }
213
214
// Raven borders
215
.#{$pos} frame.raven-frame > border {
216
margin-#{$b_pos}: 32px;
217
// border-#{$b_pos}: 1px solid $border_color;
218
}
219
220
// Shadows
221
// .#{$pos} .shadow-block { background-image: linear-gradient(to $b_pos, $border_color, transparent); }
222
}
223
224
// Raven
225
.raven {
226
background-color: $lighter_bg_color;
227
228
> stack { margin-bottom: -10px; }
229
230
// > stack > box:last-child > stack { margin-top: -6px; }
231
232
stackswitcher.linked > button {
233
@extend %flat_button;
234
235
@extend %button_selected.flat;
236
237
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px),
238
$warning_bg_color 0%,
239
transparent 0%)
240
0 0 0 / 0 0 0px;
241
border-radius: 0;
242
243
&:checked {
244
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px),
245
$warning_bg_color 100%,
246
transparent 0%)
247
0 0 2 / 0 0 2px;
248
background-color: transparent;
249
}
250
}
251
252
.raven-header {
253
min-height: $medium_size;
254
padding: 3px;
255
256
&:not(.top) {
257
margin-top: -6px; // remove extra spaces, but not perfect :(
258
259
button {
260
@extend %simple_flat_button;
261
262
&.image-button { @extend %circular_button; }
263
}
264
}
265
266
&.top {
267
padding: 2px 0;
268
background-color: $primary_color;
269
color: $inverse_fg_color;
270
271
stackswitcher button {
272
margin: -$container_padding 0;
273
min-height: $medium_size;
274
}
275
276
button.image-button {
277
&:dir(ltr) { margin-right: 2px; }
278
&:dir(rtl) { margin-left: 2px; }
279
}
280
281
> image { margin: 0 8px; }
282
283
> label {
284
margin: 0 -8px;
285
font-weight: bold;
286
}
287
}
288
289
&.bottom { border-top: 1px solid $border_color; }
290
}
291
292
viewport.frame .raven-header { margin-top: -8px; }
293
294
.expander-button { @extend %circular_button; }
295
296
.raven-background {
297
border-style: solid none;
298
border-width: 1px;
299
border-color: $border_color;
300
background-color: $base_color;
301
302
// &.middle { border-bottom-style: none; } // applet background between two headers
303
304
&.frame { border-style: solid none; }
305
306
> overlay image { color: $track_color; }
307
308
grid > label:first-child { min-height: $medium_size; } // workaround to fix vertical-align
309
310
spinbutton:not(.vertical) { @extend %entry.flat; }
311
312
button.combo { @extend %combo_flat; }
313
}
314
315
scrolledwindow.raven-background { border-bottom-style: none; }
316
317
.raven-header.top + .raven-background {
318
border-style: none;
319
background-color: $primary_color;
320
color: $inverse_fg_color;
321
322
stackswitcher button { margin: -4px 0; }
323
}
324
325
.powerstrip button {
326
margin: 2px 0 1px;
327
padding: ($large_size - 24px) / 2;
328
}
329
330
.option-subtitle { font-size: smaller; }
331
}
332
333
// Calendar
334
calendar.raven-calendar {
335
// padding: 3px;
336
border-style: none;
337
background-color: transparent;
338
339
&:selected {
340
border-radius: 2px;
341
background-color: $primary_color;
342
}
343
}
344
345
// MPRIS Applet
346
.raven-mpris {
347
background-color: rgba($black, $middle_opacity);
348
color: $inverse_fg_color;
349
350
label { min-height: 24px; }
351
352
button.image-button {
353
padding: ($large_size - 24px) / 2;
354
355
@extend %button_selected.flat;
356
}
357
}
358
359
// Notifications
360
.budgie-notification-window { background-color: transparent; }
361
362
.budgie-notification {
363
.notification-title { font-size: 120%; }
364
365
.notification-body { @extend .dim-label; }
366
}
367
368
// On Screen Display in Budgie
369
.budgie-osd-window {
370
@extend .budgie-notification-window;
371
}
372
373
// Internal part of the OSD
374
.budgie-osd {
375
.budgie-osd-text { font-size: 120%; }
376
}
377
378
// Alt+tab switcher in Budgie
379
.budgie-switcher-window {
380
@extend .budgie-notification-window;
381
}
382
383
// Internal part of the Switcher
384
.budgie-switcher {
385
@extend .budgie-notification;
386
}
387
388
.drop-shadow {
389
margin: 5px 9px;
390
padding: 3px;
391
border-radius: 2px;
392
box-shadow: $shadow_2, inset 0 1px $highlight_color;
393
background-color: $lighter_bg_color;
394
395
button { @extend %simple_flat_button; }
396
397
.linked > button { border-radius: 2px; }
398
}
399
400
%budgie_dialog {
401
border-radius: 2px;
402
background-color: $lighter_bg_color;
403
404
decoration { border-radius: 2px; }
405
}
406
407
// Session Dialog
408
.budgie-session-dialog {
409
@extend %budgie_dialog;
410
411
label:not(:last-child),
412
.dialog-title { font-size: 120%; }
413
414
.linked.horizontal > button {
415
padding: 8px 16px;
416
border-top: 1px solid $border_color;
417
border-radius: 0;
418
419
@extend %simple_flat_button;
420
421
&:first-child { border-bottom-left-radius: 2px; }
422
423
&:last-child { border-bottom-right-radius: 2px; }
424
}
425
}
426
427
// PolKit Dialog
428
.budgie-polkit-dialog {
429
@extend %budgie_dialog;
430
431
.message { color: $tertiary_fg_color; }
432
433
.failure { color: $destructive_color; }
434
}
435
436
// Run Dialog
437
.budgie-run-dialog {
438
@extend %budgie_dialog;
439
440
background-color: $base_color;
441
442
entry.search {
443
font-size: 120%;
444
padding: $container_padding 8px + $container_padding;
445
box-shadow: inset 0 1px $highlight_color;
446
background-color: transparent;
447
}
448
449
list .dim-label { opacity: 1; }
450
451
scrolledwindow { border-top: 1px solid $border_color; }
452
}
453