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.24.scss

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