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