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.96 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
/* Pad OSD */
704
.pad-osd-window {
705
padding: 32px;
706
background-color: $bg_color;
707
}
708
709
.combo-box-label {
710
width: 15em;
711
}
712
713
/* App Switcher */
714
.switcher-popup {
715
padding: 8px;
716
spacing: 16px;
717
}
718
719
.osd-window,
720
.resize-popup,
721
.switcher-list {
722
@extend %osd-panel;
723
}
724
725
.switcher-list-item-container { spacing: 8px; }
726
727
.switcher-list .item-box {
728
padding: 8px;
729
border-radius: 2px;
730
}
731
732
.switcher-list .item-box:outlined {
733
padding: 8px;
734
border: none;
735
background-color: $disabled_fill_color;
736
}
737
738
.switcher-list .item-box:selected {
739
background-color: $primary_color;
740
color: $inverse_fg_color;
741
}
742
743
.switcher-list .thumbnail-box {
744
padding: 2px;
745
spacing: 4px;
746
}
747
748
.switcher-list .thumbnail {
749
width: 256px;
750
}
751
752
.switcher-list .separator {
753
width: 1px;
754
background: $border_color;
755
}
756
757
.switcher-arrow {
758
border-color: rgba(0,0,0,0);
759
color: $tertiary_fg_color;
760
&:highlighted {
761
color: $fg_color;
762
}
763
}
764
765
.input-source-switcher-symbol {
766
@include font(display-2);
767
width: 96px;
768
height: 96px;
769
}
770
771
/* Window Cycler */
772
.cycler-highlight { border: 4px solid $primary_color; }
773
774
/* Workspace Switcher */
775
.workspace-switcher-group { padding: 8px; }
776
777
.workspace-switcher-container {
778
@extend %osd-panel;
779
}
780
781
.workspace-switcher {
782
background: transparent;
783
border: 0px;
784
border-radius: 0px;
785
padding: 0px;
786
spacing: 8px;
787
}
788
789
.ws-switcher-active-up, .ws-switcher-active-down {
790
height: 48px;
791
background-color: $primary_color;
792
color: $inverse_fg_color;
793
background-size: 32px;
794
border-radius: 2px;
795
}
796
797
.ws-switcher-box {
798
height: 48px;
799
border: none;
800
background: $disabled_fill_color;
801
border-radius: 2px;
802
}
803
804
%osd-panel {
805
color: $fg_color;
806
background-color: $base_color;
807
border: none;
808
box-shadow: $shadow_4;
809
border-radius: 2px;
810
padding: 12px;
811
}
812
813
/* Tiled window previews */
814
.tile-preview {
815
background-color: scale-alpha($alt_primary_color, $lower_opacity);
816
border: 1px solid $alt_primary_color;
817
}
818
819
.tile-preview-left.on-primary {
820
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
821
}
822
823
.tile-preview-right.on-primary {
824
border-radius: 0 $panel-corner-radius 0 0;
825
}
826
827
.tile-preview-left.tile-preview-right.on-primary {
828
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
829
}
830
831
/* TOP BAR */
832
833
#panel {
834
background-color: $panel_bg_color;
835
font-weight: bold;
836
height: $menuitem_size;
837
838
&:overview,
839
&.unlock-screen,
840
&.login-screen,
841
&.lock-screen {
842
background-color: transparent;
843
}
844
845
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
846
spacing: 0;
847
}
848
849
.panel-corner {
850
-panel-corner-radius: $panel-corner-radius;
851
-panel-corner-background-color: $bg_color;
852
-panel-corner-border-width: 2px;
853
-panel-corner-border-color: transparent;
854
855
&:active, &:overview, &:focus {
856
-panel-corner-border-color: $inverse_fg_color;
857
}
858
859
&.lock-screen, &.login-screen, &.unlock-screen {
860
-panel-corner-radius: 0;
861
-panel-corner-background-color: transparent;
862
-panel-corner-border-color: transparent;
863
}
864
}
865
866
.panel-button {
867
-natural-hpadding: 12px;
868
-minimum-hpadding: 6px;
869
font-weight: bold;
870
color: $secondary_inverse_fg_color;
871
transition-duration: 0.2s;
872
873
.app-menu-icon {
874
-st-icon-style: symbolic;
875
margin-left: 4px;
876
margin-right: 4px;
877
//dimensions of the icon are hardcoded
878
}
879
880
&:hover {
881
color: $inverse_fg_color;
882
}
883
884
&:active, &:overview, &:focus, &:checked {
885
// Trick due to St limitations. It needs a background to draw
886
// a box-shadow
887
background-color: rgba($bg_color, 0.01);
888
box-shadow: inset 0 -2px 0px $inverse_fg_color;
889
color: $inverse_fg_color;
890
891
& > .system-status-icon { icon-shadow: none; }
892
}
893
894
.system-status-icon { icon-size: em(16px); padding: 0 4px; }
895
.unlock-screen &,
896
.login-screen &,
897
.lock-screen & {
898
color: $secondary_inverse_fg_color;
899
&:focus, &:hover, &:active { color: $inverse_fg_color; }
900
}
901
}
902
903
.panel-status-indicators-box,
904
.panel-status-menu-box {
905
spacing: 2px;
906
}
907
908
// spacing between power icon and (optional) percentage label
909
.power-status.panel-status-indicators-box {
910
spacing: 0;
911
}
912
913
.screencast-indicator { color: $warning_color; }
914
}
915
916
// calendar popover
917
#calendarArea {
918
padding: 8px 16px;
919
}
920
921
.calendar {
922
margin-bottom: 0;
923
}
924
925
.calendar,
926
.datemenu-today-button,
927
.datemenu-displays-box,
928
.message-list-sections {
929
margin: 0 8px;
930
}
931
932
.datemenu-calendar-column { spacing: 8px; }
933
.datemenu-displays-section { padding-bottom: 0; }
934
935
.datemenu-today-button,
936
.world-clocks-button,
937
.message-list-section-title {
938
min-height: $menuitem_size - 4px * 2;
939
padding: 4px 8px;
940
border-radius: 2px;
941
}
942
943
.datemenu-today-button {
944
min-height: $menuitem_size * 2 - 4px * 2;
945
}
946
947
.message-list-section-list:ltr {
948
padding-left: 0;
949
}
950
951
.message-list-section-list:rtl {
952
padding-right: 0;
953
}
954
955
.datemenu-today-button,
956
.world-clocks-button,
957
.message-list-section-title {
958
&:hover,&:focus { color: $fg_color; background-color: $semi_fill_color; }
959
&:active {
960
color: $fg_color;
961
background-color: $fill_color;
962
}
963
}
964
965
.datemenu-today-button .day-label {
966
}
967
968
.datemenu-today-button .date-label {
969
@include font(headline);
970
}
971
972
.world-clocks-header,
973
.message-list-section-title {
974
color: $secondary_fg_color;
975
font-weight: bold;
976
}
977
978
.world-clocks-grid {
979
spacing-rows: 0.4em;
980
}
981
982
.calendar-month-label {
983
height: $menuitem_size - 6px * 2;
984
margin: 2px;
985
padding: 6px 16px;
986
border-radius: 2px;
987
color: $fg_color;
988
font-weight: bold;
989
text-align: center;
990
&:focus { background-color: $semi_fill_color; }
991
}
992
993
.pager-button {
994
width: $menuitem_size;
995
height: $menuitem_size;
996
margin: 2px;
997
border-radius: 100px;
998
background-color: transparent;
999
color: $fg_color;
1000
&:hover, &:focus { background-color: $semi_fill_color; }
1001
&:active { background-color: $fill_color; }
1002
}
1003
1004
.calendar-change-month-back { //arrow back
1005
background-image: url("assets/calendar-arrow-left.svg");
1006
&:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
1007
}
1008
.calendar-change-month-forward { //arrow foreward
1009
background-image: url("assets/calendar-arrow-right.svg");
1010
&:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
1011
}
1012
1013
.calendar-day-base {
1014
@include font(caption);
1015
text-align: center;
1016
width: $menuitem_size; height: $menuitem_size;
1017
padding: 0;
1018
margin: 2px;
1019
border-radius: 100px;
1020
&:hover,&:focus { background-color: $semi_fill_color; }
1021
// &:active { background-color: $fill_color; }
1022
&:active, &:selected {
1023
color: $inverse_fg_color;
1024
background-color: $primary_color !important;
1025
border-color: transparent; //avoid jumparound due to today
1026
}
1027
&.calendar-day-heading { //day of week heading
1028
width: $menuitem_size; height: $menuitem_size - 7px;
1029
margin-top: 2px;
1030
padding: 7px 0 0;
1031
border-radius: 100px;
1032
background-color: transparent;
1033
color: $tertiary_fg_color;
1034
@include font(caption);
1035
font-weight: bold;
1036
text-align: center;
1037
}
1038
}
1039
.calendar-day { //border collapse hack - see calendar.js
1040
border-width: 0;
1041
}
1042
.calendar-day-top { border-top-width: 0; }
1043
.calendar-day-left { border-left-width: 0; }
1044
.calendar-work-day {
1045
1046
}
1047
.calendar-nonwork-day {
1048
color: $fg_color;
1049
}
1050
.calendar-today {
1051
font-weight: bold !important;
1052
//color: $fg_color;
1053
//background-color: transparent;
1054
border: none;
1055
}
1056
.calendar-day-with-events {
1057
color: $link_color;
1058
font-weight: normal;
1059
text-decoration: underline;
1060
background-image: none;
1061
}
1062
.calendar-other-month-day {
1063
color: $disabled_fg_color;
1064
opacity: 0.5;
1065
}
1066
.calendar-week-number {
1067
width: $menuitem_size; height: $menuitem_size - 7px;
1068
margin: 2px;
1069
padding: 7px 0 0;
1070
border-radius: 100px;
1071
background-color: transparent;
1072
color: $tertiary_fg_color;
1073
font-size: inherit;
1074
font-weight: bold;
1075
text-align: center;
1076
}
1077
1078
/* Message list */
1079
.message-list {
1080
width: 420px;
1081
}
1082
1083
.message-list-sections {
1084
spacing: 8px;
1085
}
1086
1087
.message-list-section,
1088
.message-list-section-list {
1089
spacing: 8px;
1090
}
1091
1092
.message-list-section-title-box {
1093
spacing: 8px;
1094
}
1095
1096
.message-list-section-close > StIcon {
1097
icon-size: 16px;
1098
border-radius: 16px;
1099
padding: ($menuitem_size - 16px) / 2;
1100
color: $secondary_fg_color;
1101
background-color: transparent;
1102
}
1103
1104
/* FIXME: how do you do this in sass? */
1105
.message-list-section-close:hover > StIcon,
1106
.message-list-section-close:focus > StIcon {
1107
color: $fg_color;
1108
background-color: $semi_fill_color;
1109
}
1110
1111
.message-list-section-close:active > StIcon {
1112
color: $fg_color;
1113
background-color: $fill_color;
1114
}
1115
1116
.message {
1117
min-height: $menuitem_size * 2;
1118
background-color: transparent;
1119
&:hover,&:focus { background-color: $semi_fill_color; }
1120
&:active { background-color: $fill_color; }
1121
border-radius: 2px;
1122
}
1123
1124
.message-icon-bin {
1125
padding: 8px 0px 8px 8px;
1126
&:rtl { padding: 8px 8px 8px 0px; }
1127
}
1128
1129
.message-icon-bin > StIcon {
1130
icon-size: 32px;
1131
}
1132
1133
.message-secondary-bin {
1134
&:ltr { padding-left: 8px; }
1135
&:rtl { padding-right: 8px; }
1136
}
1137
1138
.message-secondary-bin {
1139
color: $tertiary_fg_color;
1140
}
1141
1142
.message-secondary-bin > StIcon {
1143
icon-size: 16px;
1144
}
1145
1146
.message-title {
1147
min-height: $small_size - 2px;
1148
padding-top: 2px;
1149
color: $fg_color;
1150
font-weight: bold;
1151
font-size: 1em;
1152
}
1153
1154
.message-content {
1155
padding: 8px;
1156
color: $secondary_fg_color;
1157
font-size: 1em;
1158
}
1159
1160
.message-content * > StIcon {
1161
icon-size: 16px;
1162
border-radius: 16px;
1163
padding: ($small_size - 16px) / 2;
1164
color: $secondary_fg_color;
1165
}
1166
1167
/* FIXME: how do you do this in sass? */
1168
.message-content *:hover > StIcon,
1169
.message-content *:focus > StIcon {
1170
color: $fg_color;
1171
background-color: $semi_fill_color;
1172
}
1173
1174
.message-content *:active > StIcon {
1175
color: $fg_color;
1176
background-color: $fill_color;
1177
}
1178
1179
.message-media-control {
1180
margin: 16px 0;
1181
padding: 8px;
1182
border-radius: 100px;
1183
color: $secondary_fg_color;
1184
&:hover,&:focus { color: $fg_color; background-color: $semi_fill_color; }
1185
&:active { color: $fg_color; background-color: $fill_color; }
1186
&:insensitive { color: $disabled_secondary_fg_color; }
1187
1188
&:last-child:ltr { margin-right: 16px; padding-right: 8px; }
1189
&:last-child:rtl { margin-left: 16px; padding-left: 8px; }
1190
}
1191
1192
.media-message-cover-icon {
1193
icon-size: 32px;
1194
&.fallback {
1195
icon-size: 16px;
1196
padding: 8px;
1197
border: none;
1198
border-radius: 2px;
1199
background-color: $semi_fill_color;
1200
color: $tertiary_fg_color;
1201
}
1202
}
1203
1204
1205
// a little unstructured mess:
1206
1207
.system-switch-user-submenu-icon.user-icon {
1208
icon-size: 20px;
1209
padding: 0 2px;
1210
}
1211
.system-switch-user-submenu-icon.default-icon {
1212
icon-size: 16px;
1213
padding: 0 4px;
1214
}
1215
1216
#appMenu {
1217
spinner-image: url("process-working.svg");
1218
spacing: 4px;
1219
1220
.label-shadow { color: transparent; }
1221
}
1222
1223
.aggregate-menu {
1224
min-width: 280px;
1225
.popup-menu-icon { padding: 0 4px; }
1226
}
1227
1228
.system-menu-action {
1229
color: $secondary_fg_color;
1230
border-radius: 100px; /* wish we could do 50% */
1231
padding: ($large_size - 16px) / 2;
1232
border: none;
1233
1234
&:hover, &:focus {
1235
background-color: $semi_fill_color;
1236
color: $fg_color;
1237
border: none;
1238
padding: ($large_size - 16px) / 2;
1239
}
1240
&:active { background-color: $fill_color; color: $fg_color; }
1241
1242
& > StIcon { icon-size: 16px; }
1243
}
1244
1245
//Activities Ripples
1246
.ripple-box {
1247
width: 48px;
1248
height: 48px;
1249
background-image: url("assets/corner-ripple-ltr.svg");
1250
background-size: contain;
1251
}
1252
1253
.ripple-box:rtl {
1254
background-image: url("assets/corner-ripple-rtl.svg");
1255
}
1256
1257
// not really top bar only
1258
.popup-menu-arrow { width: 16px; height: 16px; }
1259
.popup-menu-icon { icon-size: em(16px); }
1260
1261
//close buttons
1262
1263
.window-close {
1264
height: $medium_size;
1265
width: $medium_size;
1266
-st-background-image-shadow: $shadow_1;
1267
background-image: url("assets/window-close.svg");
1268
background-size: $medium_size;
1269
&:hover { -st-background-image-shadow: $shadow_2; }
1270
&:active { background-image: url("assets/window-close-active.svg"); }
1271
}
1272
.window-close {
1273
-shell-close-overlap: $medium_size / 2;
1274
&:rtl { -st-background-image-shadow: $shadow_1; }
1275
&:rtl:hover { -st-background-image-shadow: $shadow_2; }
1276
}
1277
1278
/* NETWORK DIALOGS */
1279
1280
.nm-dialog {
1281
max-height: 500px;
1282
min-height: 450px;
1283
min-width: 470px;
1284
}
1285
1286
.nm-dialog-content {
1287
spacing: 20px;
1288
padding: 24px;
1289
}
1290
.nm-dialog-header-hbox { spacing: 10px; }
1291
.nm-dialog-airplane-box { spacing: 12px; }
1292
1293
.nm-dialog-airplane-headline {
1294
font-weight: bold;
1295
text-align: center;
1296
}
1297
1298
.nm-dialog-airplane-text { color: $fg_color; }
1299
.nm-dialog-header-icon { icon-size: 32px; }
1300
.nm-dialog-scroll-view { border: none; }
1301
.nm-dialog-header { @include font(title); }
1302
1303
.nm-dialog-item {
1304
font-size: 1em;
1305
border-bottom: none;
1306
border-radius: 2px;
1307
padding: 12px;
1308
spacing: 20px;
1309
&:hover, &:focus { background-color: $semi_fill_color; }
1310
&:active { background-color: $fill_color; }
1311
}
1312
1313
.nm-dialog-item:selected {
1314
background-color: $primary_color;
1315
color: $inverse_fg_color;
1316
}
1317
1318
.nm-dialog-icons { spacing: .5em; }
1319
.nm-dialog-icon { icon-size: 16px; }
1320
.no-networks-label { color: $tertiary_fg_color; }
1321
.no-networks-box { spacing: 12px; }
1322
1323
/* OVERVIEW */
1324
1325
#overview {
1326
spacing: 24px; //
1327
StScrollBar { @extend %overview_scrollbar; }
1328
}
1329
1330
.overview-controls {
1331
padding-bottom: 32px;
1332
}
1333
1334
.window-picker { //container around window thumbnails
1335
-horizontal-spacing: 32px;
1336
-vertical-spacing: 32px;
1337
padding-left: 32px;
1338
padding-right: 32px;
1339
padding-bottom: 48px;
1340
1341
&.external-monitor { padding: 32px; }
1342
}
1343
1344
.window-clone-border {
1345
border: 4px solid $inverse_fill_color;
1346
border-radius: 2px;
1347
// For window decorations with round corners we can't match
1348
// the exact shape when the window is scaled. So apply a shadow
1349
// to fix that case
1350
box-shadow: inset 0 0 0 1px $inverse_fill_color;
1351
}
1352
.window-caption {
1353
spacing: 25px;
1354
color: $inverse_fg_color;
1355
background-color: transparent;
1356
border-radius: 2px;
1357
padding: 4px 8px;
1358
-shell-caption-spacing: 12px;
1359
&:hover { background-color: $inverse_fill_color; color: $inverse_fg_color; }
1360
}
1361
1362
//search entry
1363
.search-entry {
1364
width: 320px - 8px * 2;
1365
padding: 0 8px;
1366
border-radius: 0;
1367
color: $tertiary_inverse_fg_color;
1368
selection-background-color: $inverse_fill_color;
1369
selected-color: $inverse_fg_color;
1370
@include entry(normal,$fc:$inverse_fill_color);
1371
&:focus {
1372
@include entry(focus,$fc:$inverse_fg_color);
1373
padding: 0 8px;
1374
border-width: 0;
1375
color: $inverse_fg_color;
1376
}
1377
1378
.search-entry-icon { icon-size: 16px; padding: 0 0; color: $tertiary_inverse_fg_color; }
1379
1380
&:hover, &:focus {
1381
.search-entry-icon { color: $inverse_fg_color; }
1382
}
1383
}
1384
1385
//search results
1386
1387
#searchResultsBin {
1388
max-width: 1000px;
1389
}
1390
1391
#searchResultsContent {
1392
padding-left: 20px;
1393
padding-right: 20px;
1394
spacing: 16px;
1395
}
1396
1397
.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
1398
.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container
1399
.search-statustext { // "no results"
1400
@extend %status_text;
1401
}
1402
.list-search-results { spacing: 3px; }
1403
1404
.search-section-separator {
1405
-gradient-height: 1px;
1406
-gradient-start: rgba(255,255,255,0);
1407
-gradient-end: rgba(255,255,255,0.4);
1408
-margin-horizontal: 1.5em;
1409
height: 1px;
1410
}
1411
1412
.list-search-result-content { spacing: 12px; padding: 12px; }
1413
.list-search-result-title { @include font(headline); color: $inverse_fg_color; }
1414
.list-search-result-description { color: $secondary_inverse_fg_color; }
1415
.search-provider-icon { padding: 15px; }
1416
.search-provider-icon-more {
1417
width: 16px;
1418
height: 16px;
1419
background-image: url("assets/more-results.svg");
1420
}
1421
1422
1423
/* DASHBOARD */
1424
1425
#dash {
1426
font-size: 1em;
1427
color: $inverse_fg_color;
1428
background-color: $inverse_bg_color;
1429
padding: 3px 0;
1430
border: none;
1431
border-left: 0px;
1432
border-radius: 0px 2px 2px 0px;
1433
1434
&:rtl {
1435
border-radius: 2px 0 0 2px;
1436
}
1437
1438
.placeholder {
1439
background-image: url("assets/dash-placeholder.svg");
1440
background-size: contain;
1441
height: 24px;
1442
}
1443
1444
.empty-dash-drop-target {
1445
width: 24px;
1446
height: 24px;
1447
}
1448
1449
}
1450
1451
.dash-item-container > StWidget {
1452
padding: 3px 6px;
1453
}
1454
1455
.dash-label { //osd tooltip
1456
// min-height: 32px - 6px * 2;
1457
border-radius: 2px;
1458
padding: 7px 8px;
1459
color: $fg_color;
1460
background-color: $base_color;
1461
box-shadow: $shadow_2;
1462
text-align: center;
1463
-x-offset: 8px;
1464
}
1465
1466
/* App Vault/Grid */
1467
.icon-grid {
1468
spacing: 30px;
1469
-shell-grid-horizontal-item-size: 136px;
1470
-shell-grid-vertical-item-size: 136px;
1471
1472
.overview-icon { icon-size: 96px; }
1473
}
1474
//.app-display { spacing: 20px; }
1475
1476
.app-view-controls { //favorties | all toggle container
1477
width: 320px;
1478
padding-bottom: 32px;
1479
}
1480
.app-view-control { //favorties | all toggle button
1481
padding: 0 16px;
1482
font-weight: bold;
1483
color: $secondary_inverse_fg_color;
1484
&:hover {
1485
color: $inverse_fg_color;
1486
background-color: $semi_inverse_fill_color !important;
1487
}
1488
&:active {
1489
color: $inverse_fg_color;
1490
background-color: $inverse_fill_color !important;
1491
}
1492
&:checked {
1493
color: $inverse_fg_color;
1494
background-color: rgba($bg_color, 0.01) !important;
1495
box-shadow: inset 0 2px 0 $inverse_fg_color;
1496
}
1497
&:first-child {
1498
border-right-width: 0;
1499
border-radius: 2px;
1500
&:checked { border-radius: 0; }
1501
}
1502
&:last-child {
1503
border-radius: 2px;
1504
&:checked { border-radius: 0; }
1505
}
1506
}
1507
1508
//Icon tile
1509
.search-provider-icon,
1510
.list-search-result {
1511
@extend %icon_tile;
1512
&:focus, &:selected, &:hover {
1513
background-color: $semi_inverse_fill_color;
1514
transition-duration: 0s;
1515
}
1516
&:active, &:checked {
1517
background-color: $inverse_fill_color;
1518
transition-duration: 0.2s;
1519
}
1520
}
1521
.app-well-app,
1522
.app-well-app.app-folder,
1523
.show-apps,
1524
.grid-search-result {
1525
& .overview-icon {
1526
@extend %icon_tile;
1527
}
1528
&:hover .overview-icon,
1529
&:focus .overview-icon,
1530
&:selected .overview-icon {
1531
background-color: $semi_inverse_fill_color;
1532
transition-duration: 0s;
1533
border-image: none;
1534
background-image: none;
1535
}
1536
&:active .overview-icon,
1537
&:checked .overview-icon {
1538
background-color: $inverse_fill_color;
1539
box-shadow: $shadow_0;
1540
transition-duration: 0.2s;
1541
}
1542
1543
}
1544
1545
.app-well-app-running-dot { //running apps indicator
1546
width: 32px; height: 2px;
1547
background-color: $inverse_fg_color;
1548
margin-bottom: 0;
1549
}
1550
1551
%icon_tile {
1552
color: $inverse_fg_color;
1553
border-radius: 2px;
1554
padding: 6px;
1555
border: none;
1556
transition-duration: 0.2s;
1557
text-align: center;
1558
}
1559
1560
.app-well-app.app-folder > .overview-icon {
1561
background-color: $inverse_bg_color;
1562
}
1563
1564
.show-apps .show-apps-icon {
1565
color: $secondary_inverse_fg_color;
1566
}
1567
1568
.show-apps:hover .show-apps-icon,
1569
.show-apps:active .show-apps-icon,
1570
.show-apps:checked .show-apps-icon,
1571
.show-apps:focus .show-apps-icon {
1572
color: $inverse_fg_color;
1573
transition-duration: 0.2s;
1574
}
1575
1576
1577
// Collections
1578
.app-folder-popup { //expanded collection
1579
-arrow-border-radius: 2px;
1580
-arrow-background-color: $inverse_bg_color;
1581
-arrow-base: 24px;
1582
-arrow-rise: 12px;
1583
}
1584
.app-folder-popup-bin { padding: 5px; }
1585
.app-folder-icon {
1586
padding: 5px;
1587
spacing-rows: 5px;
1588
spacing-columns: 5px;
1589
}
1590
1591
.page-indicator {
1592
padding: 15px 20px;
1593
1594
.page-indicator-icon {
1595
width: 12px;
1596
height: 12px;
1597
border-radius: 12px;
1598
background-image: none;
1599
background-color: scale-alpha($inverse_fg_color, $lower_opacity);
1600
}
1601
&:hover .page-indicator-icon {
1602
background-image: none;
1603
background-color: scale-alpha($inverse_fg_color, $middle_opacity);
1604
}
1605
&:active .page-indicator-icon {
1606
background-image: none;
1607
background-color: scale-alpha($inverse_fg_color, $higher_opacity);
1608
}
1609
&:checked .page-indicator-icon,
1610
&:checked:active {
1611
background-image: none;
1612
background-color: $inverse_fg_color;
1613
transition-duration: 0s;
1614
}
1615
}
1616
1617
.no-frequent-applications-label { @extend %status_text; }
1618
1619
.app-well-app > .overview-icon.overview-icon-with-label,
1620
.grid-search-result .overview-icon.overview-icon-with-label {
1621
padding: 10px 8px 5px 8px;
1622
spacing: 4px;
1623
}
1624
1625
// Workspace pager
1626
.workspace-thumbnails { //container ala dash
1627
@extend %overview-panel;
1628
visible-width: 32px; //amount visible before hover
1629
spacing: 12px;
1630
padding: 12px;
1631
border-radius: 2px 0 0 2px;
1632
//border-width: 0; //fixme: can't have non unoform borders :(
1633
&:rtl { border-radius: 0 2px 2px 0;}
1634
}
1635
.workspace-thumbnail-indicator {
1636
border: 0 solid $inverse_fg_color;
1637
border-left-width: 2px;
1638
padding: 6px;
1639
border-radius: 0;
1640
}
1641
1642
//Some hacks I don't even
1643
.search-display > StBoxLayout,
1644
.all-apps,
1645
.frequent-apps > StBoxLayout {
1646
// horizontal padding to make sure scrollbars or dash don't overlap content
1647
padding: 0px 88px 10px 88px;
1648
}
1649
1650
%overview-panel {
1651
color: $inverse_fg_color;
1652
background-color: $inverse_bg_color;
1653
border: none;
1654
}
1655
1656
%status_text {
1657
@include font(display-2);
1658
color: $tertiary_inverse_fg_color;
1659
}
1660
1661
/* NOTIFICATIONS & MESSAGE TRAY */
1662
1663
.url-highlighter { link-color: $link_color; }
1664
1665
// Banners
1666
.notification-banner {
1667
font-size: 1em;
1668
width: 34em;
1669
min-height: $menuitem_size * 2;
1670
margin: 5px;
1671
border-radius: 2px;
1672
color: $fg_color;
1673
background-color: $base_color;
1674
border: none;
1675
box-shadow: $shadow_2;
1676
&:hover { background-color: $base_color; }
1677
&:focus { background-color: $base_color; }
1678
1679
.notification-icon { padding: 5px; }
1680
.notification-content { padding: 5px; spacing: 5px; }
1681
.secondary-icon { icon-size: em(16px); }
1682
.notification-actions {
1683
background-color: transparent;
1684
padding-top: 0;
1685
border-top: 1px solid $border_color;
1686
spacing: 1px;
1687
}
1688
.notification-button {
1689
min-height: 40px;
1690
padding: 0 16px;
1691
background-color: transparent;
1692
color: $secondary_fg_color;
1693
font-weight: 500;
1694
&:first-child { border-radius: 0 0 0 2px; }
1695
&:last-child { border-radius: 0 0 2px 0; }
1696
&:hover, &focus { background-color: $semi_fill_color; color: $fg_color; }
1697
&:active { background-color: $fill_color; color: $fg_color; }
1698
}
1699
}
1700
.summary-source-counter {
1701
font-size: 1em;
1702
font-weight: bold;
1703
height: 1.6em; width: 1.6em;
1704
-shell-counter-overlap-x: 3px;
1705
-shell-counter-overlap-y: 3px;
1706
background-color: $primary_color;
1707
color: $inverse_fg_color;
1708
border: 2px solid $inverse_fg_color;
1709
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
1710
border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
1711
}
1712
1713
.secondary-icon { icon-size: em(16px); }
1714
1715
//chat bubbles
1716
.chat-body { spacing: 5px; }
1717
.chat-response { margin: 5px; }
1718
.chat-log-message { color: $fg_color; }
1719
.chat-new-group { padding-top: 1em; }
1720
.chat-received {
1721
padding-left: 4px;
1722
&:rtl { padding-left: 0px; padding-right: 4px; }
1723
}
1724
.chat-sent {
1725
padding-left: 18pt;
1726
color: $secondary_fg_color;
1727
&:rtl { padding-left: 0; padding-right: 18pt; }
1728
}
1729
.chat-meta-message {
1730
padding-left: 4px;
1731
@include font(caption);
1732
color: $tertiary_fg_color;
1733
&:rtl { padding-left: 0; padding-right: 4px; }
1734
}
1735
1736
//hotplug
1737
.hotplug-transient-box {
1738
spacing: 6px;
1739
padding: 2px 72px 2px 12px;
1740
}
1741
.hotplug-notification-item {
1742
padding: 2px 10px;
1743
&:focus { padding: 1px 71px 1px 11px; }
1744
}
1745
1746
.hotplug-notification-item-icon {
1747
icon-size: 24px;
1748
padding: 2px 5px;
1749
}
1750
1751
.hotplug-resident-box { spacing: 8px; }
1752
1753
.hotplug-resident-mount {
1754
spacing: 8px;
1755
border-radius: 2px;
1756
&:hover { background-color: $semi_fill_color; }
1757
&:active { background-color: $fill_color; }
1758
}
1759
1760
.hotplug-resident-mount-label {
1761
color: inherit;
1762
padding-left: 6px;
1763
}
1764
1765
.hotplug-resident-mount-icon {
1766
icon-size: 24px;
1767
padding-left: 6px;
1768
}
1769
1770
.hotplug-resident-eject-icon {
1771
icon-size: 16px;
1772
}
1773
1774
.hotplug-resident-eject-button {
1775
padding: 7px;
1776
border-radius: 2px;
1777
color: $fg_color;
1778
}
1779
1780
/* Eeeky things */
1781
1782
$legacy_icon_size: 24px;
1783
1784
.legacy-tray {
1785
background-color: $bg_color;
1786
color: $inverse_fg_color;
1787
border: none;
1788
border-bottom-width: 0;
1789
&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; }
1790
&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; }
1791
}
1792
1793
.legacy-tray-handle,
1794
.legacy-tray-icon {
1795
padding: 6px;
1796
& StIcon { icon-size: $legacy_icon_size; }
1797
&:hover,&:focus { background-color: $semi_inverse_fill_color; }
1798
&:active { background-color: $inverse_fill_color; }
1799
}
1800
1801
.legacy-tray-icon-box {
1802
spacing: 12px;
1803
&:ltr { padding-left: 12px; }
1804
&:rtl { padding-right: 12px; }
1805
& StButton { width: $legacy_icon_size; height: $legacy_icon_size }
1806
}
1807
1808
//magnifier
1809
1810
.magnifier-zoom-region {
1811
border: 2px solid $primary_color;
1812
&.full-screen { border-width: 0; }
1813
}
1814
1815
//Keyboard
1816
/* On-screen Keyboard */
1817
1818
#keyboard {
1819
background-color: $alt_bg_color;
1820
}
1821
1822
.keyboard-layout {
1823
spacing: 10px;
1824
padding: 10px;
1825
}
1826
1827
.keyboard-row { spacing: 15px; }
1828
1829
.keyboard-key {
1830
min-height: $medium_size * 2;
1831
min-width: $medium_size * 2;
1832
font-size: 2em;
1833
font-weight: 500;
1834
border-radius: 2px;
1835
border: none;
1836
color: inherit;
1837
@include button(normal);
1838
&:focus { @include button(focus); }
1839
&:hover,&:checked { @include button(hover); }
1840
&:active { @include button(active);}
1841
&:grayed { //FIXME
1842
background-color: $alt_bg_color;
1843
color: $inverse_fg_color;
1844
border-color: $alt_bg_color;
1845
}
1846
}
1847
1848
.keyboard-subkeys { //long press on a key popup
1849
color: inherit;
1850
padding: 5px;
1851
-arrow-border-radius: 0;
1852
-arrow-background-color: transparent;
1853
-arrow-border-width: 0;
1854
-arrow-border-color: transparent;
1855
-arrow-base: 0;
1856
-arrow-rise: 0;
1857
-boxpointer-gap: 5px;
1858
background-color: $base_color;
1859
border-radius: 2px;
1860
box-shadow: $shadow_2;
1861
}
1862
1863
// IBus Candidate Popup
1864
1865
.candidate-popup-content {
1866
padding: 8px;
1867
spacing: 0;
1868
}
1869
1870
.candidate-index {
1871
padding: 0 4px 0 0;
1872
color: $tertiary_fg_color;
1873
.candidate-box:selected & { color: $tertiary_inverse_fg_color; }
1874
}
1875
1876
.candidate-box {
1877
transition-duration: 0s;
1878
min-height: $menuitem_size;
1879
padding: 0 8px;
1880
border-radius: 2px;
1881
&:hover { background-color: $semi_fill_color; color: $fg_color; }
1882
&:active { background-color: $fill_color; color: $fg_color; }
1883
&:selected { background-color: $primary_color; color: $inverse_fg_color; }
1884
}
1885
1886
.candidate-page-button-box {
1887
height: $menuitem_size;
1888
.vertical & { padding-top: 0; }
1889
.horizontal & { padding-left: 0; }
1890
}
1891
1892
.candidate-page-button {
1893
min-width: $menuitem_size;
1894
min-height: $menuitem_size;
1895
padding: 0;
1896
}
1897
1898
.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; }
1899
.candidate-page-button-next { border-radius: 2px; }
1900
.candidate-page-button-icon { icon-size: em(16px); }
1901
1902
/* Auth Dialogs & Screen Shield */
1903
1904
.framed-user-icon {
1905
background-size: contain;
1906
border: none;
1907
color: $inverse_fg_color;
1908
border-radius: 2px;
1909
&:hover {
1910
border-color: $inverse_fg_color;
1911
color: $inverse_fg_color;
1912
}
1913
}
1914
1915
// LOGIN DIALOG
1916
1917
.login-dialog-banner-view {
1918
padding-top: 24px;
1919
max-width: 23em;
1920
}
1921
1922
.login-dialog {
1923
//reset
1924
border: none;
1925
background-color: transparent;
1926
1927
StEntry {
1928
color: $inverse_fg_color;
1929
selection-background-color: $inverse_fill_color;
1930
selected-color: $inverse_fg_color;
1931
@include entry(normal, $fc:$inverse_fill_color);
1932
&:focus { @include entry(focus, $fc:$inverse_fg_color); }
1933
&:insensitive {
1934
@include entry(insensitive, $fc:$disabled_inverse_fill_color);
1935
color: $disabled_inverse_fg_color;
1936
}
1937
}
1938
1939
.modal-dialog-button-box { spacing: 3px; }
1940
.modal-dialog-button {
1941
padding: 0 16px;
1942
@include button(flat-normal, $tc: $inverse_fg_color);
1943
&:hover,&:focus { @include button(flat-hover, $tc: $inverse_fg_color); }
1944
&:active { @include button(flat-active, $tc: $inverse_fg_color); }
1945
&:insensitive { @include button(flat-insensitive, $tc: $inverse_fg_color); }
1946
1947
&:default {
1948
@include button(normal, $c: $suggested_color, $tc: $inverse_fg_color);
1949
&:hover,&:focus { @include button(hover, $c: $suggested_color, $tc: $inverse_fg_color); }
1950
&:active { @include button(active, $c: $suggested_color, $tc: $inverse_fg_color); }
1951
&:insensitive { @include button(insensitive, $c: $disabled_inverse_fill_color, $tc: $disabled_inverse_fg_color); }
1952
}
1953
}
1954
}
1955
1956
.login-dialog-logo-bin { padding: 24px 0px; }
1957
.login-dialog-banner { color: $secondary_inverse_fg_color; }
1958
.login-dialog-button-box { spacing: 5px; }
1959
.login-dialog-message-warning { color: $warning_color; }
1960
.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
1961
.login-dialog-user-selection-box {
1962
padding: 100px 0px;
1963
.login-dialog-not-listed-label {
1964
padding-left: 2px;
1965
.login-dialog-not-listed-button:focus &,
1966
.login-dialog-not-listed-button:hover & {
1967
color: $inverse_fg_color;
1968
}
1969
}
1970
}
1971
.login-dialog-not-listed-label {
1972
font-size: 1em;
1973
font-weight: bold;
1974
color: $secondary_inverse_fg_color;
1975
padding-top: 1em;
1976
&:hover { color: $inverse_fg_color; }
1977
&:focus { background-color: $semi_inverse_fill_color; }
1978
}
1979
1980
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
1981
.login-dialog-user-list {
1982
spacing: 12px;
1983
padding: .2em;
1984
width: 23em;
1985
&:expanded .login-dialog-user-list-item:focus { background-color: $semi_inverse_fill_color; color: $inverse_fg_color; }
1986
&:expanded .login-dialog-user-list-item:hover { background-color: $semi_inverse_fill_color; color: $inverse_fg_color; }
1987
&:expanded .login-dialog-user-list-item:active { background-color: $inverse_fill_color; color: $inverse_fg_color; }
1988
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $inverse_fg_color; }
1989
}
1990
.login-dialog-user-list-item {
1991
border-radius: 2px;
1992
padding: 4px 4px 0;
1993
color: $secondary_inverse_fg_color;
1994
&:ltr { padding-right: 1em; }
1995
&:rtl { padding-left: 1em; }
1996
&:hover { background-color: $semi_inverse_fill_color; color: $inverse_fg_color; }
1997
&:active { background-color: $inverse_fill_color; color: $inverse_fg_color; }
1998
.login-dialog-timed-login-indicator {
1999
height: 2px;
2000
margin: 2px 0 0 0;
2001
background-color: $inverse_fg_color;
2002
}
2003
&:focus .login-dialog-timed-login-indicator { background-color: $inverse_fg_color; }
2004
}
2005
2006
.login-dialog-username,
2007
.user-widget-label {
2008
color: $inverse_fg_color;
2009
@include font(title);
2010
text-align: left;
2011
padding-left: 15px;
2012
}
2013
.user-widget-label {
2014
&:ltr { padding-left: 18px; }
2015
&:rtl { padding-right: 18px; }
2016
}
2017
2018
.login-dialog-prompt-layout {
2019
padding-top: 24px;
2020
padding-bottom: 12px;
2021
spacing: 8px;
2022
width: 23em;
2023
}
2024
2025
.login-dialog-prompt-label {
2026
color: $tertiary_inverse_fg_color;
2027
font-size: 1em;
2028
padding-top: 1em;
2029
}
2030
2031
.login-dialog-session-list-button StIcon {
2032
icon-size: 1.25em;
2033
}
2034
2035
.login-dialog-session-list-button {
2036
color: $secondary_inverse_fg_color;
2037
&:hover,&:focus { color: $inverse_fg_color; }
2038
&:active { color: $inverse_fg_color; }
2039
}
2040
2041
//SCREEN SHIELD
2042
2043
.screen-shield-arrows {
2044
padding-bottom: 3em;
2045
}
2046
2047
.screen-shield-arrows Gjs_Arrow {
2048
color: white;
2049
width: 80px;
2050
height: 48px;
2051
-arrow-thickness: 12px;
2052
-arrow-shadow: $shadow_1;
2053
}
2054
2055
.screen-shield-clock {
2056
color: white;
2057
text-shadow: $shadow_1;
2058
font-weight: normal;
2059
text-align: center;
2060
padding-bottom: 1.5em;
2061
}
2062
2063
.screen-shield-clock-time {
2064
@include font(display-4);
2065
text-shadow: $shadow_1;
2066
}
2067
2068
.screen-shield-clock-date { @include font(display-2); }
2069
2070
.screen-shield-notifications-container {
2071
spacing: 6px;
2072
width: 30em;
2073
background-color: transparent;
2074
max-height: 500px;
2075
.summary-notification-stack-scrollview {
2076
padding-top: 0;
2077
padding-bottom: 0;
2078
}
2079
2080
.notification,
2081
.screen-shield-notification-source {
2082
padding: 8px;
2083
border: none;
2084
background-color: $alt_bg_color;
2085
color: $inverse_fg_color;
2086
border-radius: 2px;
2087
}
2088
.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar
2089
}
2090
2091
2092
.screen-shield-notification-label {
2093
min-height: $small_size - 2px;
2094
padding: 2px 0px 0px 16px;
2095
font-weight: bold;
2096
}
2097
2098
.screen-shield-notification-count-text {
2099
min-height: $small_size - 2px;
2100
padding: 2px 0px 0px 16px;
2101
color: $secondary_inverse_fg_color;
2102
}
2103
2104
#panel.lock-screen { background-color: $alt_bg_color; }
2105
2106
.screen-shield-background { //just the shadow, really
2107
background: black;
2108
box-shadow: $shadow_5;
2109
}
2110
2111
#lockDialogGroup {
2112
background: #607D8B url("assets/noise-texture.svg");
2113
background-size: cover;
2114
}
2115
2116
#screenShieldNotifications {
2117
StScrollBar { @extend %overview_scrollbar; }
2118
}
2119
2120
2121
// Looking Glass
2122
#LookingGlassDialog {
2123
background-color: $base_color;
2124
spacing: 4px;
2125
padding: 0;
2126
border: none;
2127
border-radius: 2px;
2128
box-shadow: $shadow_4;
2129
& > #Toolbar {
2130
padding: 0 8px;
2131
border: none;
2132
border-radius: 0;
2133
background-color: rgba($base_color, 0.01);
2134
box-shadow: inset 0 -1px 0 $border_color;
2135
}
2136
.labels { spacing: 0; }
2137
.notebook-tab {
2138
-natural-hpadding: 12px;
2139
-minimum-hpadding: 6px;
2140
font-weight: bold;
2141
color: $tertiary_fg_color;
2142
transition-duration: 0.2s;
2143
padding-left: 16px;
2144
padding-right: 16px;
2145
min-height: $medium_size;
2146
padding: 0 16px * 2;
2147
&:hover {
2148
box-shadow: inset 0 -2px 0px $fill_color;
2149
color: $fg_color;
2150
text-shadow: none;
2151
}
2152
&:selected {
2153
border-bottom-width: 0;
2154
border-color: transparent;
2155
background-color: rgba($base_color, 0.01);
2156
box-shadow: inset 0 -2px 0px $primary_color;
2157
color: $fg_color;
2158
text-shadow: none;
2159
}
2160
}
2161
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
2162
StBoxLayout#ResultsArea { spacing: 4px; }
2163
}
2164
2165
.lg-dialog {
2166
StEntry {
2167
selection-background-color: $primary_color;
2168
selected-color: $inverse_fg_color;
2169
}
2170
.shell-link {
2171
color: $link_color;
2172
&:hover { color: $link_color; }
2173
}
2174
}
2175
2176
.lg-completions-text {
2177
font-size: 1em;
2178
font-style: italic;
2179
}
2180
2181
.lg-obj-inspector-title {
2182
spacing: 4px;
2183
}
2184
2185
.lg-obj-inspector-button {
2186
min-height: $medium_size;
2187
padding: 0 16px;
2188
border: none;
2189
border-radius: 2px;
2190
@include font(button);
2191
@include button(flat-normal);
2192
&:hover { @include button(flat-hover); }
2193
&:active { @include button(flat-active); }
2194
&:insensitive { @include button(flat-insensitive); }
2195
&:focus { @include button(flat-focus); }
2196
&:hover { border: none; }
2197
}
2198
2199
#lookingGlassExtensions { padding: 4px; }
2200
2201
.lg-extensions-list {
2202
padding: 4px;
2203
spacing: 6px;
2204
}
2205
2206
.lg-extension {
2207
border: none;
2208
border-radius: 2px;
2209
padding: 4px;
2210
}
2211
2212
.lg-extension-name {
2213
@include font(headline);
2214
}
2215
2216
.lg-extension-meta {
2217
spacing: 6px;
2218
}
2219
2220
#LookingGlassPropertyInspector {
2221
background: $base_color;
2222
border: none;
2223
border-radius: 2px;
2224
padding: 6px;
2225
box-shadow: $shadow_4;
2226
}
2227