Debian Codegraph @

common/gnome-shell/3.36/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 &.leightweight {
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 padding: 4px 0 0;
1206 margin: 6px;
1207 background-color: if($variant!='dark', transparentize($fg_color,0.9), transparentize($fg_color,0.7));
1208 color: if($variant!='dark', transparentize($fg_color,0.5), $bg_color);
1209
1210 &:ltr { margin-left: 10px; }
1211 &:rtl { margin-right: 10px; }
1212 }
1213 }
1214
1215 /* World clocks */
1216 .world-clocks-button {
1217 @include datemenu_bubble;
1218
1219 .world-clocks-grid {
1220 spacing-rows: 5px;
1221 spacing-columns: 10px;
1222 }
1223
1224 // title
1225 .world-clocks-header {
1226 color: transparentize($fg_color, 0.6);
1227 font-weight: bold;
1228 }
1229 &:active .world-clocks-header {
1230 color: $selected_fg_color;
1231 }
1232
1233 // city label
1234 .world-clocks-city {
1235 color: inherit;
1236 @include fontsize($font-size * 0.9);
1237 font-weight: bold;
1238 }
1239
1240 // timezone time
1241 .world-clocks-time {
1242 font-weight: normal;
1243 color: transparentize($fg_color, 0.2);
1244 font-feature-settings: "tnum";
1245 @include fontsize($font-size * 1.2);
1246
1247 &:ltr { text-align: right; }
1248 &:rtl { text-align: left; }
1249 }
1250 &:active .world-clocks-time { color: transparentize($selected_fg_color, 0.2); }
1251
1252 // timezone offset label
1253 .world-clocks-timezone {
1254 color: transparentize($fg_color, 0.4);
1255 font-feature-settings: "tnum";
1256 @include fontsize($font-size * 0.9);
1257 }
1258 &:active .world-clocks-timezone { color: transparentize($selected_fg_color, 0.4); }
1259 }
1260
1261 /* Weather */
1262 .weather-button {
1263 @include datemenu_bubble;
1264
1265 .weather-box {
1266 spacing: 5px;
1267 }
1268
1269 .weather-header-box {
1270 spacing: 5px;
1271 }
1272
1273 .weather-header {
1274 color: transparentize($fg_color, 0.6);
1275 font-weight: bold;
1276
1277 &.location {
1278 font-weight: normal;
1279 @include fontsize($font-size * 0.9);
1280 }
1281 }
1282 &:active .weather-header {
1283 color: $selected_fg_color;
1284 }
1285
1286 .weather-grid {
1287 spacing-rows: 5px;
1288 spacing-columns: 10px;
1289 }
1290
1291 .weather-forecast-time {
1292 color: transparentize($fg_color, 0.4);
1293 font-feature-settings: "tnum";
1294 @include fontsize($font-size * 0.8);
1295 font-weight: normal;
1296 padding-top: 2px;
1297 padding-bottom: 4px;
1298 }
1299 &:active .weather-forecast-time { color: transparentize($selected_fg_color, 0.4); }
1300
1301 .weather-forecast-icon {
1302 icon-size: 26px;
1303 }
1304
1305 .weather-forecast-temp {
1306 font-weight: bold;
1307 }
1308 }
1309
1310 //
1311 // Message list
1312 //
1313
1314 // main list
1315 .message-list {
1316 width: 31.5em;
1317 padding: 9px 0;
1318
1319 .message-list-placeholder {
1320 StIcon { width: 0; height: 0; }
1321 StLabel { color: $insensitive_fg_color; }
1322 }
1323
1324 StScrollBar { padding: 2px 0; }
1325 }
1326
1327 .message-list-sections {
1328 spacing: 12px;
1329 margin: 0 18px; // to account for scrollbar
1330
1331 &:ltr { margin-right: 9px; }
1332 &:rtl { margin-left: 9px; }
1333 }
1334
1335 .message-list-section,
1336 .message-list-section-list {
1337 spacing: 5px;
1338 }
1339
1340 // do-not-disturb + clear button
1341 .message-list-controls {
1342 margin: 18px 18px 0;
1343 padding: 0;
1344 spacing: 10px;
1345
1346 &:ltr { margin-right: 9px; }
1347 &:rtl { margin-left: 9px; }
1348 }
1349
1350 .message-list-clear-button {
1351 margin: 0;
1352 padding: 4px 12px;
1353 }
1354
1355 // message bubbles
1356 .message {
1357 margin: 0;
1358 text-shadow: none;
1359
1360 padding: 3px;
1361 color: $fg_color;
1362 background-color: $shell_message_background_color;
1363 border: 1px solid $shell_message_border_color;
1364 border-radius: 2px;
1365 box-shadow: inset 4px 0 0 if($variant!='dark', -1px, -2px) $selected_bg_color;
1366 text-shadow: none;
1367
1368 &:hover, &:focus {
1369 color: $fg_color;
1370 border-color: $selected_bg_color;
1371 }
1372
1373 &:active {
1374 color: $selected_fg_color;
1375 background-color: $selected_bg_color;
1376 }
1377
1378 // icon container
1379 $message_icon_size: 16px;
1380
1381 .message-icon-bin {
1382 padding: 8px 2px 8px 8px;
1383 &:rtl { padding: 8px 8px 8px 2px; }
1384
1385 // icon size and color
1386 > StIcon {
1387 color: inherit;
1388 icon-size: $message_icon_size;
1389 -st-icon-style: symbolic;
1390 }
1391
1392 // fallback
1393 > .fallback-app-icon {
1394 width: $message_icon_size;
1395 height: $message_icon_size;
1396 }
1397 }
1398
1399 // content
1400 .message-content {
1401 padding: 8px;
1402 spacing: 0;
1403 }
1404
1405 // title
1406 .message-title {
1407 font-weight: bold;
1408 }
1409
1410 // secondary container in title box
1411 .message-secondary-bin {
1412 padding: 0 10px;
1413
1414 // notification time stamp
1415 > .event-time {
1416 color: transparentize($fg_color, 0.4);
1417 @include fontsize($font-size * 0.9);
1418 /* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */
1419 padding-bottom: 0.05em;//Use em instead of px, since this depends on font-size
1420
1421 &:ltr { text-align: right };
1422 &:rtl { text-align: left };
1423 }
1424 }
1425
1426 &:active .message-secondary-bin,
1427 &:active .message-secondary-bin > .event-time {
1428 color: transparentize($selected_fg_color, 0.4);
1429 }
1430
1431 // close button
1432 .message-close-button {
1433 color: $fg_color;
1434 &:hover { color: transparentize($fg_color, 0.3); }
1435 &:active { color: $selected_bg_color }
1436 }
1437
1438 // body
1439 .message-body {
1440 color: inherit;
1441 }
1442 }
1443
1444 // URLs in messages
1445 .url-highlighter {
1446 link-color: $link_color;
1447 }
1448
1449 /* Media Controls */
1450 .message-media-control {
1451 padding: 12px;
1452 color: $fg_color;
1453 background-color: transparent;
1454
1455 &:hover { color: transparentize($fg_color, 0.3); }
1456 &:active { color: $selected_bg_color; }
1457 &:insensitive { color: $insensitive_fg_color; }
1458
1459 &:last-child:ltr { padding-right: 18px; }
1460 &:last-child:rtl { padding-left: 18px; }
1461 }
1462
1463 .message:active .message-media-control {
1464 color: $selected_fg_color;
1465 }
1466
1467 // album-art
1468 .media-message-cover-icon {
1469 icon-size: 48px !important;
1470
1471 // when there is no artwork
1472 &.fallback {
1473 color: $insensitive_fg_color !important;
1474 background-color: $bg_color;
1475 border-radius: 2px;
1476 icon-size: 32px !important;
1477 padding: 6px;
1478 border: 1px solid $borders_color;
1479 }
1480
1481 .message:active &.fallback {
1482 color: transparentize($selected_fg_color, 0.2) !important;
1483 background-color: lighten($selected_bg_color, 7%);
1484 border-color: transparentize($selected_fg_color, 0.2);
1485 }
1486 }
1487
1488
1489 //
1490 // Activities Ripples
1491 //
1492 .ripple-box {
1493 width: 52px;
1494 height: 52px;
1495 border-radius: 0 0 52px 0; // radius the size of the box give us the curve
1496 background-color: transparentize($selected_bg_color, 0.5);
1497
1498 &:rtl { border-radius: 0 0 0 52px; } // just a simple change to the border radius position
1499 }
1500
1501 // Rubberband for select-area screenshots
1502 .select-area-rubberband {
1503 background-color: transparentize($selected_bg_color,0.7);
1504 border: 1px solid $selected_bg_color;
1505 }
1506
1507 // Pointer location
1508 .ripple-pointer-location {
1509 width: 50px;
1510 height: 50px;
1511 border-radius: 25px 25px 25px 25px; // radius the size of the box give us the curve
1512 background-color: transparentize($selected_bg_color, 0.5);
1513 }
1514
1515 // not really top bar only
1516 .popup-menu-arrow { icon-size: 16px; }
1517 .popup-menu-icon { icon-size: 16px; }
1518
1519
1520 //
1521 // Close buttons
1522 //
1523 .window-close {
1524 background-color: lighten(saturate($destructive_color, 6%), 4%);
1525 border-radius: 22px;
1526 border: none;
1527 box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);;
1528 color: $destructive_fg_color;
1529 height: 22px;
1530 width: 22px;
1531 -shell-close-overlap: 9px;
1532 padding: 0;
1533
1534 & > StIcon { icon-size: 16px; }
1535
1536 &:hover {
1537 background-color: lighten(saturate($destructive_color, 15%), 12%);
1538 color: $destructive_fg_color;
1539 height: 22px;
1540 width: 22px;
1541 }
1542
1543 &:active {
1544 background-color: darken(adjust-hue(desaturate($destructive_color, 18%), -5%), 9%);
1545 color: $destructive_fg_color;
1546 height: 22px;
1547 width: 22px;
1548 }
1549 }
1550
1551 // Pointer accessibility notifications
1552 .pie-timer {
1553 width: 60px;
1554 height: 60px;
1555 -pie-border-width: 2px;
1556 -pie-border-color: $selected_bg_color;
1557 -pie-background-color: transparentize($selected_bg_color, 0.5);
1558 }
1559
1560 //
1561 // Network Dialogs
1562 //
1563 .nm-dialog {
1564 max-height: 34em;
1565 min-height: 31em;
1566 min-width: 32em;
1567
1568 &-content {
1569 spacing: 20px;
1570 padding: 10px;
1571
1572 @extend %modal_dialog_content_box;
1573 }
1574
1575 &-header-hbox { spacing: 10px; }
1576
1577 &-airplane-box { spacing: 12px; }
1578
1579 &-airplane-headline {
1580 @include fontsize($font-size * 1.1);
1581 font-weight: bold;
1582 text-align: center;
1583 }
1584
1585 &-airplane-text { color: $fg_color; }
1586
1587 &-header-icon { icon-size: 32px; }
1588
1589 &-scroll-view {
1590 border: 1px solid $borders_color;
1591 border-radius: 2px;
1592 background-color: $base_color;
1593 }
1594
1595 &-header {
1596 font-weight: bold;
1597 @include fontsize($font-size * 1.2);
1598 }
1599
1600 &-item {
1601 @include fontsize($font-size);
1602 border-bottom: 0px solid;
1603 padding: 12px;
1604 spacing: 0px;
1605
1606 &:selected {
1607 background-color: $selected_bg_color;
1608 color: $selected_fg_color;
1609 }
1610 }
1611
1612 &-icons { spacing: .5em; }
1613
1614 &-icon { icon-size: 16px; }
1615 }
1616
1617 .no-networks-label { color: $insensitive_fg_color; }
1618
1619 .no-networks-box { spacing: 12px; }
1620
1621 //
1622 // Overview
1623 //
1624 #overview { spacing: 24px; }
1625
1626 .overview-controls { padding-bottom: 32px; }
1627
1628 .window-picker { //container around window thumbnails
1629 -horizontal-spacing: 16px;
1630 -vertical-spacing: 16px;
1631 padding: 0 16px 16px;
1632
1633 &.external-monitor { padding: 16px; }
1634 }
1635
1636 .window-clone-border {
1637 border: 3px solid transparentize($selected_bg_color, 0.2);
1638 border-radius: 4px;
1639 box-shadow: inset 0px 0px 0px 1px transparentize($selected_bg_color, 1);
1640 }
1641
1642 .window-caption {
1643 spacing: 25px;
1644 color: $selected_fg_color;
1645 background-color: $selected_bg_color;
1646 border-radius: 2px;
1647 padding: 4px 12px;
1648 border-width: 0;
1649 @include fontsize($font-size);
1650 font-weight: normal;
1651 }
1652
1653 //
1654 // Search Entry
1655 //
1656 .search-entry {
1657 width: 320px;
1658 padding: 7px 9px;
1659 border-radius: 20px;
1660 border: 1px solid transparentize(black, 0.75);
1661 background-color: transparentize($entry_bg, 0.1);
1662 transition-duration: 0ms;
1663
1664 &:focus {
1665 padding: 7px 9px;
1666 }
1667
1668 .search-entry-icon,
1669 .hint-text {
1670 color: $fg_color;
1671 }
1672
1673 .search-entry-icon {
1674 icon-size: 16px;
1675 padding: 0 4px;
1676 }
1677
1678 .hint-text { margin-left: 0; }
1679
1680 &:hover, &:focus {
1681 color: $selected_fg_color;
1682 caret-color: $selected_fg_color;
1683 background-color: $selected_bg_color;
1684
1685 selection-background-color: $selected_fg_color;
1686 selected-color: $selected_bg_color;
1687
1688 .search-entry-icon,
1689 .hint-text {
1690 color: $selected_fg_color;
1691 }
1692 }
1693 }
1694
1695 //
1696 // Search Results
1697 //
1698 #searchResultsContent {
1699 max-width: 1000px;
1700 padding-left: 20px;
1701 padding-right: 20px;
1702 spacing: 16px;
1703 }
1704
1705 // This should be equal to #searchResultsContent spacing
1706 .search-section { spacing: 16px; }
1707
1708 // This is the space between the provider icon and the results container
1709 .search-section-content {
1710 background-color: transparent;
1711 border: none;
1712 box-shadow: none;
1713 text-shadow: none;
1714 color: $_shell_fg_color;
1715 spacing: 32px;
1716 }
1717
1718 // "no results"
1719 .search-statustext {
1720 @extend %status_text;
1721 }
1722
1723 .list-search-results { spacing: 3px; }
1724
1725 .search-section-separator {
1726 background-color: transparentize(white, 0.8);
1727 height: 1px;
1728
1729 .search-section:last-child & { background-color: transparent; }
1730 }
1731
1732 .list-search-result-content { spacing: 30px; }
1733
1734 .list-search-result-title { color: $_shell_fg_color; spacing: 12px; }
1735
1736 .list-search-result-description { color: transparentize(darken($_shell_fg_color, 20%), 0.3); }
1737
1738 .list-search-provider-details { width: 150px; color: darken($_shell_fg_color,10%); margin-top: 0.1em; }
1739
1740 .list-search-provider-content { spacing: 20px; }
1741
1742 .search-provider-icon { padding: 15px; }
1743
1744 //
1745 // Dash
1746 //
1747 #dash {
1748 @include fontsize($font-size);
1749 color: $osd_fg_color;
1750 background-color: $dark_sidebar_bg;
1751 border: 1px solid if($variant!='lighter', rgba(0,0,0,0.4), rgba(0,0,0,0.1));
1752 border-left-width: 0;
1753 padding: 4px 0;
1754 border-radius: 0 3px 3px 0;
1755
1756 &:rtl {
1757 border-left-width: 1px;
1758 border-right-width: 0;
1759 border-radius: 3px 0 0 3px;
1760 }
1761
1762 .right &,
1763 &:rtl { padding: 4px 0; }
1764
1765 .top &, .bottom & { padding: 0; }
1766
1767 .placeholder {
1768 background-image: none;
1769 background-size: contain;
1770 height: 24px;
1771 }
1772
1773 .empty-dash-drop-target {
1774 width: 24px;
1775 height: 24px;
1776 }
1777 }
1778
1779 .dash-item-container > StWidget {
1780
1781 &, &:rtl, .right & { padding: 4px 8px; }
1782
1783 .top &, .bottom & { padding: 6px; }
1784 }
1785
1786 //osd tooltip
1787 .dash-label {
1788 border-radius: 3px;
1789 padding: 4px 12px;
1790 color: $_shell_fg_color;
1791 background-color: transparentize(black, 0.3);
1792 border: 0;
1793 text-align: center;
1794 -x-offset: 3px;
1795 box-shadow: none;
1796
1797 .bottom &, .top & {
1798 -y-offset: 3px;
1799 -x-offset: 0;
1800 }
1801 }
1802
1803 // Dash Buttons
1804 #dash .app-well-app {
1805
1806 & .overview-icon {
1807 border: none;
1808 }
1809
1810 &:hover .overview-icon,
1811 .right &:hover .overview-icon,
1812 .bottom &:hover .overview-icon,
1813 .top &:hover .overview-icon {
1814 background-color: $selected_bg_color;
1815 }
1816
1817 &:active .overview-icon,
1818 .right &:active .overview-icon,
1819 .bottom &:active .overview-icon,
1820 .top &:active .overview-icon {
1821 box-shadow: none;
1822 background-color: darken($selected_bg_color, 10%);
1823 }
1824
1825 &-running-dot {
1826 width: 11px;
1827 height: 2px;
1828 margin-bottom: 2px;
1829 background-color: $selected_bg_color;
1830 }
1831
1832 &:hover .app-well-app-running-dot {
1833 background-color: $selected_fg_color;
1834 }
1835 }
1836
1837 #dashtodockContainer {
1838
1839 &.bottom #dash {
1840 margin-top: 1px;
1841 }
1842
1843 .app-well-app.focused .overview-icon {
1844 background-color: if($variant != 'lighter', transparentize(black, 0.75), transparentize(black, 0.85));
1845 }
1846
1847 &.running-dots {
1848 .app-well-app .app-well-app-running-dot,
1849 .app-well-app.focused:hover .app-well-app-running-dot {
1850 background-color: $selected_bg_color;
1851 }
1852
1853 .app-well-app:hover .app-well-app-running-dot {
1854 background-color: $selected_fg_color;
1855 }
1856 }
1857
1858 .app-well-app-running-dot,
1859 .app-well-app:hover .app-well-app-running-dot {
1860 background: none;
1861 width: 28px;
1862 height: 4px;
1863 }
1864
1865 @each $var in 1, 2, 3, 4 {
1866 .running#{$var} .app-well-app-running-dot {
1867 background-image: url("common-assets/dash/running#{$var}.svg");
1868 }
1869 .running#{$var}:hover .app-well-app-running-dot {
1870 background-image: url("common-assets/dash/running#{$var}-hover.svg");
1871 }
1872 }
1873
1874 & .show-apps {
1875 margin: 0 1px 1px 0;
1876 }
1877 }
1878
1879 .show-apps {
1880
1881 .overview-icon {
1882 background-color: if($variant!='lighter', transparentize(black, 0.5), transparentize(black, 0.8));
1883 border-radius: 2px;
1884 border: 0px;
1885 padding: 6px;
1886 transition-duration: 0ms;
1887 text-align: center;
1888 color: $_panel_fg_color;
1889 }
1890
1891 &:hover .overview-icon {
1892 background-color: if($variant!='lighter', transparentize(black, 0.3), transparentize(black, 0.9));
1893 color: $selected_bg_color;
1894 }
1895
1896 &:active .overview-icon,
1897 &:active .show-apps-icon,
1898 &:checked .overview-icon,
1899 &:checked .show-apps-icon {
1900 color: $selected_fg_color;
1901 background-color: $selected_bg_color;
1902 box-shadow: none;
1903 transition-duration: 0ms;
1904 }
1905 }
1906
1907 //
1908 // App Vault/Grid
1909 //
1910 .icon-grid {
1911 spacing: 20px;
1912 -shell-grid-horizontal-item-size: 136px;
1913 -shell-grid-vertical-item-size: 136px;
1914
1915 .overview-icon { icon-size: 96px; }
1916 }
1917
1918 //.app-display { spacing: 20px; }
1919
1920 .system-action-icon {
1921 background-color: $bg_color;
1922 color: $fg_color;
1923 border-radius: 99px;
1924 icon-size: 48px;
1925 }
1926
1927 //favorties | all toggle container
1928 .app-view-controls { padding-bottom: 32px; }
1929
1930 //favorties | all toggle button
1931 .app-view-control {
1932 padding: 4px 32px;
1933 margin: 0;
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 &:drop .overview-icon {
2001 background-color: $selected_bg_color;
2002 }
2003 }
2004
2005 .app-well-app-running-dot { //running apps indicator
2006 width: 20px;
2007 height: 2px;
2008 margin-bottom: 4px;
2009 background-color: $selected_bg_color;
2010 }
2011
2012 %icon_tile {
2013 color: $_shell_fg_color;
2014 border-radius: 2px;
2015 padding: 6px;
2016 border: 1px solid transparent;
2017 transition-duration: 0ms;
2018 text-align: center;
2019 }
2020
2021 //
2022 // App folders
2023 //
2024 .app-well-app.app-folder {
2025
2026 > .overview-icon {
2027 background-color: darken($dark_sidebar_bg, 8%);
2028 border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5);
2029
2030 @if $variant == 'lighter' {
2031 color: $dark_sidebar_fg;
2032 }
2033 }
2034
2035 &:hover > .overview-icon, &:focus > .overview-icon {
2036 background-color: lighten($dark_sidebar_bg, 3%);
2037 }
2038
2039 &:active > .overview-icon, &:checked > .overview-icon {
2040 color: $selected_fg_color;
2041 background-color: $selected_bg_color;
2042 box-shadow: none;
2043 }
2044 }
2045
2046 // expanded folder
2047 .app-folder-dialog {
2048 border-radius: 2px;
2049 border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5);
2050 spacing: 12px;
2051 background-color: darken($dark_sidebar_bg, 8%);
2052
2053 & .folder-name-container {
2054 padding: 24px 36px 0;
2055 spacing: 12px;
2056
2057 & .folder-name-label,
2058 & .folder-name-entry {
2059 @include fontsize($font-size * 1.6);
2060 font-weight: bold;
2061 }
2062
2063 & .folder-name-entry { width: 300px; }
2064
2065 /* FIXME: this is to keep the label in sync with the entry */
2066 & .folder-name-label { padding: 5px 7px; color: $fg_color; }
2067
2068 & .edit-folder-button {
2069 @extend %button;
2070
2071 padding: 0;
2072 width: 36px;
2073 height: 36px;
2074 border-radius: 18px;
2075
2076 & > StIcon { icon-size: 16px }
2077 }
2078 }
2079 }
2080 .app-folder-dialog-container {
2081 padding: 12px;
2082 width: 800px;
2083 height: 600px;
2084
2085 @if $variant == 'lighter' {
2086 .overview-icon {
2087 color: $dark_sidebar_fg;
2088 }
2089 }
2090 }
2091
2092 .app-folder-icon {
2093 padding: 5px;
2094 spacing-rows: 5px;
2095 spacing-columns: 5px;
2096 }
2097
2098 .page-indicator {
2099 padding: 20px 20px;
2100
2101 .page-indicator-icon {
2102 width: 8px;
2103 height: 8px;
2104 background-color: $selected_fg_color;
2105 border-radius: 4px;
2106 }
2107
2108 &:active .page-indicator-icon { background-color: $selected_bg_color; }
2109 }
2110
2111 .no-frequent-applications-label { @extend %status_text; }
2112
2113 .app-well-app .overview-icon.overview-icon-with-label,
2114 .grid-search-result .overview-icon.overview-icon-with-label {
2115 padding: 10px 8px 5px 8px;
2116 spacing: 4px;
2117 }
2118
2119 //
2120 // Workspace pager
2121 //
2122 .workspace-thumbnails,
2123 .workspace-thumbnails-left {
2124 &, &:rtl {
2125 background-color: $dark_sidebar_bg;
2126 //background-clip: padding-box;
2127 border: 1px solid $shell_bg_border_color;
2128 visible-width: 40px; //amount visible before hover
2129 spacing: 11px;
2130 padding: 12px;
2131 }
2132
2133 .placeholder {
2134 background-image: url("common-assets/dash/dash-placeholder.svg");
2135 background-size: contain;
2136 height: 24px;
2137 }
2138 }
2139
2140 .workspace-thumbnails,
2141 .workspace-thumbnails-left:rtl {
2142 border-radius: 3px 0 0 3px;
2143 border-right-width: 0;
2144 padding-right: 8px;
2145 }
2146
2147 .workspace-thumbnails:rtl,
2148 .workspace-thumbnails-left {
2149 border-radius: 0 3px 3px 0;
2150 border-right-width: 0;
2151 padding-left: 8px;
2152 }
2153
2154 .workspace-thumbnail-indicator {
2155 border: 4px solid transparentize($selected_bg_color, 0.2);
2156 border-radius: 1px;
2157 padding: 1px;
2158 }
2159
2160 //Some hacks I don't even
2161 .all-apps,
2162 .frequent-apps > StBoxLayout {
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
2447 .login-dialog-user-list-item:selected & { color: $selected_fg_color; }
2448
2449 &:hover {
2450 color: $osd_fg_color;
2451 }
2452
2453 & StIcon {
2454 background-color: transparentize($osd_fg_color, 0.75);
2455 border-radius: 99px;
2456
2457 .login-dialog-user-list-item:selected & { background-color: transparentize($selected_fg_color, 0.75); }
2458 }
2459 }
2460
2461 .user-widget.vertical .user-icon {
2462 icon-size: 128px;
2463
2464 & StIcon {
2465 padding: 20px;
2466 padding-top: 18px;
2467 padding-bottom: 22px;
2468 width: 88px; height: 88px;
2469 }
2470 }
2471
2472 .user-widget.horizontal .user-icon {
2473 icon-size: 64px;
2474
2475 & StIcon {
2476 padding: 12px;
2477 width: 40px; height: 40px;
2478 }
2479 }
2480
2481 //
2482 // Login Dialog
2483 //
2484 .login-dialog-banner-view {
2485 padding-top: 24px;
2486 max-width: 23em;
2487 }
2488
2489 .login-dialog {
2490 //reset
2491 border: none;
2492 background-color: transparent;
2493
2494 StEntry {
2495 caret-color: $selected_fg_color;
2496 selection-background-color: $selected_bg_color;
2497 selected-color: $selected_fg_color;
2498
2499 @include entry(osd);
2500
2501 StLabel.hint-text { color: transparentize($osd_fg_color, 0.3); }
2502
2503 &:focus {
2504 selection-background-color: $selected_fg_color;
2505 selected-color: $selected_bg_color;
2506
2507 @include entry(osd-focus);
2508
2509 StLabel.hint-text { color: transparentize($selected_fg_color, 0.3); }
2510 }
2511 }
2512
2513 .modal-dialog-button-box { spacing: 3px; }
2514 .modal-dialog-button {
2515 padding: 3px 18px;
2516 &, &:default {
2517 @extend %osd_button;
2518 }
2519 }
2520
2521 .cancel-button,
2522 .switch-user-button,
2523 .login-dialog-session-list-button {
2524 padding: 0;
2525 border-radius: 99px;
2526 width: 32px;
2527 height: 32px;
2528
2529 StIcon { icon-size: 16px; }
2530 }
2531
2532 .caps-lock-warning-label,
2533 .login-dialog-message-warning {
2534 color: $osd_fg_color;
2535 }
2536 }
2537
2538 .login-dialog-logo-bin { padding: 24px 0px; }
2539 .login-dialog-banner { color: $osd_fg_color; @include fontsize($font-size * 1.1); }
2540 .login-dialog-button-box { width: 23em; spacing: 5px; }
2541 .login-dialog-message { text-align: center; }
2542 .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
2543 .login-dialog-user-selection-box { padding: 100px 0px; }
2544 .login-dialog-not-listed-label {
2545 padding-left: 2px;
2546 .login-dialog-not-listed-button:focus &,
2547 .login-dialog-not-listed-button:hover & {
2548 color: if($variant != 'lighter', lighten($osd_fg_color, 25%), darken($osd_fg_color, 12%));
2549 }
2550 }
2551 .login-dialog-not-listed-label {
2552 @include fontsize($font-size * 0.9);
2553 font-weight: bold;
2554 color: $osd_fg_color;
2555 padding-top: 1em;
2556 }
2557
2558 .login-dialog-user-list-view { -st-vfade-offset: 1em; }
2559 .login-dialog-user-list {
2560 spacing: 12px;
2561 width: 23em;
2562 &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
2563 &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
2564 }
2565 .login-dialog-user-list-item {
2566 border-radius: 5px;
2567 padding: 6px;
2568 color: $osd_fg_color;
2569 &:ltr .user-widget { padding-right: 1em; }
2570 &:rtl .user-widget { padding-left: 1em; }
2571 .login-dialog-timed-login-indicator {
2572 height: 2px;
2573 margin-top: 6px;
2574 background-color: $osd_fg_color;
2575 }
2576 &:selected .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
2577 }
2578
2579 .user-widget-label {
2580 color: $osd_fg_color;
2581
2582 .login-dialog-user-list-item:selected & { color: $selected_fg_color; }
2583 }
2584
2585 .user-widget.horizontal .user-widget-label {
2586 @include fontsize($font-size * 1.2);
2587 font-weight: bold;
2588 padding-left: 15px;
2589
2590 &:ltr { padding-left: 14px; text-align: left; }
2591 &:rtl { padding-right: 14px; text-align: right; }
2592 }
2593
2594 .user-widget.vertical .user-widget-label {
2595 @include fontsize($font-size * 1.5);
2596 text-align: center;
2597 font-weight: normal;
2598 padding-top: 16px;
2599 }
2600
2601 .login-dialog-prompt-layout {
2602 padding-top: 24px;
2603 padding-bottom: 12px;
2604 spacing: 8px;
2605 width: 23em;
2606 }
2607
2608 .login-dialog-prompt-entry {
2609 height: 1.5em;
2610 }
2611
2612 .login-dialog-prompt-label {
2613 color: $osd_fg_color;
2614 @include fontsize($font-size * 1.1);
2615 padding-top: 1em;
2616 }
2617
2618 //
2619 // Screen Shield
2620 //
2621 .unlock-dialog-clock {
2622 color: $_shell_fg_color;
2623 font-weight: 300;
2624 text-align: center;
2625 spacing: 24px;
2626 padding-bottom: 2.5em;
2627 }
2628
2629 .unlock-dialog-clock-time {
2630 font-size: 64pt;
2631 padding-top: 42px;
2632 font-feature-settings: "tnum";
2633 }
2634
2635 .unlock-dialog-clock-date {
2636 font-size: 16pt;
2637 font-weight: normal;
2638 }
2639
2640 .unlock-dialog-clock-hint {
2641 font-weight: normal;
2642 padding-top: 48px;
2643 }
2644
2645 .unlock-dialog-notifications-container {
2646 margin: 12px 0;
2647 spacing: 6px;
2648 width: 23em;
2649 background-color: transparent;
2650 .summary-notification-stack-scrollview {
2651 padding-top: 0;
2652 padding-bottom: 0;
2653 }
2654
2655 .notification,
2656 .unlock-dialog-notification-source {
2657 padding: 12px 6px;
2658 @extend %popup_menu;
2659
2660 StIcon { -st-icon-style: symbolic; }
2661
2662 // &.critical { background-color: transparentize($osd_bg_color,0.1) } // FIXME
2663 }
2664 }
2665
2666 .unlock-dialog-notification-label {
2667 padding: 0px 0px 0px 12px;
2668 }
2669
2670 .unlock-dialog-notification-count-text {
2671 font-weight: bold;
2672 padding: 0 6px;
2673 color: $fg_color;
2674 border: 1px solid if($variant != 'lighter', transparentize(white, 0.9), transparentize(black, 0.9));
2675 background-color: if($variant != 'lighter', transparentize(white, 0.8), transparentize(black, 0.8));
2676 border-radius: 99px;
2677 margin-right: 12px;
2678 }
2679
2680 .screen-shield-background { //just the shadow, really
2681 background: black;
2682 box-shadow: 0px 2px 4px transparentize(black,0.6);
2683 }
2684
2685 #lockDialogGroup {
2686 background-color: opacify($osd_bg_color, 1);
2687 }
2688
2689 #unlockDialogNotifications {
2690 StButton#vhandle, StButton#hhandle {
2691 background-color: transparentize($bg_color,0.7);
2692 &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
2693 &:active { background-color: transparentize($selected_bg_color,0.5); }
2694 }
2695 }
2696
2697 //
2698 // Looking Glass
2699 //
2700 #LookingGlassDialog {
2701 margin: 4px;
2702 spacing: 4px;
2703 padding: 4px 4px 6px 4px;
2704 color: $osd_fg_color;
2705 @extend %shell_bg;
2706
2707 & > #Toolbar {
2708 padding: 3px;
2709 border: none;
2710 background-color: transparent;
2711 border-radius: 0px;
2712 }
2713 .labels { spacing: 4px; }
2714
2715 .notebook-tab {
2716 -natural-hpadding: 12px;
2717 -minimum-hpadding: 6px;
2718 font-weight: bold;
2719 color: $osd_fg_color;
2720 transition-duration: 100ms;
2721 padding-left: .3em;
2722 padding-right: .3em;
2723
2724 &:hover {
2725 color: $_panel_fg_color;
2726 text-shadow: black 0px 2px 2px;
2727 }
2728 &:selected {
2729 border-bottom-width: 0px;
2730 color: $selected_bg_color;
2731 text-shadow: black 0px 2px 2px;
2732 }
2733 }
2734 StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
2735 StBoxLayout#ResultsArea { spacing: 4px; }
2736 }
2737
2738 .lg-dialog {
2739
2740 StEntry {
2741 caret-color: $selected_fg_color;
2742 selection-background-color: $selected_bg_color;
2743 selected-color: $selected_fg_color;
2744
2745 @include entry(osd);
2746 &:focus {
2747 @include entry(osd-focus);
2748
2749 selection-background-color: $selected_fg_color;
2750 selected-color: $selected_bg_color;
2751 }
2752 }
2753 .shell-link {
2754 color: $link_color;
2755 &:hover { color: lighten($link_color,10%); }
2756 }
2757 }
2758
2759 .lg-completions-text {
2760 @include fontsize($font-size * 0.9);
2761 font-style: italic;
2762 }
2763
2764 .lg-obj-inspector-title {
2765 spacing: 4px;
2766 }
2767
2768 .lg-obj-inspector-button {
2769 border: 1px solid gray;
2770 padding: 4px;
2771 border-radius: 4px;
2772 &:hover { border: 1px solid #ffffff; }
2773 }
2774
2775 #lookingGlassExtensions { padding: 4px; }
2776
2777 .lg-extensions-list {
2778 padding: 4px;
2779 spacing: 6px;
2780 }
2781
2782 .lg-extension {
2783 border: 1px solid $osd_borders_color;
2784 border-radius: 2px;
2785 background-color: $osd_bg_color;
2786 padding: 4px;
2787 }
2788
2789 .lg-extension-name {
2790 font-weight: bold;
2791 }
2792
2793 .lg-extension-meta {
2794 spacing: 6px;
2795 }
2796
2797 #LookingGlassPropertyInspector {
2798 background: transparentize(black, 0.3);
2799 border: 1px solid grey;
2800 border-radius: 2px;
2801 color: $_shell_fg_color;
2802 padding: 6px;
2803 }
2804
2805 //
2806 // OpenWeather extension
2807 //
2808 .openweather-current-summarybox,
2809 .openweather-forecast-icon,
2810 .openweather-current-databox-captions,
2811 .openweather-current-databox-values,
2812 .openweather-current-icon,
2813 .openweather-forecast-summary,
2814 .openweather-forecast-temperature {
2815 color: $fg_color;
2816 }