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

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