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