Debian Codegraph @

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