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

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