Debian Codegraph @

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