A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _common.scss

View raw Download
text/plain • 51.95 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
/* Network Agent Dialog */
491
492
.network-dialog-secret-table {
493
spacing-rows: 15px;
494
spacing-columns: 1em;
495
}
496
497
.keyring-dialog-control-table {
498
spacing-rows: 15px;
499
spacing-columns: 1em;
500
}
501
502
/* Popvers/Menus */
503
504
.popup-menu {
505
min-width: 200px;
506
507
.popup-menu-arrow { } //defined globally in the TOP BAR
508
.popup-sub-menu {
509
background-color: $secondary_base_color;
510
box-shadow: $z-depth-0;
511
}
512
513
.popup-menu-content { padding: 8px 0; }
514
.popup-menu-item {
515
// min-height: $menuitem_size - 4px * 2;
516
spacing: 8px;
517
transition-duration: 0s;
518
519
&:ltr { padding: 0.4em 24px 0.4em 0; }
520
&:rtl { padding: 0.4em 0 0.4em 24px; }
521
&:checked {
522
background-color: $selected_bg_color;
523
color: $selected_fg_color;
524
box-shadow: $z-depth-0;
525
font-weight: normal;
526
&.selected {
527
background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity / 2));
528
color: $selected_fg_color;
529
}
530
&:active {
531
background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity));
532
color: $selected_fg_color !important;
533
}
534
&:insensitive { color: $insensitive_selected_fg_color; }
535
}
536
&.selected {
537
background-color: $semi_track_color;
538
color: $fg_color;
539
}
540
&:active {
541
background-color: $track_color;
542
color: $fg_color;
543
transition-duration: 0.2s;
544
}
545
&.selected:active { color: $fg_color; }
546
&:insensitive { color: $insensitive_fg_color; }
547
}
548
549
.popup-inactive-menu-item { //all icons and other graphical elements
550
color: $fg_color;
551
552
&:insensitive { color: $tertiary_fg_color; }
553
}
554
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
555
&.panel-menu {
556
-boxpointer-gap: 4px;
557
margin-bottom: 1.75em;
558
}
559
}
560
561
562
563
.popup-menu-ornament {
564
text-align: right;
565
width: 16px;
566
height: 16px;
567
}
568
.popup-menu-boxpointer,
569
.candidate-popup-boxpointer {
570
-arrow-border-radius: 0;
571
-arrow-background-color: transparent;
572
-arrow-border-width: 0;
573
-arrow-border-color: transparent;
574
-arrow-base: 0;
575
-arrow-rise: 0;
576
-arrow-box-shadow: none; //dreaming. bug #689995
577
margin: 5px 8px 8px;
578
background-color: $base_color;
579
border-radius: 2px;
580
box-shadow: $z-depth-2;
581
}
582
583
.popup-separator-menu-item {
584
//-margin-horizontal: 24px;
585
height: 1px; //not really the whole box
586
margin: 8px 64px - 24px;
587
background-color: transparent;
588
border-color: $borders_color;
589
border-bottom-width: 1px;
590
border-bottom-style: solid;
591
}
592
593
594
// Background menu
595
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0; }
596
597
/* fallback menu
598
- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
599
app menu inside the main app window itself rather than the top bar
600
*/
601
602
603
/* OSD */
604
.osd-window {
605
text-align: center;
606
font-weight: bold;
607
spacing: 1em;
608
margin: 32px;
609
min-width: 64px;
610
min-height: 64px;
611
612
.osd-monitor-label { @include font(display-2); }
613
.level {
614
height: 0.6em;
615
border-radius: 4px;
616
background-color: $track_color;
617
color: $fg_color;
618
}
619
}
620
621
/* App Switcher */
622
.switcher-popup {
623
padding: 8px;
624
spacing: 16px;
625
}
626
627
.osd-window,
628
.resize-popup,
629
.switcher-list {
630
@extend %osd-panel;
631
}
632
633
.switcher-list-item-container { spacing: 8px; }
634
635
.switcher-list .item-box {
636
padding: 8px;
637
border-radius: 2px;
638
}
639
640
.switcher-list .item-box:outlined {
641
padding: 8px;
642
border: none;
643
background-color: $insensitive_track_color;
644
}
645
646
.switcher-list .item-box:selected {
647
background-color: $selected_bg_color;
648
color: $selected_fg_color;
649
}
650
651
.switcher-list .thumbnail-box {
652
padding: 2px;
653
spacing: 4px;
654
}
655
656
.switcher-list .thumbnail {
657
width: 256px;
658
}
659
660
.switcher-list .separator {
661
width: 1px;
662
background: $borders_color;
663
}
664
665
.switcher-arrow {
666
border-color: rgba(0,0,0,0);
667
color: $tertiary_fg_color;
668
&:highlighted {
669
color: $fg_color;
670
}
671
}
672
673
.input-source-switcher-symbol {
674
@include font(display-2);
675
width: 96px;
676
height: 96px;
677
}
678
679
/* Workspace Switcher */
680
.workspace-switcher-group { padding: 8px; }
681
682
.workspace-switcher-container {
683
@extend %osd-panel;
684
}
685
686
.workspace-switcher {
687
background: transparent;
688
border: 0px;
689
border-radius: 0px;
690
padding: 0px;
691
spacing: 8px;
692
}
693
694
.ws-switcher-active-up, .ws-switcher-active-down {
695
height: $large_size;
696
background-color: $selected_bg_color;
697
color: $selected_fg_color;
698
background-size: 32px;
699
border-radius: 2px;
700
}
701
702
.ws-switcher-box {
703
height: $large_size;
704
border: none;
705
background: $insensitive_track_color;
706
border-radius: 2px;
707
}
708
709
%osd-panel {
710
color: $fg_color;
711
background-color: $base_color;
712
border: none;
713
box-shadow: $z-depth-4;
714
border-radius: 2px;
715
padding: 12px;
716
}
717
718
/* Tiled window previews */
719
.tile-preview {
720
background-color: scale-alpha($secondary_selected_bg_color, $lower_opacity);
721
border: 1px solid $secondary_selected_bg_color;
722
}
723
724
.tile-preview-left.on-primary {
725
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
726
}
727
728
.tile-preview-right.on-primary {
729
border-radius: 0 $panel-corner-radius 0 0;
730
}
731
732
.tile-preview-left.tile-preview-right.on-primary {
733
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
734
}
735
736
/* TOP BAR */
737
738
#panel {
739
background-color: $bg_color;
740
font-weight: bold;
741
height: $menuitem_size;
742
743
&:overview,
744
&.unlock-screen,
745
&.login-screen,
746
&.lock-screen {
747
background-color: transparent;
748
}
749
750
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
751
spacing: 0;
752
}
753
754
.panel-corner {
755
-panel-corner-radius: $panel-corner-radius;
756
-panel-corner-background-color: $bg_color;
757
-panel-corner-border-width: 2px;
758
-panel-corner-border-color: transparent;
759
760
&:active, &:overview, &:focus {
761
-panel-corner-border-color: $selected_fg_color;
762
}
763
764
&.lock-screen, &.login-screen, &.unlock-screen {
765
-panel-corner-radius: 0;
766
-panel-corner-background-color: transparent;
767
-panel-corner-border-color: transparent;
768
}
769
}
770
771
.panel-button {
772
-natural-hpadding: 12px;
773
-minimum-hpadding: 6px;
774
font-weight: bold;
775
color: $secondary_selected_fg_color;
776
transition-duration: 0.2s;
777
778
.app-menu-icon {
779
-st-icon-style: symbolic;
780
margin-left: 4px;
781
margin-right: 4px;
782
//dimensions of the icon are hardcoded
783
}
784
785
&:hover {
786
color: $selected_fg_color;
787
}
788
789
&:active, &:overview, &:focus, &:checked {
790
// Trick due to St limitations. It needs a background to draw
791
// a box-shadow
792
background-color: rgba($bg_color, 0.01);
793
box-shadow: inset 0 -2px 0px $selected_fg_color;
794
color: $selected_fg_color;
795
796
& > .system-status-icon { icon-shadow: none; }
797
}
798
799
.system-status-icon { @include px-to-em(16px); padding: 0 4px; }
800
.unlock-screen &,
801
.login-screen &,
802
.lock-screen & {
803
color: $secondary_selected_fg_color;
804
&:focus, &:hover, &:active { color: $selected_fg_color; }
805
}
806
}
807
808
.panel-status-indicators-box,
809
.panel-status-menu-box {
810
spacing: 2px;
811
}
812
813
.screencast-indicator { color: $warning_color; }
814
}
815
816
// calendar popover
817
#calendarArea {
818
padding: 8px 16px;
819
}
820
821
.calendar {
822
margin-bottom: 0;
823
}
824
825
.calendar,
826
.datemenu-today-button,
827
.datemenu-displays-box,
828
.message-list-sections {
829
margin: 0 8px;
830
}
831
832
.datemenu-calendar-column { spacing: 8px; }
833
.datemenu-displays-section { padding-bottom: 0; }
834
835
.datemenu-today-button,
836
.world-clocks-button,
837
.message-list-section-title {
838
min-height: $menuitem_size - 4px * 2;
839
padding: 4px 8px;
840
border-radius: 2px;
841
}
842
843
.datemenu-today-button {
844
min-height: $menuitem_size * 2 - 4px * 2;
845
}
846
847
.message-list-section-list:ltr {
848
padding-left: 0;
849
}
850
851
.message-list-section-list:rtl {
852
padding-right: 0;
853
}
854
855
.datemenu-today-button,
856
.world-clocks-button,
857
.message-list-section-title {
858
&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; }
859
&:active {
860
color: $fg_color;
861
background-color: $track_color;
862
}
863
}
864
865
.datemenu-today-button .day-label {
866
}
867
868
.datemenu-today-button .date-label {
869
@include font(headline);
870
}
871
872
.world-clocks-header,
873
.message-list-section-title {
874
color: $secondary_fg_color;
875
font-weight: bold;
876
}
877
878
.world-clocks-grid {
879
spacing-rows: 0.4em;
880
}
881
882
.calendar-month-label {
883
height: $menuitem_size - 6px * 2;
884
margin: 2px;
885
padding: 6px 16px;
886
border-radius: 2px;
887
color: $fg_color;
888
font-weight: bold;
889
text-align: center;
890
&:focus { background-color: $semi_track_color; }
891
}
892
893
.pager-button {
894
width: $menuitem_size;
895
height: $menuitem_size;
896
margin: 2px;
897
border-radius: 100px;
898
background-color: transparent;
899
color: $fg_color;
900
&:hover, &:focus { background-color: $semi_track_color; }
901
&:active { background-color: $track_color; }
902
}
903
904
.calendar-change-month-back { //arrow back
905
background-image: url("assets/calendar-arrow-left.svg");
906
&:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
907
}
908
.calendar-change-month-forward { //arrow foreward
909
background-image: url("assets/calendar-arrow-right.svg");
910
&:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
911
}
912
913
.calendar-day-base {
914
@include font(caption);
915
text-align: center;
916
width: $menuitem_size; height: $menuitem_size;
917
padding: 0;
918
margin: 2px;
919
border-radius: 100px;
920
&:hover,&:focus { background-color: $semi_track_color; }
921
// &:active { background-color: $track_color; }
922
&:active {
923
color: $selected_fg_color;
924
background-color: $selected_bg_color !important;
925
border-color: transparent; //avoid jumparound due to today
926
}
927
&.calendar-day-heading { //day of week heading
928
width: $menuitem_size; height: $menuitem_size - 7px;
929
margin-top: 2px;
930
padding: 7px 0 0;
931
border-radius: 100px;
932
background-color: transparent;
933
color: $tertiary_fg_color;
934
@include font(caption);
935
font-weight: bold;
936
text-align: center;
937
}
938
&.calendar-week-number { //day of week heading
939
width: $menuitem_size; height: $menuitem_size - 7px;
940
margin: 2px;
941
padding: 7px 0 0;
942
border-radius: 100px;
943
background-color: transparent;
944
color: $tertiary_fg_color;
945
font-weight: bold;
946
text-align: center;
947
}
948
}
949
.calendar-day { //border collapse hack - see calendar.js
950
border-width: 0;
951
}
952
.calendar-day-top { border-top-width: 0; }
953
.calendar-day-left { border-left-width: 0; }
954
.calendar-work-day {
955
956
}
957
.calendar-nonwork-day {
958
color: $fg_color;
959
}
960
.calendar-today {
961
font-weight: bold !important;
962
//color: $fg_color;
963
//background-color: transparent;
964
border: none;
965
}
966
.calendar-day-with-events {
967
color: $link_color;
968
font-weight: normal;
969
text-decoration: underline;
970
background-image: none;
971
}
972
.calendar-other-month-day {
973
color: $insensitive_fg_color;
974
}
975
976
/* Message list */
977
.message-list {
978
width: 420px;
979
}
980
981
.message-list-sections {
982
spacing: 8px;
983
}
984
985
.message-list-section,
986
.message-list-section-list {
987
spacing: 8px;
988
}
989
990
.message-list-section-title-box {
991
spacing: 8px;
992
}
993
994
.message-list-section-close > StIcon {
995
icon-size: 16px;
996
border-radius: 16px;
997
padding: 8px;
998
color: $secondary_fg_color;
999
background-color: transparent;
1000
}
1001
1002
/* FIXME: how do you do this in sass? */
1003
.message-list-section-close:hover > StIcon,
1004
.message-list-section-close:focus > StIcon {
1005
color: $fg_color;
1006
background-color: $semi_track_color;
1007
}
1008
1009
.message-list-section-close:active > StIcon {
1010
color: $fg_color;
1011
background-color: $track_color;
1012
}
1013
1014
.message {
1015
// min-height: $menuitem_size * 2;
1016
background-color: transparent;
1017
&:hover,&:focus { background-color: $semi_track_color; }
1018
&:active { background-color: $track_color; }
1019
border-radius: 2px;
1020
}
1021
1022
.message-icon-bin {
1023
padding: 8px 0px 8px 8px;
1024
&:rtl { padding: 8px 8px 8px 0px; }
1025
}
1026
1027
.message-icon-bin > StIcon {
1028
icon-size: 32px;
1029
}
1030
1031
.message-secondary-bin {
1032
&:ltr { padding-left: 8px; }
1033
&:rtl { padding-right: 8px; }
1034
}
1035
1036
.message-secondary-bin {
1037
color: $tertiary_fg_color;
1038
}
1039
1040
.message-secondary-bin > StIcon {
1041
icon-size: 16px;
1042
}
1043
1044
.message-title {
1045
min-height: $small_size - 2px;
1046
padding-top: 2px;
1047
color: $fg_color;
1048
font-weight: bold;
1049
font-size: 1em;
1050
}
1051
1052
.message-content {
1053
padding: 8px;
1054
color: $secondary_fg_color;
1055
font-size: 1em;
1056
}
1057
1058
.message-content * > StIcon {
1059
icon-size: 16px;
1060
border-radius: 16px;
1061
padding: 4px;
1062
color: $secondary_fg_color;
1063
}
1064
1065
/* FIXME: how do you do this in sass? */
1066
.message-content *:hover > StIcon,
1067
.message-content *:focus > StIcon {
1068
color: $fg_color;
1069
background-color: $semi_track_color;
1070
}
1071
1072
.message-content *:active > StIcon {
1073
color: $fg_color;
1074
background-color: $track_color;
1075
}
1076
1077
1078
// a little unstructured mess:
1079
1080
.system-switch-user-submenu-icon.user-icon {
1081
icon-size: 24px;
1082
padding: 0 0;
1083
}
1084
.system-switch-user-submenu-icon.default-icon {
1085
icon-size: 16px;
1086
padding: 0 4px;
1087
}
1088
1089
#appMenu {
1090
spinner-image: url("assets/process-working.svg");
1091
spacing: 4px;
1092
1093
.label-shadow { color: transparent; }
1094
}
1095
1096
.aggregate-menu {
1097
min-width: 280px;
1098
.popup-menu-icon { padding: 0 4px; }
1099
}
1100
1101
.system-menu-action {
1102
color: $secondary_fg_color;
1103
border-radius: 100px; /* wish we could do 50% */
1104
padding: ($large_size - 16px) / 2;
1105
border: none;
1106
1107
&:hover, &:focus {
1108
background-color: $semi_track_color;
1109
color: $fg_color;
1110
border: none;
1111
padding: 16px;
1112
}
1113
&:active { background-color: $track_color; color: $fg_color; }
1114
1115
& > StIcon { icon-size: 16px; }
1116
}
1117
1118
//Activities Ripples
1119
.ripple-box {
1120
width: 48px;
1121
height: 48px;
1122
background-image: url("assets/corner-ripple-ltr.svg");
1123
background-size: contain;
1124
}
1125
1126
.ripple-box:rtl {
1127
background-image: url("assets/corner-ripple-rtl.svg");
1128
}
1129
1130
// not really top bar only
1131
.popup-menu-arrow { width: 16px; height: 16px; }
1132
.popup-menu-icon { @include px-to-em(16px); }
1133
1134
//close buttons
1135
1136
.window-close {
1137
height: $medium_size;
1138
width: $medium_size;
1139
-st-background-image-shadow: $z-depth-1;
1140
background-image: url("assets/window-close.svg");
1141
background-size: $medium_size;
1142
&:hover { -st-background-image-shadow: $z-depth-2; }
1143
&:active { background-image: url("assets/window-close-active.svg"); }
1144
}
1145
.window-close {
1146
-shell-close-overlap: $medium_size / 2;
1147
&:rtl { -st-background-image-shadow: $z-depth-1; }
1148
&:rtl:hover { -st-background-image-shadow: $z-depth-2; }
1149
}
1150
1151
/* NETWORK DIALOGS */
1152
1153
.nm-dialog {
1154
max-height: 500px;
1155
min-height: 450px;
1156
min-width: 470px;
1157
}
1158
1159
.nm-dialog-content {
1160
spacing: 20px;
1161
padding: 24px;
1162
}
1163
.nm-dialog-header-hbox { spacing: 10px; }
1164
.nm-dialog-airplane-box { spacing: 12px; }
1165
1166
.nm-dialog-airplane-headline {
1167
font-weight: bold;
1168
text-align: center;
1169
}
1170
1171
.nm-dialog-airplane-text { color: $fg_color; }
1172
.nm-dialog-header-icon { icon-size: 32px; }
1173
.nm-dialog-scroll-view { border: 2px solid $borders_color; }
1174
.nm-dialog-header { font-weight: bold; }
1175
1176
.nm-dialog-item {
1177
@include font(subheading);
1178
border-bottom: 1px solid $borders_color;
1179
padding: 12px;
1180
spacing: 20px;
1181
}
1182
1183
.nm-dialog-item:selected {
1184
background-color: $selected_bg_color;
1185
color: $selected_fg_color;
1186
}
1187
1188
.nm-dialog-icons { spacing: .5em; }
1189
.nm-dialog-icon { icon-size: 16px; }
1190
.no-networks-label { color: $tertiary_fg_color; }
1191
.no-networks-box { spacing: 12px; }
1192
1193
/* OVERVIEW */
1194
1195
#overview {
1196
spacing: 24px; //
1197
StScrollBar { @extend %overview_scrollbar; }
1198
}
1199
1200
.overview-controls {
1201
padding-bottom: 32px;
1202
}
1203
1204
.window-picker { //container around window thumbnails
1205
-horizontal-spacing: 32px;
1206
-vertical-spacing: 32px;
1207
padding-left: 32px;
1208
padding-right: 32px;
1209
padding-bottom: 48px;
1210
1211
&.external-monitor { padding: 32px; }
1212
}
1213
1214
.window-clone-border {
1215
border: 4px solid $selected_track_color;
1216
border-radius: 2px;
1217
// For window decorations with round corners we can't match
1218
// the exact shape when the window is scaled. So apply a shadow
1219
// to fix that case
1220
box-shadow: inset 0 0 0 1px $selected_track_color;
1221
}
1222
.window-caption {
1223
spacing: 25px;
1224
color: $selected_fg_color;
1225
background-color: transparent;
1226
border-radius: 2px;
1227
padding: 4px 8px;
1228
-shell-caption-spacing: 12px;
1229
&:hover { background-color: $selected_track_color; color: $selected_fg_color; }
1230
}
1231
1232
//search entry
1233
.search-entry {
1234
width: 320px - 8px * 2;
1235
padding: 0 8px;
1236
border-radius: 0;
1237
color: $tertiary_selected_fg_color;
1238
selection-background-color: $selected_track_color;
1239
selected-color: $selected_fg_color;
1240
@include entry(normal,$fc:$selected_track_color);
1241
&:focus {
1242
@include entry(focus,$fc:$selected_fg_color);
1243
padding: 0 8px;
1244
border-width: 0;
1245
color: $selected_fg_color;
1246
}
1247
1248
.search-entry-icon { icon-size: 16px; padding: 0 0; color: $tertiary_selected_fg_color; }
1249
1250
&:hover, &:focus {
1251
.search-entry-icon { color: $selected_fg_color; }
1252
}
1253
}
1254
1255
//search results
1256
1257
#searchResultsBin {
1258
max-width: 1000px;
1259
}
1260
1261
#searchResultsContent {
1262
padding-left: 20px;
1263
padding-right: 20px;
1264
spacing: 16px;
1265
}
1266
1267
.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
1268
.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container
1269
.search-statustext { // "no results"
1270
@extend %status_text;
1271
}
1272
.list-search-results { spacing: 3px; }
1273
1274
.search-section-separator {
1275
-gradient-height: 1px;
1276
-gradient-start: rgba(255,255,255,0);
1277
-gradient-end: rgba(255,255,255,0.4);
1278
-margin-horizontal: 1.5em;
1279
height: 1px;
1280
}
1281
1282
.list-search-result-content { spacing: 12px; padding: 12px; }
1283
.list-search-result-title { @include font(headline); color: $selected_fg_color; }
1284
.list-search-result-description { color: $secondary_selected_fg_color; }
1285
.search-provider-icon { padding: 15px; }
1286
.search-provider-icon-more {
1287
width: 16px;
1288
height: 16px;
1289
background-image: url("assets/more-results.svg");
1290
}
1291
1292
1293
/* DASHBOARD */
1294
1295
#dash {
1296
font-size: 1em;
1297
color: $selected_fg_color;
1298
background-color: $overview_bg_color;
1299
padding: 3px 0;
1300
border: none;
1301
border-left: 0px;
1302
border-radius: 0px 2px 2px 0px;
1303
1304
&:rtl {
1305
border-radius: 2px 0 0 2px;
1306
}
1307
1308
.placeholder {
1309
background-image: url("assets/dash-placeholder.svg");
1310
background-size: contain;
1311
height: 24px;
1312
}
1313
1314
.empty-dash-drop-target {
1315
width: 24px;
1316
height: 24px;
1317
}
1318
1319
}
1320
1321
.dash-item-container > StWidget {
1322
padding: 3px 6px;
1323
}
1324
1325
.dash-label { //osd tooltip
1326
min-height: 28px - 4px * 2;
1327
border-radius: 2px;
1328
padding: 4px 12px;
1329
color: $fg_color;
1330
background-color: $base_color;
1331
box-shadow: $z-depth-2;
1332
text-align: center;
1333
-x-offset: 8px;
1334
}
1335
1336
/* Add Dash to Dock Support */
1337
1338
#dashtodockContainer #dash {
1339
background-color: $bg_color;
1340
}
1341
1342
#dashtodockContainer:overview #dash {
1343
background-color: $overview_bg_color;
1344
}
1345
1346
#dashtodockContainer.extended:overview #dash {
1347
background-color: transparent;
1348
}
1349
1350
#dashtodockContainer.left #dash,
1351
#dashtodockContainer.right #dash {
1352
padding: 3px 0;
1353
}
1354
1355
#dashtodockContainer.top #dash,
1356
#dashtodockContainer.bottom #dash {
1357
padding: 0 3px;
1358
}
1359
1360
#dashtodockContainer.extended #dash {
1361
padding: 0;
1362
border-radius: 0;
1363
}
1364
1365
#dashtodockContainer.left .dash-item-container > StWidget,
1366
#dashtodockContainer.right .dash-item-container > StWidget,
1367
#dashtodockContainer.extended.left .dash-item-container > StWidget,
1368
#dashtodockContainer.extended.right .dash-item-container > StWidget {
1369
padding: 3px 6px;
1370
}
1371
1372
#dashtodockContainer.extended.left .dash-item-container:first-child > StWidget,
1373
#dashtodockContainer.extended.right .dash-item-container:first-child > StWidget {
1374
padding: 6px 6px 3px 6px;
1375
}
1376
1377
#dashtodockContainer.extended.left .dash-item-container:last-child > StWidget,
1378
#dashtodockContainer.extended.right .dash-item-container:last-child > StWidget {
1379
padding: 3px 6px 6px 6px;
1380
}
1381
1382
#dashtodockContainer.top .dash-item-container > StWidget,
1383
#dashtodockContainer.bottom .dash-item-container > StWidget,
1384
#dashtodockContainer.extended.top .dash-item-container > StWidget,
1385
#dashtodockContainer.extended.bottom .dash-item-container > StWidget {
1386
padding: 6px 3px;
1387
}
1388
1389
#dashtodockContainer.extended.top .dash-item-container:first-child > StWidget,
1390
#dashtodockContainer.extended.bottom .dash-item-container:first-child > StWidget {
1391
padding: 6px 3px 6px 6px;
1392
}
1393
1394
#dashtodockContainer.extended.top .dash-item-container:last-child > StWidget,
1395
#dashtodockContainer.extended.bottom .dash-item-container:last-child > StWidget {
1396
padding: 6px 6px 6px 3px;
1397
}
1398
1399
#dashtodockContainer .app-well-app-running-dot {
1400
background-color: transparent;
1401
}
1402
1403
#dashtodockContainer .dash-item-container > StWidget {
1404
background-size: cover;
1405
}
1406
1407
@each $p,$pt in ('.left', 'left'),
1408
('.right', 'right'),
1409
('.top', 'top'),
1410
('.bottom', 'bottom') {
1411
@each $n,$nb in ('.running1','running1'),
1412
('.running2','running2'),
1413
('.running3','running3'),
1414
('.running4','running4') {
1415
@each $f,$fc in ('',''),
1416
('.focused','-focused') {
1417
#dashtodockContainer#{$p} .dash-item-container > StWidget#{$n}#{$f} {
1418
background-image: url("assets/#{$pt}-#{$nb}#{$fc}.svg");
1419
}
1420
}
1421
}
1422
}
1423
1424
/* Add Simple Dock Support */
1425
1426
#dash:desktop {
1427
background-color: $bg_color;
1428
}
1429
1430
/* App Vault/Grid */
1431
.icon-grid {
1432
spacing: 30px;
1433
-shell-grid-horizontal-item-size: 136px;
1434
-shell-grid-vertical-item-size: 136px;
1435
1436
.overview-icon { icon-size: 96px; }
1437
}
1438
//.app-display { spacing: 20px; }
1439
1440
.app-view-controls { //favorties | all toggle container
1441
width: 320px;
1442
padding-bottom: 32px;
1443
}
1444
.app-view-control { //favorties | all toggle button
1445
padding: 0 16px;
1446
font-weight: bold;
1447
color: $secondary_selected_fg_color;
1448
&:hover {
1449
color: $selected_fg_color;
1450
background-color: $selected_semi_track_color !important;
1451
}
1452
&:active {
1453
color: $selected_fg_color;
1454
background-color: $selected_track_color !important;
1455
}
1456
&:checked {
1457
color: $selected_fg_color;
1458
background-color: rgba($bg_color, 0.01) !important;
1459
box-shadow: inset 0 2px 0 $selected_fg_color;
1460
}
1461
&:first-child {
1462
border-right-width: 0;
1463
border-radius: 2px;
1464
&:checked { border-radius: 0; }
1465
}
1466
&:last-child {
1467
border-radius: 2px;
1468
&:checked { border-radius: 0; }
1469
}
1470
}
1471
1472
//Icon tile
1473
.search-provider-icon,
1474
.list-search-result {
1475
@extend %icon_tile;
1476
&:focus, &:selected, &:hover {
1477
background-color: $selected_semi_track_color;
1478
transition-duration: 0s;
1479
}
1480
&:active, &:checked {
1481
background-color: $selected_track_color;
1482
transition-duration: 0.2s;
1483
}
1484
}
1485
.app-well-app,
1486
.app-well-app.app-folder,
1487
.show-apps,
1488
.grid-search-result {
1489
& .overview-icon {
1490
@extend %icon_tile;
1491
}
1492
&:hover .overview-icon,
1493
&:focus .overview-icon,
1494
&:selected .overview-icon {
1495
background-color: $selected_semi_track_color;
1496
transition-duration: 0s;
1497
border-image: none;
1498
background-image: none;
1499
}
1500
&:active .overview-icon,
1501
&:checked .overview-icon {
1502
background-color: $selected_track_color;
1503
box-shadow: $z-depth-0;
1504
transition-duration: 0.2s;
1505
}
1506
1507
}
1508
1509
.app-well-app-running-dot { //running apps indicator
1510
width: 32px; height: 2px;
1511
background-color: $selected_fg_color;
1512
margin-bottom: 0;
1513
}
1514
1515
%icon_tile {
1516
color: $selected_fg_color;
1517
border-radius: 2px;
1518
padding: 6px;
1519
border: none;
1520
transition-duration: 0.2s;
1521
text-align: center;
1522
}
1523
1524
.app-well-app.app-folder > .overview-icon {
1525
background-color: $overview_bg_color;
1526
}
1527
1528
.show-apps .show-apps-icon {
1529
color: $secondary_selected_fg_color;
1530
}
1531
1532
.show-apps:hover .show-apps-icon,
1533
.show-apps:active .show-apps-icon,
1534
.show-apps:checked .show-apps-icon,
1535
.show-apps:focus .show-apps-icon {
1536
color: $selected_fg_color;
1537
transition-duration: 0.2s;
1538
}
1539
1540
1541
// Collections
1542
.app-folder-popup { //expanded collection
1543
-arrow-border-radius: 2px;
1544
-arrow-background-color: $overview_bg_color;
1545
-arrow-base: 24px;
1546
-arrow-rise: 12px;
1547
}
1548
.app-folder-popup-bin { padding: 5px; }
1549
.app-folder-icon {
1550
padding: 5px;
1551
spacing-rows: 5px;
1552
spacing-columns: 5px;
1553
}
1554
1555
.page-indicator {
1556
padding: 15px 20px;
1557
1558
.page-indicator-icon {
1559
width: 12px;
1560
height: 12px;
1561
border-radius: 12px;
1562
background-image: none;
1563
background-color: scale-alpha($selected_fg_color, $lower_opacity);
1564
}
1565
&:hover .page-indicator-icon {
1566
background-image: none;
1567
background-color: scale-alpha($selected_fg_color, $middle_opacity);
1568
}
1569
&:active .page-indicator-icon {
1570
background-image: none;
1571
background-color: scale-alpha($selected_fg_color, $higher_opacity);
1572
}
1573
&:checked .page-indicator-icon,
1574
&:checked:active {
1575
background-image: none;
1576
background-color: $selected_fg_color;
1577
transition-duration: 0s;
1578
}
1579
}
1580
1581
.no-frequent-applications-label { @extend %status_text; }
1582
1583
.app-well-app > .overview-icon.overview-icon-with-label,
1584
.grid-search-result .overview-icon.overview-icon-with-label {
1585
padding: 10px 8px 5px 8px;
1586
spacing: 4px;
1587
}
1588
1589
// Workspace pager
1590
.workspace-thumbnails { //container ala dash
1591
@extend %overview-panel;
1592
visible-width: 32px; //amount visible before hover
1593
spacing: 12px;
1594
padding: 12px;
1595
border-radius: 2px 0 0 2px;
1596
//border-width: 0; //fixme: can't have non unoform borders :(
1597
&:rtl { border-radius: 0 2px 2px 0;}
1598
}
1599
.workspace-thumbnail-indicator {
1600
border: 0 solid $selected_fg_color;
1601
border-left-width: 2px;
1602
padding: 6px;
1603
border-radius: 0;
1604
}
1605
1606
//Some hacks I don't even
1607
.search-display > StBoxLayout,
1608
.all-apps,
1609
.frequent-apps > StBoxLayout {
1610
// horizontal padding to make sure scrollbars or dash don't overlap content
1611
padding: 0px 88px 10px 88px;
1612
}
1613
1614
%overview-panel {
1615
color: $selected_fg_color;
1616
background-color: $overview_bg_color;
1617
border: none;
1618
}
1619
1620
%status_text {
1621
@include font(display-2);
1622
color: $tertiary_selected_fg_color;
1623
}
1624
1625
/* Add Dash to Dock Support */
1626
1627
#workspacestodockContainer .workspace-thumbnails {
1628
background-color: $bg_color;
1629
}
1630
1631
#workspacestodockContainer:overview .workspace-thumbnails {
1632
background-color: $overview_bg_color;
1633
}
1634
1635
#workspacestodockContainer.fullheight:overview .workspace-thumbnails {
1636
background-color: transparent;
1637
}
1638
1639
#workspacestodockContainer.right .workspace-thumbnails {
1640
border-radius: 2px 0 0 2px;
1641
}
1642
1643
#workspacestodockContainer.left .workspace-thumbnails {
1644
border-radius: 0 2px 2px 0;
1645
}
1646
1647
/* NOTIFICATIONS & MESSAGE TRAY */
1648
1649
.url-highlighter { link-color: $link_color; }
1650
1651
// Banners
1652
.notification-banner {
1653
font-size: 1em;
1654
width: 34em;
1655
// min-height: $menuitem_size * 2;
1656
margin: 5px;
1657
border-radius: 2px;
1658
color: $fg_color;
1659
background-color: $base_color;
1660
border: none;
1661
box-shadow: $z-depth-2;
1662
&:hover { background-color: $base_color; }
1663
&:focus { background-color: $base_color; }
1664
1665
.notification-icon { padding: 5px; }
1666
.notification-content { padding: 5px; spacing: 5px; }
1667
.secondary-icon { @include px-to-em(16px); }
1668
.notification-actions {
1669
background-color: transparent;
1670
padding-top: 0;
1671
border-top: 1px solid $borders_color;
1672
spacing: 1px;
1673
}
1674
.notification-button {
1675
min-height: 40px;
1676
padding: 0 16px;
1677
background-color: transparent;
1678
color: $secondary_fg_color;
1679
font-weight: 500;
1680
&:first-child { border-radius: 0 0 0 2px; }
1681
&:last-child { border-radius: 0 0 2px 0; }
1682
&:hover, &focus { background-color: $semi_track_color; color: $fg_color; }
1683
&:active { background-color: $track_color; color: $fg_color; }
1684
}
1685
}
1686
.summary-source-counter {
1687
font-size: 1em;
1688
font-weight: bold;
1689
height: 1.6em; width: 1.6em;
1690
-shell-counter-overlap-x: 3px;
1691
-shell-counter-overlap-y: 3px;
1692
background-color: $selected_bg_color;
1693
color: $selected_fg_color;
1694
border: 2px solid $selected_fg_color;
1695
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
1696
border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
1697
}
1698
1699
.secondary-icon { @include px-to-em(16px); }
1700
1701
//chat bubbles
1702
.chat-body { spacing: 5px; }
1703
.chat-response { margin: 5px; }
1704
.chat-log-message { color: $fg_color; }
1705
.chat-new-group { padding-top: 1em; }
1706
.chat-received {
1707
padding-left: 4px;
1708
&:rtl { padding-left: 0px; padding-right: 4px; }
1709
}
1710
.chat-sent {
1711
padding-left: 18pt;
1712
color: $secondary_fg_color;
1713
&:rtl { padding-left: 0; padding-right: 18pt; }
1714
}
1715
.chat-meta-message {
1716
padding-left: 4px;
1717
@include font(caption);
1718
color: $tertiary_fg_color;
1719
&:rtl { padding-left: 0; padding-right: 4px; }
1720
}
1721
1722
//hotplug
1723
.hotplug-transient-box {
1724
spacing: 6px;
1725
padding: 2px 72px 2px 12px;
1726
}
1727
.hotplug-notification-item {
1728
padding: 2px 10px;
1729
&:focus { padding: 1px 71px 1px 11px; }
1730
}
1731
1732
.hotplug-notification-item-icon {
1733
icon-size: 24px;
1734
padding: 2px 5px;
1735
}
1736
1737
.hotplug-resident-box { spacing: 8px; }
1738
1739
.hotplug-resident-mount {
1740
spacing: 8px;
1741
border-radius: 2px;
1742
&:hover { background-color: $semi_track_color; }
1743
&:active { background-color: $track_color; }
1744
}
1745
1746
.hotplug-resident-mount-label {
1747
color: inherit;
1748
padding-left: 6px;
1749
}
1750
1751
.hotplug-resident-mount-icon {
1752
icon-size: 24px;
1753
padding-left: 6px;
1754
}
1755
1756
.hotplug-resident-eject-icon {
1757
icon-size: 16px;
1758
}
1759
1760
.hotplug-resident-eject-button {
1761
padding: 7px;
1762
border-radius: 2px;
1763
color: $fg_color;
1764
}
1765
1766
/* Eeeky things */
1767
1768
$legacy_icon_size: 24px;
1769
1770
.legacy-tray {
1771
background-color: $bg_color;
1772
color: $selected_fg_color;
1773
border: none;
1774
border-bottom-width: 0;
1775
&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; }
1776
&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; }
1777
}
1778
1779
.legacy-tray-handle,
1780
.legacy-tray-icon {
1781
padding: 6px;
1782
& StIcon { icon-size: $legacy_icon_size; }
1783
&:hover,&:focus { background-color: $selected_semi_track_color; }
1784
&:active { background-color: $selected_track_color; }
1785
}
1786
1787
.legacy-tray-icon-box {
1788
spacing: 12px;
1789
&:ltr { padding-left: 12px; }
1790
&:rtl { padding-right: 12px; }
1791
& StButton { width: $legacy_icon_size; height: $legacy_icon_size }
1792
}
1793
1794
//magnifier
1795
1796
.magnifier-zoom-region {
1797
border: 2px solid $selected_bg_color;
1798
&.full-screen { border-width: 0; }
1799
}
1800
1801
//Keyboard
1802
/* On-screen Keyboard */
1803
1804
#keyboard {
1805
background-color: $osd_bg_color;
1806
}
1807
1808
.keyboard-layout {
1809
spacing: 10px;
1810
padding: 10px;
1811
}
1812
1813
.keyboard-row { spacing: 15px; }
1814
1815
.keyboard-key {
1816
min-height: $medium_size * 2;
1817
min-width: $medium_size * 2;
1818
font-size: 2em;
1819
font-weight: 500;
1820
border-radius: 2px;
1821
border: none;
1822
color: inherit;
1823
@include button(normal);
1824
&:focus { @include button(focus); }
1825
&:hover,&:checked { @include button(hover); }
1826
&:active { @include button(active);}
1827
&:grayed { //FIXME
1828
background-color: $osd_bg_color;
1829
color: $selected_fg_color;
1830
border-color: $osd_bg_color;
1831
}
1832
}
1833
1834
.keyboard-subkeys { //long press on a key popup
1835
color: inherit;
1836
padding: 5px;
1837
-arrow-border-radius: 0;
1838
-arrow-background-color: transparent;
1839
-arrow-border-width: 0;
1840
-arrow-border-color: transparent;
1841
-arrow-base: 0;
1842
-arrow-rise: 0;
1843
-boxpointer-gap: 5px;
1844
background-color: $base_color;
1845
border-radius: 2px;
1846
box-shadow: $z-depth-2;
1847
}
1848
1849
// IBus Candidate Popup
1850
1851
.candidate-popup-content {
1852
padding: 8px;
1853
spacing: 0;
1854
}
1855
1856
.candidate-index {
1857
padding: 0 4px 0 0;
1858
color: $tertiary_fg_color;
1859
.candidate-box:selected & { color: $tertiary_selected_fg_color; }
1860
}
1861
1862
.candidate-box {
1863
transition-duration: 0s;
1864
min-height: $menuitem_size;
1865
padding: 0 8px;
1866
border-radius: 2px;
1867
&:hover { background-color: $semi_track_color; color: $fg_color; }
1868
&:active { background-color: $track_color; color: $fg_color; }
1869
&:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
1870
}
1871
1872
.candidate-page-button-box {
1873
height: $menuitem_size;
1874
.vertical & { padding-top: 0; }
1875
.horizontal & { padding-left: 0; }
1876
}
1877
1878
.candidate-page-button {
1879
min-width: $menuitem_size;
1880
min-height: $menuitem_size;
1881
padding: 0;
1882
}
1883
1884
.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; }
1885
.candidate-page-button-next { border-radius: 2px; }
1886
.candidate-page-button-icon { @include px-to-em(16px); }
1887
1888
/* Auth Dialogs & Screen Shield */
1889
1890
.framed-user-icon {
1891
background-size: contain;
1892
border: none;
1893
color: $selected_fg_color;
1894
border-radius: 2px;
1895
&:hover {
1896
border-color: $selected_fg_color;
1897
color: $selected_fg_color;
1898
}
1899
}
1900
1901
// LOGIN DIALOG
1902
1903
.login-dialog-banner-view {
1904
padding-top: 24px;
1905
max-width: 23em;
1906
}
1907
1908
.login-dialog {
1909
//reset
1910
border: none;
1911
background-color: transparent;
1912
1913
StEntry {
1914
color: $selected_fg_color;
1915
selection-background-color: $selected_track_color;
1916
selected-color: $selected_fg_color;
1917
@include entry(normal, $fc:$selected_track_color);
1918
&:focus { @include entry(focus, $fc:$selected_fg_color); }
1919
&:insensitive {
1920
@include entry(insensitive, $fc:$selected_insensitive_track_color);
1921
color: $insensitive_selected_fg_color;
1922
}
1923
}
1924
1925
.modal-dialog-button-box { spacing: 3px; }
1926
.modal-dialog-button {
1927
padding: 0 16px;
1928
@include button(flat-normal, $tc:$secondary_selected_fg_color);
1929
&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); }
1930
&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); }
1931
&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); }
1932
&:default {
1933
@include button(normal, $c:$suggested_color, $tc:$selected_fg_color);
1934
&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); }
1935
&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); }
1936
&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); }
1937
1938
}
1939
}
1940
1941
}
1942
1943
.login-dialog-logo-bin { padding: 24px 0px; }
1944
.login-dialog-banner { color: $secondary_selected_fg_color; }
1945
.login-dialog-button-box { spacing: 5px; }
1946
.login-dialog-message-warning { color: $warning_color; }
1947
.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
1948
.login-dialog-user-selection-box {
1949
padding: 100px 0px;
1950
.login-dialog-not-listed-label {
1951
padding-left: 2px;
1952
.login-dialog-not-listed-button:focus &,
1953
.login-dialog-not-listed-button:hover & {
1954
color: $selected_fg_color;
1955
}
1956
}
1957
}
1958
.login-dialog-not-listed-label {
1959
font-size: 1em;
1960
font-weight: bold;
1961
color: $secondary_selected_fg_color;
1962
padding-top: 1em;
1963
&:hover { color: $selected_fg_color; }
1964
&:focus { background-color: $selected_semi_track_color; }
1965
}
1966
1967
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
1968
.login-dialog-user-list {
1969
spacing: 12px;
1970
padding: .2em;
1971
width: 23em;
1972
&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; }
1973
&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; }
1974
&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; }
1975
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; }
1976
}
1977
.login-dialog-user-list-item {
1978
border-radius: 2px;
1979
padding: .2em;
1980
color: $secondary_selected_fg_color;
1981
&:ltr { padding-right: 1em; }
1982
&:rtl { padding-left: 1em; }
1983
&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; }
1984
&:active { background-color: $selected_track_color; color: $selected_fg_color; }
1985
.login-dialog-timed-login-indicator {
1986
height: 2px;
1987
margin: 2px 0 0 0;
1988
background-color: $selected_fg_color;
1989
}
1990
&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
1991
}
1992
1993
.login-dialog-username,
1994
.user-widget-label {
1995
color: $selected_fg_color;
1996
@include font(title);
1997
text-align: left;
1998
padding-left: 15px;
1999
}
2000
.user-widget-label {
2001
&:ltr { padding-left: 18px; }
2002
&:rtl { padding-right: 18px; }
2003
}
2004
2005
.login-dialog-prompt-layout {
2006
padding-top: 24px;
2007
padding-bottom: 12px;
2008
spacing: 8px;
2009
width: 23em;
2010
}
2011
2012
.login-dialog-prompt-label {
2013
color: $tertiary_selected_fg_color;
2014
font-size: 1em;
2015
padding-top: 1em;
2016
}
2017
2018
.login-dialog-session-list-button StIcon {
2019
icon-size: 1.25em;
2020
}
2021
2022
.login-dialog-session-list-button {
2023
color: $secondary_selected_fg_color;
2024
&:hover,&:focus { color: $selected_fg_color; }
2025
&:active { color: $selected_fg_color; }
2026
}
2027
2028
//SCREEN SHIELD
2029
2030
.screen-shield-arrows {
2031
padding-bottom: 3em;
2032
}
2033
2034
.screen-shield-arrows Gjs_Arrow {
2035
color: white;
2036
width: 80px;
2037
height: 48px;
2038
-arrow-thickness: 12px;
2039
-arrow-shadow: $z-depth-1;
2040
}
2041
2042
.screen-shield-clock {
2043
color: white;
2044
text-shadow: $z-depth-1;
2045
font-weight: normal;
2046
text-align: center;
2047
padding-bottom: 1.5em;
2048
}
2049
2050
.screen-shield-clock-time {
2051
@include font(display-4);
2052
text-shadow: $z-depth-1;
2053
}
2054
2055
.screen-shield-clock-date { @include font(display-2); }
2056
2057
.screen-shield-notifications-container {
2058
spacing: 6px;
2059
width: 30em;
2060
background-color: transparent;
2061
max-height: 500px;
2062
.summary-notification-stack-scrollview {
2063
padding-top: 0;
2064
padding-bottom: 0;
2065
}
2066
2067
.notification,
2068
.screen-shield-notification-source {
2069
padding: 8px;
2070
border: none;
2071
background-color: $osd_bg_color;
2072
color: $selected_fg_color;
2073
border-radius: 2px;
2074
}
2075
.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar
2076
}
2077
2078
2079
.screen-shield-notification-label {
2080
min-height: $small_size - 2px;
2081
padding: 2px 0px 0px 16px;
2082
font-weight: bold;
2083
}
2084
2085
.screen-shield-notification-count-text {
2086
min-height: $small_size - 2px;
2087
padding: 2px 0px 0px 16px;
2088
color: $secondary_selected_fg_color;
2089
}
2090
2091
#panel.lock-screen { background-color: $osd_bg_color; }
2092
2093
.screen-shield-background { //just the shadow, really
2094
background: black;
2095
box-shadow: $z-depth-5;
2096
}
2097
2098
#lockDialogGroup {
2099
background: #607D8B url("assets/noise-texture.svg");
2100
background-size: cover;
2101
}
2102
2103
#screenShieldNotifications {
2104
StScrollBar { @extend %overview_scrollbar; }
2105
}
2106
2107
2108
// Looking Glass
2109
#LookingGlassDialog {
2110
background-color: $base_color;
2111
spacing: 4px;
2112
padding: 0;
2113
border: none;
2114
border-radius: 2px;
2115
box-shadow: $z-depth-4;
2116
& > #Toolbar {
2117
padding: 0 8px;
2118
border: none;
2119
border-radius: 0;
2120
background-color: rgba($base_color, 0.01);
2121
box-shadow: inset 0 -1px 0 $borders_color;
2122
}
2123
.labels { spacing: 0; }
2124
.notebook-tab {
2125
-natural-hpadding: 12px;
2126
-minimum-hpadding: 6px;
2127
font-weight: bold;
2128
color: $tertiary_fg_color;
2129
transition-duration: 0.2s;
2130
padding-left: 16px;
2131
padding-right: 16px;
2132
min-height: $medium_size;
2133
padding: 0 16px * 2;
2134
&:hover {
2135
box-shadow: inset 0 -2px 0px $track_color;
2136
color: $fg_color;
2137
text-shadow: none;
2138
}
2139
&:selected {
2140
border-bottom-width: 0;
2141
border-color: transparent;
2142
background-color: rgba($base_color, 0.01);
2143
box-shadow: inset 0 -2px 0px $selected_bg_color;
2144
color: $fg_color;
2145
text-shadow: none;
2146
}
2147
}
2148
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
2149
StBoxLayout#ResultsArea { spacing: 4px; }
2150
}
2151
2152
.lg-dialog {
2153
StEntry {
2154
selection-background-color: $selected_bg_color;
2155
selected-color: $selected_fg_color;
2156
}
2157
.shell-link {
2158
color: $link_color;
2159
&:hover { color: $link_color; }
2160
}
2161
}
2162
2163
.lg-completions-text {
2164
font-size: 1em;
2165
font-style: italic;
2166
}
2167
2168
.lg-obj-inspector-title {
2169
spacing: 4px;
2170
}
2171
2172
.lg-obj-inspector-button {
2173
min-height: $medium_size;
2174
padding: 0 16px;
2175
border: none;
2176
border-radius: 2px;
2177
@include font(button);
2178
@include button(flat-normal);
2179
&:hover { @include button(flat-hover); }
2180
&:active { @include button(flat-active); }
2181
&:insensitive { @include button(flat-insensitive); }
2182
&:focus { @include button(flat-focus); }
2183
&:hover { border: none; }
2184
}
2185
2186
#lookingGlassExtensions { padding: 4px; }
2187
2188
.lg-extensions-list {
2189
padding: 4px;
2190
spacing: 6px;
2191
}
2192
2193
.lg-extension {
2194
border: none;
2195
border-radius: 2px;
2196
padding: 4px;
2197
}
2198
2199
.lg-extension-name {
2200
@include font(headline);
2201
}
2202
2203
.lg-extension-meta {
2204
spacing: 6px;
2205
}
2206
2207
#LookingGlassPropertyInspector {
2208
background: $base_color;
2209
border: none;
2210
border-radius: 2px;
2211
padding: 6px;
2212
box-shadow: $z-depth-4;
2213
}
2214