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