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