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