Debian Codegraph @

common/gnome-shell/3.34/sass/_common.scss

raw
1 //This is the RIGHT PLACE to edit the stylesheet
2
3 $panel-corner-radius: 0px;
4
5 $asset_path: assets;
6 @if $variant == 'light' {
7 $asset_path: light-assets;
8 } @else if $variant == 'dark' {
9 $asset_path: dark-assets;
10 } @else if $variant == 'lighter' {
11 $asset_path: lighter-assets;
12 }
13
14 /* Copyright 2009, 2015 Red Hat, Inc.
15 *
16 * Portions adapted from Mx's data/style/default.css
17 * Copyright 2009 Intel Corporation
18 *
19 * This program is free software; you can redistribute it and/or modify it
20 * under the terms and conditions of the GNU Lesser General Public License,
21 * version 2.1, as published by the Free Software Foundation.
22 *
23 * This program is distributed in the hope it will be useful, but WITHOUT ANY
24 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
25 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
26 * more details.
27 *
28 * You should have received a copy of the GNU Lesser General Public License
29 * along with this program; if not, write to the Free Software Foundation,
30 * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
31 */
32
33 //
34 // Globals
35 //
36 $font-size: 9;
37 $font-family: Futura Bk bt, Cantarell, Sans-Serif;
38 $_bubble_bg_color: opacify($osd_bg_color,0.25);
39 $_bubble_fg_color: $osd_fg_color;
40 $_bubble_borders_color: transparentize($osd_fg_color,0.8);
41 $_shell_fg_color: white;
42 $_panel_fg_color: if($variant=='lighter', $fg_color, $_shell_fg_color);
43
44 $_popup_shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.19);
45 $_popup_menu_shadow: if($variant!='dark', 0 1px 3px 2.1px rgba(0, 0, 0, 0.06), $_popup_shadow);
46
47 stage {
48 font-family: $font-family;
49 @include fontsize($font-size);
50 color: $fg_color;
51 }
52
53 %reset_style {
54 background-color: transparent !important;
55 background-gradient-direction: none !important;
56 border: none !important;
57 border-radius: 0 !important;
58 }
59
60 //
61 // Buttons
62 //
63 .button {
64 min-height: 20px;
65 padding: 5px 32px;
66 transition-duration: 0;
67 border-radius: 2px;
68
69 @extend %button;
70 }
71
72 %button {
73 @include button(normal);
74
75 &:focus { @include button(focus); }
76 &:hover { @include button(hover); }
77 &:hover:focus { @include button(focus-hover); }
78 &:active, &:active:focus { @include button(active); }
79 &:insensitive { @include button(insensitive); }
80 }
81
82 %osd_button {
83 @include button(osd);
84
85 &:hover { @include button(osd-hover); }
86 &:focus { color: $selected_bg_color; }
87 &:active { @include button(osd-active); }
88 &:insensitive { @include button(osd-insensitive); }
89 }
90
91 //
92 // Entries
93 //
94 StEntry {
95 padding: 7px;
96 caret-size: 1px;
97 caret-color: $fg_color;
98 selection-background-color: $selected_bg_color;
99 selected-color: $selected_fg_color;
100 transition-duration: 300ms;
101 border-radius: 3px;
102
103 @include entry(normal);
104
105 &:focus, &:hover { @include entry(focus); }
106 &:insensitive { @include entry(insensitive); }
107
108 StIcon.capslock-warning {
109 icon-size: 16px;
110 warning-color: $warning_color;
111 padding: 0 4px;
112 }
113 }
114
115 //
116 // Scrollbars
117 //
118 StScrollView {
119 &.vfade { -st-vfade-offset: 0px; }
120 &.hfade { -st-hfade-offset: 0px; }
121 }
122
123 StScrollBar {
124
125 padding: 8px;
126
127 StScrollView & {
128 min-width: 5px;
129 min-height: 5px;
130 }
131
132 StBin#trough {
133 background-color: transparentize($base_color, 0.9);
134 border-radius: 8px;
135 }
136
137 StButton#vhandle, StButton#hhandle {
138 border-radius: 4px;
139 background-color: mix($fg_color, $bg_color, 40%);
140 margin: 0px;
141
142 &:hover { background-color: mix($fg_color, $bg_color, 30%); }
143
144 &:active { background-color: $selected_bg_color; }
145 }
146 }
147
148 //
149 // Slider
150 //
151 .slider {
152 -barlevel-height: 4px;
153 -barlevel-background-color: $button_border; //background of the trough
154 -barlevel-border-color: transparentize(black, 1); //trough border color
155 -barlevel-active-background-color: $selected_bg_color; //active trough fill
156 -barlevel-active-border-color: transparentize(black, 1); //active trough border
157 -barlevel-overdrive-color: $warning_color;
158 -barlevel-overdrive-border-color: transparentize(black, 1);
159 -barlevel-overdrive-separator-width: 1px;
160 -barlevel-border-width: 0;
161 -slider-handle-radius: 0px;
162 height: 18px;
163 border: 0 solid transparent;
164 border-right-width: 1px;
165 border-left-width: 5px;
166 color: $selected_bg_color;
167
168 .popup-menu-item.selected & {
169 -barlevel-background-color: transparentize(black, 0.8);
170 -barlevel-active-background-color: $selected_fg_color;
171 color: $selected_fg_color;
172 }
173 }
174
175 //
176 // Check Boxes
177 //
178 .check-box {
179
180 StBoxLayout { spacing: .8em; }
181
182 StBin {
183 width: 16px;
184 height: 16px;
185 background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
186 }
187
188 &:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
189
190 &:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
191
192 &:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
193 }
194
195 //
196 // Switches
197 //
198 .toggle-switch {
199 width: 50px;
200 height: 20px;
201 background-size: contain;
202 background-image: url("#{$asset_path}/switch/switch-off.svg");
203
204 &:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
205
206 .popup-menu-item.selected & {
207 background-image: url("common-assets/switch/switch-off-selected.svg");
208
209 &:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
210 }
211 }
212
213 //
214 // Links
215 //
216 .shell-link {
217 color: $link_color;
218
219 &:hover { color: lighten($link_color,10%); }
220 }
221
222 //
223 // App Icons
224 //
225 /* Outline for low res icons */
226 .lowres-icon {
227 icon-shadow: none;
228 }
229
230 /* Drapshadow for large icons */
231 .icon-dropshadow {
232 icon-shadow: none;
233 }
234
235 //
236 // Modal Dialogs
237 //
238 .headline { font-size: 110%; }
239 .lightbox { background-color: black; }
240 .flashspot { background-color: white; }
241
242 .modal-dialog {
243 color: $fg_color;
244 background-color: transparentize($bg_color, 1);
245 border: 1px solid $shell_modal_border_color;
246 border-radius: 2px;
247 padding: 0;
248 box-shadow: $_popup_menu_shadow;
249
250 .modal-dialog-content-box {
251 padding: 15px 10px 10px 10px;
252
253 @extend %modal_dialog_content_box;
254 }
255
256 &-linked-button {
257 height: if($variant=='light', 39px, 38px);
258 padding: 0;
259 box-shadow: inset 0 0 black;
260 border-top-width: if($variant=='light', 0px, 1px);
261 border-bottom-width: 0;
262 border-right-width: 1px;
263
264 color: $osd_fg_color;
265 background-color: $osd_bg_color;
266 border-color: if($variant!='dark', darken($osd_bg_color, 5%), darken($osd_bg_color, 8%));
267
268 &:hover { background-color: lighten($osd_bg_color, 5%); }
269 &:focus { color: $selected_bg_color; }
270 &:active {
271 color: $selected_fg_color;
272 background-color: $selected_bg_color;
273 }
274 &:insensitive {
275 color: transparentize($osd_fg_color, 0.5);
276 background-color: darken($osd_bg_color, 2%);
277 }
278
279 &:first-child {
280 border-radius: 0px 0px 0px 2px;
281 }
282 &:last-child {
283 border-right-width: 0px;
284 border-radius: 0px 0px 2px 0px;
285 }
286 &:first-child:last-child {
287 border-right-width: 0px;
288 border-radius: 0px 0px 2px 2px;
289 }
290 }
291
292 .run-dialog-entry {
293 width: 21em;
294 margin-bottom: 6px;
295 }
296 .run-dialog-error-box {
297 padding-top: 5px;
298 spacing: 5px;
299 }
300
301 //.run-dialog-button-box { padding-top: 1em; }
302 .run-dialog-label {
303 font-size: 0;
304 }
305 }
306
307 %modal_dialog_content_box {
308 background-color: $shell_modal_background_color;
309 }
310
311 .mount-dialog-subject,
312 .end-session-dialog-subject { //this should be a generic header class
313 @include fontsize($font-size * 1.2);
314 font-weight: bold;
315 color: $fg_color;
316 }
317
318 //
319 // Message Dialog
320 //
321 .message-dialog-main-layout {
322 padding: 12px 20px 0;
323 spacing: 12px;
324 }
325
326 .message-dialog-content {
327 max-width: 28em;
328 spacing: 20px;
329 }
330
331 .message-dialog-icon {
332 min-width: 48px;
333 icon-size: 48px;
334 }
335
336 .message-dialog-title {
337 font-weight: bold;
338 }
339
340 .message-dialog-subtitle {
341 color: $fg_color;
342 font-weight: bold;
343 }
344
345 //
346 // End Session Dialog
347 //
348 .end-session-dialog {
349 spacing: 0;
350 .modal-dialog-content-box { padding-bottom: 52px; }
351
352 //border: 3px solid $_bubble_borders_color;
353
354 &-list {
355 padding-top: 20px;
356 }
357
358 &-layout {
359 padding-left: 17px;
360 &:rtl { padding-right: 17px; }
361 }
362
363 &-description {
364 width: 28em;
365 padding-bottom: 10px;
366 &:rtl {
367 text-align: right;
368 }
369 }
370
371 &-warning {
372 width: 28em;
373 color: $warning_color;
374 padding-top: 6px;
375 &:rtl {
376 text-align: right;
377 }
378 }
379
380 &-logout-icon {
381 border: 0px solid transparent;
382 border-radius: 99px;
383 width: 48px;
384 height: 48px;
385 background-size: contain;
386 }
387
388 &-shutdown-icon {
389 color: $fg_color;
390 width: 48px;
391 height: 48px;
392 }
393
394 &-inhibitor-layout {
395 spacing: 16px;
396 max-height: 200px;
397 padding-right: 10px;
398 padding-left: 10px;
399 }
400
401 &-session-list, &-app-list {
402 spacing: 1em;
403 }
404
405 &-list-header {
406 font-weight: bold;
407 &:rtl { text-align: right; }
408 }
409
410 &-app-list-item, &-session-list-item {
411 spacing: 1em;
412 }
413
414 &-app-list-item-name, &-session-list-item-name {
415 font-weight: bold;
416 }
417
418 &-app-list-item-description {
419 color: lighten($fg_color,5%);
420 @include fontsize($font-size * 0.9);
421 }
422
423 .modal-dialog-linked-button:last-child {
424 color: $destructive_fg_color;
425 background-color: $destructive_color;
426
427 &:hover {
428 color: $destructive_fg_color;
429 background-color: lighten($destructive_color, 9%);
430 }
431 &:active {
432 color: $destructive_fg_color;
433 background-color: darken($destructive_color, 5%);
434 }
435 }
436 }
437
438 //
439 // ShellMountOperation Dialogs
440 //
441 .shell-mount-operation-icon { icon-size: 48px; }
442
443 .mount-dialog {
444 spacing: 0;
445 .modal-dialog-content-box { padding-bottom: 24px; }
446
447 .message-dialog-title {
448 padding-top: 10px;
449 padding-left: 17px;
450 padding-bottom: 6px;
451 max-width: 34em;
452
453 &:rtl {
454 padding-left: 0px;
455 padding-right: 17px;
456 }
457 }
458
459 .message-dialog-body {
460 padding-left: 17px;
461 width: 28em;
462
463 &:rtl {
464 padding-right: 17px;
465 }
466 }
467 }
468
469 .mount-dialog-app-list {
470 @include fontsize($font-size * 1.1);
471 max-height: 200px;
472 padding-top: 24px;
473 padding-left: 49px;
474 padding-right: 32px;
475
476 &:rtl {
477 padding-right: 49px;
478 padding-left: 32px;
479 }
480 }
481
482 .mount-dialog-app-list-item {
483 color: darken($fg_color,10%);
484 &:hover { color: $fg_color; }
485 &:ltr { padding-right: 1em; }
486 &:rtl { padding-left: 1em; }
487 }
488
489 .mount-dialog-app-list-item-icon {
490 &:ltr { padding-right: 17px; }
491 &:rtl { padding-left: 17px; }
492 }
493
494 .mount-dialog-app-list-item-name {
495 @include fontsize($font-size * 1.1);
496 }
497
498 //
499 // Password or Authentication Dialog
500 //
501 .prompt-dialog {
502 //this is the width of the entire modal popup
503 width: 34em;
504 //border: 3px solid $_bubble_borders_color;
505
506 .message-dialog-main-layout {
507 spacing: 24px;
508 padding: 10px;
509 }
510
511 .message-dialog-content {
512 spacing: 16px;
513 }
514
515 .message-dialog-title {
516 @include fontsize($font-size * 1.3);
517 font-weight: bold;
518 color: $fg_color;
519 }
520
521 &-description:rtl {
522 text-align: right;
523 }
524
525 &-password-box {
526 spacing: 1em;
527 padding-bottom: 1em;
528 }
529
530 &-error-label {
531 @include fontsize($font-size);
532 color: $warning_color;
533 padding-bottom: 8px;
534 }
535
536 &-info-label {
537 @include fontsize($font-size);
538 padding-bottom: 8px;
539 }
540
541 &-null-label {
542 @include fontsize($font-size);
543 padding-bottom: 8px;
544 }
545
546 &-pim-box {
547 spacing: 1em;
548 }
549
550 &-grid {
551 spacing-rows: 15px;
552 spacing-columns: 1em;
553 }
554
555 &-keyfiles-box {
556 spacing: 1em;
557 }
558
559 &-button.button {
560 padding: 8px;
561 }
562
563 }
564
565 .hidden {
566 color: transparentize(black, 1);
567 }
568
569 //
570 // Polkit Dialog
571 //
572 .polkit-dialog-user {
573
574 &-layout {
575 padding-left: 10px;
576 spacing: 10px;
577 &:rtl {
578 padding-left: 0px;
579 padding-right: 10px;
580 }
581 }
582
583 &-root-label {
584 color: $warning_color;
585 }
586
587 &-icon {
588 border-radius: 99px;
589 background-size: contain;
590 width: 48px;
591 height: 48px;
592 }
593 }
594
595 //
596 // Audio selection dialog
597 //
598 .audio-device-selection-dialog { spacing: 0px; }
599
600 .audio-selection {
601
602 &-content {
603 spacing: 20px;
604 padding: 24px;
605 padding-bottom: 54px;
606
607 @extend %modal_dialog_content_box;
608 }
609
610 &-title {
611 font-weight: bold;
612 text-align: center;
613 }
614
615 &-box { spacing: 20px; }
616
617 &-device {
618 border: 1px solid $borders_color;
619 border-radius: 3px;
620
621 &:active,&:hover,&:focus {
622 background-color: $selected_bg_color;
623 border-color: $selected_bg_color;
624 }
625 }
626
627 &-device-box {
628 padding: 20px;
629 spacing: 20px;
630 }
631
632 &-device-icon { icon-size: 64px; }
633 }
634
635 //
636 // Access Dialog
637 //
638 .access-dialog {
639 spacing: 0;
640 .modal-dialog-content-box { padding-bottom: 30px; }
641 }
642
643 //
644 // Geolocation Dialog
645 //
646 .geolocation-dialog {
647 spacing: 0;
648 .modal-dialog-content-box { padding-bottom: 30px; }
649 }
650
651 //
652 // Extension Dialog
653 //
654 .extension-dialog {
655 .message-dialog-main-layout { spacing: 24px; padding: 10px; }
656 .message-dialog-title { color: $fg_color; }
657 }
658
659 //
660 // Inhibit-Shortcuts Dialog
661 //
662 .inhibit-shortcuts-dialog {
663 spacing: 0;
664 .modal-dialog-content-box { padding-bottom: 30px; }
665 }
666
667 //
668 // Network Agent Dialog
669 //
670 .network-dialog-secret-table {
671 spacing-rows: 15px;
672 spacing-columns: 1em;
673 }
674
675 .keyring-dialog-control-table {
676 spacing-rows: 15px;
677 spacing-columns: 1em;
678 }
679
680 //
681 // Popvers/Menus
682 //
683 .popup-menu {
684 $_popup_submenu_background_color: if($variant!='dark', rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15));
685 $_popup_submenu_border_color: if($variant!='dark', rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.15));
686
687 min-width: 15em;
688
689 .popup-menu-content {
690 margin: if($variant!='dark', 4px, 3px);
691
692 @extend %popup_menu;
693 }
694
695 .popup-menu-arrow { } //defined globally in the TOP BAR
696 .popup-sub-menu {
697 padding-bottom: 1px;
698 background-color: $_popup_submenu_background_color;
699 box-shadow: inset 0 -1px $_popup_submenu_border_color;
700 }
701
702 .popup-menu-content { padding: .7em 0em .7em 0em; }
703 .popup-menu-item {
704 spacing: 12px;
705
706 &:ltr { padding: .4em 32px .4em 0em; }
707 &:rtl { padding: .4em 0em .4em 32px; }
708
709 &:checked {
710 font-weight: normal;
711 background-color: $_popup_submenu_background_color;
712 box-shadow: inset 0 1px $_popup_submenu_border_color;
713 }
714
715 &:active, &.selected {
716 color: $selected_fg_color;
717 background-color: $selected_bg_color;
718 box-shadow: none;
719 }
720
721 &:insensitive {
722 color: transparentize($fg_color, 0.5);
723 background: none;
724 }
725 }
726
727 .popup-inactive-menu-item { //all icons and other graphical elements
728 color: $fg_color;
729
730 &:insensitive { color: $insensitive_fg_color; }
731 }
732 //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
733 &.panel-menu {
734 -boxpointer-gap: 0px;
735 margin-bottom: 1.75em;
736 }
737 }
738
739 .popup-menu-ornament {
740 text-align: right;
741 margin-left: 4px;
742 width: 16px;
743 }
744
745 .popup-menu-boxpointer {
746 -arrow-border-radius: 2px;
747 -arrow-background-color: rgba(0,0,0,0.0);
748 -arrow-border-width: 1px;
749 -arrow-border-color: rgba(0,0,0,0.0);
750 -arrow-base: 0;
751 -arrow-rise: 0;
752 }
753
754 .candidate-popup-boxpointer {
755 -arrow-border-radius: 2px;
756 -arrow-background-color: $osd_bg_color;
757 -arrow-border-width: 1px;
758 -arrow-border-color: transparentize(black, 0.6);
759 -arrow-base: 20px;
760 -arrow-rise: 10px;
761 }
762
763 .popup-separator-menu-item {
764 //-margin-horizontal: 24px;
765 height: 2px; //not really the whole box
766 margin: 0;
767 background-color: transparent;
768 border: none;
769 }
770
771 // Rename popup
772 .rename-folder-popup {
773 .rename-folder-popup-item {
774 spacing: 6px;
775 &:ltr, &:rtl { padding: 0, 12px; }
776 }
777 }
778
779 // Background menu
780 .background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
781
782 // fallback menu
783 //- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
784 // app menu inside the main app window itself rather than the top bar
785 //
786
787 //
788 // OSD
789 //
790 .osd-window {
791 text-align: center;
792 font-weight: bold;
793 spacing: 1em;
794 padding: 20px;
795 margin: 32px;
796 min-width: 64px;
797 min-height: 64px;
798
799 color: $_panel_fg_color;
800 @extend %shell_osd;
801
802 .osd-monitor-label { font-size: 3em; }
803
804 .level {
805 padding: 0;
806 height: 4px;
807 -barlevel-height: 4px;
808 -barlevel-background-color: if($variant!='lighter', transparentize(black, 0.5), $button_border);
809 -barlevel-active-background-color: $selected_bg_color;
810 -barlevel-overdrive-color: $warning_color;
811 -barlevel-overdrive-separator-width: 1px;
812 color: $selected_bg_color;
813 }
814 }
815
816 .resize-popup {
817 color: $osd_fg_color;
818 padding: 12px;
819 @extend %shell_osd;
820 }
821
822 %shell_osd {
823 border: 1px solid $shell_osd_border_color;
824 border-radius: 2px;
825 background: $shell_osd_background_color;
826 //background-clip: padding-box;
827 box-shadow: $_popup_shadow;
828 }
829
830 //
831 // Pad OSD
832 //
833 .pad-osd-window {
834 padding: 32px;
835 background-color: $osd_bg_color;
836
837 .pad-osd-title-box { spacing: 12px; }
838 .pad-osd-title-menu-box { spacing: 6px; }
839 }
840
841 .combo-box-label {
842 width: 15em;
843 }
844
845 //
846 // Alt Tab Switcher
847 //
848 .switcher-popup {
849 padding: 8px;
850 spacing: 16px;
851 }
852
853 .switcher-list {
854 padding: 15px;
855 @extend %shell_bg;
856
857 &-item-container { spacing: 8px; }
858
859 .item-box {
860 padding: 8px;
861 color: $_panel_fg_color;
862 border-radius: 2px;
863 border: 1px solid transparent;
864
865 &:outlined {
866 padding: 8px;
867 border: 1px solid $selected_bg_color;
868 }
869
870 &:selected {
871 color: $selected_fg_color;
872 background-color: $selected_bg_color;
873 border: 1px solid $selected_bg_color;
874
875 }
876 }
877
878 .thumbnail-box {
879 padding: 2px;
880 spacing: 4px;
881 }
882
883 .thumbnail {
884 width: 256px;
885 }
886
887 .separator {
888 width: 1px;
889 background: transparentize($fg_color, 0.67);
890 }
891 }
892
893 .switcher-arrow {
894 border-color: rgba(0,0,0,0);
895 color: $osd_fg_color;
896
897 &:highlighted {
898 color: $_panel_fg_color;
899 }
900 }
901
902 .input-source-switcher-symbol {
903 font-size: 34pt;
904 width: 96px;
905 height: 96px;
906 }
907
908 %shell_bg {
909 background: $dark_sidebar_bg;
910 //background-clip: padding-box;
911 border: 1px solid $shell_bg_border_color;
912 border-radius: 2px;
913 box-shadow: $_popup_shadow;
914 }
915
916 //
917 //Window Cycler
918 //
919 .cycler-highlight { border: 5px solid $selected_bg_color; }
920
921 //
922 // Workspace Switcher
923 //
924 .workspace-switcher {
925
926 background: transparent;
927 border: 0px;
928 border-radius: 0px;
929 padding: 0px;
930 spacing: 8px;
931
932 &-group { padding: 12px; }
933
934 &-container {
935 padding: 14px;
936 padding-bottom: 17px;
937 @extend %shell_bg;
938 }
939 }
940
941 .ws-switcher-active-up, .ws-switcher-active-down,
942 .ws-switcher-active-left, .ws-switcher-active-right {
943 height: 64px;
944 background-color: $selected_bg_color;
945 background-size: 64px;
946 border-radius: 2px;
947 border: 1px solid $selected_bg_color;
948 }
949
950 .ws-switcher-active-up {
951 background-image: url("common-assets/misc/ws-switch-arrow-up.svg");
952 }
953
954 .ws-switcher-active-down {
955 background-image: url("common-assets/misc/ws-switch-arrow-down.svg");
956 }
957
958 .ws-switcher-active-left {
959 background-image: url("common-assets/misc/ws-switch-arrow-left.svg");
960 }
961
962 .ws-switcher-active-right {
963 background-image: url("common-assets/misc/ws-switch-arrow-right.svg");
964 }
965
966 .ws-switcher-box {
967 height: 64px;
968 background-color: if($variant!='lighter', transparentize(black, 0.67), transparentize(black, 0.83));
969 border: 1px solid if($variant!='lighter', transparentize(black, 0.67), transparentize(black, 0.83));
970 border-radius: 2px;
971 }
972
973 //
974 // Tiled window previews
975 //
976 .tile-preview {
977 background-color: transparentize($selected_bg_color, 0.65);
978 border: 1px solid $selected_bg_color;
979
980 &-left.on-primary {
981 border-radius: $panel-corner-radius 0 0 0;
982 }
983
984 &-right.on-primary {
985 border-radius: 0 $panel-corner-radius 0 0;
986 }
987
988 &-left.tile-preview-right.on-primary {
989 border-radius: $panel-corner-radius $panel-corner-radius 0 0;
990 }
991 }
992
993 //
994 // Top Bar
995 //
996 #panel {
997 font-weight: bold;
998 font-feature-settings: "tnum";
999 height: 2.1em;
1000 min-height: 26px;
1001 background-gradient-direction: none;
1002 background-color: $shell_osd_background_color;
1003 //background-clip: padding-box;
1004 border: 0 solid $shell_osd_border_color;
1005 border-bottom-width: 1px;
1006
1007 // Fix dynamic top bar extension
1008 &.dynamic-top-bar-white-btn { border-image: none; }
1009
1010 &.unlock-screen,
1011 &.login-screen {
1012 background-color: transparent;
1013 border: none;
1014
1015 .panel-button {
1016 color: $fg_color;
1017 &:hover { color: $fg_color; }
1018 &:focus, &:active, &:checked {
1019 color: $selected_fg_color;
1020 border-color: transparent;
1021 }
1022 }
1023 }
1024
1025 &.lock-screen {
1026 border: none;
1027
1028 .panel-button {
1029 color: $osd_fg_color;
1030 &:hover { color: $osd_fg_color; }
1031 &:focus, &:active, &:checked {
1032 color: $selected_fg_color;
1033 border-color: transparent;
1034 }
1035 }
1036 }
1037
1038 #panelLeft, #panelCenter { // spacing between activities<>app menu and such
1039 spacing: 8px;
1040 }
1041
1042 .panel-corner {
1043 -panel-corner-radius: $panel-corner-radius;
1044 -panel-corner-background-color: transparentize(black, 1);
1045 -panel-corner-border-width: 0px;
1046 -panel-corner-border-color: black;
1047
1048 &:active, &:overview, &:focus {
1049 -panel-corner-border-color: black;
1050 }
1051
1052 &.lock-screen, &.login-screen, &.unlock-screen {
1053 -panel-corner-radius: 0;
1054 -panel-corner-background-color: transparent;
1055 -panel-corner-border-color: transparent;
1056 }
1057 }
1058
1059 .panel-button {
1060 -natural-hpadding: 10px;
1061 -minimum-hpadding: 6px;
1062 font-weight: bold;
1063 color: $_panel_fg_color;
1064 text-shadow: none;
1065 transition-duration: 100ms;
1066 border-bottom-width: 1px;
1067 border-color: transparent;
1068
1069 .app-menu-icon {
1070 width: 0;
1071 height: 0;
1072 margin-left: 0px;
1073 margin-right: 0px;
1074 }
1075
1076 .system-status-icon,
1077 .app-menu-icon > StIcon,
1078 .popup-menu-arrow {
1079 icon-shadow: none;
1080 }
1081
1082 &:hover {
1083 color: $_panel_fg_color;
1084 background-color: if($variant!='lighter', transparentize(black, 0.83), transparentize(black, 0.95));
1085 border-bottom-width: 1px;
1086 border-color: transparent;
1087 }
1088
1089 &:active, &:overview, &:focus, &:checked {
1090 color: $selected_fg_color;
1091 background-color: $selected_bg_color;
1092 box-shadow: none;
1093 border-bottom-width: 1px;
1094
1095 @if $variant != 'lighter' {
1096 border-color: black;
1097 }
1098
1099 & > .system-status-icon { icon-shadow: none; }
1100 }
1101
1102 .system-status-icon { icon-size: 16px; padding: 0 4px; }
1103
1104 &.clock-display StIcon {
1105 color: $selected_bg_color;
1106 margin-left: .3em;
1107 }
1108 }
1109
1110 #panelActivities.panel-button { -natural-hpadding: 12px; }
1111
1112 .panel-status-indicators-box,
1113 .panel-status-menu-box {
1114 spacing: 2px;
1115 }
1116
1117 // spacing between power icon and (optional) percentage label
1118 .power-status.panel-status-indicators-box {
1119 spacing: 0;
1120 }
1121
1122 .screencast-indicator { color: $error_color; }
1123
1124 .remote-access-indicator { color: $error_color; }
1125
1126 .popup-menu-arrow { width: 0; }
1127 }
1128
1129 // Activities button
1130 #panel #panelActivities.panel-button {
1131
1132 > * {
1133 background-image: url("#{$asset_path}/panel/activities.svg");
1134 background-size: contain;
1135 width: 24px;
1136 height: 24px;
1137 background-color: transparent !important;
1138 background-gradient-direction: none !important;
1139 border: 0 solid transparent !important;
1140 text-shadow: 0 0 transparent !important;
1141 transition-duration: 0ms !important;
1142 box-shadow: none !important;
1143 color: transparent;
1144 }
1145
1146 &:active, &:overview, &:focus, &:checked {
1147 background-color: transparent;
1148 box-shadow: none;
1149 border-bottom-width: 1px;
1150 border-color: transparent;
1151
1152 > * { background-image: url("common-assets/panel/activities-active.svg"); }
1153 }
1154 }
1155
1156 // a little unstructured mess:
1157
1158 #appMenu {
1159 spacing: 4px;
1160 padding: 0 8px;
1161
1162 .label-shadow { color: transparent; }
1163 }
1164
1165 .app-menu,
1166 .app-well-menu {
1167 max-width: 27.25em;
1168 }
1169
1170 .aggregate-menu {
1171 min-width: 23.5em;
1172 .popup-menu-icon { padding: 0 4px; }
1173 .popup-sub-menu .popup-menu-item > :first-child {
1174 &:ltr { /* 12px spacing + 2*4px padding + 16px icon */
1175 padding-left: 36px; }
1176 &:rtl { /* 12px spacing + 2*4px padding + 16px icon */
1177 padding-right: 36px; }
1178 }
1179 }
1180
1181 .system-menu-action {
1182 -st-icon-style: symbolic;
1183 padding: 13px;
1184 color: $fg_color;
1185 border-radius: 32px; /* wish we could do 50% */
1186 border: 1px solid transparent;
1187
1188 &:hover, &:focus {
1189 transition-duration: 100ms;
1190 padding: 13px;
1191 color: $fg_color;
1192 background-color: transparent;
1193 border: 1px solid $selected_bg_color;
1194 }
1195 &:active {
1196 color: $selected_fg_color;
1197 background-color: $selected_bg_color;
1198 border: 1px solid $selected_bg_color;
1199 }
1200
1201 & > StIcon { icon-size: 16px; }
1202 }
1203
1204 //
1205 // Calendar popover
1206 //
1207 #calendarArea {
1208 padding: 0.75em 0.7em;
1209 }
1210
1211 .calendar {
1212 margin-bottom: 1em;
1213 }
1214
1215 .calendar,
1216 .datemenu-today-button,
1217 .datemenu-displays-box,
1218 .message-list-sections {
1219 margin: 0 0.4em;
1220 }
1221
1222 .datemenu-calendar-column { spacing: 0.5em; border: none; }
1223 .datemenu-displays-section { padding-bottom: 3em; }
1224 .datemenu-displays-box { spacing: 1em; }
1225
1226 .datemenu-today-button,
1227 .world-clocks-button,
1228 .weather-button,
1229 .events-section-title {
1230 border-radius: 3px;
1231 padding: .4em;
1232 }
1233
1234 .message-list-section-list:ltr {
1235 padding-left: .4em;
1236 }
1237
1238 .message-list-section-list:rtl {
1239 padding-right: .4em;
1240 }
1241
1242 .datemenu-today-button,
1243 .world-clocks-button,
1244 .weather-button,
1245 .events-section-title {
1246 padding: 7px 10px 7px 10px;
1247
1248 &:hover, &:focus { background-color: transparentize(black, 0.9); }
1249 &:active {
1250 background-color: $selected_bg_color;
1251 color: $selected_fg_color;
1252 }
1253 }
1254
1255 .datemenu-today-button .day-label {
1256 }
1257
1258 .datemenu-today-button .date-label {
1259 font-size: 1.5em;
1260 font-weight: 300
1261 }
1262
1263 .world-clocks-header,
1264 .weather-header,
1265 .events-section-title {
1266 color: transparentize($fg_color, 0.6);
1267 font-weight: bold;
1268 }
1269
1270 .world-clocks-button:active .world-clocks-header,
1271 .weather-button:active .weather-header {
1272 color: $selected_fg_color;
1273 }
1274
1275 .weather-header.location {
1276 font-weight: normal;
1277 font-size: 0.9em;
1278 }
1279
1280 .world-clocks-grid,
1281 .weather-grid {
1282 spacing-rows: 0.4em;
1283 spacing-columns: 0.8em;
1284 }
1285
1286 .weather-box {
1287 spacing: 0.4em;
1288 }
1289
1290 .world-clocks-city {
1291 font-weight: bold;
1292 font-size: 0.9em;
1293 }
1294
1295 .world-clocks-time {
1296 color: transparentize($fg_color, 0.2);
1297 font-feature-settings: "tnum";
1298 font-size: 1.2em;
1299
1300 .world-clocks-button:active & { color: transparentize($selected_fg_color, 0.2); }
1301 }
1302
1303 .world-clocks-timezone {
1304 color: transparentize($fg_color, 0.4);
1305 font-feature-settings: "tnum";
1306 font-size: 0.9em;
1307
1308 .world-clocks-button:active & { color: transparentize($selected_fg_color, 0.4); }
1309 }
1310
1311 .weather-forecast-icon {
1312 icon-size: 2.18em;
1313 }
1314
1315 .weather-forecast-time {
1316 color: transparentize($fg_color, 0.4);
1317 font-size: 0.8em;
1318
1319 .weather-button:active & { color: transparentize($selected_fg_color, 0.4); }
1320 }
1321
1322 .calendar-month-label {
1323 color: $fg_color;
1324 font-weight: bold;
1325 padding: 8px 0;
1326 &:focus {}
1327 }
1328
1329 .pager-button {
1330 color: transparent;
1331 background-color: transparent;
1332 width: 32px;
1333 border-radius: 2px;
1334
1335 &:focus, &:hover, &:active { background-color: transparent; }
1336 }
1337
1338 //arrow back
1339 .calendar-change-month-back {
1340 background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg");
1341
1342 &:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-left-hover.svg"); }
1343
1344 &:active { background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); }
1345
1346 &:rtl {
1347 background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg");
1348
1349 &:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-right-hover.svg"); }
1350
1351 &:active { background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); }
1352 }
1353 }
1354
1355 //arrow forward
1356 .calendar-change-month-forward {
1357 background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg");
1358
1359 &:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-right-hover.svg"); }
1360
1361 &:active { background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); }
1362
1363 &:rtl {
1364 background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg");
1365
1366 &:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-left-hover.svg"); }
1367
1368 &:active { background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); }
1369 }
1370 }
1371
1372 .calendar-day-base {
1373 font-size: 80%;
1374 text-align: center;
1375 width: 2.6em; height: 2.6em;
1376 padding: 0.1em;
1377 margin: 2px;
1378 border-radius: 1.6em;
1379 font-feature-settings: "tnum";
1380
1381 &:hover, &:focus { background-color: transparentize(black, 0.9); }
1382
1383 &:active, &:selected {
1384 color: $fg_color;
1385 background-color: transparentize(black, 0.85);
1386 border-width: 0; //avoid jumparound due to today
1387 }
1388
1389 &.calendar-day-heading { //day of week heading
1390 color: transparentize($fg_color, 0.15);
1391 margin-top: 1em;
1392 font-size: 70%;
1393 }
1394 }
1395
1396 .calendar-day { //border collapse hack - see calendar.js
1397 border-width: 0;
1398 color: transparentize($fg_color, 0.2);
1399 }
1400
1401 .calendar-day-top { border-top-width: 0; }
1402
1403 .calendar-day-left { border-left-width: 0; }
1404
1405 .calendar-work-day {}
1406
1407 .calendar-nonwork-day {
1408 color: $fg_color;
1409 font-weight: bold;
1410 }
1411
1412 .calendar-today,
1413 .calendar-today:active,
1414 .calendar-today:selected,
1415 .calendar-today:focus,
1416 .calendar-today:hover {
1417 font-weight: bold;
1418 color: $selected_fg_color;
1419 background-color: $selected_bg_color;
1420 border-width: 0;
1421 }
1422
1423 .calendar-day-with-events {
1424 font-weight: bold;
1425 background-image: url("common-assets/misc/calendar-today.svg");
1426 }
1427
1428 .calendar-today.calendar-day-with-events {
1429 color: $selected_fg_color;
1430 background-image: url("common-assets/misc/calendar-today-active.svg");
1431 }
1432
1433 .calendar-other-month-day {
1434 color: transparentize($fg_color, 0.7);
1435 opacity: 1;
1436 }
1437
1438 .calendar-week-number {
1439 font-size: 70%;
1440 font-weight: bold;
1441 width: 2.3em; height: 1.8em;
1442 border-radius: 2px;
1443 padding: 0.5em 0 0;
1444 margin: 6px;
1445 background-color: if($variant!='dark', transparentize($fg_color,0.9), transparentize($fg_color,0.7));
1446 color: if($variant!='dark', transparentize($fg_color,0.5), $bg_color);
1447 }
1448
1449 //
1450 // Message list
1451 //
1452 .message-list {
1453 width: 31.5em;
1454
1455 &-sections { spacing: 1em; }
1456
1457 &-section,
1458 &-section-list { spacing: 0.4em; }
1459
1460 &-placeholder {
1461 StIcon { width: 0; height: 0; }
1462 StLabel { color: $insensitive_fg_color; }
1463 }
1464
1465 &-clear-button.button {
1466 margin: 1.5em 1.5em 0;
1467 padding: 4px 12px;
1468 }
1469 }
1470
1471 .message {
1472 padding: 3px;
1473 color: $fg_color;
1474 background-color: $shell_message_background_color;
1475 border: 1px solid $shell_message_border_color;
1476 border-radius: 2px;
1477 box-shadow: inset 4px 0 0 if($variant!='dark', -1px, -2px) $selected_bg_color;
1478
1479 &:hover, &:focus {
1480 color: $fg_color;
1481 border-color: $selected_bg_color;
1482 }
1483
1484 &:active {
1485 color: $selected_fg_color;
1486 background-color: $selected_bg_color;
1487 }
1488
1489 &-icon-bin {
1490 padding: 0.68em 0.2em 0.68em 0.68em;
1491
1492 &:rtl { padding: 0.68em 0.68em 0.68em 0.2em; }
1493
1494 > StIcon {
1495 color: inherit;
1496 icon-size: 1.33em;
1497 -st-icon-style: symbolic;
1498 }
1499
1500 > .fallback-app-icon {
1501 width: 1.33em;
1502 height: 1.33em;
1503 }
1504 }
1505
1506 &-secondary-bin {
1507 padding: 0 0.82em;
1508 }
1509
1510 &-secondary-bin > .event-time {
1511 color: transparentize($fg_color, 0.4);
1512 font-size: 0.9em;
1513
1514 /* HACK: the label should be baseline-aligned with a 1em label,
1515 fake this with some bottom padding */
1516 padding-bottom: 0.05em;
1517 }
1518
1519 &:active .message-secondary-bin,
1520 &:active .message-secondary-bin > .event-time {
1521 color: transparentize($selected_fg_color, 0.4);
1522 }
1523
1524 &-secondary-bin > StIcon { icon-size: 1.33em; }
1525
1526 &-title {
1527 color: inherit;
1528 font-weight: bold;
1529 }
1530
1531 &-content {
1532 color: inherit;
1533 padding: 8px;
1534 }
1535 }
1536
1537 .message-close-button {
1538 &:hover { color: transparentize($fg_color, 0.3); }
1539 &:active { color: $selected_bg_color }
1540 }
1541
1542 .message-media-control {
1543 padding: 12px;
1544 color: $fg_color;
1545
1546 &:last-child:ltr { padding-right: 18px; }
1547 &:last-child:rtl { padding-left: 18px; }
1548
1549 &:hover { color: transparentize($fg_color, 0.3); }
1550 &:active { color: $selected_bg_color; }
1551 &:insensitive { color: $insensitive_fg_color; }
1552 }
1553
1554 .message:active .message-media-control {
1555 color: $selected_fg_color;
1556 }
1557
1558 .media-message-cover-icon {
1559 icon-size: 48px !important;
1560
1561 &.fallback {
1562 color: $insensitive_fg_color;
1563 background-color: $bg_color;
1564 border-radius: 2px;
1565 icon-size: 32px !important;
1566 padding: 6px;
1567 border: 1px solid $borders_color;
1568 }
1569
1570 .message:active &.fallback {
1571 color: transparentize($selected_fg_color, 0.2);
1572 background-color: lighten($selected_bg_color, 7%);
1573 border-color: transparentize($selected_fg_color, 0.2);
1574 }
1575 }
1576
1577
1578 //
1579 // Activities Ripples
1580 //
1581 .ripple-box {
1582 width: 52px;
1583 height: 52px;
1584 border-radius: 0 0 52px 0; // radius the size of the box give us the curve
1585 background-color: transparentize($selected_bg_color, 0.5);
1586
1587 &:rtl { border-radius: 0 0 0 52px; } // just a simple change to the border radius position
1588 }
1589
1590 // Rubberband for select-area screenshots
1591 .select-area-rubberband {
1592 background-color: transparentize($selected_bg_color,0.7);
1593 border: 1px solid $selected_bg_color;
1594 }
1595
1596 // Pointer location
1597 .ripple-pointer-location {
1598 width: 50px;
1599 height: 50px;
1600 border-radius: 25px 25px 25px 25px; // radius the size of the box give us the curve
1601 background-color: transparentize($selected_bg_color, 0.5);
1602 }
1603
1604 // not really top bar only
1605 .popup-menu-arrow { icon-size: 16px; }
1606 .popup-menu-icon { icon-size: 16px; }
1607
1608
1609 //
1610 // Close buttons
1611 //
1612 .window-close {
1613 background-color: lighten(saturate($destructive_color, 6%), 4%);
1614 border-radius: 22px;
1615 border: none;
1616 box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);;
1617 color: $destructive_fg_color;
1618 height: 22px;
1619 width: 22px;
1620 -shell-close-overlap: 9px;
1621
1622 & > StIcon { icon-size: 16px; }
1623
1624 &:hover {
1625 background-color: lighten(saturate($destructive_color, 15%), 12%);
1626 color: $destructive_fg_color;
1627 height: 22px;
1628 width: 22px;
1629 }
1630
1631 &:active {
1632 background-color: darken(adjust-hue(desaturate($destructive_color, 18%), -5%), 9%);
1633 color: $destructive_fg_color;
1634 height: 22px;
1635 width: 22px;
1636 }
1637 }
1638
1639 // Pointer accessibility notifications
1640 .pie-timer {
1641 width: 60px;
1642 height: 60px;
1643 -pie-border-width: 2px;
1644 -pie-border-color: $selected_bg_color;
1645 -pie-background-color: transparentize($selected_bg_color, 0.5);
1646 }
1647
1648 //
1649 // Network Dialogs
1650 //
1651 .nm-dialog {
1652 max-height: 34em;
1653 min-height: 31em;
1654 min-width: 32em;
1655
1656 &-content {
1657 spacing: 20px;
1658 padding: 10px;
1659
1660 @extend %modal_dialog_content_box;
1661 }
1662
1663 &-header-hbox { spacing: 10px; }
1664
1665 &-airplane-box { spacing: 12px; }
1666
1667 &-airplane-headline {
1668 font-size: 1.1em;
1669 font-weight: bold;
1670 text-align: center;
1671 }
1672
1673 &-airplane-text { color: $fg_color; }
1674
1675 &-header-icon { icon-size: 32px; }
1676
1677 &-scroll-view {
1678 border: 1px solid $borders_color;
1679 border-radius: 2px;
1680 background-color: $base_color;
1681 }
1682
1683 &-header {
1684 font-weight: bold;
1685 font-size: 1.2em;
1686 }
1687
1688 &-item {
1689 font-size: 1em;
1690 border-bottom: 0px solid;
1691 padding: 12px;
1692 spacing: 0px;
1693
1694 &:selected {
1695 background-color: $selected_bg_color;
1696 color: $selected_fg_color;
1697 }
1698 }
1699
1700 &-icons { spacing: .5em; }
1701
1702 &-icon { icon-size: 16px; }
1703 }
1704
1705 .no-networks-label { color: $insensitive_fg_color; }
1706
1707 .no-networks-box { spacing: 12px; }
1708
1709 //
1710 // Overview
1711 //
1712 #overview { spacing: 24px; }
1713
1714 .overview-controls { padding-bottom: 32px; }
1715
1716 .window-picker { //container around window thumbnails
1717 -horizontal-spacing: 16px;
1718 -vertical-spacing: 16px;
1719 padding: 0 16px 16px;
1720
1721 &.external-monitor { padding: 16px; }
1722 }
1723
1724 .window-clone-border {
1725 border: 3px solid transparentize($selected_bg_color, 0.2);
1726 border-radius: 4px;
1727 box-shadow: inset 0px 0px 0px 1px transparentize($selected_bg_color, 1);
1728 }
1729
1730 .window-caption {
1731 spacing: 25px;
1732 color: $selected_fg_color;
1733 background-color: $selected_bg_color;
1734 border-radius: 2px;
1735 padding: 4px 12px;
1736 }
1737
1738 //
1739 // Search Entry
1740 //
1741 .search-entry {
1742 width: 320px;
1743 padding: 7px 9px;
1744 border-radius: 20px;
1745 border: 1px solid transparentize(black, 0.75);
1746 background-color: transparentize($entry_bg, 0.1);
1747 transition-duration: 0ms;
1748
1749 &:focus {
1750 padding: 7px 9px;
1751 }
1752
1753 .search-entry-icon {
1754 icon-size: 16px;
1755 padding: 0 4px;
1756 color: $fg_color;
1757 }
1758
1759 &:hover, &:focus {
1760 color: $selected_fg_color;
1761 caret-color: $selected_fg_color;
1762 background-color: $selected_bg_color;
1763
1764 selection-background-color: $selected_fg_color;
1765 selected-color: $selected_bg_color;
1766
1767 .search-entry-icon { color: $selected_fg_color; }
1768 }
1769 }
1770
1771 //
1772 // Search Results
1773 //
1774 #searchResultsContent {
1775 max-width: 1000px;
1776 padding-left: 20px;
1777 padding-right: 20px;
1778 spacing: 16px;
1779 }
1780
1781 // This should be equal to #searchResultsContent spacing
1782 .search-section { spacing: 16px; }
1783
1784 // This is the space between the provider icon and the results container
1785 .search-section-content { spacing: 32px; }
1786
1787 // "no results"
1788 .search-statustext {
1789 @extend %status_text;
1790 }
1791
1792 .list-search-results { spacing: 3px; }
1793
1794 .search-section-separator {
1795 background-color: transparentize(white, 0.8);
1796 height: 1px;
1797
1798 .search-section:last-child & { background-color: transparent; }
1799 }
1800
1801 .list-search-result-content { spacing: 30px; }
1802
1803 .list-search-result-title { color: $_shell_fg_color; spacing: 12px; }
1804
1805 .list-search-result-description { color: transparentize(darken($_shell_fg_color, 20%), 0.3); }
1806
1807 .list-search-provider-details { width: 150px; color: darken($_shell_fg_color,10%); margin-top: 0.1em; }
1808
1809 .list-search-provider-content { spacing: 20px; }
1810
1811 .search-provider-icon { padding: 15px; }
1812
1813 //
1814 // Dash
1815 //
1816 #dash {
1817 font-size: 1em;
1818 color: $osd_fg_color;
1819 background-color: $dark_sidebar_bg;
1820 border: 1px solid if($variant!='lighter', rgba(0,0,0,0.4), rgba(0,0,0,0.1));
1821 border-left-width: 0;
1822 padding: 4px 0;
1823 border-radius: 0 3px 3px 0;
1824
1825 &:rtl {
1826 border-left-width: 1px;
1827 border-right-width: 0;
1828 border-radius: 3px 0 0 3px;
1829 }
1830
1831 .right &,
1832 &:rtl { padding: 4px 0; }
1833
1834 .top &, .bottom & { padding: 0; }
1835
1836 .placeholder {
1837 background-image: none;
1838 background-size: contain;
1839 height: 24px;
1840 }
1841
1842 .empty-dash-drop-target {
1843 width: 24px;
1844 height: 24px;
1845 }
1846 }
1847
1848 .dash-item-container > StWidget {
1849
1850 &, &:rtl, .right & { padding: 4px 8px; }
1851
1852 .top &, .bottom & { padding: 6px; }
1853 }
1854
1855 //osd tooltip
1856 .dash-label {
1857 border-radius: 3px;
1858 padding: 4px 12px;
1859 color: $_shell_fg_color;
1860 background-color: transparentize(black, 0.3);
1861 border: 0;
1862 text-align: center;
1863 -x-offset: 3px;
1864
1865 .bottom &, .top & {
1866 -y-offset: 3px;
1867 -x-offset: 0;
1868 }
1869 }
1870
1871 // Dash Buttons
1872 #dash .app-well-app {
1873
1874 & .overview-icon {
1875 border: none;
1876 }
1877
1878 &:hover .overview-icon,
1879 .right &:hover .overview-icon,
1880 .bottom &:hover .overview-icon,
1881 .top &:hover .overview-icon {
1882 background-color: $selected_bg_color;
1883 }
1884
1885 &:active .overview-icon,
1886 .right &:active .overview-icon,
1887 .bottom &:active .overview-icon,
1888 .top &:active .overview-icon {
1889 box-shadow: none;
1890 background-color: darken($selected_bg_color, 10%);
1891 }
1892
1893 &-running-dot {
1894 width: 11px;
1895 height: 2px;
1896 margin-bottom: 2px;
1897 background-color: $selected_bg_color;
1898 }
1899
1900 &:hover .app-well-app-running-dot {
1901 background-color: $selected_fg_color;
1902 }
1903 }
1904
1905 #dashtodockContainer {
1906
1907 &.bottom #dash {
1908 margin-top: 1px;
1909 }
1910
1911 .app-well-app.focused .overview-icon {
1912 background-color: if($variant != 'lighter', transparentize(black, 0.75), transparentize(black, 0.85));
1913 }
1914
1915 &.running-dots {
1916 .app-well-app .app-well-app-running-dot,
1917 .app-well-app.focused:hover .app-well-app-running-dot {
1918 background-color: $selected_bg_color;
1919 }
1920
1921 .app-well-app:hover .app-well-app-running-dot {
1922 background-color: $selected_fg_color;
1923 }
1924 }
1925
1926 .app-well-app-running-dot,
1927 .app-well-app:hover .app-well-app-running-dot {
1928 background: none;
1929 width: 28px;
1930 height: 4px;
1931 }
1932
1933 @each $var in 1, 2, 3, 4 {
1934 .running#{$var} .app-well-app-running-dot {
1935 background-image: url("common-assets/dash/running#{$var}.svg");
1936 }
1937 .running#{$var}:hover .app-well-app-running-dot {
1938 background-image: url("common-assets/dash/running#{$var}-hover.svg");
1939 }
1940 }
1941
1942 & .show-apps {
1943 margin: 0 1px 1px 0;
1944 }
1945 }
1946
1947 .show-apps {
1948
1949 .overview-icon {
1950 background-color: if($variant!='lighter', transparentize(black, 0.5), transparentize(black, 0.8));
1951 border-radius: 2px;
1952 border: 0px;
1953 padding: 6px;
1954 transition-duration: 0ms;
1955 text-align: center;
1956 color: $_panel_fg_color;
1957 }
1958
1959 &:hover .overview-icon {
1960 background-color: if($variant!='lighter', transparentize(black, 0.3), transparentize(black, 0.9));
1961 color: $selected_bg_color;
1962 }
1963
1964 &:active .overview-icon,
1965 &:active .show-apps-icon,
1966 &:checked .overview-icon,
1967 &:checked .show-apps-icon {
1968 color: $selected_fg_color;
1969 background-color: $selected_bg_color;
1970 box-shadow: none;
1971 transition-duration: 0ms;
1972 }
1973 }
1974
1975 //
1976 // App Vault/Grid
1977 //
1978 .icon-grid {
1979 spacing: 30px;
1980 -shell-grid-horizontal-item-size: 136px;
1981 -shell-grid-vertical-item-size: 136px;
1982
1983 .overview-icon { icon-size: 96px; }
1984 }
1985
1986 //.app-display { spacing: 20px; }
1987
1988 .system-action-icon {
1989 background-color: $bg_color;
1990 color: $fg_color;
1991 border-radius: 99px;
1992 icon-size: 48px;
1993 }
1994
1995 //favorties | all toggle container
1996 .app-view-controls { padding-bottom: 32px; }
1997
1998 //favorties | all toggle button
1999 .app-view-control {
2000 padding: 4px 32px;
2001 margin: 0;
2002
2003 @include button(osd);
2004
2005 @if $variant == 'lighter' {
2006 background-color: opacify($osd_button_bg, 0.4);
2007 border-color: transparentize($osd_button_border, 0.2);
2008 }
2009
2010 &:hover {
2011 @include button(osd-hover);
2012
2013 @if $variant == 'lighter' {
2014 background-color: opacify(darken($osd_button_bg, 5%), 0.4);
2015 border-color: transparentize($osd_button_border, 0.2);
2016 }
2017 }
2018
2019 &:checked {
2020 color: $selected_fg_color;
2021 background-color: $selected_bg_color;
2022 }
2023
2024 &:first-child:ltr,
2025 &:last-child:rtl { border-radius: 2px 0 0 2px; border-right-width: 0; }
2026
2027 &:last-child:ltr,
2028 &:first-child:rtl { border-radius: 0 2px 2px 0; border-left-width: 0;}
2029 }
2030
2031 //
2032 // Icon Tile
2033 //
2034 .search-provider-icon,
2035 .list-search-result {
2036 @extend %icon_tile;
2037
2038 &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
2039
2040 &:focus, &:selected, &:hover {
2041 background-color: transparentize($osd_fg_color,.6);
2042 transition-duration: 200ms;
2043 }
2044 }
2045 .app-well-app,
2046 .app-well-app.app-folder,
2047 .grid-search-result {
2048
2049 .overview-icon {
2050 @extend %icon_tile;
2051 }
2052
2053 &:active .overview-icon,
2054 &:checked .overview-icon {
2055 background-color: transparentize(darken($osd_bg_color,10%),.1);
2056 box-shadow: inset 0 0 $selected_bg_color;
2057 }
2058
2059 &:hover .overview-icon,
2060 &:focus .overview-icon,
2061 &:selected .overview-icon {
2062 background-color: if($variant!='lighter', transparentize($osd_fg_color,.6), transparentize($osd_bg_color,.6));
2063 transition-duration: 0ms;
2064 border-image: none;
2065 background-image: none;
2066 }
2067
2068 &:drop .overview-icon {
2069 background-color: $selected_bg_color;
2070 }
2071 }
2072
2073 .app-well-app-running-dot { //running apps indicator
2074 width: 20px;
2075 height: 2px;
2076 margin-bottom: 4px;
2077 background-color: $selected_bg_color;
2078 }
2079
2080 %icon_tile {
2081 color: $_shell_fg_color;
2082 border-radius: 2px;
2083 padding: 6px;
2084 border: 1px solid transparent;
2085 transition-duration: 0ms;
2086 text-align: center;
2087 }
2088
2089 //
2090 // Collections
2091 //
2092 .app-well-app.app-folder {
2093
2094 > .overview-icon {
2095 background-color: darken($dark_sidebar_bg, 8%);
2096 border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5);
2097
2098 @if $variant == 'lighter' {
2099 color: $dark_sidebar_fg;
2100 }
2101 }
2102
2103 &:hover > .overview-icon, &:focus > .overview-icon {
2104 background-color: lighten($dark_sidebar_bg, 3%);
2105 }
2106
2107 &:active > .overview-icon, &:checked > .overview-icon {
2108 color: $selected_fg_color;
2109 background-color: $selected_bg_color;
2110 box-shadow: none;
2111 }
2112 }
2113
2114 .app-folder-popup { //expanded collection
2115 -arrow-border-radius: 2px;
2116 -arrow-background-color: darken($dark_sidebar_bg, 8%);
2117 -arrow-border-color: transparentize(darken($dark_sidebar_bg, 25%), 0.5);
2118 -arrow-border-width: 1px;
2119 -arrow-base: 20px;
2120 -arrow-rise: 10px;
2121 }
2122
2123 .app-folder-popup-bin { padding: 5px; }
2124 .app-folder-icon {
2125 padding: 5px;
2126 spacing-rows: 5px;
2127 spacing-columns: 5px;
2128 }
2129
2130 @if $variant == 'lighter' {
2131 .app-folder-popup-bin .overview-icon {
2132 color: $dark_sidebar_fg;
2133 }
2134 }
2135
2136 .page-indicator {
2137 padding: 20px 20px;
2138
2139 .page-indicator-icon {
2140 width: 8px;
2141 height: 8px;
2142 background-color: transparentize($selected_fg_color, 0.7);
2143 border: none;
2144 border-radius: 8px;
2145 margin: 0;
2146 }
2147
2148 &:hover .page-indicator-icon { background-color: transparentize($selected_fg_color, 0.45); }
2149 &:active .page-indicator-icon { background-color: $selected_bg_color; }
2150 &:checked .page-indicator-icon,
2151 &:checked:active .page-indicator-icon { background-color: $selected_fg_color; }
2152 }
2153
2154 .no-frequent-applications-label { @extend %status_text; }
2155
2156 .app-well-app > .overview-icon.overview-icon-with-label,
2157 .grid-search-result .overview-icon.overview-icon-with-label {
2158 padding: 10px 8px 5px 8px;
2159 spacing: 4px;
2160 }
2161
2162 //
2163 // Workspace pager
2164 //
2165 .workspace-thumbnails,
2166 .workspace-thumbnails-left {
2167 &, &:rtl {
2168 background-color: $dark_sidebar_bg;
2169 //background-clip: padding-box;
2170 border: 1px solid $shell_bg_border_color;
2171 visible-width: 40px; //amount visible before hover
2172 spacing: 11px;
2173 padding: 12px;
2174 }
2175
2176 .placeholder {
2177 background-image: url("common-assets/dash/dash-placeholder.svg");
2178 background-size: contain;
2179 height: 24px;
2180 }
2181 }
2182
2183 .workspace-thumbnails,
2184 .workspace-thumbnails-left:rtl {
2185 border-radius: 3px 0 0 3px;
2186 border-right-width: 0;
2187 padding-right: 8px;
2188 }
2189
2190 .workspace-thumbnails:rtl,
2191 .workspace-thumbnails-left {
2192 border-radius: 0 3px 3px 0;
2193 border-right-width: 0;
2194 padding-left: 8px;
2195 }
2196
2197 .workspace-thumbnail-indicator {
2198 border: 4px solid transparentize($selected_bg_color, 0.2);
2199 border-radius: 1px;
2200 padding: 1px;
2201 }
2202
2203 //Some hacks I don't even
2204 .all-apps,
2205 .frequent-apps > StBoxLayout {
2206 // horizontal padding to make sure scrollbars or dash don't overlap content
2207 padding: 0px 88px 10px 88px;
2208 }
2209
2210 %status_text {
2211 font-size: 2em;
2212 font-weight: bold;
2213 color: $fg_color;
2214 }
2215
2216 //
2217 // Notifications & Message Tray
2218 //
2219 .url-highlighter { link-color: $link_color; }
2220
2221 // Banners
2222 .notification-banner,
2223 .notification-banner:hover,
2224 .notification-banner:focus {
2225 font-size: 1em;
2226 width: 34em;
2227 min-height: 0;
2228 margin: 9px;
2229 padding: 6px;
2230
2231 @extend %popup_menu;
2232
2233 .notification-icon { padding: 5px; }
2234
2235 .notification-content { padding: 5px; spacing: 5px; }
2236
2237 .secondary-icon { icon-size: 1.09em; }
2238
2239 .notification-actions {
2240 background-color: transparent;
2241 border: 0;
2242 padding: 2px 2px 0 2px;
2243 spacing: 3px;
2244 }
2245 .notification-button {
2246 padding: 4px 4px 5px;
2247 min-height: 0;
2248 @extend %button;
2249
2250 &:first-child, &:last-child { border-radius: 2px; }
2251 }
2252 }
2253
2254 %popup_menu {
2255 color: $fg_color;
2256 background-color: $shell_popup_menu_background_color;
2257 //background-clip: padding-box;
2258 border: if($variant!='dark', 0, 1px) solid $shell_popup_menu_border_color;
2259 border-radius: 2px;
2260 box-shadow: $_popup_menu_shadow;
2261 }
2262
2263 .secondary-icon { icon-size: 1.09em; }
2264
2265 // Chat Bubbles
2266 .chat-body { spacing: 5px; }
2267 .chat-response { margin: 5px; }
2268 .chat-log-message { color: $fg_color; }
2269 .chat-new-group { padding-top: 1em; }
2270 .chat-received {
2271 padding-left: 4px;
2272
2273 &:rtl { padding-left: 0px; padding-right: 4px; }
2274 }
2275
2276 .chat-sent {
2277 padding-left: 18pt;
2278 color: $selected_bg_color;
2279
2280 &:rtl { padding-left: 0; padding-right: 18pt; }
2281 }
2282
2283 .chat-meta-message {
2284 padding-left: 4px;
2285 font-size: 9pt;
2286 font-weight: bold;
2287 color: transparentize($fg_color, 0.4);
2288
2289 &:rtl { padding-left: 0; padding-right: 4px; }
2290 }
2291
2292 .subscription-message { font-style: italic; }
2293
2294 // Hotplug
2295 .hotplug-transient-box {
2296 spacing: 6px;
2297 padding: 2px 72px 2px 12px;
2298 }
2299
2300 .hotplug-notification-item {
2301 padding: 2px 10px;
2302 @extend %button;
2303
2304 &:focus { padding: 2px 10px; }
2305 }
2306
2307 .hotplug-notification-item-icon {
2308 icon-size: 24px;
2309 padding: 2px 5px;
2310 }
2311
2312 .hotplug-resident-box { spacing: 8px; }
2313
2314 .hotplug-resident-mount {
2315 spacing: 8px;
2316 border-radius: 4px;
2317 &:hover { background-color: transparentize($bg_color,0.7); }
2318 }
2319
2320 .hotplug-resident-mount-label {
2321 color: inherit;
2322 padding-left: 6px;
2323 }
2324
2325 .hotplug-resident-mount-icon {
2326 icon-size: 24px;
2327 padding-left: 6px;
2328 }
2329
2330 .hotplug-resident-eject-icon {
2331 icon-size: 16px;
2332 }
2333
2334 .hotplug-resident-eject-button {
2335 padding: 7px;
2336 border-radius: 5px;
2337 color: pink;
2338 }
2339
2340 // Eeeky things
2341
2342 // Magnifier
2343
2344 .magnifier-zoom-region {
2345 border: 2px solid $selected_bg_color;
2346 &.full-screen { border-width: 0; }
2347 }
2348
2349 //
2350 // On-Screen Keyboard
2351 //
2352 .word-suggestions {
2353 font-size: 14pt;
2354 spacing: 12px;
2355 min-height: 20pt;
2356
2357 StButton {
2358 padding: 0 0.5em;
2359 border-radius: 2px;
2360 color: $osd_fg_color;
2361
2362 &:hover, &:focus, &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
2363 }
2364 }
2365
2366 #keyboard {
2367 background-color: $osd_bg_color;
2368 border-width: 0;
2369 border-top-width: 1px;
2370 border-color: transparentize(black, 0.8);
2371
2372 .page-indicator {
2373 padding: 4px 4px;
2374
2375 .page-indicator-icon {
2376 width: 6px;
2377 height: 6px
2378 }
2379 }
2380 }
2381
2382 .key-container {
2383 padding: 4px;
2384 spacing: 4px;
2385 }
2386
2387 .keyboard-key {
2388 min-height: 1.2em;
2389 min-width: 1.2em;
2390 font-size: 16pt;
2391 border-radius: 3px;
2392 box-shadow: none;
2393
2394 @include button(osd);
2395
2396 &:hover { @include button(osd-hover); }
2397 &:active, &:checked { @include button(osd-active); }
2398
2399 &:grayed { @include button(osd-insensitive); }
2400
2401 &.default-key {
2402 background-color: darken($osd_button_bg, 13%);
2403 background-size: 20px;
2404
2405 &:hover { background-color: darken($osd_button_bg, 5%); }
2406 &:active, &:checked { @include button(osd-active); }
2407 }
2408
2409 &.enter-key {
2410 @include button(osd-active);
2411 background-image: url("common-assets/key/key-enter.svg");
2412
2413 &:hover { background-color: darken($selected_bg_color, 5%); }
2414 &:active, &:checked { @include button(osd-active); }
2415 }
2416
2417 &.shift-key-lowercase {
2418 background-image: url("#{$asset_path}/key/key-shift.svg");
2419 }
2420 &.shift-key-uppercase {
2421 background-image: url("common-assets/key/key-shift-uppercase.svg");
2422 }
2423 &.shift-key-uppercase:latched {
2424 background-image: url("common-assets/key/key-shift-latched-uppercase.svg");
2425 }
2426 &.hide-key {
2427 background-image: url("#{$asset_path}/key/key-hide.svg");
2428
2429 &:active, &:checked { background-image: url("common-assets/key/key-hide-active.svg"); }
2430 }
2431 &.layout-key {
2432 background-image: url("#{$asset_path}/key/key-layout.svg");
2433
2434 &:active, &:checked { background-image: url("common-assets/key/key-layout-active.svg"); }
2435 }
2436 }
2437
2438 .keyboard-subkeys { //long press on a key popup
2439 color: $osd_fg_color;
2440 -arrow-border-radius: 2px;
2441 -arrow-background-color: $osd_bg_color;
2442 -arrow-border-width: 1px;
2443 -arrow-border-color: transparentize(black, 0.6);;
2444 -arrow-base: 20px;
2445 -arrow-rise: 10px;
2446 -boxpointer-gap: 5px;
2447 }
2448
2449 .emoji-page {
2450 .keyboard-key {
2451 background-color: transparent;
2452 border: none;
2453 }
2454 }
2455
2456 .emoji-panel {
2457 .keyboard-key:latched {
2458 @include button(osd-active);
2459
2460 &:hover { background-color: darken($selected_bg_color, 5%); }
2461 &:active, &:checked { @include button(osd-active); }
2462 }
2463 }
2464
2465 //
2466 // IBus Candidate Popup
2467 //
2468 .candidate-popup-content {
2469 padding: 0.5em;
2470 spacing: 0.3em;
2471 color: $osd_fg_color;
2472 font-size: 1.15em;
2473 }
2474
2475 .candidate-index {
2476 padding: 0 0.5em 0 0;
2477 color: lighten($osd_fg_color, 10%);
2478 }
2479
2480 .candidate-box {
2481 padding: 0.3em 0.5em 0.3em 0.5em;
2482 border-radius: 2px;
2483 color: $osd_fg_color;
2484 &:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
2485 }
2486
2487 .candidate-page-button-box {
2488 height: 2em;
2489 .vertical & { padding-top: 0.5em; }
2490 .horizontal & { padding-left: 0.5em; }
2491 }
2492
2493 .candidate-page-button {
2494 padding: 4px;
2495 }
2496
2497 .candidate-page-button-previous { border-radius: 2px 0px 0px 2px; border-right-width: 0; }
2498 .candidate-page-button-next { border-radius: 0px 2px 2px 0px; }
2499 .candidate-page-button-icon { icon-size: 1em; }
2500
2501 //
2502 // Auth Dialogs & Screen Shield
2503 //
2504 .user-icon {
2505 background-size: contain;
2506 color: $fg_color;
2507 border-radius: 99px;
2508 &:hover {
2509 color: transparentize($fg_color, 0.3);
2510 }
2511 }
2512
2513 //
2514 // Login Dialog
2515 //
2516 .login-dialog-banner-view {
2517 padding-top: 24px;
2518 max-width: 23em;
2519 }
2520
2521 .login-dialog {
2522 //reset
2523 border: none;
2524 background-color: transparent;
2525
2526 .modal-dialog-button-box { spacing: 3px; }
2527 .modal-dialog-button {
2528 padding: 3px 18px;
2529 &:default {
2530 @include button(normal);
2531 &:hover,&:focus { @include button(hover); }
2532 &:active { @include button(active); }
2533 &:insensitive { @include button(insensitive); }
2534 }
2535 }
2536 }
2537
2538 .login-dialog-logo-bin { padding: 24px 0px; }
2539 .login-dialog-banner { color: if($variant!='dark', lighten($fg_color, 10%), darken($fg_color, 20%)); }
2540 .login-dialog-button-box { spacing: 5px; }
2541 .login-dialog-message-warning { color: $warning_color; }
2542 .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
2543 .login-dialog-user-selection-box { padding: 100px 0px; }
2544 .login-dialog-not-listed-label {
2545 padding-left: 2px;
2546 .login-dialog-not-listed-button:focus &,
2547 .login-dialog-not-listed-button:hover & {
2548 color: $fg_color;
2549 }
2550 }
2551 .login-dialog-not-listed-label {
2552 font-size: 90%;
2553 font-weight: bold;
2554 color: if($variant!='dark', lighten($fg_color, 20%), darken($fg_color, 30%));
2555 padding-top: 1em;
2556 }
2557
2558 .login-dialog-user-list-view { -st-vfade-offset: 1em; }
2559 .login-dialog-user-list {
2560 spacing: 12px;
2561 width: 23em;
2562 &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
2563 &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
2564 }
2565 .login-dialog-user-list-item {
2566 border-radius: 5px;
2567 padding: 6px;
2568 color: if($variant!='dark', lighten($fg_color, 20%), darken($fg_color, 30%));
2569 &:ltr .user-widget { padding-right: 1em; }
2570 &:rtl .user-widget { padding-left: 1em; }
2571 .login-dialog-timed-login-indicator {
2572 height: 2px;
2573 margin-top: 6px;
2574 background-color: $fg_color;
2575 }
2576 &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
2577 }
2578
2579 .login-dialog-username,
2580 .user-widget-label {
2581 color: $fg_color;
2582 font-size: 120%;
2583 font-weight: bold;
2584 text-align: left;
2585 padding-left: 15px;
2586
2587 .login-dialog-user-list-item:selected & { color: $selected_fg_color; }
2588 }
2589 .user-widget-label {
2590 &:ltr { padding-left: 14px; }
2591 &:rtl { padding-right: 14px; }
2592 }
2593
2594 .login-dialog-prompt-layout {
2595 padding-top: 24px;
2596 padding-bottom: 12px;
2597 spacing: 8px;
2598 width: 23em;
2599 }
2600
2601 .login-dialog-prompt-label {
2602 color: if($variant!='dark', lighten($fg_color, 10%), darken($fg_color, 20%));
2603 font-size: 110%;
2604 padding-top: 1em;
2605 }
2606
2607 .login-dialog-session-list-button StIcon {
2608 icon-size: 1.25em;
2609 }
2610
2611 .login-dialog-session-list-button {
2612 color: if($variant!='dark', lighten($fg_color, 20%), darken($fg_color, 30%));
2613 &:hover,&:focus { color: $fg_color; }
2614 &:active { color: if($variant!='dark', lighten($fg_color, 40%), darken($fg_color, 50%)); }
2615 }
2616
2617 //
2618 // Screen Shield
2619 //
2620 .screen-shield-arrows {
2621 padding-bottom: 3em;
2622 }
2623
2624 .screen-shield-arrows Gjs_Arrow {
2625 color: white;
2626 width: 80px;
2627 height: 48px;
2628 -arrow-thickness: 12px;
2629 -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
2630 }
2631
2632 .screen-shield-clock {
2633 color: white;
2634 text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
2635 font-weight: bold;
2636 text-align: center;
2637 padding-bottom: 1.5em;
2638 }
2639
2640 .screen-shield-clock-time {
2641 font-size: 72pt;
2642 text-shadow: 0px 2px 2px rgba(0,0,0,0.4);
2643 font-feature-settings: "tnum";
2644 }
2645
2646 .screen-shield-clock-date {
2647 font-size: 28pt;
2648 font-weight: normal;
2649 }
2650
2651 .screen-shield-notifications-container {
2652 spacing: 6px;
2653 width: 30em;
2654 background-color: transparent;
2655 max-height: 500px;
2656 .summary-notification-stack-scrollview {
2657 padding-top: 0;
2658 padding-bottom: 0;
2659 }
2660
2661 .notification,
2662 .screen-shield-notification-source {
2663 padding: 12px 6px;
2664 border: 1px solid $_bubble_borders_color;
2665 background-color: transparentize($osd_bg_color,0.5);
2666 color: $_bubble_fg_color;
2667 border-radius: 4px;
2668 }
2669 .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
2670 }
2671
2672
2673 .screen-shield-notification-label {
2674 font-weight: bold;
2675 padding: 0px 0px 0px 12px;
2676 }
2677
2678 .screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
2679
2680 #panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); }
2681
2682 .screen-shield-background { //just the shadow, really
2683 background: black;
2684 box-shadow: 0px 2px 4px transparentize(black,0.6);
2685 }
2686
2687 #lockDialogGroup {
2688 background: if($variant!='dark', darken($bg_color, 10%), darken($bg_color, 5%));
2689 background-repeat: repeat;
2690 }
2691
2692 #screenShieldNotifications {
2693 StButton#vhandle, StButton#hhandle {
2694 background-color: transparentize($bg_color,0.7);
2695 &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
2696 &:active { background-color: transparentize($selected_bg_color,0.5); }
2697 }
2698 }
2699
2700 //
2701 // Looking Glass
2702 //
2703 #LookingGlassDialog {
2704 margin: 4px;
2705 spacing: 4px;
2706 padding: 4px 4px 6px 4px;
2707 color: $osd_fg_color;
2708 @extend %shell_bg;
2709
2710 & > #Toolbar {
2711 padding: 3px;
2712 border: none;
2713 background-color: transparent;
2714 border-radius: 0px;
2715 }
2716 .labels { spacing: 4px; }
2717
2718 .notebook-tab {
2719 -natural-hpadding: 12px;
2720 -minimum-hpadding: 6px;
2721 font-weight: bold;
2722 color: $osd_fg_color;
2723 transition-duration: 100ms;
2724 padding-left: .3em;
2725 padding-right: .3em;
2726
2727 &:hover {
2728 color: $_panel_fg_color;
2729 text-shadow: black 0px 2px 2px;
2730 }
2731 &:selected {
2732 border-bottom-width: 0px;
2733 color: $selected_bg_color;
2734 text-shadow: black 0px 2px 2px;
2735 }
2736 }
2737 StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
2738 StBoxLayout#ResultsArea { spacing: 4px; }
2739 }
2740
2741 .lg-dialog {
2742
2743 StEntry {
2744 caret-color: $selected_fg_color;
2745 selection-background-color: $selected_bg_color;
2746 selected-color: $selected_fg_color;
2747
2748 @include entry(osd);
2749 &:focus {
2750 @include entry(osd-focus);
2751
2752 selection-background-color: $selected_fg_color;
2753 selected-color: $selected_bg_color;
2754 }
2755 }
2756 .shell-link {
2757 color: $link_color;
2758 &:hover { color: lighten($link_color,10%); }
2759 }
2760 }
2761
2762 .lg-completions-text {
2763 font-size: .9em;
2764 font-style: italic;
2765 }
2766
2767 .lg-obj-inspector-title {
2768 spacing: 4px;
2769 }
2770
2771 .lg-obj-inspector-button {
2772 border: 1px solid gray;
2773 padding: 4px;
2774 border-radius: 4px;
2775 &:hover { border: 1px solid #ffffff; }
2776 }
2777
2778 #lookingGlassExtensions { padding: 4px; }
2779
2780 .lg-extensions-list {
2781 padding: 4px;
2782 spacing: 6px;
2783 }
2784
2785 .lg-extension {
2786 border: 1px solid $osd_borders_color;
2787 border-radius: 2px;
2788 background-color: $osd_bg_color;
2789 padding: 4px;
2790 }
2791
2792 .lg-extension-name {
2793 font-weight: bold;
2794 }
2795
2796 .lg-extension-meta {
2797 spacing: 6px;
2798 }
2799
2800 #LookingGlassPropertyInspector {
2801 background: transparentize(black, 0.3);
2802 border: 1px solid grey;
2803 border-radius: 2px;
2804 color: $_shell_fg_color;
2805 padding: 6px;
2806 }