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