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