Debian Codegraph @

src/alsa-scarlett-gui.css

raw symbols SCIP
1 /* Top-level window frame */
2 .window-frame {
3 background: black;
4 color: white;
5 padding: 15px;
6 border-radius: 0;
7 border: none;
8 }
9
10 /* Force headerbar styling for modal windows */
11 .window-frame.modal headerbar,
12 .window-frame.modal headerbar:backdrop {
13 background: transparent;
14 color: white;
15 border: none;
16 box-shadow: none;
17 }
18
19 /* Modal close button */
20 .window-frame.modal headerbar windowcontrols button,
21 .window-frame.modal headerbar windowcontrols button:hover,
22 .window-frame.modal headerbar windowcontrols button:active {
23 background: transparent;
24 background-image: none;
25 box-shadow: none;
26 border: none;
27 padding-right: 0;
28 border-radius: 0;
29 }
30
31 .window-frame.modal headerbar windowcontrols button > image {
32 background: transparent;
33 border-radius: 0;
34 }
35
36 .window-frame.modal headerbar windowcontrols button:hover > image {
37 background: #303030;
38 border-radius: 5px;
39 }
40
41 /* Modal window frame */
42 .window-frame.modal {
43 padding-top: 0;
44 border-radius: 20px;
45 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
46 }
47
48 /* Modal content needs matching top border-radius */
49 .window-frame.modal .window-content {
50 border-top-left-radius: 10px;
51 border-top-right-radius: 10px;
52 }
53
54 /* Top-level window content */
55 .window-content {
56 padding: 15px;
57 border: 2px solid #800000;
58 border-radius: 20px;
59 }
60
61 /* Title of the window */
62 .window-title {
63 font-size: large;
64 }
65
66 /* Links */
67 .linktext {
68 color: #89CFF0;
69 }
70
71 /* Label above controls-content */
72 .controls-label {
73 font-size: smaller;
74 margin-top: -4px;
75 }
76
77 /* controls-content boxes */
78 .controls-content {
79 background: #141414;
80 padding: 10px;
81 border: 1px solid #a00000;
82 border-radius: 5px;
83 color: #d0d0d0;
84 }
85
86 /* Tighten up routing groups and make the background a little lighter */
87 .window-routing .controls-content {
88 background: #181818;
89 padding: 5px;
90 }
91
92 /* Used when the controls content is at the top level */
93 .top-level-content {
94 background: #141414;
95 }
96
97 .route-label {
98 font-size: smaller;
99 border-radius: 3px;
100 }
101
102 .route-label-hover {
103 background: #801010;
104 outline: 2px solid #801010;
105 }
106
107 .route-label:drop(active) {
108 box-shadow: none;
109 background: #801010;
110 }
111
112 /* Suppress GTK default drop highlight on routing overlay */
113 .window-routing:drop(active) {
114 box-shadow: none;
115 outline: none;
116 background: transparent;
117 }
118
119 .mixer-corner-label {
120 font-size: smaller;
121 color: #808080;
122 }
123
124 .mixer-label-hover {
125 font-weight: bold;
126 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
127 }
128
129 .filter-stage-hover {
130 background: #282828;
131 border-radius: 5px;
132 }
133
134 .filter-stage checkbutton {
135 padding: 0;
136 }
137
138 .presets-button {
139 font-size: smaller;
140 padding: 0 6px;
141 }
142
143 .dsp-section-header {
144 font-size: 1.2em;
145 font-weight: bold;
146 color: #c0c0c0;
147 padding-left: 5px;
148 }
149
150 label.gain {
151 font-size: smaller;
152 }
153
154 /* Default button style */
155 .window-frame button {
156 border: 1px solid #303030;
157 background: linear-gradient(175deg, #202020, #282828);
158 box-shadow: none;
159 font-weight: bold;
160 color: #ffffff;
161 }
162
163 .window-frame button.toggle {
164 color: #808080;
165 }
166
167 .window-frame button:focus:focus-visible {
168 outline: 2px solid #801010;
169 }
170
171 /* padding doesn't work when selected with .window-frame, so use
172 * .toggle instead
173 */
174 button.toggle {
175 padding: 0px 5px 0px 5px;
176 }
177
178 .window-frame button:checked {
179 color: #ffffff;
180 border: 1px solid #404040;
181 }
182
183 .window-frame button:hover {
184 background: #303030;
185 }
186
187 .window-frame button:disabled {
188 background: #202020;
189 color: #505050;
190 }
191
192 /* Stop text shadows on buttons from being applied to the popup menu */
193 .window-frame button > label > * {
194 text-shadow: none;
195 }
196
197 /* Button controls that are always disabled because they indicate status */
198 .window-frame button.fixed {
199 color: #ffffff;
200 filter: none;
201 }
202
203 .window-frame button.fixed label {
204 color: #ffffff;
205 filter: none;
206 }
207
208 /* Combobox controls that are always disabled because they indicate status */
209 .window-frame combobox.fixed > box > button {
210 color: #ffffff;
211 }
212
213 /* Buttons that glow when on */
214 .window-frame button.sync-status {
215 text-shadow: 0 0 5px #a00000, 0 0 15px #800000;
216 }
217
218 .window-frame button.sync-status:checked {
219 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
220 }
221
222 .window-frame button.input-select:checked {
223 color: #ffffff;
224 text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
225 filter: none;
226 }
227
228 .window-frame button.input-link:checked {
229 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
230 }
231
232 .window-frame button.autogain:checked {
233 text-shadow: 0 0 5px #0000ff, 0 0 15px #0000ff;
234 }
235
236 .window-frame button.speaker-switching-enable:checked {
237 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
238 }
239
240 .window-frame button.speaker-switching-alt {
241 color: #ffffff;
242 text-shadow: 0 0 5px #00ff00, 0 0 15px #00c000;
243 }
244
245 .window-frame button.speaker-switching-alt:checked {
246 text-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
247 }
248
249 .window-frame button.talkback-enable:checked {
250 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
251 }
252
253 .window-frame button.talk:checked {
254 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
255 }
256
257 /* orange */
258 .window-frame .vocaster button.autogain:checked {
259 text-shadow: 0 0 5px #ffc000, 0 0 15px #ffc000;
260 }
261
262 .window-frame button.safe:checked {
263 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
264 }
265
266 .window-frame button.safe:checked:disabled {
267 text-shadow: 0 0 5px #005000, 0 0 15px #005000;
268 }
269
270 .window-frame button.inst:checked {
271 text-shadow: 0 0 5px #ff0000, 0 0 15px #ff0000;
272 }
273
274 .window-frame .gen4 button.inst:checked {
275 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
276 }
277
278 .window-frame .gen4 button.inst:checked:disabled {
279 text-shadow: 0 0 5px #005000, 0 0 15px #005000;
280 }
281
282 .window-frame button.pcm-input-mix:checked {
283 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
284 }
285
286 /* Air Checked (Gen 3) */
287 .window-frame button.air:checked {
288 text-shadow: 0 0 5px #ffc000, 0 0 15px #ffc000;
289 }
290
291 /* Air Selections (Gen 4) */
292 .window-frame button.air.selected-presence > label {
293 color: #ffffff;
294 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
295 }
296
297 .window-frame button.air.selected-presencedrive > label {
298 color: #ffffff;
299 text-shadow: 0 0 5px #ffc000, 0 0 15px #ffc000;
300 }
301
302 .window-frame button.air.selected-presence:disabled > label {
303 color: #505050;
304 text-shadow: 0 0 5px #005000, 0 0 15px #005000;
305 }
306
307 .window-frame button.air.selected-presencedrive:disabled > label {
308 color: #505050;
309 text-shadow: 0 0 5px #503c00, 0 0 15px #503c00;
310 }
311
312 .window-frame button.pad:checked {
313 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
314 }
315
316 .window-frame button.gain-switch:checked {
317 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
318 }
319
320 .window-frame button.phantom:checked {
321 text-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
322 }
323
324 .window-frame .gen4 button.phantom:checked {
325 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
326 }
327
328 .window-frame .gen4 button.phantom:checked:disabled {
329 text-shadow: 0 0 5px #005000, 0 0 15px #005000;
330 }
331
332 .window-frame button.input-mute:checked {
333 text-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
334 }
335
336 .window-frame button.dsp:checked {
337 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
338 }
339
340 /* Direct Monitor Checked (Solo) */
341 .window-frame .direct-monitor:checked {
342 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
343 }
344
345 /* Direct Monitor Selections (2i2) */
346 .window-frame button.direct-monitor.selected-mono > label {
347 color: #ffffff;
348 text-shadow: 0 0 5px #c0c0c0, 0 0 15px #c0c0c0;
349 }
350
351 .window-frame button.direct-monitor.selected-stereo > label {
352 color: #ffffff;
353 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
354 }
355
356 /* Sample Rates */
357 .window-frame button.sample-rate.sample-rate-44100 {
358 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
359 }
360
361 .window-frame button.sample-rate.sample-rate-48000 {
362 text-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
363 }
364
365 .window-frame button.sample-rate.sample-rate-88200 {
366 text-shadow: 0 0 5px #ff8000, 0 0 15px #ff8000;
367 }
368
369 .window-frame button.sample-rate.sample-rate-96000 {
370 text-shadow: 0 0 5px #ff8000, 0 0 15px #ff8000;
371 }
372
373 .window-frame button.sample-rate.sample-rate-176400 {
374 text-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
375 }
376
377 .window-frame button.sample-rate.sample-rate-192000 {
378 text-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
379 }
380
381 .window-frame button.sample-rate.inactive > label {
382 color: #808080;
383 }
384
385 /* Button controls where checked is dimmer */
386
387 /* Mute button */
388 .window-frame button.mute {
389 color: #ffffff;
390 -gtk-icon-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
391 border-color: #404040;
392 }
393
394 .window-frame button.mute:checked {
395 -gtk-icon-shadow: 0 0 5px #ff0000, 0 0 15px #c00000;
396 border-color: #303030;
397 }
398
399 /* Dim button */
400 .window-frame button.dim {
401 color: #ffffff;
402 -gtk-icon-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
403 border-color: #404040;
404 }
405
406 .window-frame button.dim:checked {
407 -gtk-icon-shadow: 0 0 5px #ffc000, 0 0 15px #ffc000;
408 border-color: #303030;
409 }
410
411 /* SW/HW button */
412 .window-frame button.sw-hw {
413 color: #ffffff;
414 -gtk-icon-shadow: 0 0 5px #00c000, 0 0 15px #00c000;
415 border-color: #404040;
416 }
417
418 .window-frame button.sw-hw:checked {
419 color: #808080;
420 -gtk-icon-shadow: 0 0 5px #ffc000, 0 0 15px #ffc000;
421 border-color: #303030;
422 }
423
424 /* Textview used for long descriptions in the startup window */
425 .window-frame textview {
426 color: #fefefe;
427 background: none;
428 }
429 .window-frame textview > text {
430 background: none;
431 }
432
433 /* Bigger buttons in the startup window */
434 .window-frame .window-startup button {
435 padding: 5px;
436 }
437
438 /* Switches */
439 .window-frame switch {
440 background: #303030;
441 border: 1px solid #404040;
442 }
443
444 .window-frame switch:checked {
445 background: #a00000;
446 border-color: #c00000;
447 }
448
449 .window-frame switch slider {
450 background: #d0d0d0;
451 border: 1px solid #801010;
452 }
453
454 .window-frame switch:focus:focus-visible {
455 outline: 2px solid #801010;
456 }
457
458 /* Separators */
459 .window-frame separator {
460 background: #800000;
461 }
462
463 .window-frame .big-padding {
464 padding: 50px;
465 }
466
467 /* Bigger buttons in confirmation dialogs */
468 .window-frame .big-padding button {
469 padding: 5px 30px;
470 }
471
472 /* Notebook styling */
473 .window-frame notebook {
474 border: none;
475 }
476
477 .window-frame notebook > header {
478 background: none;
479 border-bottom: 1px solid #a00000;
480 }
481
482 .window-frame notebook > header > tabs > tab {
483 background: #181818;
484 color: #808080;
485 border: 1px solid #404040;
486 border-bottom: none;
487 padding: 8px 16px;
488 margin: 2px;
489 border-radius: 5px 5px 0 0;
490 }
491
492 .window-frame notebook > header > tabs > tab:checked {
493 background: #141414;
494 color: #ffffff;
495 border: 1px solid #a00000;
496 border-bottom: 1px solid #141414;
497 outline: none;
498 box-shadow: inset 0px -3px #c00000;
499 }
500
501 .window-frame notebook > header > tabs > tab:hover {
502 background: #282828;
503 box-shadow: inset 0px -3px #ffffff;
504 }
505
506 .window-frame notebook > header > tabs > tab:focus {
507 outline: none;
508 }
509
510 .window-frame notebook > header > tabs > tab:focus-visible {
511 outline: none;
512 }
513
514 .window-frame notebook > stack {
515 background: #141414;
516 border: 1px solid #a00000;
517 border-radius: 5px;
518 color: #d0d0d0;
519 }
520
521 .window-frame notebook.outer-notebook > stack {
522 background: transparent;
523 border: none;
524 padding: 0;
525 }
526
527 /* Popover styling */
528 .window-frame popover.background {
529 background-color: transparent;
530 }
531
532 .window-frame popover > arrow,
533 .window-frame popover > contents {
534 background-color: #282828;
535 color: #d0d0d0;
536 border: 1px solid #a00000;
537 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
538 }
539
540 .window-frame popover > contents {
541 padding: 8px;
542 border-radius: 8px;
543 }
544
545 /* Popover list item styling */
546 .window-frame popover row:hover {
547 background-color: #800000;
548 outline: none;
549 }
550
551 .window-frame popover row:focus {
552 background-color: #800000;
553 outline: none;
554 }
555
556 .window-frame popover row:selected {
557 background-color: #800000;
558 outline: none;
559 }
560
561 /* Popover checkmark images */
562 .window-frame popover row image {
563 color: #d0d0d0;
564 }
565
566 .window-frame popover row:hover image {
567 color: #ffffff;
568 }
569
570 /* Configuration window checkboxes */
571 .window-frame check {
572 min-width: 14px;
573 min-height: 14px;
574 background: #202020;
575 background-image: none;
576 border: 1px solid #505050;
577 box-shadow: none;
578 color: #d0d0d0;
579 -gtk-icon-source: none;
580 }
581
582 .window-frame check:checked {
583 background: #c00000;
584 border-color: #a00000;
585 color: #ffffff;
586 -gtk-icon-source: -gtk-icontheme("object-select-symbolic");
587 }
588
589 .window-frame check:indeterminate {
590 background: #404040;
591 border-color: #606060;
592 -gtk-icon-source: -gtk-icontheme("list-remove-symbolic");
593 }
594
595 .window-frame check:hover {
596 border-color: #a00000;
597 outline: none;
598 }
599
600 .window-frame check:checked:hover {
601 background: #e00000;
602 border-color: #c00000;
603 }
604
605 .window-frame checkbutton:focus:focus-visible {
606 outline: none;
607 }
608
609 .window-frame checkbutton:focus:focus-visible > check {
610 outline: 2px solid #a00000;
611 outline-offset: 1px;
612 }
613
614 /* Drop-down lists */
615 .drop-down-list,
616 .filter-type-list {
617 background: transparent;
618 color: #d0d0d0;
619 }
620
621 .drop-down-list > row,
622 .filter-type-list > row {
623 padding: 4px 8px;
624 color: #d0d0d0;
625 }
626
627 .drop-down-list > row:hover,
628 .filter-type-list > row:hover {
629 background: #800000;
630 color: #ffffff;
631 }
632
633 .drop-down-list > row:selected,
634 .filter-type-list > row:selected {
635 background: #600000;
636 color: #ffffff;
637 }
638
639 /* Mixer unavailable overlay */
640 .mixer-unavailable {
641 font-size: 24px;
642 font-weight: bold;
643 color: #ff4040;
644 background: rgba(0, 0, 0, 0.8);
645 padding: 20px 40px;
646 border-radius: 10px;
647 border: 2px solid #ff0000;
648 }