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

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