A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _common.scss

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