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