Debian Codegraph @

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

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