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 • 11.41 kiB
ASCII text
        
            
1
// based css:
2
// https://github.com/budgie-desktop/budgie-desktop/tree/master/src/theme
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-settings-window buttonbox.inline-toolbar {
12
border-style: none none solid;
13
14
button {
15
border-radius: $material_radius;
16
-gtk-outline-radius: $material_radius;
17
18
@extend %simple_flat_button;
19
}
20
}
21
22
.budgie-popover {
23
border-style: solid;
24
border-width: 1px;
25
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.3);
26
border-radius: $material_radius + 1px;
27
box-shadow: $shadow_2;
28
background-color: $surface_color;
29
30
.container { padding: 2px; }
31
32
border { border: none; }
33
34
list { background-color: transparent; }
35
36
row {
37
padding: 0;
38
39
&:hover { box-shadow: none; }
40
}
41
42
&:not(.budgie-menu) button.flat:not(.image-button) {
43
min-height: $menuitem_size;
44
padding: 0 8px;
45
color: $fg_color;
46
font-weight: normal;
47
48
&:disabled { color: $disabled_fg_color; }
49
}
50
51
&.budgie-menu {
52
.container { padding: 0; }
53
54
.sidebar,
55
scrollbar,
56
entry.search { background-color: transparent; }
57
58
entry.search {
59
border-bottom: 1px solid $border_color;
60
border-image: none;
61
border-radius: 0;
62
box-shadow: none;
63
font-size: 120%;
64
}
65
66
button {
67
@extend row.activatable;
68
69
min-height: 32px;
70
padding: 0 8px;
71
border-radius: 0;
72
color: $fg_color;
73
font-weight: normal;
74
75
&:disabled { color: $disabled_fg_color; }
76
77
&:checked { @extend %selected_items; }
78
79
&:checked:disabled { background-color: transparent; } // overriding
80
}
81
}
82
83
&.user-menu {
84
.container { padding: 8px; }
85
86
separator { margin: 4px 0; }
87
}
88
89
&.sound-popover {
90
separator { margin: 3px 0; }
91
}
92
93
&.night-light-indicator {
94
.container { padding: 8px; }
95
}
96
97
&.places-menu {
98
.container { padding: 8px; }
99
100
.places-list:not(.always-expand) {
101
margin-top: 4px;
102
padding-top: 4px;
103
border-top: 1px solid $border_color;
104
}
105
106
// I guess this really should be hard-coded as well as other dim-labels.
107
.alternative-label {
108
padding: 3px;
109
font-size: 15px;
110
}
111
}
112
113
&.workspace-popover {
114
.container { padding: 8px; }
115
116
separator { margin: 4px 0; }
117
118
flowboxchild { padding: 0; }
119
}
120
}
121
122
// FIXME: workspace has unnecessary/unknown margin
123
.workspace-switcher {
124
.workspace-layout {
125
border: 0 solid $inverse_divider_color;
126
127
.top &,
128
.bottom & {
129
&:dir(ltr) { border-left-width: 1px; }
130
131
&:dir(rtl) { border-right-width: 1px; }
132
}
133
134
.left &,
135
.right & { border-top-width: 1px; }
136
}
137
138
.workspace-item,
139
.workspace-add-button {
140
border: 0 solid $inverse_divider_color;
141
142
.top &,
143
.bottom & {
144
&:dir(ltr) { border-right-width: 1px; }
145
146
&:dir(rtl) { border-left-width: 1px; }
147
}
148
149
.left &,
150
.right & { border-bottom-width: 1px; }
151
}
152
153
.workspace-item {
154
transition: $shorter_transition;
155
156
&.current-workspace { background-color: $inverse_divider_color; }
157
}
158
159
.workspace-add-button {
160
&:hover { box-shadow: none; }
161
162
&:active { background-image: none; }
163
164
&:active image { margin: 1px 0 -1px; }
165
}
166
167
.workspace-icon-button {
168
.budgie-panel & { // to overwrite the .budgie-panel button style below
169
min-height: 24px;
170
min-width: 24px;
171
padding: 0;
172
border-radius: $material_radius;
173
}
174
}
175
}
176
177
// Menu Button
178
button.budgie-menu-launcher {
179
// padding: 0 2px;
180
}
181
182
// Raven Trigger
183
button.raven-trigger {
184
// padding: 0 4px;
185
}
186
187
// Places Menu
188
.places-menu {
189
.container { padding: 8px; }
190
191
// FIXME: untested
192
.message-bar {
193
// margin-bottom: 4px;
194
}
195
196
.name-button {
197
image {
198
&:dir(ltr) { margin-right: 8px - 5px; }
199
&:dir(rtl) { margin-left: 8px - 5px; }
200
}
201
}
202
203
.unmount-button {
204
margin: ($menuitem_size - $small_size) / 2;
205
padding: 0;
206
}
207
208
.places-section-header {
209
}
210
211
.places-list {
212
margin-top: 4px;
213
padding-top: 4px;
214
border-top: 1px solid $border_color;
215
background-color: transparent;
216
}
217
218
row {
219
padding: 0;
220
box-shadow: none;
221
background-image: none;
222
}
223
224
// FIXME: untested
225
.unlock-area {
226
entry {
227
}
228
229
button {
230
}
231
}
232
}
233
234
// Panel
235
.budgie-panel {
236
transition: background-color $shorter_duration $deceleration_curve;
237
background-color: $solid_panel_bg_color;
238
color: $inverse_secondary_fg_color;
239
font-weight: 500;
240
241
&.transparent { background-color: $panel_bg_color; }
242
243
button {
244
@extend %flat_button;
245
@extend %button_selected.flat;
246
247
min-height: 16px;
248
min-width: 16px;
249
padding: 0;
250
border-radius: 0;
251
252
&:checked { background-color: $inverse_divider_color; }
253
}
254
255
&.horizontal button { padding: 0 4px; }
256
257
&.vertical button { padding: 4px 0; }
258
259
separator { background-color: $inverse_track_color; }
260
261
// used to indicate unread notifications
262
.alert { color: $destructive_color; }
263
264
// End Section needs to be fancy
265
.end-region {
266
// background-color: rgba(0,0,0,0.2);
267
}
268
269
// budgie-pixel-saver-applet
270
.titlebar:not(headerbar) {
271
min-height: 0;
272
padding: 0;
273
box-shadow: none;
274
background-color: transparent;
275
color: $inverse_fg_color;
276
277
button:not(.suggested-action):not(.destructive-action) {
278
color: $inverse_secondary_fg_color;
279
280
&:hover,
281
&:active { color: $inverse_fg_color; }
282
}
283
}
284
285
// Tasklist
286
#tasklist-button {
287
padding: 0 4px;
288
289
@extend %underscores;
290
}
291
292
&.vertical #tasklist-button { min-height: 32px; }
293
294
// Icon Tasklist
295
button.flat.launcher {
296
padding: 0;
297
298
@extend %underscores;
299
300
// for indicator colors
301
&:not(:checked) {
302
color: $inverse_disabled_fg_color;
303
304
&:hover, &:active { color: $inverse_secondary_fg_color; }
305
306
&:disabled { color: $inverse_track_color; }
307
}
308
}
309
310
.unpinned button.flat.launcher,
311
.pinned button.flat.launcher.running { @extend %underscores:checked; }
312
}
313
314
%underscores {
315
@each $pos, $b_pos, $b_wid in (top, center calc(1px), 2 0 0 0 / 2px 0 0 0),
316
(bottom, center calc(100% - 1px), 0 0 2 0 / 0 0 2px 0),
317
(left, calc(1px) center, 0 0 0 2 / 0 0 0 2px),
318
(right, calc(100% - 1px) center, 0 2 0 0 / 0 2px 0 0) {
319
.#{$pos} & {
320
& {
321
border-image: radial-gradient(circle closest-corner at #{$b_pos},
322
currentColor 0%,
323
transparent 0%)
324
0 0 0 0 / 0 0 0 0;
325
}
326
327
&:checked {
328
border-image: radial-gradient(circle closest-corner at #{$b_pos},
329
currentColor 100%,
330
transparent 0%)
331
#{$b_wid};
332
}
333
}
334
}
335
}
336
337
frame.raven-frame > border {
338
border-style: none;
339
box-shadow: $shadow_4;
340
}
341
342
$pos_list: ((top, bottom), (bottom, top), (left, right), (right, left));
343
344
@each $pos, $b_pos in $pos_list {
345
// Panel borders
346
// .#{$pos} .budgie-panel { border-#{$b_pos}: 1px solid $border_color; }
347
348
// Raven borders
349
.#{$pos} frame.raven-frame > border {
350
margin-#{$b_pos}: 32px;
351
// border-#{$b_pos}: 1px solid $border_color;
352
}
353
354
// Shadows
355
// .#{$pos} .shadow-block { background-image: linear-gradient(to $b_pos, $border_color, transparent); }
356
}
357
358
// Raven
359
.raven {
360
background-color: $surface_color;
361
362
> box { margin-bottom: -10px; }
363
364
stackswitcher.linked > button {
365
@extend %flat_button;
366
367
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px),
368
$primary_color 0%,
369
transparent 0%)
370
0 0 0 / 0 0 0px;
371
border-radius: 0;
372
373
&:checked {
374
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px),
375
$primary_color 100%,
376
transparent 0%)
377
0 0 2 / 0 0 2px;
378
background-color: transparent;
379
}
380
}
381
382
.raven-header {
383
min-height: $medium_size;
384
padding: 3px;
385
386
&:not(.top) { margin-top: -6px; } // remove extra spaces
387
388
&.top {
389
padding: 0;
390
border-bottom: 1px solid $border_color;
391
392
stackswitcher button {
393
margin: -4px 0 -5px;
394
padding: 0 16px;
395
min-height: $large_size;
396
}
397
}
398
399
&.bottom { border-top: 1px solid $border_color; }
400
}
401
402
viewport.frame .raven-header { margin-top: -8px; }
403
404
.expander-button { @extend %circular_button; }
405
406
.raven-background {
407
border-style: solid none;
408
border-width: 1px;
409
border-color: $border_color;
410
background-color: $base_color;
411
412
// &.middle { border-bottom-style: none; } // applet background between two headers
413
414
> overlay > widget > image { color: $divider_color; }
415
}
416
417
scrolledwindow.raven-background { border-bottom-style: none; }
418
419
.powerstrip button {
420
margin: 2px 0 1px;
421
padding: ($large_size - 24px) / 2;
422
}
423
424
.option-subtitle { font-size: smaller; }
425
}
426
427
// Calendar
428
calendar.raven-calendar {
429
// padding: 3px;
430
border-style: none;
431
background-color: transparent;
432
433
&:selected {
434
@extend %selected_items;
435
436
border-radius: $material_radius;
437
}
438
}
439
440
// MPRIS Applet
441
.raven-mpris {
442
background-color: $panel_bg_color;
443
color: $inverse_fg_color;
444
445
label { min-height: 24px; }
446
447
button.image-button {
448
padding: ($large_size - 24px) / 2;
449
450
@extend %button_selected.flat;
451
}
452
}
453
454
// Notifications
455
.budgie-notification-window { background-color: transparent; }
456
457
.budgie-notification {
458
.notification-title { font-size: 120%; }
459
460
.notification-body { @extend .dim-label; }
461
}
462
463
// On Screen Display in Budgie
464
.budgie-osd-window {
465
@extend .budgie-notification-window;
466
}
467
468
// Internal part of the OSD
469
.budgie-osd {
470
.budgie-osd-text { font-size: 120%; }
471
}
472
473
// Alt+tab switcher in Budgie
474
.budgie-switcher-window {
475
@extend .budgie-notification-window;
476
}
477
478
// Internal part of the Switcher
479
.budgie-switcher {
480
@extend .budgie-notification;
481
}
482
483
.drop-shadow {
484
margin: 5px 9px;
485
padding: 3px;
486
border-radius: $material_radius;
487
box-shadow: $shadow_2, inset 0 1px $highlight_color;
488
background-color: $surface_color;
489
490
button { @extend %simple_flat_button; }
491
492
.linked > button { border-radius: $material_radius; }
493
}
494
495
%budgie_dialog {
496
border-radius: $material_radius;
497
background-color: $surface_color;
498
499
decoration { border-radius: $material_radius; }
500
}
501
502
// Session Dialog
503
.budgie-session-dialog {
504
@extend %budgie_dialog;
505
506
label:not(:last-child),
507
.dialog-title { font-size: 120%; }
508
509
.linked.horizontal > button {
510
padding: 8px 16px;
511
border-top: 1px solid $border_color;
512
border-radius: 0;
513
514
@extend %simple_flat_button;
515
516
&:first-child { border-bottom-left-radius: $material_radius; }
517
518
&:last-child { border-bottom-right-radius: $material_radius; }
519
}
520
}
521
522
// PolKit Dialog
523
.budgie-polkit-dialog {
524
@extend %budgie_dialog;
525
526
.message { color: $secondary_fg_color; }
527
528
.failure { color: $destructive_color; }
529
}
530
531
// Run Dialog
532
.budgie-run-dialog {
533
@extend %budgie_dialog;
534
535
background-color: $base_color;
536
537
entry.search {
538
font-size: 120%;
539
padding: $container_padding 8px + $container_padding;
540
border-image: none;
541
box-shadow: inset 0 1px $highlight_color;
542
background-color: transparent;
543
}
544
545
list .dim-label { opacity: 1; }
546
547
scrolledwindow { border-top: 1px solid $border_color; }
548
}
549