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