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