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