Debian Codegraph @

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