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