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.

 _common-3.26.scss

View raw Download
text/plain • 53.07 kiB
ASCII text
        
            
1
//This is the RIGHT PLACE to edit the stylesheet
2
3
//let's start by telling people not to edit the generated CSS:
4
$cakeisalie: "This stylesheet is generated, DO NOT EDIT";
5
/* #{$cakeisalie} */
6
7
/* Copyright 2009, 2015 Red Hat, Inc.
8
*
9
* Portions adapted from Mx's data/style/default.css
10
* Copyright 2009 Intel Corporation
11
*
12
* This program is free software; you can redistribute it and/or modify it
13
* under the terms and conditions of the GNU Lesser General Public License,
14
* version 2.1, as published by the Free Software Foundation.
15
*
16
* This program is distributed in the hope it will be useful, but WITHOUT ANY
17
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
19
* more details.
20
*
21
* You should have received a copy of the GNU Lesser General Public License
22
* along with this program; if not, write to the Free Software Foundation,
23
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
24
*/
25
26
27
/* GLOBALS */
28
* {
29
// transition-timing-function: $deceleration_curve;
30
transition-duration: $longer_duration;
31
}
32
33
stage {
34
font-family: $font-family;
35
@include font(body-1);
36
color: $fg_color;
37
}
38
39
/* WIDGETS */
40
41
/* Buttons */
42
.button {
43
min-height: $medium_size;
44
padding: 0 16px;
45
border-width: 0;
46
border-radius: $material_radius;
47
@include font(button);
48
@include button(flat-normal);
49
&:hover { @include button(flat-hover); }
50
&:active { @include button(flat-active); }
51
&:insensitive { @include button(flat-insensitive); }
52
&:focus { @include button(flat-focus); }
53
54
}
55
56
.modal-dialog-linked-button {
57
min-height: $medium_size;
58
margin: $container_padding;
59
padding: 0 8px;
60
margin-right: 0;
61
border-right-width: 0;
62
border-radius: $material_radius;
63
@include font(button);
64
@include button(flat-normal);
65
&:hover { @include button(flat-hover); }
66
&:active { @include button(flat-active); }
67
&:insensitive { @include button(flat-insensitive); }
68
&:focus { @include button(flat-focus); }
69
70
&:first-child {
71
border-radius: $material_radius;
72
}
73
&:last-child {
74
margin-right: $container_padding;
75
border-right-width: 0px;
76
border-radius: $material_radius;
77
}
78
&:first-child:last-child {
79
margin-right: $container_padding;
80
border-right-width: 0px;
81
border-radius: $material_radius;
82
}
83
}
84
85
/* Entries */
86
StEntry {
87
min-height: $medium_size;
88
padding: 0 8px;
89
border-radius: $material_radius $material_radius 0 0;
90
border-width: 0;
91
color: $fg_color;
92
selection-background-color: $primary_color;
93
selected-color: $inverse_fg_color;
94
@include font(subheading);
95
@include entry(normal);
96
&:hover { @include entry(hover);}
97
&:focus { @include entry(focus);}
98
&:insensitive { @include entry(insensitive);}
99
StIcon.capslock-warning {
100
icon-size: 16px;
101
warning-color: $warning_color;
102
padding: 0 0;
103
}
104
}
105
106
107
/* Scrollbars */
108
109
StScrollView {
110
&.vfade { -st-vfade-offset: 32px; }
111
&.hfade { -st-hfade-offset: 32px; }
112
}
113
114
StScrollBar {
115
padding: 0;
116
117
StScrollView & {
118
min-width: 16px;
119
min-height: 16px;
120
}
121
122
StBin#trough {
123
margin: 4px;
124
border-radius: 100px;
125
background-color: $divider_color;
126
}
127
128
StButton#vhandle, StButton#hhandle {
129
border-radius: 100px;
130
background-color: $hint_fg_color;
131
//border: 4px solid transparent; //would be nice to margin or at least to transparent
132
margin: 4px;
133
&:hover { background-color: $secondary_fg_color; }
134
&:active { background-color: $fg_color; }
135
}
136
}
137
138
%overview_scrollbar {
139
StBin#trough {
140
background-color: $inverse_divider_color;
141
}
142
143
StButton#vhandle, StButton#hhandle {
144
background-color: $inverse_hint_fg_color;
145
&:hover { background-color: $inverse_secondary_fg_color; }
146
&:active { background-color: $inverse_fg_color; }
147
}
148
}
149
150
/* Slider */
151
152
.slider {
153
height: 20px;
154
color: $secondary_color;
155
-slider-height: 2px;
156
-slider-background-color: $track_color; //background of the trough
157
-slider-border-color: transparent; //trough border color
158
-slider-active-background-color: $secondary_color; //active trough fill
159
-slider-active-border-color: transparent; //active trough border
160
-slider-border-width: 0;
161
-slider-handle-radius: 6px;
162
}
163
164
/* Check Boxes */
165
166
.check-box {
167
* {
168
min-height: $medium_size - 8px * 2;
169
padding: 8px 0;
170
}
171
StBoxLayout { spacing: 8px; }
172
StBin {
173
width: 24px;
174
height: 24px;
175
padding: ($medium_size - 24px) / 2;
176
border-radius: 100px;
177
background-image: url("assets/checkbox-off.svg");
178
}
179
&:focus StBin {
180
background-image: url("assets/checkbox-off.svg");
181
}
182
&:hover StBin {
183
background-color: $divider_color;
184
}
185
&:active StBin {
186
background-color: $track_color;
187
}
188
&:checked StBin {
189
background-image: url("assets/checkbox.svg");
190
}
191
&:focus:checked StBin {
192
background-image: url("assets/checkbox.svg");
193
}
194
&:hover:checked StBin {
195
background-color: rgba($secondary_color, 0.12);
196
}
197
&:active:checked StBin {
198
background-color: rgba($secondary_color, 0.24);
199
}
200
}
201
202
/* Switches */
203
.toggle-switch {
204
width: 40px;
205
height: 20px;
206
background-size: contain;
207
}
208
209
@each $v in us, intl {
210
.toggle-switch-#{$v} {
211
background-image: url("assets/toggle-off.svg");
212
&:checked { background-image: url("assets/toggle-on.svg"); }
213
}
214
}
215
216
/* links */
217
.shell-link {
218
border-radius: $material_radius;
219
color: $link_color;
220
&:hover {
221
color: $link_color;
222
background-color: rgba($link_color, 0.12);
223
}
224
&:active {
225
color: $link_color;
226
background-color: rgba($link_color, 0.24);
227
}
228
}
229
230
/* Modal Dialogs */
231
232
.headline { @include font(title); }
233
.lightbox { background-color: black; }
234
.flashspot { background-color: white; }
235
236
.modal-dialog {
237
border-radius: $material_radius;
238
color: $fg_color;
239
background-color: $popup_bg_color;
240
border: none;
241
box-shadow: $shadow_4;
242
.modal-dialog-content-box {
243
padding: 24px;
244
}
245
.run-dialog-entry { width: 20em; margin-bottom: 0; }
246
.run-dialog-error-box {
247
padding-top: 16px;
248
spacing: 6px;
249
}
250
.run-dialog-button-box { padding-top: 1em; }
251
.run-dialog-label {
252
font-size: 1em;
253
font-weight: normal;
254
color: $hint_fg_color;
255
padding-bottom: .4em;
256
}
257
258
}
259
260
.mount-dialog-subject,
261
.end-session-dialog-subject { //this should be a generic header class
262
@include font(title);
263
}
264
265
/* Message Dialog */
266
.message-dialog-main-layout {
267
padding: 12px 20px 0;
268
spacing: 12px;
269
}
270
271
.message-dialog-content {
272
max-width: 28em;
273
spacing: 20px;
274
}
275
276
.message-dialog-icon {
277
min-width: 48px;
278
icon-size: 48px;
279
}
280
281
.message-dialog-title {
282
font-weight: bold;
283
}
284
285
.message-dialog-subtitle {
286
color: $secondary_fg_color;
287
font-weight: bold;
288
}
289
290
/* End Session Dialog */
291
.end-session-dialog {
292
spacing: 42px;
293
border: none;
294
}
295
296
.end-session-dialog-list {
297
padding-top: 20px;
298
}
299
300
.end-session-dialog-layout {
301
padding-left: 17px;
302
&:rtl { padding-right: 17px; }
303
}
304
305
.end-session-dialog-description {
306
width: 28em;
307
padding-bottom: 10px;
308
&:rtl {
309
text-align: right;
310
}
311
}
312
313
.end-session-dialog-warning {
314
width: 28em;
315
color: $warning_color;
316
padding-top: 6px;
317
&:rtl {
318
text-align: right;
319
}
320
}
321
322
.end-session-dialog-logout-icon {
323
//border: 2px solid #8b8b8b;
324
border-radius: 5px;
325
width: 48px;
326
height: 48px;
327
background-size: contain;
328
}
329
330
.end-session-dialog-shutdown-icon {
331
color: $hint_fg_color;
332
width: 48px;
333
height: 48px;
334
}
335
336
.end-session-dialog-inhibitor-layout {
337
spacing: 16px;
338
max-height: 200px;
339
padding-right: 65px;
340
padding-left: 65px;
341
}
342
343
.end-session-dialog-session-list,
344
.end-session-dialog-app-list {
345
spacing: 1em;
346
}
347
348
.end-session-dialog-list-header {
349
font-weight: bold;
350
&:rtl { text-align: right; }
351
}
352
353
.end-session-dialog-app-list-item,
354
.end-session-dialog-session-list-item {
355
spacing: 1em;
356
}
357
358
.end-session-dialog-app-list-item-name,
359
.end-session-dialog-session-list-item-name {
360
font-weight: bold;
361
}
362
363
.end-session-dialog-app-list-item-description {
364
color: $hint_fg_color;
365
font-size: 1em;
366
}
367
368
/* ShellMountOperation Dialogs */
369
.shell-mount-operation-icon { icon-size: 48px; }
370
371
.mount-dialog {
372
spacing: 24px;
373
374
.message-dialog-title {
375
padding-top: 10px;
376
padding-left: 17px;
377
padding-bottom: 6px;
378
max-width: 34em;
379
}
380
381
.message-dialog-title:rtl {
382
padding-left: 0px;
383
padding-right: 17px;
384
}
385
386
.message-dialog-body {
387
padding-left: 17px;
388
width: 28em;
389
}
390
391
.message-dialog-body:rtl {
392
padding-left: 0px;
393
padding-right: 17px;
394
}
395
}
396
397
.mount-dialog-app-list {
398
max-height: 200px;
399
padding-top: 24px;
400
padding-left: 49px;
401
padding-right: 32px;
402
}
403
404
.mount-dialog-app-list:rtl {
405
padding-right: 49px;
406
padding-left: 32px;
407
}
408
409
.mount-dialog-app-list-item {
410
color: $fg_color;
411
&:hover { color: $fg_color; }
412
&:ltr { padding-right: 1em; }
413
&:rtl { padding-left: 1em; }
414
}
415
416
.mount-dialog-app-list-item-icon {
417
&:ltr { padding-right: 17px; }
418
&:rtl { padding-left: 17px; }
419
}
420
421
.mount-dialog-app-list-item-name {
422
font-size: 1em;
423
}
424
425
426
/* Password or Authentication Dialog */
427
428
.prompt-dialog {
429
//this is the width of the entire modal popup
430
width: 34em;
431
border: none;
432
433
.message-dialog-main-layout { spacing: 24px; padding: 10px; }
434
.message-dialog-content { spacing: 16px; }
435
.message-dialog-title { @include font(title); color: $fg_color; }
436
}
437
438
.prompt-dialog-description:rtl {
439
text-align: right;
440
}
441
442
.prompt-dialog-password-box {
443
spacing: 1em;
444
padding-bottom: 1em;
445
}
446
447
.prompt-dialog-error-label {
448
font-size: 1em;
449
color: $error_color;
450
padding-bottom: 8px;
451
}
452
453
.prompt-dialog-info-label {
454
font-size: 1em;
455
padding-bottom: 8px;
456
}
457
458
.hidden {
459
color: rgba(0,0,0,0);
460
}
461
462
.prompt-dialog-null-label {
463
font-size: 1em;
464
padding-bottom: 8px;
465
}
466
467
468
/* Polkit Dialog */
469
470
.polkit-dialog-user-layout {
471
padding-left: 10px;
472
spacing: 10px;
473
&:rtl {
474
padding-left: 0px;
475
padding-right: 10px;
476
}
477
}
478
479
.polkit-dialog-user-root-label {
480
color: $warning_color;
481
}
482
483
.polkit-dialog-user-icon {
484
border-radius: 5px;
485
background-size: contain;
486
width: 48px;
487
height: 48px;
488
}
489
490
/* Audio selection dialog */
491
.audio-device-selection-dialog {
492
spacing: 30px;
493
}
494
495
.audio-selection-content {
496
spacing: 20px;
497
padding: 24px;
498
}
499
500
.audio-selection-title {
501
font-weight: bold;
502
text-align: center;
503
}
504
505
.audio-selection-box {
506
spacing: 20px;
507
}
508
509
.audio-selection-device {
510
border: 1px solid $border_color;
511
border-radius: $material_radius;
512
&:active,&:hover,&:focus { background-color: $primary_color; }
513
}
514
515
.audio-selection-device-box {
516
padding: 20px;
517
spacing: 20px;
518
}
519
520
.audio-selection-device-icon {
521
icon-size: 64px;
522
}
523
524
/* Access Dialog */
525
.access-dialog {
526
spacing: 30px;
527
}
528
529
/* Geolocation Dialog */
530
.geolocation-dialog {
531
spacing: 30px;
532
}
533
534
/* Extension Dialog */
535
.extension-dialog {
536
.message-dialog-main-layout { spacing: 24px; padding: 10px; }
537
.message-dialog-title { color: $secondary_fg_color; }
538
}
539
540
/* Inhibit-Shortcuts Dialog */
541
.inhibit-shortcuts-dialog {
542
spacing: 30px;
543
}
544
545
/* Network Agent Dialog */
546
547
.network-dialog-secret-table {
548
spacing-rows: 15px;
549
spacing-columns: 1em;
550
}
551
552
.keyring-dialog-control-table {
553
spacing-rows: 15px;
554
spacing-columns: 1em;
555
}
556
557
/* Popovers/Menus */
558
559
.popup-menu {
560
min-width: 200px;
561
562
.popup-menu-arrow { } //defined globally in the TOP BAR
563
.popup-sub-menu {
564
background-color: $alt_lighter_bg_color;
565
box-shadow: $shadow_0;
566
}
567
568
.popup-menu-content { padding: 8px 0; }
569
.popup-menu-item {
570
// min-height: $menuitem_size - 4px * 2;
571
spacing: 8px;
572
transition-duration: $shorter_duration;
573
574
&:ltr { padding: 0.4em 24px 0.4em 0; }
575
&:rtl { padding: 0.4em 0 0.4em 24px; }
576
&:checked {
577
background-color: $primary_color;
578
color: $inverse_fg_color;
579
box-shadow: $shadow_0;
580
font-weight: normal;
581
&.selected {
582
background-color: mix($inverse_fg_color, $primary_color, percentage(0.12));
583
color: $inverse_fg_color;
584
}
585
&:active {
586
background-color: mix($inverse_fg_color, $primary_color, percentage(0.24));
587
color: $inverse_fg_color !important;
588
}
589
&:insensitive { color: $inverse_disabled_fg_color; }
590
}
591
&.selected {
592
background-color: $divider_color;
593
color: $fg_color;
594
transition-duration: 0ms;
595
}
596
&:active {
597
background-color: $track_color;
598
color: $fg_color;
599
transition-duration: $longer_duration;
600
}
601
&.selected:active { color: $fg_color; }
602
&:insensitive { color: $disabled_fg_color; }
603
}
604
605
.popup-inactive-menu-item { //all icons and other graphical elements
606
color: $fg_color;
607
608
&:insensitive { color: $hint_fg_color; }
609
}
610
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
611
&.panel-menu {
612
-boxpointer-gap: 4px;
613
margin-bottom: 1.75em;
614
}
615
}
616
617
618
619
.popup-menu-ornament {
620
text-align: right;
621
width: 16px;
622
height: 16px;
623
}
624
.popup-menu-boxpointer,
625
.candidate-popup-boxpointer {
626
-arrow-border-radius: 0;
627
-arrow-background-color: transparent;
628
-arrow-border-width: 0;
629
-arrow-border-color: transparent;
630
-arrow-base: 0;
631
-arrow-rise: 0;
632
-arrow-box-shadow: none; //dreaming. bug #689995
633
margin: 5px 8px 8px;
634
background-color: $popup_bg_color;
635
border-radius: $material_radius;
636
box-shadow: $shadow_2;
637
}
638
639
.popup-separator-menu-item {
640
//-margin-horizontal: 24px;
641
height: 1px; //not really the whole box
642
margin: 8px 64px - 24px;
643
background-color: transparent;
644
border-color: $border_color;
645
border-bottom-width: 1px;
646
border-bottom-style: solid;
647
}
648
649
650
// Background menu
651
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0; }
652
653
/* fallback menu
654
- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
655
app menu inside the main app window itself rather than the top bar
656
*/
657
658
659
/* OSD */
660
.osd-window {
661
text-align: center;
662
font-weight: bold;
663
spacing: 1em;
664
margin: 32px;
665
min-width: 64px;
666
min-height: 64px;
667
668
.osd-monitor-label { @include font(display-2); }
669
.level {
670
height: 8px;
671
border-radius: 0;
672
background-color: $divider_color;
673
color: $fg_color;
674
}
675
.level-bar {
676
background-color: $primary_color;
677
border-radius: 0;
678
}
679
}
680
681
/* Pad OSD */
682
.pad-osd-window {
683
padding: 32px;
684
background-color: $panel_bg_color;
685
686
.pad-osd-title-box { spacing: 12px; }
687
.pad-osd-title-menu-box { spacing: 6px; }
688
}
689
690
.combo-box-label {
691
width: 15em;
692
}
693
694
/* App Switcher */
695
.switcher-popup {
696
padding: 8px;
697
spacing: 16px;
698
}
699
700
.osd-window,
701
.resize-popup,
702
.switcher-list {
703
@extend %osd-panel;
704
}
705
706
.switcher-list-item-container { spacing: 8px; }
707
708
.switcher-list .item-box {
709
padding: 8px;
710
border-radius: $material_radius;
711
}
712
713
.switcher-list .item-box:outlined {
714
padding: 8px;
715
border: none;
716
background-color: $divider_color;
717
color: $fg_color; // for Ubuntu session
718
}
719
720
.switcher-list .item-box:selected {
721
background-color: $primary_color;
722
color: $inverse_fg_color;
723
}
724
725
.switcher-list .thumbnail-box {
726
padding: 2px;
727
spacing: 4px;
728
}
729
730
.switcher-list .thumbnail {
731
width: 256px;
732
}
733
734
.switcher-list .separator {
735
width: 1px;
736
background: $border_color;
737
}
738
739
.switcher-arrow {
740
border-color: rgba(0,0,0,0);
741
color: $hint_fg_color;
742
&:highlighted {
743
color: $fg_color;
744
}
745
}
746
747
.input-source-switcher-symbol {
748
@include font(display-2);
749
width: 96px;
750
height: 96px;
751
}
752
753
/* Window Cycler */
754
.cycler-highlight { border: 4px solid $primary_color; }
755
756
/* Workspace Switcher */
757
.workspace-switcher-group { padding: 8px; }
758
759
.workspace-switcher-container {
760
@extend %osd-panel;
761
}
762
763
.workspace-switcher {
764
background: transparent;
765
border: 0px;
766
border-radius: 0px;
767
padding: 0px;
768
spacing: 8px;
769
}
770
771
.ws-switcher-active-up, .ws-switcher-active-down {
772
height: 48px;
773
background-color: $primary_color;
774
color: $inverse_fg_color;
775
background-size: 32px;
776
border-radius: $material_radius;
777
}
778
779
.ws-switcher-box {
780
height: 48px;
781
border: none;
782
background: $divider_color;
783
border-radius: $material_radius;
784
}
785
786
%osd-panel {
787
color: $fg_color;
788
background-color: $popup_bg_color;
789
border: none;
790
box-shadow: $shadow_4;
791
border-radius: $material_radius;
792
padding: 12px;
793
}
794
795
/* Tiled window previews */
796
.tile-preview {
797
background-color: rgba($alt_primary_color, 0.3);
798
border: 1px solid $alt_primary_color;
799
}
800
801
.tile-preview-left.on-primary {
802
border-radius: $panel-corner-radius 0 0 0;
803
}
804
805
.tile-preview-right.on-primary {
806
border-radius: 0 $panel-corner-radius 0 0;
807
}
808
809
.tile-preview-left.tile-preview-right.on-primary {
810
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
811
}
812
813
/* TOP BAR */
814
815
#panel {
816
background-color: $panel_bg_color;
817
/* transition from solid to transparent */
818
transition-duration: 250ms;
819
font-weight: bold;
820
height: $menuitem_size;
821
822
&:overview,
823
&.unlock-screen,
824
&.login-screen,
825
&.lock-screen {
826
background-color: transparent;
827
}
828
829
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
830
spacing: 0;
831
}
832
833
.panel-corner {
834
-panel-corner-radius: $panel-corner-radius;
835
-panel-corner-background-color: $panel_bg_color;
836
-panel-corner-border-width: 2px;
837
-panel-corner-border-color: transparent;
838
839
&:active, &:overview, &:focus {
840
-panel-corner-border-color: $inverse_fg_color;
841
}
842
843
&.lock-screen, &.login-screen, &.unlock-screen {
844
-panel-corner-radius: 0;
845
-panel-corner-background-color: transparent;
846
-panel-corner-border-color: transparent;
847
}
848
}
849
850
.panel-button {
851
-natural-hpadding: 12px;
852
-minimum-hpadding: 6px;
853
font-weight: bold;
854
color: $inverse_secondary_fg_color;
855
text-shadow: none;
856
transition-duration: $longer_duration;
857
858
.app-menu-icon {
859
-st-icon-style: symbolic;
860
margin-left: 4px;
861
margin-right: 4px;
862
//dimensions of the icon are hardcoded
863
}
864
865
.system-status-icon,
866
.app-menu-icon > StIcon,
867
.popup-menu-arrow {
868
icon-shadow: none;
869
}
870
871
&:hover {
872
color: $inverse_fg_color;
873
text-shadow: none;
874
875
.system-status-icon,
876
.app-menu-icon > StIcon,
877
.popup-menu-arrow {
878
icon-shadow: none;
879
}
880
}
881
882
&:active, &:overview, &:focus, &:checked {
883
// Trick due to St limitations. It needs a background to draw
884
// a box-shadow
885
background-color: rgba($panel_bg_color, 0.01);
886
box-shadow: inset 0 -2px 0px $inverse_fg_color;
887
color: $inverse_fg_color;
888
889
& > .system-status-icon { icon-shadow: none; }
890
}
891
892
.system-status-icon { icon-size: em(16px); padding: 0 4px; }
893
.unlock-screen &,
894
.login-screen &,
895
.lock-screen & {
896
color: $inverse_secondary_fg_color;
897
&:focus, &:hover, &:active { color: $inverse_fg_color; }
898
}
899
}
900
901
.panel-status-indicators-box,
902
.panel-status-menu-box {
903
spacing: 2px;
904
}
905
906
// spacing between power icon and (optional) percentage label
907
.power-status.panel-status-indicators-box {
908
spacing: 0;
909
}
910
911
.screencast-indicator { color: $warning_color; }
912
913
&.solid {
914
background-color: $solid_panel_bg_color;
915
/* transition from transparent to solid */
916
transition-duration: 250ms;
917
background-gradient-direction: none; // for Ubuntu session
918
text-shadow: none; // for Ubuntu session
919
920
&:overview { background-color: transparent; } // for Ubuntu session
921
922
.panel-corner {
923
-panel-corner-background-color: $solid_panel_bg_color;
924
}
925
926
.panel-button {
927
color: $inverse_secondary_fg_color;
928
text-shadow: none;
929
930
&:hover, &:active, &:overview, &:focus, &:checked {
931
color: $inverse_fg_color;
932
}
933
}
934
935
.system-status-icon,
936
.app-menu-icon > StIcon,
937
.popup-menu-arrow {
938
icon-shadow: none;
939
}
940
}
941
}
942
943
// calendar popover
944
#calendarArea {
945
padding: 8px 16px;
946
}
947
948
.calendar {
949
margin-bottom: 0;
950
}
951
952
.calendar,
953
.datemenu-today-button,
954
.datemenu-displays-box,
955
.message-list-sections {
956
margin: 0 8px;
957
}
958
959
.datemenu-calendar-column { spacing: 8px; }
960
.datemenu-displays-section { padding-bottom: 0; }
961
.datemenu-displays-box { spacing: 8px; }
962
963
.datemenu-calendar-column {
964
border: 0 solid $border_color;
965
&:ltr { border-left-width: 0; }
966
&:rtl { border-right-width: 0; }
967
}
968
969
.datemenu-today-button,
970
.world-clocks-button,
971
.weather-button,
972
.events-section-title {
973
min-height: $menuitem_size - 4px * 2;
974
padding: 4px 8px;
975
border-radius: $material_radius;
976
}
977
978
.datemenu-today-button {
979
min-height: $menuitem_size * 2 - 4px * 2;
980
}
981
982
.message-list-section-list:ltr {
983
padding-left: 0;
984
}
985
986
.message-list-section-list:rtl {
987
padding-right: 0;
988
}
989
990
.datemenu-today-button,
991
.world-clocks-button,
992
.weather-button,
993
.events-section-title {
994
&:hover,&:focus { color: $fg_color; background-color: $divider_color; }
995
&:active {
996
color: $fg_color;
997
background-color: $track_color;
998
}
999
}
1000
1001
.datemenu-today-button .day-label {
1002
}
1003
1004
.datemenu-today-button .date-label {
1005
@include font(headline);
1006
}
1007
1008
.world-clocks-header,
1009
.weather-header,
1010
.events-section-title {
1011
color: $secondary_fg_color;
1012
font-weight: bold;
1013
}
1014
1015
.world-clocks-grid {
1016
spacing-rows: 0.4em;
1017
}
1018
1019
.weather-box {
1020
spacing: 0.4em;
1021
}
1022
1023
.calendar-month-label {
1024
height: $menuitem_size - 6px * 2;
1025
margin: 2px;
1026
padding: 6px 16px;
1027
border-radius: $material_radius;
1028
color: $fg_color;
1029
font-weight: bold;
1030
text-align: center;
1031
&:focus { background-color: $divider_color; }
1032
}
1033
1034
.pager-button {
1035
width: $menuitem_size;
1036
height: $menuitem_size;
1037
margin: 2px;
1038
border-radius: 100px;
1039
background-color: transparent;
1040
color: $fg_color;
1041
&:hover, &:focus { background-color: $divider_color; }
1042
&:active { background-color: $track_color; }
1043
}
1044
1045
.calendar-change-month-back { //arrow back
1046
background-image: url("assets/calendar-arrow-left.svg");
1047
&:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
1048
}
1049
.calendar-change-month-forward { //arrow foreward
1050
background-image: url("assets/calendar-arrow-right.svg");
1051
&:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
1052
}
1053
1054
.calendar-day-base {
1055
@include font(caption);
1056
text-align: center;
1057
width: $menuitem_size; height: $menuitem_size;
1058
padding: 0;
1059
margin: 2px;
1060
border-radius: 100px;
1061
&:hover,&:focus { background-color: $divider_color; }
1062
&:active {
1063
color: inherit;
1064
background-color: $track_color;
1065
border-color: transparent; //avoid jumparound due to today
1066
}
1067
&:selected {
1068
color: $inverse_fg_color;
1069
background-color: $primary_color;
1070
border-color: transparent; //avoid jumparound due to today
1071
}
1072
&.calendar-day-heading { //day of week heading
1073
width: $menuitem_size; height: $menuitem_size - 7px;
1074
margin-top: 2px;
1075
padding: 7px 0 0;
1076
border-radius: 100px;
1077
background-color: transparent;
1078
color: $hint_fg_color;
1079
@include font(caption);
1080
font-weight: bold;
1081
text-align: center;
1082
}
1083
}
1084
.calendar-day { //border collapse hack - see calendar.js
1085
border-width: 0;
1086
}
1087
.calendar-day-top { border-top-width: 0; }
1088
.calendar-day-left { border-left-width: 0; }
1089
.calendar-work-day {
1090
1091
}
1092
.calendar-nonwork-day {
1093
color: $fg_color;
1094
}
1095
.calendar-today {
1096
font-weight: bold !important;
1097
//color: $fg_color;
1098
//background-color: transparent;
1099
border: none;
1100
}
1101
.calendar-day-with-events {
1102
color: $link_color;
1103
font-weight: normal;
1104
text-decoration: underline;
1105
background-image: none;
1106
}
1107
.calendar-other-month-day {
1108
color: $disabled_secondary_fg_color;
1109
opacity: 0.5;
1110
}
1111
.calendar-week-number {
1112
width: $menuitem_size; height: $menuitem_size - 7px;
1113
margin: 2px;
1114
padding: 7px 0 0;
1115
border-radius: 100px;
1116
background-color: transparent;
1117
color: $hint_fg_color;
1118
font-size: inherit;
1119
font-weight: bold;
1120
text-align: center;
1121
}
1122
1123
/* Message list */
1124
.message-list {
1125
width: 420px;
1126
}
1127
1128
.message-list-clear-button.button {
1129
background-color: transparent;
1130
&:hover,&:focus { background-color: $divider_color; }
1131
&:active { background-color: $track_color; }
1132
margin: 8px 8px 0;
1133
}
1134
1135
.message-list-sections {
1136
spacing: 8px;
1137
}
1138
1139
.message-list-section,
1140
.message-list-section-list {
1141
spacing: 8px;
1142
}
1143
1144
.message {
1145
min-height: $menuitem_size * 2;
1146
background-color: transparent;
1147
&:hover,&:focus { background-color: $divider_color; }
1148
&:active { background-color: $track_color; }
1149
border-radius: $material_radius;
1150
}
1151
1152
.message-icon-bin {
1153
padding: 8px 0px 8px 8px;
1154
&:rtl { padding: 8px 8px 8px 0px; }
1155
}
1156
1157
.message-icon-bin > StIcon {
1158
color: $fg_color;
1159
icon-size: em(16px);
1160
-st-icon-style: requested;
1161
margin: 4px 0px 4px 4px;
1162
&:rtl { margin: 4px 4px 4px 0px; }
1163
}
1164
1165
.message-secondary-bin {
1166
padding: 0 8px;
1167
}
1168
1169
.message-secondary-bin > .event-time {
1170
min-height: $small_size - 2px;
1171
padding-top: 2px;
1172
color: $secondary_fg_color;
1173
font-size: 1em;
1174
/* HACK: the label should be baseline-aligned with a 1em label,
1175
fake this with some bottom padding */
1176
padding-bottom: 0;
1177
}
1178
1179
.message-secondary-bin > StIcon {
1180
icon-size: em(16px);
1181
}
1182
1183
.message-title {
1184
min-height: $small_size - 2px;
1185
padding-top: 2px;
1186
color: $fg_color;
1187
font-weight: bold;
1188
font-size: 1em;
1189
}
1190
1191
.message-content {
1192
min-height: $menuitem_size * 2 - 8px * 2;
1193
padding: 8px;
1194
color: $secondary_fg_color;
1195
font-size: 1em;
1196
}
1197
1198
.message-content * > StIcon {
1199
icon-size: 16px;
1200
border-radius: 16px;
1201
padding: ($small_size - 16px) / 2;
1202
color: $secondary_fg_color;
1203
}
1204
1205
/* FIXME: how do you do this in sass? */
1206
.message-content *:hover > StIcon,
1207
.message-content *:focus > StIcon {
1208
color: $fg_color;
1209
background-color: $divider_color;
1210
}
1211
1212
.message-content *:active > StIcon {
1213
color: $fg_color;
1214
background-color: $track_color;
1215
}
1216
1217
.message-media-control {
1218
margin: 16px 0;
1219
padding: 8px;
1220
border-radius: 100px;
1221
color: $secondary_fg_color;
1222
&:hover,&:focus { color: $fg_color; background-color: $divider_color; }
1223
&:active { color: $fg_color; background-color: $track_color; }
1224
&:insensitive { color: $disabled_secondary_fg_color; }
1225
1226
&:last-child:ltr { margin-right: 16px; padding-right: 8px; }
1227
&:last-child:rtl { margin-left: 16px; padding-left: 8px; }
1228
}
1229
1230
.media-message-cover-icon {
1231
icon-size: 32px !important;
1232
margin: 8px 0px 8px 4px !important;
1233
&:rtl { margin: 8px 4px 8px 0px !important; }
1234
&.fallback {
1235
icon-size: 16px !important;
1236
padding: 8px;
1237
border: none;
1238
border-radius: $material_radius;
1239
background-color: $divider_color;
1240
color: $hint_fg_color;
1241
}
1242
}
1243
1244
1245
// a little unstructured mess:
1246
1247
.system-switch-user-submenu-icon.user-icon {
1248
icon-size: 20px;
1249
padding: 0 2px;
1250
}
1251
.system-switch-user-submenu-icon.default-icon {
1252
icon-size: 16px;
1253
padding: 0 4px;
1254
}
1255
1256
#appMenu {
1257
spinner-image: url("process-working.svg");
1258
spacing: 4px;
1259
1260
.label-shadow { color: transparent; }
1261
}
1262
1263
.aggregate-menu {
1264
min-width: 280px;
1265
.popup-menu-icon { padding: 0 4px; }
1266
.popup-sub-menu .popup-menu-item > :first-child {
1267
&:ltr { /* 8px spacing + 2*4px padding */
1268
padding-left: 16px; margin-left: em(16px); }
1269
&:rtl { /* 8px spacing + 2*4px padding */
1270
padding-right: 16px; margin-right: em(16px); }
1271
}
1272
}
1273
1274
.system-menu-action {
1275
color: $secondary_fg_color;
1276
border-radius: 100px; /* wish we could do 50% */
1277
padding: ($large_size - 16px) / 2;
1278
border: none;
1279
1280
&:hover, &:focus {
1281
background-color: $divider_color;
1282
color: $fg_color;
1283
border: none;
1284
padding: ($large_size - 16px) / 2;
1285
}
1286
&:active { background-color: $track_color; color: $fg_color; }
1287
1288
& > StIcon { icon-size: 16px; }
1289
}
1290
1291
//Activities Ripples
1292
.ripple-box {
1293
width: 48px;
1294
height: 48px;
1295
border-radius: 0 0 48px 0;
1296
background-color: $inverse_track_color;
1297
background-image: none;
1298
background-size: auto;
1299
}
1300
1301
.ripple-box:rtl {
1302
border-radius: 0 0 0 48px;
1303
background-image: none;
1304
}
1305
1306
// not really top bar only
1307
.popup-menu-arrow { width: 16px; height: 16px; }
1308
.popup-menu-icon { icon-size: em(16px); }
1309
1310
//close buttons
1311
1312
.window-close {
1313
transition-duration: 0ms; // FIXME: unless disable the transition, button will distort when hovering
1314
height: $medium_size;
1315
width: $medium_size;
1316
-shell-close-overlap: $medium_size / 2;
1317
-st-background-image-shadow: $shadow_1;
1318
background-image: url("assets/window-close.svg");
1319
background-size: $medium_size;
1320
1321
&:hover {
1322
-st-background-image-shadow: $shadow_2;
1323
background-image: url("assets/window-close.svg");
1324
}
1325
&:active { background-image: url("assets/window-close-active.svg"); }
1326
1327
// For backward compatibility of 3.26.0
1328
&:rtl { -st-background-image-shadow: $shadow_1; }
1329
&:rtl:hover { -st-background-image-shadow: $shadow_2; }
1330
}
1331
1332
/* NETWORK DIALOGS */
1333
1334
.nm-dialog {
1335
max-height: 34em;
1336
min-height: 31em;
1337
min-width: 32em;
1338
}
1339
1340
.nm-dialog-content {
1341
spacing: 20px;
1342
padding: 24px;
1343
}
1344
.nm-dialog-header-hbox { spacing: 10px; }
1345
.nm-dialog-airplane-box { spacing: 12px; }
1346
1347
.nm-dialog-airplane-headline {
1348
font-weight: bold;
1349
text-align: center;
1350
}
1351
1352
.nm-dialog-airplane-text { color: $fg_color; }
1353
.nm-dialog-header-icon { icon-size: 32px; }
1354
.nm-dialog-scroll-view { border: none; }
1355
.nm-dialog-header { @include font(title); }
1356
1357
.nm-dialog-item {
1358
font-size: 1em;
1359
border-bottom: none;
1360
border-radius: $material_radius;
1361
padding: 12px;
1362
spacing: 20px;
1363
&:hover, &:focus { background-color: $divider_color; }
1364
&:active { background-color: $track_color; }
1365
}
1366
1367
.nm-dialog-item:selected {
1368
background-color: $primary_color;
1369
color: $inverse_fg_color;
1370
}
1371
1372
.nm-dialog-icons { spacing: .5em; }
1373
.nm-dialog-icon { icon-size: 16px; }
1374
.no-networks-label { color: $hint_fg_color; }
1375
.no-networks-box { spacing: 12px; }
1376
1377
/* OVERVIEW */
1378
1379
#overview {
1380
spacing: 24px; //
1381
StScrollBar { @extend %overview_scrollbar; }
1382
}
1383
1384
.overview-controls {
1385
padding-bottom: 32px;
1386
}
1387
1388
.window-picker { //container around window thumbnails
1389
-horizontal-spacing: 16px;
1390
-vertical-spacing: 16px;
1391
padding: 0 16px 32px;
1392
1393
&.external-monitor { padding: 16px; }
1394
}
1395
1396
.window-clone-border {
1397
border: 4px solid $inverse_track_color;
1398
border-radius: $material_radius;
1399
// For window decorations with round corners we can't match
1400
// the exact shape when the window is scaled. So apply a shadow
1401
// to fix that case
1402
box-shadow: inset 0 0 0 1px $inverse_track_color;
1403
}
1404
.window-caption {
1405
spacing: 25px;
1406
color: $inverse_fg_color;
1407
background-color: $panel_bg_color;
1408
border-radius: $material_radius;
1409
padding: 4px 8px;
1410
}
1411
1412
//search entry
1413
.search-entry {
1414
width: 320px - 8px * 2;
1415
padding: 0 8px;
1416
border-radius: $material_radius $material_radius 0 0;
1417
color: $inverse_hint_fg_color;
1418
selection-background-color: $inverse_track_color;
1419
selected-color: $inverse_fg_color;
1420
@include entry(normal,$fc:$inverse_track_color);
1421
&:hover { @include entry(hover,$fc:$inverse_track_color); }
1422
&:focus {
1423
@include entry(focus,$fc:$inverse_fg_color);
1424
padding: 0 8px;
1425
border-width: 0;
1426
color: $inverse_fg_color;
1427
}
1428
1429
.search-entry-icon { icon-size: 16px; padding: 0 0; color: $inverse_hint_fg_color; }
1430
1431
&:hover, &:focus {
1432
.search-entry-icon { color: $inverse_fg_color; }
1433
}
1434
}
1435
1436
//search results
1437
1438
#searchResultsBin {
1439
max-width: 1000px;
1440
}
1441
1442
#searchResultsContent {
1443
padding-left: 20px;
1444
padding-right: 20px;
1445
spacing: 16px;
1446
}
1447
1448
.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
1449
.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container
1450
.search-statustext { // "no results"
1451
@extend %status_text;
1452
}
1453
.list-search-results { spacing: 3px; }
1454
1455
.search-section-separator { height: 1px; background-color: $inverse_divider_color; }
1456
1457
.list-search-result-content { spacing: 30px; }
1458
.list-search-result-title { @include font(subheading); color: $inverse_fg_color; spacing: 12px; }
1459
.list-search-result-description { color: $inverse_secondary_fg_color; }
1460
.list-search-provider-details { width: 150px; color: $inverse_secondary_fg_color; margin-top: 0.24em; }
1461
.list-search-provider-content { spacing: 20px; }
1462
.search-provider-icon { padding: 15px; }
1463
1464
1465
/* DASHBOARD */
1466
1467
#dash {
1468
font-size: 1em;
1469
color: $inverse_fg_color;
1470
background-color: $inverse_panel_bg_color;
1471
padding: 3px 0;
1472
border: none;
1473
border-left: 0px;
1474
border-radius: 0px $material_radius $material_radius 0px;
1475
1476
&:rtl {
1477
border-radius: $material_radius 0 0 $material_radius;
1478
}
1479
1480
.placeholder {
1481
background-image: url("assets/dash-placeholder.svg");
1482
background-size: contain;
1483
height: 24px;
1484
}
1485
1486
.empty-dash-drop-target {
1487
width: 24px;
1488
height: 24px;
1489
}
1490
1491
}
1492
1493
.dash-item-container > StWidget {
1494
padding: 3px 6px;
1495
}
1496
1497
.dash-label { //osd tooltip
1498
// min-height: 32px - 6px * 2;
1499
border-radius: $material_radius;
1500
padding: 7px 8px;
1501
color: $fg_color;
1502
background-color: $popup_bg_color;
1503
box-shadow: $shadow_2;
1504
text-align: center;
1505
-x-offset: 8px;
1506
}
1507
1508
/* App Vault/Grid */
1509
.icon-grid {
1510
spacing: 30px;
1511
-shell-grid-horizontal-item-size: 136px;
1512
-shell-grid-vertical-item-size: 136px;
1513
1514
.overview-icon { icon-size: 96px; }
1515
}
1516
//.app-display { spacing: 20px; }
1517
1518
.system-action-icon {
1519
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); // FIXME: this should really have a highlight
1520
background-color: $grey_900;
1521
color: $white;
1522
border-radius: 99px;
1523
icon-size: 48px;
1524
}
1525
1526
.app-view-controls { //favorties | all toggle container
1527
width: 320px;
1528
padding-bottom: 32px;
1529
}
1530
.app-view-control { //favorties | all toggle button
1531
padding: 0 16px;
1532
font-weight: bold;
1533
color: $inverse_secondary_fg_color;
1534
&:hover {
1535
color: $inverse_fg_color;
1536
background-color: $inverse_divider_color !important;
1537
}
1538
&:active {
1539
color: $inverse_fg_color;
1540
background-color: $inverse_track_color !important;
1541
}
1542
&:checked {
1543
color: $inverse_fg_color;
1544
background-color: rgba($panel_bg_color, 0.01) !important;
1545
box-shadow: inset 0 2px 0 $inverse_fg_color;
1546
}
1547
&:first-child {
1548
border-right-width: 0;
1549
border-radius: $material_radius;
1550
&:checked { border-radius: 0; }
1551
}
1552
&:last-child {
1553
border-radius: $material_radius;
1554
&:checked { border-radius: 0; }
1555
}
1556
}
1557
1558
//Icon tile
1559
.search-provider-icon,
1560
.list-search-result {
1561
@extend %icon_tile;
1562
&:focus, &:selected, &:hover {
1563
background-color: $inverse_divider_color;
1564
transition-duration: 0ms;
1565
}
1566
&:active, &:checked {
1567
background-color: $inverse_track_color;
1568
transition-duration: $longer_duration;
1569
}
1570
}
1571
.app-well-app,
1572
.app-well-app.app-folder,
1573
.show-apps,
1574
.grid-search-result {
1575
& .overview-icon {
1576
@extend %icon_tile;
1577
}
1578
&:hover .overview-icon,
1579
&:focus .overview-icon,
1580
&:selected .overview-icon {
1581
background-color: $inverse_divider_color;
1582
transition-duration: 0ms;
1583
border-image: none;
1584
background-image: none;
1585
}
1586
&:active .overview-icon,
1587
&:checked .overview-icon {
1588
background-color: $inverse_track_color;
1589
box-shadow: $shadow_0;
1590
transition-duration: $longer_duration;
1591
}
1592
1593
}
1594
1595
.app-well-app-running-dot { //running apps indicator
1596
width: 32px; height: 2px;
1597
background-color: $inverse_fg_color;
1598
margin-bottom: 0;
1599
}
1600
1601
%icon_tile {
1602
color: $inverse_fg_color;
1603
border-radius: $material_radius;
1604
padding: 6px;
1605
border: none;
1606
transition-duration: $longer_duration;
1607
text-align: center;
1608
}
1609
1610
.app-well-app.app-folder > .overview-icon {
1611
background-color: $inverse_panel_bg_color;
1612
}
1613
1614
.show-apps .show-apps-icon {
1615
color: $inverse_secondary_fg_color;
1616
}
1617
1618
.show-apps:hover .show-apps-icon,
1619
.show-apps:active .show-apps-icon,
1620
.show-apps:checked .show-apps-icon,
1621
.show-apps:focus .show-apps-icon {
1622
color: $inverse_fg_color;
1623
transition-duration: $longer_duration;
1624
}
1625
1626
1627
// Collections
1628
.app-folder-popup { //expanded collection
1629
-arrow-border-radius: $material_radius;
1630
-arrow-background-color: $inverse_panel_bg_color;
1631
-arrow-base: 24px;
1632
-arrow-rise: 12px;
1633
}
1634
.app-folder-popup-bin { padding: 5px; }
1635
.app-folder-icon {
1636
padding: 5px;
1637
spacing-rows: 5px;
1638
spacing-columns: 5px;
1639
}
1640
1641
.page-indicator {
1642
padding: 15px 20px;
1643
1644
.page-indicator-icon {
1645
width: 12px;
1646
height: 12px;
1647
border-radius: 12px;
1648
background-image: none;
1649
background-color: $inverse_disabled_secondary_fg_color;
1650
}
1651
&:hover .page-indicator-icon {
1652
background-image: none;
1653
background-color: $inverse_disabled_fg_color;
1654
}
1655
&:active .page-indicator-icon {
1656
background-image: none;
1657
background-color: $inverse_secondary_fg_color;
1658
}
1659
&:checked .page-indicator-icon {
1660
background-image: none;
1661
background-color: $inverse_fg_color;
1662
transition-duration: 0ms;
1663
}
1664
&:checked:active { background-image: none; }
1665
}
1666
1667
.no-frequent-applications-label { @extend %status_text; }
1668
1669
.app-well-app > .overview-icon.overview-icon-with-label,
1670
.grid-search-result .overview-icon.overview-icon-with-label {
1671
padding: 10px 8px 5px 8px;
1672
spacing: 4px;
1673
}
1674
1675
// Workspace pager
1676
.workspace-thumbnails { //container ala dash
1677
@extend %overview-panel;
1678
visible-width: 32px; //amount visible before hover
1679
spacing: 12px;
1680
padding: 12px;
1681
border-radius: $material_radius 0 0 $material_radius;
1682
//border-width: 0; //fixme: can't have non unoform borders :(
1683
&:rtl { border-radius: 0 $material_radius $material_radius 0;}
1684
1685
.placeholder {
1686
background-image: url("assets/dash-placeholder.svg");
1687
background-size: contain;
1688
height: 24px;
1689
}
1690
}
1691
.workspace-thumbnail-indicator {
1692
border: 0 solid $inverse_fg_color;
1693
border-left-width: 2px;
1694
padding: 6px;
1695
border-radius: 0;
1696
}
1697
1698
//Some hacks I don't even
1699
.search-display > StBoxLayout,
1700
.all-apps,
1701
.frequent-apps > StBoxLayout {
1702
// horizontal padding to make sure scrollbars or dash don't overlap content
1703
padding: 0px 88px 10px 88px;
1704
}
1705
1706
%overview-panel {
1707
color: $inverse_fg_color;
1708
background-color: $inverse_panel_bg_color;
1709
border: none;
1710
}
1711
1712
%status_text {
1713
@include font(display-2);
1714
color: $inverse_hint_fg_color;
1715
}
1716
1717
/* NOTIFICATIONS & MESSAGE TRAY */
1718
1719
.url-highlighter { link-color: $link_color; }
1720
1721
// Banners
1722
.notification-banner {
1723
font-size: 1em;
1724
width: 34em;
1725
min-height: $menuitem_size * 2;
1726
margin: 5px;
1727
border-radius: $material_radius;
1728
color: $fg_color;
1729
background-color: $popup_bg_color;
1730
border: none;
1731
box-shadow: $shadow_2;
1732
&:hover { background-color: $popup_bg_color; }
1733
&:focus { background-color: $popup_bg_color; }
1734
1735
.notification-icon { padding: 5px; }
1736
.notification-content { padding: 5px; spacing: 5px; }
1737
.secondary-icon { icon-size: em(16px); }
1738
.notification-actions {
1739
background-color: transparent;
1740
padding-top: 0;
1741
padding: $container_padding;
1742
spacing: $container_padding;
1743
}
1744
.notification-button {
1745
min-height: $medium_size;
1746
padding: 0 8px;
1747
border-radius: $material_radius;
1748
background-color: transparent;
1749
color: $secondary_fg_color;
1750
font-weight: 500;
1751
&:first-child { border-radius: $material_radius; }
1752
&:last-child { border-radius: $material_radius; }
1753
&:hover, &focus { background-color: $divider_color; color: $fg_color; }
1754
&:active { background-color: $track_color; color: $fg_color; }
1755
}
1756
}
1757
.summary-source-counter {
1758
font-size: 1em;
1759
font-weight: bold;
1760
height: 1.6em; width: 1.6em;
1761
-shell-counter-overlap-x: 3px;
1762
-shell-counter-overlap-y: 3px;
1763
background-color: $primary_color;
1764
color: $inverse_fg_color;
1765
border: 2px solid $inverse_fg_color;
1766
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
1767
border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
1768
}
1769
1770
.secondary-icon { icon-size: em(16px); }
1771
1772
//chat bubbles
1773
.chat-body { spacing: 5px; }
1774
.chat-response { margin: 5px; }
1775
.chat-log-message { color: $fg_color; }
1776
.chat-new-group { padding-top: 1em; }
1777
.chat-received {
1778
padding-left: 4px;
1779
&:rtl { padding-left: 0px; padding-right: 4px; }
1780
}
1781
.chat-sent {
1782
padding-left: 18pt;
1783
color: $secondary_fg_color;
1784
&:rtl { padding-left: 0; padding-right: 18pt; }
1785
}
1786
.chat-meta-message {
1787
padding-left: 4px;
1788
@include font(caption);
1789
color: $hint_fg_color;
1790
&:rtl { padding-left: 0; padding-right: 4px; }
1791
}
1792
1793
//hotplug
1794
.hotplug-transient-box {
1795
spacing: 6px;
1796
padding: 2px 72px 2px 12px;
1797
}
1798
.hotplug-notification-item {
1799
padding: 2px 10px;
1800
&:focus { padding: 1px 71px 1px 11px; }
1801
}
1802
1803
.hotplug-notification-item-icon {
1804
icon-size: 24px;
1805
padding: 2px 5px;
1806
}
1807
1808
.hotplug-resident-box { spacing: 8px; }
1809
1810
.hotplug-resident-mount {
1811
spacing: 8px;
1812
border-radius: $material_radius;
1813
&:hover { background-color: $divider_color; }
1814
&:active { background-color: $track_color; }
1815
}
1816
1817
.hotplug-resident-mount-label {
1818
color: inherit;
1819
padding-left: 6px;
1820
}
1821
1822
.hotplug-resident-mount-icon {
1823
icon-size: 24px;
1824
padding-left: 6px;
1825
}
1826
1827
.hotplug-resident-eject-icon {
1828
icon-size: 16px;
1829
}
1830
1831
.hotplug-resident-eject-button {
1832
padding: 7px;
1833
border-radius: $material_radius;
1834
color: $fg_color;
1835
}
1836
1837
/* Eeeky things */
1838
1839
//magnifier
1840
1841
.magnifier-zoom-region {
1842
border: 2px solid $primary_color;
1843
&.full-screen { border-width: 0; }
1844
}
1845
1846
//Keyboard
1847
/* On-screen Keyboard */
1848
1849
#keyboard {
1850
background-color: $alt_panel_bg_color;
1851
}
1852
1853
.keyboard-layout {
1854
spacing: 10px;
1855
padding: 10px;
1856
}
1857
1858
.keyboard-row { spacing: 15px; }
1859
1860
.keyboard-key {
1861
min-height: 2em;
1862
min-width: 2em;
1863
font-size: 2em;
1864
font-weight: 500;
1865
border-radius: $material_radius;
1866
border: none;
1867
@include button(normal);
1868
&:focus { @include button(focus); }
1869
&:hover,&:checked { @include button(hover); }
1870
&:active { @include button(active);}
1871
&:grayed { //FIXME
1872
background-color: $alt_panel_bg_color;
1873
color: $inverse_fg_color;
1874
border-color: $alt_panel_bg_color;
1875
}
1876
}
1877
1878
.keyboard-subkeys { //long press on a key popup
1879
color: inherit;
1880
padding: 5px;
1881
-arrow-border-radius: 0;
1882
-arrow-background-color: transparent;
1883
-arrow-border-width: 0;
1884
-arrow-border-color: transparent;
1885
-arrow-base: 0;
1886
-arrow-rise: 0;
1887
-boxpointer-gap: 5px;
1888
background-color: $popup_bg_color;
1889
border-radius: $material_radius;
1890
box-shadow: $shadow_2;
1891
}
1892
1893
// IBus Candidate Popup
1894
1895
.candidate-popup-content {
1896
padding: 8px;
1897
spacing: 0;
1898
}
1899
1900
.candidate-index {
1901
padding: 0 4px 0 0;
1902
color: $hint_fg_color;
1903
.candidate-box:selected & { color: $inverse_hint_fg_color; }
1904
}
1905
1906
.candidate-box {
1907
transition-duration: 0ms; // FIXME: needs more natural transitions
1908
min-height: $menuitem_size;
1909
padding: 0 8px;
1910
border-radius: $material_radius;
1911
&:hover { background-color: $divider_color; color: $fg_color; }
1912
&:active { background-color: $track_color; color: $fg_color; }
1913
&:selected { background-color: $primary_color; color: $inverse_fg_color; }
1914
}
1915
1916
.candidate-page-button-box {
1917
height: $menuitem_size;
1918
.vertical & { padding-top: 0; }
1919
.horizontal & { padding-left: 0; }
1920
}
1921
1922
.candidate-page-button {
1923
min-width: $menuitem_size;
1924
min-height: $menuitem_size;
1925
padding: 0;
1926
}
1927
1928
.candidate-page-button-previous { border-radius: $material_radius; border-right-width: 0; }
1929
.candidate-page-button-next { border-radius: $material_radius; }
1930
.candidate-page-button-icon { icon-size: em(16px); }
1931
1932
/* Auth Dialogs & Screen Shield */
1933
1934
.framed-user-icon {
1935
background-size: contain;
1936
border: none;
1937
color: $inverse_fg_color;
1938
border-radius: $material_radius;
1939
&:hover {
1940
border-color: $inverse_fg_color;
1941
color: $inverse_fg_color;
1942
}
1943
}
1944
1945
// LOGIN DIALOG
1946
1947
.login-dialog-banner-view {
1948
padding-top: 24px;
1949
max-width: 23em;
1950
}
1951
1952
.login-dialog {
1953
//reset
1954
border: none;
1955
background-color: transparent;
1956
1957
StEntry {
1958
color: $inverse_fg_color;
1959
selection-background-color: $inverse_track_color;
1960
selected-color: $inverse_fg_color;
1961
@include entry(normal, $fc:$inverse_track_color);
1962
&:focus { @include entry(focus, $fc:$inverse_fg_color); }
1963
&:insensitive {
1964
@include entry(insensitive, $fc:$inverse_divider_color);
1965
color: $inverse_disabled_fg_color;
1966
}
1967
}
1968
1969
.modal-dialog-button-box { spacing: 3px; }
1970
.modal-dialog-button {
1971
padding: 0 16px;
1972
@include button(flat-normal, $tc: $inverse_fg_color);
1973
&:hover,&:focus { @include button(flat-hover, $tc: $inverse_fg_color); }
1974
&:active { @include button(flat-active, $tc: $inverse_fg_color); }
1975
&:insensitive { @include button(flat-insensitive, $tc: $inverse_fg_color); }
1976
1977
&:default {
1978
@include button(normal, $c: $suggested_color, $tc: $inverse_fg_color);
1979
&:hover,&:focus { @include button(hover, $c: $suggested_color, $tc: $inverse_fg_color); }
1980
&:active { @include button(active, $c: $suggested_color, $tc: $inverse_fg_color); }
1981
&:insensitive { @include button(insensitive, $c: $inverse_divider_color, $tc: $inverse_disabled_fg_color); }
1982
}
1983
}
1984
}
1985
1986
.login-dialog-logo-bin { padding: 24px 0px; }
1987
.login-dialog-banner { color: $inverse_secondary_fg_color; }
1988
.login-dialog-button-box { spacing: 5px; }
1989
.login-dialog-message-warning { color: $warning_color; }
1990
.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
1991
.login-dialog-user-selection-box { padding: 100px 0px; }
1992
.login-dialog-not-listed-label {
1993
padding-left: 2px;
1994
.login-dialog-not-listed-button:focus &,
1995
.login-dialog-not-listed-button:hover & {
1996
color: $inverse_fg_color;
1997
}
1998
}
1999
.login-dialog-not-listed-label {
2000
font-size: 1em;
2001
font-weight: bold;
2002
color: $inverse_secondary_fg_color;
2003
padding-top: 1em;
2004
&:hover { color: $inverse_fg_color; }
2005
&:focus { background-color: $inverse_divider_color; }
2006
}
2007
2008
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
2009
.login-dialog-user-list {
2010
spacing: 12px;
2011
padding: .2em;
2012
width: 23em;
2013
&:expanded .login-dialog-user-list-item:selected { background-color: $inverse_divider_color; color: $inverse_fg_color; }
2014
&:expanded .login-dialog-user-list-item:hover { background-color: $inverse_divider_color; color: $inverse_fg_color; }
2015
&:expanded .login-dialog-user-list-item:active { background-color: $inverse_track_color; color: $inverse_fg_color; }
2016
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $inverse_fg_color; }
2017
}
2018
.login-dialog-user-list-item {
2019
border-radius: $material_radius;
2020
padding: 4px 4px 0;
2021
color: $inverse_secondary_fg_color;
2022
&:ltr { padding-right: 1em; }
2023
&:rtl { padding-left: 1em; }
2024
&:hover { background-color: $inverse_divider_color; color: $inverse_fg_color; }
2025
&:active { background-color: $inverse_track_color; color: $inverse_fg_color; }
2026
.login-dialog-timed-login-indicator {
2027
height: 2px;
2028
margin: 2px 0 0 0;
2029
background-color: $inverse_fg_color;
2030
}
2031
&:focus .login-dialog-timed-login-indicator { background-color: $inverse_fg_color; }
2032
}
2033
2034
.login-dialog-username,
2035
.user-widget-label {
2036
color: $inverse_fg_color;
2037
@include font(title);
2038
text-align: left;
2039
padding-left: 15px;
2040
}
2041
.user-widget-label {
2042
&:ltr { padding-left: 18px; }
2043
&:rtl { padding-right: 18px; }
2044
}
2045
2046
.login-dialog-prompt-layout {
2047
padding-top: 24px;
2048
padding-bottom: 12px;
2049
spacing: 8px;
2050
width: 23em;
2051
}
2052
2053
.login-dialog-prompt-label {
2054
color: $inverse_hint_fg_color;
2055
font-size: 1em;
2056
padding-top: 1em;
2057
}
2058
2059
.login-dialog-session-list-button StIcon {
2060
icon-size: 1.25em;
2061
}
2062
2063
.login-dialog-session-list-button {
2064
color: $inverse_secondary_fg_color;
2065
&:hover,&:focus { color: $inverse_fg_color; }
2066
&:active { color: $inverse_fg_color; }
2067
}
2068
2069
//SCREEN SHIELD
2070
2071
.screen-shield-arrows {
2072
padding-bottom: 3em;
2073
}
2074
2075
.screen-shield-arrows Gjs_Arrow {
2076
color: white;
2077
width: 80px;
2078
height: 48px;
2079
-arrow-thickness: 12px;
2080
-arrow-shadow: $shadow_1;
2081
}
2082
2083
.screen-shield-clock {
2084
color: white;
2085
text-shadow: $shadow_1;
2086
font-weight: normal;
2087
text-align: center;
2088
padding-bottom: 1.5em;
2089
}
2090
2091
.screen-shield-clock-time {
2092
@include font(display-4);
2093
text-shadow: $shadow_1;
2094
}
2095
2096
.screen-shield-clock-date { @include font(display-2); }
2097
2098
.screen-shield-notifications-container {
2099
spacing: 6px;
2100
width: 30em;
2101
background-color: transparent;
2102
max-height: 500px;
2103
.summary-notification-stack-scrollview {
2104
padding-top: 0;
2105
padding-bottom: 0;
2106
}
2107
2108
.notification,
2109
.screen-shield-notification-source {
2110
padding: 8px;
2111
border: none;
2112
background-color: $alt_panel_bg_color;
2113
color: $inverse_fg_color;
2114
border-radius: $material_radius;
2115
}
2116
.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar
2117
}
2118
2119
2120
.screen-shield-notification-label {
2121
min-height: $small_size - 2px;
2122
padding: 2px 0px 0px 16px;
2123
font-weight: bold;
2124
}
2125
2126
.screen-shield-notification-count-text {
2127
min-height: $small_size - 2px;
2128
padding: 2px 0px 0px 16px;
2129
color: $inverse_secondary_fg_color;
2130
}
2131
2132
#panel.lock-screen { background-color: $alt_panel_bg_color; }
2133
2134
.screen-shield-background { //just the shadow, really
2135
background: black;
2136
box-shadow: $shadow_5;
2137
}
2138
2139
#lockDialogGroup {
2140
background: $gdm_bg_color;
2141
background-size: cover;
2142
}
2143
2144
#screenShieldNotifications {
2145
StScrollBar { @extend %overview_scrollbar; }
2146
}
2147
2148
2149
// Looking Glass
2150
#LookingGlassDialog {
2151
background-color: $popup_bg_color;
2152
spacing: 4px;
2153
padding: 0;
2154
border: none;
2155
border-radius: $material_radius;
2156
box-shadow: $shadow_4;
2157
& > #Toolbar {
2158
padding: 0 8px;
2159
border: none;
2160
border-radius: 0;
2161
background-color: rgba($popup_bg_color, 0.01);
2162
box-shadow: inset 0 -1px 0 $border_color;
2163
}
2164
.labels { spacing: 0; }
2165
.notebook-tab {
2166
-natural-hpadding: 12px;
2167
-minimum-hpadding: 6px;
2168
font-weight: bold;
2169
color: $hint_fg_color;
2170
transition-duration: $longer_duration;
2171
padding-left: 16px;
2172
padding-right: 16px;
2173
min-height: $medium_size;
2174
padding: 0 16px * 2;
2175
&:hover {
2176
background-color: $divider_color;
2177
color: $fg_color;
2178
text-shadow: none;
2179
}
2180
&:active {
2181
background-color: $track_color;
2182
color: $fg_color;
2183
}
2184
&:selected {
2185
border-bottom-width: 0;
2186
border-color: transparent;
2187
background-color: rgba($popup_bg_color, 0.01);
2188
box-shadow: inset 0 -2px 0px $primary_color;
2189
color: $fg_color;
2190
text-shadow: none;
2191
}
2192
}
2193
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
2194
StBoxLayout#ResultsArea { spacing: 4px; }
2195
}
2196
2197
.lg-dialog {
2198
StEntry {
2199
selection-background-color: $primary_color;
2200
selected-color: $inverse_fg_color;
2201
}
2202
.shell-link {
2203
color: $link_color;
2204
&:hover { color: $link_color; }
2205
}
2206
}
2207
2208
.lg-completions-text {
2209
font-size: 1em;
2210
font-style: italic;
2211
}
2212
2213
.lg-obj-inspector-title {
2214
spacing: 4px;
2215
}
2216
2217
.lg-obj-inspector-button {
2218
min-height: $medium_size;
2219
padding: 0 16px;
2220
border: none;
2221
border-radius: $material_radius;
2222
@include font(button);
2223
@include button(flat-normal);
2224
&:hover { @include button(flat-hover); }
2225
&:active { @include button(flat-active); }
2226
&:insensitive { @include button(flat-insensitive); }
2227
&:focus { @include button(flat-focus); }
2228
&:hover { border: none; }
2229
}
2230
2231
#lookingGlassExtensions { padding: 4px; }
2232
2233
.lg-extensions-list {
2234
padding: 4px;
2235
spacing: 6px;
2236
}
2237
2238
.lg-extension {
2239
border: none;
2240
border-radius: $material_radius;
2241
padding: 4px;
2242
}
2243
2244
.lg-extension-name {
2245
@include font(headline);
2246
}
2247
2248
.lg-extension-meta {
2249
spacing: 6px;
2250
}
2251
2252
#LookingGlassPropertyInspector {
2253
background: $popup_bg_color;
2254
border: none;
2255
border-radius: $material_radius;
2256
padding: 6px;
2257
box-shadow: $shadow_4;
2258
}
2259