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-3.24.scss

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