Debian Codegraph @

light/gtk-4.0/apps/granite-widgets.css

raw
1 /********************
2 * dynamic notebook *
3 ********************/
4 .dynamic-notebook {
5 background-color: shade(@theme_bg_color, 1.05);
6 background-image: none;
7 }
8
9 .dynamic-notebook GtkLabel,
10 .dynamic-notebook GtkImage {
11 color: alpha(@theme_fg_color, 0.5);
12 }
13
14 .dynamic-notebook .notebook {
15 -GtkNotebook-tab-overlap: 3px;
16 -GtkNotebook-initial-gap: 12px;
17
18 border-width: 1px 0 0 0;
19 border-color: shade(@theme_bg_color, 0.8);
20 border-radius: 0;
21 padding: 0;
22 }
23
24 .dynamic-notebook .notebook tab {
25 padding: 3px;
26 border-width: 1px;
27 border-color: shade(@theme_bg_color, 0.9);
28 border-radius: 3px;
29 background-color: @theme_bg_color;
30 background-image: none;
31 color: @theme_fg_color;
32 }
33
34 .dynamic-notebook .notebook tab:active {
35 border-color: shade(@theme_bg_color, 0.8);
36 background-color: shade(@theme_bg_color, 1.05);
37 color: @theme_fg_color;
38 }
39
40 .dynamic-notebook .notebook tab .entry {
41 border-radius: 3px;
42 padding: 3px;
43 }
44
45 .dynamic-notebook .button:hover,
46 .dynamic-notebook .button:hover:active,
47 .dynamic-notebook .notebook .button,
48 .dynamic-notebook .notebook .button:hover,
49 .dynamic-notebook .notebook .button:hover:active {
50 border-color: shade(@theme_bg_color, 0.7);
51 background-color: shade(@theme_bg_color, 1.10);
52 background-image: none;
53 }
54
55 .dynamic-notebook .button:hover:active,
56 .dynamic-notebook .notebook .button:hover:active {
57 border-color: shade(@theme_bg_color, 0.6);
58 background-color: shade(@theme_bg_color, 0.85);
59 color: shade(@theme_fg_color, 0.7);
60 }
61
62 .dynamic-notebook .menu GtkLabel {
63 color: @menu_fg_color;
64 }
65
66 /****************
67 * content view *
68 ****************/
69 .content-view-window {
70 border-width: 1px;
71 border-style: solid;
72 border-color: shade(@theme_base_color, 0.8);
73 border-radius: 2px;
74 background-color:@theme_base_color;
75 background-image: none;
76 color: @theme_text_color;
77 }
78
79 .content-view,
80 .content-view GtkViewport {
81 background-color: @theme_base_color;
82 background-image: none;
83 }
84
85 .content-view * {
86 background-color: transparent;
87 background-image: none;
88 }
89
90 .content-view .entry {
91 background-color: @theme_base_color;
92 background-image: none;
93 color: @theme_text_color;
94 }
95
96 .content-view .button {
97 border-width: 1px;
98 border-style: solid;
99 border-color: shade(@theme_base_color, 0.8);
100 border-radius: 2px;
101 background-color: shade(@theme_base_color, 1.02);
102 background-image: none;
103 color: @theme_text_color;
104 }
105
106 .content-view .button:hover {
107 border-color: shade(@theme_base_color, 0.7);
108 background-color: shade(@theme_base_color, 1.10);
109 background-image: none;
110 }
111
112 .content-view .button:active {
113 border-color: shade(@theme_base_color, 0.6);
114 background-color: shade(@theme_base_color, 0.85);
115 background-image: none;
116 }
117
118 .content-view .button:active:hover {
119 border-color: shade(@theme_base_color, 0.7);
120 color: shade(@theme_text_color, 1.10);
121 }
122
123 .content-view .button:insensitive {
124 border-color: shade(@theme_base_color, 0.8);
125 background-color: shade(@theme_base_color, 0.95);
126 background-image: none;
127 }
128
129 .content-view .help_button * {
130 color: @theme_text_color;
131 }
132
133 .content-view .toolbar {
134 -GtkWidget-window-dragging: true;
135
136 padding: 1px;
137 border-width: 0 0 1px 0;
138 border-style: solid;
139 border-color: shade(@theme_base_color, 0.8);
140 background-color: @theme_base_color;
141 background-image: none;
142 }
143
144 .content-view .menu {
145 padding: 0;
146 border-radius: 0;
147 border-style: none;
148 background-color: @menu_bg_color;
149 background-image: none;
150 color: @menu_fg_color;
151 }
152
153 /**************
154 * sourcelist *
155 **************/
156 .source-list,
157 .source-list.view {
158 border-radius: 0;
159 background-color: @theme_bg_color;
160 background-image: none;
161 color: mix(@theme_fg_color, @theme_bg_color, 0.1);
162 }
163
164 .source-list {
165 -GtkTreeView-horizontal-separator: 1;
166 -GtkTreeView-vertical-separator: 1;
167 }
168
169 .source-list.view:selected,
170 .source-list.view:prelight:selected {
171 border-width: 1px 0;
172 border-style: solid;
173 border-top-color: shade(@theme_bg_color, 0.85);
174 border-bottom-color: shade(@theme_bg_color, 1.12);
175 background-image: linear-gradient(to bottom,
176 shade(mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.1), 0.87),
177 shade(mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.1), 0.95) 10%,
178 shade(mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.1), 0.99) 92%,
179 shade(mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.1), 0.92)
180 );
181
182 color: mix(@theme_text_color, @theme_base_color, 0.3);
183 }
184
185 .source-list.view:prelight {
186 border-color: mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.3);
187 background-color: mix(shade(@theme_base_color, 0.9), shade(@theme_selected_bg_color, 1.35), 0.3);
188 background-image: none;
189 }
190
191 .source-list.badge,
192 .source-list.badge:prelight,
193 .source-list.badge:selected,
194 .source-list.badge:prelight:selected {
195 margin: 0 3px;
196 padding: 0 6px;
197 border-width: 0;
198 border-radius: 10px;
199 background-image: linear-gradient(to bottom,
200 shade(@theme_selected_bg_color, 1.1),
201 shade(@theme_selected_bg_color, 0.9)
202 );
203 color: @theme_selected_fg_color;
204 }
205
206 /******************
207 * no undo button *
208 ******************/
209 .button.noundo,
210 .content-view .button.noundo {
211 border-color: shade(@error_bg_color, 0.8);
212 background-color: shade(@error_bg_color, 1.05);
213 background-image: none;
214 color: @error_fg_color;
215 }
216
217 .button.noundo:hover,
218 .content-view .button.noundo:hover {
219 border-color: shade(@error_bg_color, 0.7);
220 background-color: @error_bg_color;
221 background-image: none;
222 }
223
224 .button.noundo:active,
225 .content-view .button.noundo:active {
226 border-color: shade(@error_bg_color, 0.8);
227 background-color: shade(@error_bg_color, 0.95);
228 background-image: none;
229 }
230
231 .button.noundo:active:hover,
232 .content-view .button.noundo:active:hover {
233 border-color: shade(@error_bg_color, 0.7);
234 background-color: shade(@error_bg_color, 0.97);
235 background-image: none;
236 }
237
238 .button.noundo GtkLabel,
239 .button.noundo Gtklabel:prelight {
240 color: @error_fg_color;
241 }
242
243 /**********************
244 * affirmative button *
245 **********************/
246 .button.affirmative,
247 .content-view .button.affirmative {
248 border-color: shade(@theme_selected_bg_color, 0.8);
249 background-color: shade(@theme_selected_bg_color, 1.05);
250 background-image: none;
251 color: @theme_selected_fg_color;
252 }
253
254 .button.affirmative:hover,
255 .content-view .button.affirmative:hover {
256 border-color: shade(@theme_selected_bg_color, 0.7);
257 background-color: @theme_selected_bg_color;
258 background-image: none;
259 }
260
261 .button.affirmative:active,
262 .content-view .button.affirmative:active {
263 border-color: shade(@theme_selected_bg_color, 0.8);
264 background-color: shade(@theme_selected_bg_color, 0.95);
265 background-image: none;
266 }
267
268 .button.affirmative:active:hover,
269 .content-view .button.affirmative:active:hover {
270 border-color: shade(@theme_selected_bg_color, 0.7);
271 background-color: shade(@theme_selected_bg_color, 0.97);
272 background-image: none;
273 }
274
275 .button.affirmative GtkLabel,
276 .button.affirmative Gtklabel:prelight {
277 color: @theme_selected_fg_color;
278 }
279
280 /**********************
281 * secondary toolbars *
282 **********************/
283 .secondary-toolbar.toolbar {
284 padding: 2px;
285 border-color: shade(@toolbar_bg_color, 0.8);
286 background-color: @toolbar_bg_color;
287 background-image: none;
288 }
289
290 .secondary-toolbar.toolbar .button {
291 border-color: shade(@toolbar_bg_color, 0.8);
292 background-color: shade(@toolbar_bg_color, 1.05);
293 background-image: none;
294 color: @toolbar_fg_color;
295 }
296
297 .secondary-toolbar.toolbar .button:hover {
298 border-color: shade(@toolbar_bg_color, 0.7);
299 background-color: shade(@toolbar_bg_color, 1.10);
300 background-image: none;
301 }
302
303 .secondary-toolbar.toolbar .button:active {
304 border-color: shade(@toolbar_bg_color, 0.8);
305 background-color: shade(@toolbar_bg_color, 0.95);
306 background-image: none;
307 }
308
309 .secondary-toolbar.toolbar .button:active:hover {
310 border-color: shade(@toolbar_bg_color, 0.7);
311 }
312
313 .secondary-toolbar.toolbar .button:focus,
314 .secondary-toolbar.toolbar .button:hover:focus,
315 .secondary-toolbar.toolbar .button:active:focus,
316 .secondary-toolbar.toolbar .button:active:hover:focus {
317 border-color: shade(@toolbar_bg_color, 0.7);
318 }
319
320 .secondary-toolbar.toolbar .button:insensitive {
321 border-color: shade(@toolbar_bg_color, 0.85);
322 background-color: shade(@toolbar_bg_color, 0.9);
323 background-image: none;
324 }
325
326 .secondary-toolbar.toolbar .button:active *:insensitive {
327 border-color: shade(@toolbar_bg_color, 0.75);
328 background-color: shade(@toolbar_bg_color, 0.80);
329 background-image: none;
330 }
331
332 /*******************
333 * bottom toolbars *
334 *******************/
335 .bottom-toolbar.toolbar {
336 padding: 6px;
337 border-width: 1px 0 0 0;
338 border-color: shade(@theme_bg_color, 0.8);
339 background-color: @theme_bg_color;
340 background-image: none;
341 }
342
343 .bottom-toolbar.toolbar .button {
344 border-color: shade(@theme_bg_color, 0.8);
345 background-color: shade(@theme_bg_color, 1.05);
346 background-image: none;
347 color: @theme_fg_color;
348 }
349
350 .bottom-toolbar.toolbar .button:hover {
351 border-color: shade(@theme_bg_color, 0.7);
352 background-color: shade(@theme_bg_color, 1.10);
353 background-image: none;
354 }
355
356 .bottom-toolbar.toolbar .button:active {
357 border-color: shade(@theme_bg_color, 0.8);
358 background-color: shade(@theme_bg_color, 0.95);
359 background-image: none;
360 }
361
362 .bottom-toolbar.toolbar .button:active:hover {
363 border-color: shade(@theme_bg_color, 0.7);
364 }
365
366 .bottom-toolbar.toolbar .button:focus,
367 .bottom-toolbar.toolbar .button:hover:focus,
368 .bottom-toolbar.toolbar .button:active:focus,
369 .bottom-toolbar.toolbar .button:active:hover:focus {
370 border-color: shade(@theme_bg_color, 0.7);
371 }
372
373 .bottom-toolbar.toolbar .button:insensitive {
374 border-color: shade(@theme_bg_color, 0.85);
375 background-color: shade(@theme_bg_color, 0.9);
376 background-image: none;
377 }
378
379 .bottom-toolbar.toolbar .button:active *:insensitive {
380 border-color: shade(@theme_bg_color, 0.75);
381 background-color: shade(@theme_bg_color, 0.80);
382 background-image: none;
383 }
384
385 /*************
386 * statusbar *
387 *************/
388 GraniteWidgetsStatusBar {
389 padding: 1px;
390 background-image: linear-gradient(to bottom,
391 shade(@theme_bg_color, 1.0),
392 shade(@theme_bg_color, 0.88)
393 );
394
395 box-shadow: inset 0 1px shade(@theme_bg_color, 0.8);
396 }
397
398 /***********
399 * popover *
400 ***********/
401 GraniteWidgetsPopOver {
402 -GraniteWidgetsPopOver-arrow-width: 21;
403 -GraniteWidgetsPopOver-arrow-height: 12;
404 -GraniteWidgetsPopOver-border-radius: 5px;
405 -GraniteWidgetsPopOver-border-width: 1;
406 -GraniteWidgetsPopOver-shadow-size: 15;
407
408 margin: 0;
409 border-style: solid;
410 border-color: shade(@menu_bg_color, 0.8);
411 color: @menu_fg_color;
412 }
413
414 .popover_bg {
415 background-color: transparent;
416 background-image: linear-gradient(to bottom,
417 @menu_bg_color,
418 shade(@menu_bg_color, 0.98)
419 );
420 }
421
422 GraniteWidgetsPopOver .sidebar.view,
423 GraniteWidgetsPopOver * {
424 background-color: transparent;
425 background-image: none;
426 color: @menu_fg_color;
427 }
428
429 GraniteWidgetsPopOver .sidebar.view:selected,
430 GraniteWidgetsPopOver .sidebar.view:selected:focus,
431 GraniteWidgetsPopOver *:selected,
432 GraniteWidgetsPopOver *:selected:focus {
433 background-color: @theme_selected_bg_color;
434 background-image: none;
435 color: @theme_selected_fg_color;
436 }
437
438 GraniteWidgetsPopOver .button {
439 border-color: shade(@menu_bg_color, 0.8);
440 background-color: shade(@menu_bg_color, 1.08);
441 background-image: none;
442 color: @menu_fg_color;
443 }
444
445 GraniteWidgetsPopOver .button:hover {
446 border-color: shade(@menu_bg_color, 0.7);
447 background-color: shade(@menu_bg_color, 1.10);
448 background-image: none;
449 color: shade(@menu_fg_color, 0.7);
450 }
451
452 GraniteWidgetsPopOver .button:active {
453 border-color: shade(@menu_bg_color, 0.8);
454 background-color: shade(@menu_bg_color, 0.95);
455 background-image: none;
456 }
457
458 GraniteWidgetsPopOver .button:active:hover {
459 border-color: shade(@menu_bg_color, 0.7);
460 color: shade(@menu_fg_color, 0.7);
461 }
462
463 /* linked buttons */
464 GraniteWidgetsPopOver .linked .button {
465 box-shadow: inset -1px 0 shade(@menu_bg_color, 0.9);
466 }
467
468 GraniteWidgetsPopOver .linked .button:active {
469 box-shadow: inset -1px 0 shade(@menu_bg_color, 0.8),
470 inset 1px 1px alpha(@dark_shadow, 0.06),
471 inset -1px -1px alpha(@dark_shadow, 0.06);
472 }
473
474 GraniteWidgetsPopOver .linked .button:insensitive {
475 box-shadow: inset -1px 0 shade(@menu_bg_color, 0.8),
476 inset 1px 1px alpha(@light_shadow, 0.2);
477 }
478
479 GraniteWidgetsPopOver .linked .button:last-child,
480 GraniteWidgetsPopOver .linked .button:only-child,
481 GraniteWidgetsPopOver .linked .button:insensitive:last-child,
482 GraniteWidgetsPopOver .linked .button:insensitive:only-child,
483 GraniteWidgetsPopOver .linked .button:active *:insensitive:last-child,
484 GraniteWidgetsPopOver .linked .button:active *:insensitive:only-child {
485 box-shadow: inset 1px 1px alpha(@light_shadow, 0.4),
486 inset -1px 0 alpha(@light_shadow, 0.4);
487 }
488
489 GraniteWidgetsPopOver .linked .button:active:last-child,
490 GraniteWidgetsPopOver .linked .button:active:only-child {
491 box-shadow: inset 1px 1px alpha(@dark_shadow, 0.06),
492 inset -1px -1px alpha(@dark_shadow, 0.06);
493 }
494
495 GraniteWidgetsPopOver .entry {
496 border-color: shade(@menu_bg_color, 0.7);
497 background-color: @menu_bg_color;
498 background-image: none;
499 color: @menu_fg_color;
500 }
501
502 GraniteWidgetsPopOver .entry:active,
503 GraniteWidgetsPopOver .entry:focus {
504 border-color: shade(@menu_bg_color, 0.7);
505 }
506
507 GraniteWidgetsPopOver *.separator {
508 border-color: shade(@menu_bg_color, 0.9);
509 color: transparent;
510 }
511
512 .button.app {
513 border-width: 0;
514 border-radius: 2px;
515 background-color: transparent;
516 background-image: none;
517 }
518
519 .button.app:hover {
520 border-color: shade(@theme_selected_bg_color, 0.8);
521 background-image: linear-gradient(to bottom,
522 shade(@theme_selected_bg_color, 1.1),
523 shade(@theme_selected_bg_color, 0.9)
524 );
525
526 color: @theme_selected_fg_color;
527 }
528
529 .button.app:focus {
530 border-color: shade(@theme_selected_bg_color, 0.8);
531 background-image: linear-gradient(to bottom,
532 shade(@theme_selected_bg_color, 1.1),
533 shade(@theme_selected_bg_color, 0.9)
534 );
535
536 color: @theme_selected_fg_color;
537 }
538
539 /********
540 * gala *
541 ********/
542 .gala-workspaces-background {
543 border-width: 1px 0 0 0;
544 border-color: shade(@panel_bg_color, 0.8);
545 background-color: @panel_bg_color;
546 background-image: none;
547 }
548
549 .gala-workspace-selected {
550 border-width: 1px;
551 border-radius: 2px;
552 border-color: shade(@theme_selected_bg_color, 0.9);
553 background-color: @theme_selected_bg_color;
554 background-image: none;
555 }
556
557 /*********
558 * files *
559 *********/
560 .files-overlay-bar {
561 margin: 3px;
562 padding: 3px 6px;
563 border-width: 1px;
564 border-color: shade(@theme_base_color, 0.7);
565 border-radius: 2px;
566 background-image: linear-gradient(to bottom,
567 shade(@theme_bg_color, 1.1),
568 shade(@theme_bg_color, 0.9)
569 );
570 }
571
572 .files-overlay-bar GtkLabel {
573 color: @theme_text_color;
574 }
575
576 /*********
577 * noise *
578 *********/
579 .album-list-view,
580 .album-list-view * {
581 border-color: shade(@theme_base_color, 0.7);
582 border-radius: 0;
583 background-color: @theme_base_color;
584 background-image: none;
585 color: @theme_text_color;
586 }
587
588 .album-list-view GtkTreeView {
589 -GtkTreeView-vertical-separator: 1;
590 -GtkTreeView-grid-line-width: 0;
591
592 background-color: @theme_base_color;
593 background-image: none;
594 color: @theme_text_color;
595 }
596
597 .album-list-view GtkTreeView row:nth-child(even) {
598 border-width: 0;
599 border-style: none;
600 background-color: shade(@theme_base_color, 0.9);
601 background-image: none;
602 }
603
604
605 .album-list-view GtkTreeView row:nth-child(odd) {
606 border-width: 0;
607 border-style: none;
608 background-color: shade(@theme_base_color, 1.0);
609 background-image: none;
610 }
611
612 .album-list-view GtkTreeView row:selected {
613 background-color: @selected_bg_color;
614 background-image: none;
615 color: @selected_fg_color;
616 }
617
618 /**********
619 * birdie *
620 **********/
621 BirdieWidgetsTweetList * {
622 background-color: transparent;
623 background-image: none;
624 }
625
626 /*********
627 * tweet *
628 *********/
629 .tweet {
630 padding: 0;
631 }
632
633 /**********
634 * notify *
635 **********/
636 .notify {
637 border-width: 1px;
638 border-style: solid;
639 border-color: shade(@theme_base_color, 0.7);
640 border-radius: 2px;
641 background-color: @theme_base_color;
642 background-image: none;
643 color: @theme_text_color;
644 }
645
646 .notify .low {
647 }
648
649 .notify .critical {
650 }
651
652 /*********
653 * panel *
654 *********/
655 .panel {
656 background-color: @panel_bg_color;
657 background-image: none;
658 color: @panel_fg_color;
659 font: bold;
660 }
661
662 .panel .menubar .menuitem {
663 padding: 1px 3px;
664 }
665
666 .shadow {
667 background-color: transparent;
668 background-image: linear-gradient(to bottom,
669 rgba(0, 0, 0, 0.3),
670 transparent
671 );
672 }
673
674 .composited-indicator,
675 .wingpanel-app-button,
676 .wingpanel-indicator-button {
677 padding: 0 2px;
678 background-color: transparent;
679 background-image: none;
680 color: @panel_fg_color;
681 }
682
683 .composited-indicator.menuitem:active,
684 .composited-indicator.menuitem:prelight {
685 border-style: none;
686 background-image: none;
687 }