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

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