Debian Codegraph @

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

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