A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _common.scss

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