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