Debian Codegraph @

common/cinnamon/5.2/sass/_common.scss

raw
1 $asset_path: if($variant == 'dark', dark-assets, light-assets);
2
3 //
4 // Globals
5 //
6 $_bubble_bg_color: opacify($osd_bg_color,0.25);
7 $_bubble_fg_color: $osd_fg_color;
8 $_bubble_borders_color: transparentize($osd_fg_color,0.8);
9 $_shell_fg_color: white;
10
11 stage {
12 color: $fg_color;
13 }
14
15 .label-shadow {
16 color: rgba(0, 0, 0, 0);
17 }
18
19 %reset_style {
20 background-color: transparent !important;
21 background-gradient-direction: none !important;
22 border: none !important;
23 border-radius: 0 !important;
24 }
25
26 //
27 // Buttons
28 //
29 %button {
30 min-height: 20px;
31 padding: 5px 32px;
32 transition-duration: 0;
33
34 &, &:focus, &:hover, &:hover:focus, &:active, &:active:focus, &:insensitive {
35 border-radius: 2px;
36 }
37
38 @include button(normal);
39
40 @at-root %button_hover,
41 &:hover { @include button(hover); }
42
43 &:focus { @include button(focus); }
44 &:hover:focus { @include button(focus-hover); }
45 &:active, &:active:focus { @include button(active); }
46 &:insensitive { @include button(insensitive); }
47 }
48
49 %osd_button {
50 min-height: 20px;
51 padding: 5px 32px;
52 transition-duration: 0;
53 border-radius: 2px;
54
55 @include button(osd);
56
57 &:hover { @include button(osd-hover); }
58 &:focus { color: $selected_bg_color; }
59 &:active { @include button(osd-active); }
60 &:insensitive { @include button(osd-insensitive); }
61 }
62
63 //
64 // Entries
65 //
66 %entry {
67 padding: 7px;
68 caret-size: 1px;
69 selection-background-color: $selected_bg_color;
70 selected-color: $selected_fg_color;
71 transition-duration: 300ms;
72 border-radius: 3px;
73
74 @include entry(normal);
75
76 &:focus, &:hover { @include entry(focus); }
77 &:insensitive { @include entry(insensitive); }
78
79 StIcon.capslock-warning {
80 icon-size: 16px;
81 warning-color: $warning_color;
82 padding: 0 4px;
83 }
84 }
85
86 %osd_entry {
87 padding: 7px;
88 caret-size: 1px;
89 caret-color: $osd_fg_color;
90 selection-background-color: $selected_bg_color;
91 selected-color: $selected_fg_color;
92 transition-duration: 300ms;
93 border-radius: 3px;
94
95 @include entry(osd);
96
97 &:focus { @include entry(osd-focus); }
98 &:insensitive { @include entry(osd-insensitive); }
99 }
100
101 //
102 // Scrollbars
103 //
104 StScrollView {
105 &.vfade { -st-vfade-offset: 0px; }
106 &.hfade { -st-hfade-offset: 0px; }
107 }
108
109 StScrollBar {
110
111 padding: 8px;
112
113 StScrollView & {
114 min-width: 5px;
115 min-height: 5px;
116 }
117
118 StBin#trough {
119 background-color: transparentize($base_color, 0.9);
120 border-radius: 8px;
121 }
122
123 StButton#vhandle, StButton#hhandle {
124 border-radius: 2px;
125 background-color: mix($fg_color, $bg_color, 40%);
126 border: 0px solid;
127 margin: 0px;
128
129 &:hover { background-color: mix($fg_color, $bg_color, 30%); }
130
131 &:active { background-color: $selected_bg_color; }
132 }
133 }
134
135 .separator {
136 -gradient-height: 1px;
137 -gradient-start: rgba(0,0,0,0);
138 -gradient-end: rgba(0,0,0,0);
139 -margin-horizontal: 1.5em;
140 height: 1em;
141 }
142
143 //
144 // Slider
145 //
146 .popup-slider-menu-item,
147 .slider {
148 -slider-height: 4px;
149 -slider-background-color: $button_border; //background of the trough
150 -slider-border-color: transparentize(black, 1); //trough border color
151 -slider-active-background-color: $selected_bg_color; //active trough fill
152 -slider-active-border-color: transparentize(black, 1); //active trough border
153 -slider-border-width: 0;
154 -slider-handle-radius: 4px;
155 height: 18px;
156 min-width: 15em;
157 border: 0 solid transparent;
158 border-right-width: 1px;
159 border-left-width: 5px;
160 color: transparent;
161
162 .popup-menu-item:active & {
163 -slider-background-color: transparentize(black, 0.8);
164 -slider-active-background-color: $selected_fg_color;
165 }
166 }
167
168 //
169 // Check Boxes
170 //
171 .check-box {
172
173 CinnamonGenericContainer {
174 spacing: .2em;
175 min-height: 30px;
176 padding-top: 2px;
177 }
178
179 StLabel { font-weight: normal; }
180
181 StBin {
182 width: 16px;
183 height: 16px;
184 background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
185 }
186
187 &:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
188
189 &:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
190
191 &:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
192 }
193
194 //
195 // Radio Buttons
196 //
197 .radiobutton {
198
199 CinnamonGenericContainer {
200 spacing: .2em;
201 height: 26px;
202 padding-top: 2px;
203 }
204
205 StLabel {
206 padding-top: 4px;
207 font-size: 0.9em;
208 box-shadow: none;
209 }
210
211 StBin {
212 width: 16px;
213 height: 16px;
214 background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
215 }
216
217 &:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
218
219 &:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
220
221 &:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
222 }
223
224 //
225 // Switches
226 //
227 .toggle-switch {
228 width: 50px;
229 height: 20px;
230 background-size: contain;
231 background-image: url("#{$asset_path}/switch/switch-off.svg");
232
233 &:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
234
235 .popup-menu-item:active & {
236 background-image: url("common-assets/switch/switch-off-selected.svg");
237
238 &:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
239 }
240 }
241
242 //
243 // Links
244 //
245 .cinnamon-link {
246 color: $link_color;
247 text-decoration: underline;
248
249 &:hover { color: lighten($link_color,10%); }
250 }
251
252 //
253 // Tooltip
254 //
255 #Tooltip {
256 border-radius: 3px;
257 padding: 5px 12px;
258 background-color: $osd_bg_color;
259 color: $osd_fg_color;
260 font-size: 1em;
261 font-weight: normal;
262 text-align: center;
263 }
264
265 //
266 // Popvers/Menus
267 //
268 .menu,
269 %menu {
270 color: $fg_color;
271 border-image: url("#{$asset_path}/menu/menu.svg") 9 9 9 9;
272 }
273
274 .popup-menu-arrow { icon-size: 16px; }
275
276 .popup-sub-menu {
277 background-gradient-direction: none;
278 box-shadow: none;
279 border-image: url("#{$asset_path}/menu/submenu.svg") 9 9 9 9;
280
281 .popup-menu-item:ltr { padding-right: 0em; }
282 .popup-menu-item:rtl { padding-left: 0em; }
283
284 StScrollBar {
285 padding: 4px;
286 StBin#trough, StBin#vhandle { border-width: 0; }
287 }
288 }
289
290 .popup-menu-content { padding: 1em 1px; }
291 .popup-menu-item {
292 padding: .4em 1.75em;
293 spacing: 1em;
294
295 &:active {
296 color: $selected_fg_color;
297 background-color: transparent;
298 border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1;
299 }
300 &:insensitive {
301 color: transparentize($fg_color, 0.5);
302 background: none;
303 }
304 }
305
306 .popup-inactive-menu-item { //all icons and other graphical elements
307 color: $fg_color;
308
309 &:insensitive { color: $insensitive_fg_color; }
310 }
311
312 .popup-menu-item:active .popup-inactive-menu-item { color: $selected_fg_color; }
313
314 .popup-menu-icon { icon-size: 16px; }
315
316 .popup-combo-menu {
317 @extend %menu;
318 padding: 10px 1px;
319 }
320 .popup-image-menu-item {}
321
322 .popup-combobox-item { spacing: 1em; }
323
324 .popup-separator-menu-item {
325 -gradient-height: 2px;
326 -gradient-start: transparent;
327 -gradient-end: transparent;
328 -margin-horizontal: 1.5em;
329 height: 1em;
330 }
331
332 .popup-alternating-menu-item:alternate {
333 font-weight: normal;
334 }
335
336 .popup-device-menu-item { spacing: .5em; }
337
338 .popup-subtitle-menu-item { font-weight: normal; }
339
340 .nm-menu-item-icons { spacing: .5em; }
341
342 //
343 // Panel
344 //
345 #panel {
346 font-weight: bold;
347 height: 27px;
348 width: 32px;
349
350 &:highlight {
351 border-image: none;
352 background-color: transparentize($error_color, 0.5);
353 }
354 }
355
356 .panel {
357 $_panel_fg_color: $_shell_fg_color;
358
359 &Left {
360 spacing: 4px;
361
362 &:dnd {
363 background-gradient-direction: vertical;
364 background-gradient-start: rgba(255,0,0,0.05);
365 background-gradient-end: rgba(255,0,0,0.2);
366 }
367 &:ltr { padding-right: 4px; }
368 &:rtl { padding-left: 4px; }
369
370 &.vertical {
371 padding: 0;
372
373 &:ltr { padding-right: 0px; }
374 &:rtl { padding-left: 0px; }
375 }
376 }
377
378 &Right {
379
380 &:dnd {
381 background-gradient-direction: vertical;
382 background-gradient-start: rgba(0,0,255,0.05);
383 background-gradient-end: rgba(0,0,255,0.2);
384 }
385 &:ltr { padding-left: 4px; spacing: 0px; }
386 &:rtl { padding-right: 4px; spacing: 0px; }
387
388 &.vertical {
389 padding: 0;
390
391 &:ltr { padding-right: 0px; }
392 &:rtl { padding-left: 0px; }
393 }
394 }
395
396 &Center {
397 spacing: 4px;
398
399 &:dnd {
400 background-gradient-direction: vertical;
401 background-gradient-start: rgba(0,255,0,0.05);
402 background-gradient-end: rgba(0,255,0,0.2);
403 }
404 }
405
406 &-top, &-bottom, &-left, &-right {
407 color: $_panel_fg_color;
408 font-size: 1em;
409 padding: 0px;
410 }
411
412 &-top { border-image: url('common-assets/panel/panel-top.svg') 1 1 1 1; }
413 &-bottom { border-image: url('common-assets/panel/panel-bottom.svg') 1 1 1 1; }
414 &-left { border-image: url('common-assets/panel/panel-left.svg') 1 1 1 1; }
415 &-right { border-image: url('common-assets/panel/panel-right.svg') 1 1 1 1; }
416
417 &-dummy {
418 background-color: transparentize($error_color, 0.5);
419
420 &:entered { background-color: transparentize($error_color, 0.4); }
421 }
422
423 &-status-button {
424 border-width: 0;
425 -natural-hpadding: 3px;
426 -minimum-hpadding: 3px;
427 font-weight: bold;
428 color: white;
429
430 &:hover {}
431 }
432
433 &-button {
434 -natural-hpadding: 6px;
435 -minimum-hpadding: 2px;
436 font-weight: bold;
437 color: green;
438 transition-duration: 100;
439
440 &:hover {}
441 }
442 }
443
444 .system-status-icon {
445 icon-size: 16px;
446 padding: 0 1px;
447 }
448
449 //
450 // Overview
451 //
452 #overview { spacing: 12px; }
453
454 .window-caption {
455 background-color: $osd_bg_color;
456 border: 1px solid $osd_bg_color;
457 color: $osd_fg_color;
458 padding: .5em .7em;
459 spacing: .5em;
460 border-radius: 2px;
461 font-size: 1em;
462 -cinnamon-caption-spacing: 8px;
463 max-width: 20em;
464
465 &:focus {
466 background-color: $selected_bg_color;
467 color: $selected_fg_color;
468 border: 1px solid $selected_bg_color;
469 }
470 }
471
472 .window-border {
473 border: 3px $selected_bg_color;
474 border-radius: 4px;
475 /* Cover rounded corners and some bad adjustment gaps */
476 box-shadow: 0 0 0 1px $selected_bg_color inset;
477 }
478
479 .overview-empty-placeholder {
480 text-align: center;
481 font-weight: bold;
482 spacing: 1em;
483 padding: 16px;
484 color: $_shell_fg_color;
485 border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
486 }
487
488 .expo-workspaces-name-entry {
489 height: 1.4em;
490 border-radius: 2px;
491 font-size: 1em;
492 padding: 5px 8px;
493 -cinnamon-caption-spacing: 4px;
494 transition-duration: 300;
495 @include entry(osd);
496
497 &:focus, &#selected {
498 border: 1px solid $selected_bg_color;
499 background-color: $selected_bg_color;
500 color: $selected_fg_color;
501 font-style: italic;
502 selection-background-color: $selected_fg_color;
503 selected-color: $selected_bg_color;
504 }
505
506 &:hover {
507 border: 1px solid $selected_bg_color;
508 }
509 }
510
511 .expo-workspace-thumbnail-frame {
512 border: 4px solid rgba(255,255,255,0.0);
513 background-color: rgba(255,255,255,0.0);
514 border-radius: 2px;
515
516 &#active {
517 border: 4px solid $selected_bg_color;
518 background-color: black;
519 border-radius: 2px;
520 }
521 }
522
523 .expo-background {
524 background-color: opacify($osd_bg_color, 1);
525 }
526
527 .workspace {
528 //&-controls { visible-height: 32px; }
529
530 &-thumbnails {
531 spacing: 26px;
532
533 &-background, &-background:rtl { padding: 8px; }
534 }
535
536 &-add-button {
537 background-image: url("common-assets/misc/add-workspace.svg");
538 height: 200px;
539 width: 35px;
540 transition-duration: 100;
541
542 &:hover {
543 background-image: url("common-assets/misc/add-workspace-hover.svg");
544 transition-duration: 100;
545 }
546 &:active {
547 background-image: url("common-assets/misc/add-workspace-active.svg");
548 transition-duration: 100;
549 }
550 }
551 &-overview-background-shade { background-color: rgba(0,0,0,0.5); }
552 }
553
554 .workspace-close-button,
555 .window-close {
556 background-image: url("common-assets/misc/close.svg");
557 background-size: 26px;
558 height: 26px;
559 width: 26px;
560 -cinnamon-close-overlap: 10px;
561
562 &:hover {
563 background-image: url("common-assets/misc/close-hover.svg");
564 background-size: 26px;
565 height: 26px;
566 width: 26px;
567 }
568 &:active {
569 background-image: url("common-assets/misc/close-active.svg");
570 background-size: 26px;
571 height: 26px;
572 width: 26px;
573 }
574 }
575
576 //.workspace-thumbnail-indicator {
577 // outline: 2px solid red;
578 // border: 1px solid green;
579 //}
580 //
581 //.window-close:rtl {
582 // -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5);
583 //}
584
585 .window-close-area {
586 background-image: url("common-assets/misc/trash-icon.svg");
587 height: 120px;
588 width: 400px;
589 }
590
591 //
592 // About Dialog (applet.js and desklet.js)
593 //
594 .about {
595 &-content {
596 width: 550px;
597 height: 250px;
598 spacing: 8px;
599 padding-bottom: 10px;
600 }
601 &-title {
602 font-size: 2em;
603 font-weight: bold;
604 }
605 &-uuid {
606 font-size: 1.1em;
607 color: #888;
608 }
609 &-icon {
610 padding-right: 20px;
611 padding-bottom: 14px;
612 }
613 &-scrollBox {
614 border: 1px solid $borders_color;
615 border-radius: 2px;
616 background-color: $base_color;
617 padding: 4px;
618 padding-right: 0;
619 border-radius: 0;
620
621 &-innerBox {
622 padding: 1.2em;
623 spacing: 1.2em;
624 }
625 }
626 &-description {
627 padding-top: 4px;
628 padding-bottom: 16px;
629 }
630 &-version {
631 padding-left: 7px;
632 font-size: 1.1em;
633 color: #888;
634 }
635 }
636
637
638 //
639 // Calendar
640 //
641 .calendar-main-box {
642 margin: 0 .8em 0 .8em;
643 }
644
645 .calendar {
646 /*padding: 0 0.5em 0.4em;*/
647 spacing-rows: 0px;
648 spacing-columns: 0px;
649 }
650
651 .calendar-events-main-box {
652 height: 300px;
653 margin-right: 0.8em;
654 padding: .5em;
655 min-width: 350px;
656 border: none;
657 border-radius: 0;
658 }
659
660 .calendar-events-no-events-box {
661 }
662
663 .calendar-events-no-events-button {
664 border-radius: 3px;
665 margin: 0;
666 padding: 7px 10px;
667
668 &:hover {
669 background-color: transparentize(black, 0.9);
670 }
671 }
672
673 .calendar-events-no-events-icon {
674 color: $fg_color;
675 }
676
677 .calendar-events-no-events-label {
678 font-size: 1em;
679 color: $fg_color;
680 font-weight: bold;
681 text-align: center;
682 margin-top: 10px;
683 }
684
685 .calendar-events-date-label {
686 padding: .2em 0 .75em .2em;
687 font-size: 1em;
688 color: $fg_color;
689 font-weight: bold;
690 text-align: center;
691 }
692
693 .calendar-events-event-container {
694 padding: .1em;
695 }
696
697 .calendar-events-scrollbox {
698 }
699
700 .calendar-events-main-box .separator {
701 -margin-horizontal: 1em;
702 -gradient-height: 0;
703 -gradient-start: #000;
704 -gradient-end: #000;
705 }
706
707 .calendar-event-button {
708 margin: 6px 0 6px 0;
709 background-color: $shell_message_background_color;
710 border: 1px solid $shell_message_border_color;
711 border-radius: 2px;
712
713 &:hover {
714 color: $fg_color;
715 border-color: $selected_bg_color;
716 }
717 }
718
719 .calendar-event-color-strip {
720 width: 2px;
721 border-radius: 2px 0 0 2px;
722 box-shadow: 100px 0 $selected_bg_color inset;
723 }
724
725 .calendar-event-row-content {
726 margin: 7px;
727 }
728
729 .calendar-event-time-past,
730 .calendar-event-time-present,
731 .calendar-event-time-future {
732 font-weight: bold;
733 text-align: left;
734 margin-bottom: .6em;
735 }
736
737 .calendar-event-time-past {
738 }
739
740 .calendar-event-time-present {
741 }
742
743 .calendar-event-time-present:all-day {
744 }
745
746 .calendar-event-time-future {
747 }
748
749 .calendar-event-countdown {
750 color: $fg_color;
751 font-weight: bold;
752 text-align: right;
753 margin-bottom: .6em;
754 }
755
756 .calendar-event-countdown:soon {
757 }
758
759 .calendar-event-countdown:imminent {
760 color: $warning_color;
761 }
762
763 .calendar-event-countdown:current {
764 color: $success_color;
765 }
766
767 .calendar-event-summary {
768 color: $fg_color;
769 text-align: left;
770 width: 200px;
771 }
772
773 .calendar-today-home-button,
774 .calendar-today-home-button-enabled {
775 border-radius: 3px;
776 margin: 0;
777 padding: 7px 10px;
778 }
779
780 .calendar-today-home-button-enabled:hover {
781 background-color: transparentize(black, 0.9);
782 }
783
784 .calendar-today-day-label {
785 font-size: 1.5em;
786 color: $fg_color;
787 font-weight: bold;
788 text-align: center;
789 padding-bottom: .1em;
790 }
791
792 .calendar-today-date-label {
793 font-size: 1em;
794 color: $fg_color;
795 font-weight: bold;
796 text-align: center;
797 }
798
799 .calendar-month-label {
800 color: $fg_color;
801 font-weight: bold;
802 padding: 8px 0;
803 }
804
805 .calendar-change-month-back,
806 .calendar-change-month-forward {
807 width: 16px;
808 height: 16px;
809 }
810
811 //arrow back
812 .calendar-change-month-back {
813 background-image: url("common-assets/misc/calendar-arrow-left.svg");
814
815 &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
816
817 &:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
818
819 &:rtl {
820 background-image: url("common-assets/misc/calendar-arrow-right.svg");
821
822 &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
823
824 &:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
825 }
826 }
827
828 //arrow forward
829 .calendar-change-month-forward {
830 background-image: url("common-assets/misc/calendar-arrow-right.svg");
831
832 &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
833
834 &:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
835
836 &:rtl {
837 background-image: url("common-assets/misc/calendar-arrow-left.svg");
838
839 &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
840
841 &:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
842 }
843 }
844
845 .calendar-day-event-dot-box {
846 margin-top: 1.7em;
847
848 /* any other way do do something like this? */
849 max-rows: 1;
850 }
851
852 .calendar-day-event-dot {
853 margin: 1px;
854 border-radius: 2px;
855 width: 4px;
856 height: 4px;
857 }
858
859 .calendar-day-base {
860 font-size: 0.9em;
861 text-align: center;
862 width: 2.5em;
863 height: 2.5em;
864 padding: 0.1em;
865 margin: 0.1em;
866 border-radius: 999px;
867 }
868
869 .calendar-day-heading {
870 color: transparentize($fg_color, 0.15);
871 margin-top: 1em;
872 font-size: 0.7em;
873 width: 2.5em;
874 height: 2em;
875 }
876
877 .calendar-day {
878 border-width: 0;
879 color: transparentize($fg_color, 0.2);
880 }
881
882 .calendar-day-top {
883 border-top-width: 0;
884 }
885
886 .calendar-day-left {
887 border-left-width: 0;
888 }
889
890 .calendar-nonwork-day {
891 color: $fg_color;
892 background-color: transparent;
893 font-weight: bold;
894 border-width: 0;
895 }
896
897 .calendar-today,
898 .calendar-today:active,
899 .calendar-today:focus,
900 .calendar-today:hover,
901 .calendar-today:selected {
902 font-weight: bold;
903 color: $selected_fg_color;
904 background-color: $selected_bg_color;
905 border-width: 0;
906 }
907
908 .calendar-other-month-day {
909 color: transparentize($fg_color, 0.7);
910 opacity: 1;
911 }
912
913 .calendar-not-today {
914 color: transparentize($fg_color, 0.2);
915
916 &:hover, &:focus { background-color: transparentize(black, 0.9); }
917 &:selected {
918 color: $fg_color;
919 background-color: transparentize(black, 0.85);
920 }
921 }
922
923 .calendar-week-number {
924 color: transparentize($fg_color, 0.3);
925 font-size: 0.7em;
926 width: 2.5em;
927 height: 2em;
928 padding: 1.2em 0 0;
929 text-align: center;
930 }
931
932 //
933 // Notifications
934 //
935 #notification {
936 border-radius: 3px;
937 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
938 padding: 13px;
939 spacing-rows: 10px;
940 spacing-columns: 10px;
941 margin-from-right-edge-of-screen: 20px;
942 width: 34em;
943 color: $osd_fg_color;
944
945 .menu &,
946 .popup-menu & {
947 &, &.multi-line-notification { color: $fg_color; }
948 border-image: url("#{$asset_path}/misc/message.svg") 9 9 9 9;
949
950 .notification-button, .notification-icon-button {
951 @extend %button;
952 padding: 5px;
953 }
954
955 StEntry { @extend %entry; }
956 }
957
958 &.multi-line-notification {
959 padding-bottom: 13px;
960 color: $osd_fg_color;
961 }
962
963 &-scrollview {
964 max-height: 10em;
965
966 > .top-shadow, > .bottom-shadow { height: 1em; }
967
968 &:ltr > StScrollBar { padding-left: 6px; }
969 &:rtl > StScrollBar { padding-right: 6px; }
970 }
971
972 &-body { spacing: 5px; }
973 &-actions { spacing: 10px; }
974 }
975
976 .notification {
977
978 &-with-image {
979 min-height: 159px;
980 color: $osd_fg_color;
981 }
982
983 &-button, &-icon-button {
984 @extend %osd_button;
985 padding: 5px;
986 }
987
988 &-icon-button > StIcon { icon-size: 36px; }
989
990 StEntry { @extend %osd_entry; }
991 }
992
993 //
994 // Alt Tab
995 ///
996 #altTabPopup {
997 padding: 8px;
998 spacing: 16px;
999 }
1000
1001 .switcher-list {
1002 color: $osd_fg_color;
1003 background: none;
1004 border: none;
1005 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1006 border-radius: 3px;
1007 padding: 20px;
1008
1009 > StBoxLayout {
1010 padding: 4px;
1011 }
1012
1013 &-item-container { spacing: 8px; }
1014
1015 .item-box {
1016 padding: 8px;
1017 border-radius: 2px;
1018
1019 &:outlined {
1020 padding: 8px;
1021 border: 1px solid $selected_bg_color;
1022 }
1023
1024 &:selected {
1025 color: $selected_fg_color;
1026 background-color: $selected_bg_color;
1027 border: 0px solid $selected_bg_color;
1028 }
1029 }
1030
1031 .thumbnail { width: 256px; }
1032
1033 .thumbnail-box {
1034 padding: 2px;
1035 spacing: 4px;
1036 }
1037 .separator {
1038 width: 1px;
1039 background: rgba(255,255,255,0.2);
1040 }
1041 }
1042
1043 .switcher-arrow {
1044 border-color: rgba(0,0,0,0);
1045 color: $osd_fg_color;
1046
1047 &:highlighted {
1048 border-color: rgba(0,0,0,0);
1049 color: $_shell_fg_color;
1050 }
1051 }
1052
1053 //.switcher-preview-backdrop { background-color: rgba(25,25,25,0.95); }
1054
1055 .thumbnail-scroll-gradient-left {
1056 background-color: rgba(0, 0, 0, 0);
1057 border-radius: 24px;
1058 border-radius-topright: 0px;
1059 border-radius-bottomright: 0px;
1060 width: 60px;
1061 }
1062
1063 .thumbnail-scroll-gradient-right {
1064 background-color: rgba(0, 0, 0, 0);
1065 border-radius: 24px;
1066 border-radius-topleft: 0px;
1067 border-radius-bottomleft: 0px;
1068 width: 60px;
1069 }
1070
1071 //
1072 //Activities Ripples
1073 //
1074 .ripple-box {
1075 width: 104px;
1076 height: 104px;
1077 background-image: url("common-assets/misc/corner-ripple.svg");
1078 background-size: contain;
1079 }
1080
1081 //
1082 // Modal dialogs
1083 //
1084 .lightbox { background-color: rgba(0, 0, 0, 0.4); }
1085 .flashspot { background-color: white; }
1086
1087 .modal-dialog {
1088 color: $fg_color;
1089 background-color: transparentize($bg_color, 1);
1090 border: none;
1091 border-image: url("#{$asset_path}/misc/modal.svg") 9 9 9 67;
1092 padding: 0 5px 6px 5px;
1093
1094 > StBoxLayout:first-child {
1095 padding: 20px 10px 10px 10px;
1096 }
1097
1098 &-button-box {
1099 spacing: 0;
1100 margin: 0px;
1101 padding: 14px 10px;
1102 background: none;
1103 border: none;
1104 border-image: url("#{$asset_path}/misc/button-box.svg") 9 9 9 9;
1105
1106 .modal-dialog-button {
1107 padding-top: 0;
1108 padding-bottom: 0;
1109 height: 30px;
1110
1111 @extend %osd_button;
1112 }
1113 }
1114 }
1115
1116 .confirm-dialog-title {
1117 font-size: 0;
1118 padding-bottom: 0;
1119 }
1120
1121 .workspace-osd {
1122 text-align: center;
1123 font-weight: bold;
1124 padding: 16px;
1125 color: $_shell_fg_color;
1126 border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
1127 }
1128
1129 //
1130 // Run dialog
1131 //
1132 .run-dialog {
1133 padding: 0px 15px 10px 15px;
1134 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1135
1136 > * { padding: 0; }
1137
1138 &-label {
1139 font-size: 0;
1140 font-weight: bold;
1141 color: $osd_fg_color;
1142 padding-bottom: 0;
1143 }
1144
1145 &-description {
1146 color: $osd_fg_color;
1147 padding-top: 15px;
1148 text-align: center;
1149
1150 &.error { color: $error_color; }
1151 }
1152
1153 &-completion-box {
1154 padding-left: 15px;
1155 font-size: 1.1em;
1156 }
1157 &-entry {
1158 width: 21em;
1159 padding: 7px;
1160 border-radius: 3px;
1161 caret-color: $osd_fg_color;
1162 selected-color: $selected_fg_color;
1163 selection-background-color: $selected_bg_color;
1164
1165 @include entry(osd);
1166
1167 &:focus { @include entry(osd-focus); }
1168 }
1169 .modal-dialog-button-box {
1170 border: none;
1171 border-image: none;
1172 box-shadow: none;
1173 background: none;
1174 background-gradient-direction: none;
1175 }
1176 }
1177
1178 //
1179 // Magnifier
1180 //
1181 .magnifier-zoom-region {
1182 border: 2px solid rgba(128, 0, 0, 1);
1183
1184 .full-screen { border-width: 0px; }
1185 }
1186
1187 //
1188 // On-Screen Keyboard
1189 //
1190 #keyboard {
1191 background-color: $osd_bg_color;
1192 border-width: 0;
1193 border-top-width: 1px;
1194 border-color: transparentize(black, 0.6);
1195 }
1196
1197 .keyboard-layout {
1198 spacing: 10px;
1199 padding: 10px;
1200 }
1201
1202 .keyboard-row {
1203 spacing: 15px;
1204 }
1205
1206 .keyboard-key {
1207 min-height: 2em;
1208 min-width: 2em;
1209 font-size: 1.5em;
1210 font-weight: bold;
1211 border-radius: 3px;
1212 box-shadow: none;
1213
1214 @include button(osd);
1215
1216 &:hover { @include button(osd-hover); }
1217 &:active, &:checked { @include button(osd-active); }
1218
1219 &:grayed { @include button(osd-insensitive); }
1220 }
1221
1222 .keyboard-subkeys { //long press on a key popup
1223 color: $osd_fg_color;
1224 padding: 5px;
1225 -arrow-border-radius: 2px;
1226 -arrow-background-color: $osd_bg_color;
1227 -arrow-border-width: 1px;
1228 -arrow-border-color: transparentize(black, 0.6);;
1229 -arrow-base: 20px;
1230 -arrow-rise: 10px;
1231 -boxpointer-gap: 5px;
1232 }
1233
1234 //
1235 // Cinnamon Specific Section
1236 //
1237
1238 //
1239 // Menu (menu.js)
1240 //
1241 .menu {
1242 &-favorites-box {
1243 padding: .8em;
1244 transition-duration: 300;
1245 background-color: $bg_color;
1246 border: 1px solid $borders_color;
1247 spacing: 1em;
1248 }
1249
1250 &-favorites-scrollbox {
1251 padding-bottom: 1em;
1252 border-bottom: 1px solid;
1253 border-color: $borders_color;
1254 }
1255
1256 &-favorites-button {
1257 padding: .8em;
1258 border: 1px solid rgba(0,0,0,0);
1259
1260 &:hover { @extend %button_hover; }
1261 }
1262
1263 &-categories-box { padding: 10px 30px 10px 30px; }
1264
1265 &-applications-inner-box,
1266 &-applications-outer-box { padding: 10px 10px 0 10px; }
1267
1268 &-application-button {
1269 padding: 7px;
1270 border: 1px solid rgba(0,0,0,0);
1271
1272 // This style is used in menu application buttons for applications which were newly installed
1273 &:highlighted { font-weight: bold; }
1274
1275 &-selected {
1276 padding: 7px;
1277 text-shadow: 0 0 0 rgba(0,0,0,0);
1278 @extend %button_hover;
1279
1280 &:highlighted { font-weight: bold; }
1281 }
1282
1283 &-label:ltr { padding-left: 5px; }
1284 &-label:rtl { padding-right: 5px; }
1285 }
1286
1287 &-category-button {
1288 padding: 7px;
1289 border: 1px solid rgba(0,0,0,0);
1290
1291 &-selected {
1292 padding: 7px;
1293 text-shadow: 0 0 0 rgba(0,0,0,0);
1294 @extend %button_hover;
1295 }
1296 &-greyed {
1297 padding: 7px;
1298 color: $insensitive_fg_color;
1299 border: 1px solid rgba(0,0,0,0);
1300
1301 & StIcon {
1302 opacity: 0.5;
1303 }
1304 }
1305
1306 &-label:ltr { padding-left: 5px; }
1307 &-label:rtl { padding-right: 5px; }
1308 }
1309
1310 // Name and description of the currently hovered item in the menu
1311 // This appears on the bottom right hand corner of the menu
1312 &-selected-app-box {
1313 padding-right: 30px;
1314 padding-left: 28px;
1315 text-align: right;
1316 height: 2.2em;
1317
1318 &:rtl {
1319 padding-top: 10px;
1320 height: 2.2em;
1321 }
1322 }
1323
1324 &-selected-app-title { font-weight: bold; }
1325
1326 &-selected-app-description { max-width: 150px; }
1327
1328 &-top-box {
1329 spacing: 10px;
1330 }
1331
1332 &-search-box:ltr { padding-left: 30px; }
1333 &-search-box-rtl { padding-right: 30px; }
1334 }
1335
1336 #menu-search-entry {
1337 width: 250px;
1338 font-weight: normal;
1339 caret-color: $fg_color;
1340
1341 @extend %entry;
1342 }
1343
1344 .menu-search-entry-icon {
1345 icon-size: 1em;
1346 color: $fg_color;
1347 }
1348
1349 /* Context menu (at the moment only for favorites) */
1350 .menu-context-menu {
1351 padding: 1em 1px;
1352 }
1353
1354 //
1355 // OSD
1356 //
1357 .info-osd {
1358 text-align: center;
1359 font-weight: bold;
1360 spacing: 1em;
1361 padding: 16px;
1362 color: $_shell_fg_color;
1363 border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
1364 }
1365
1366 .osd-window {
1367 text-align: center;
1368 font-weight: bold;
1369 spacing: 1em;
1370 padding: 20px;
1371 margin: 32px;
1372 min-width: 64px;
1373 min-height: 64px;
1374
1375 color: $_shell_fg_color;
1376 background: none;
1377 border: none;
1378 border-radius: 5px;
1379 border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
1380
1381 .osd-monitor-label { font-size: 3em; }
1382
1383 .level {
1384 padding: 0;
1385 height: 4px;
1386 background-color: transparentize(black, 0.5);
1387 border-radius: 2px;
1388 color: $selected_bg_color;
1389 }
1390
1391 .level-bar {
1392 background-color: $selected_bg_color;
1393 border-radius: 2px;
1394 }
1395 }
1396
1397 //
1398 // Window list (windowList.js)
1399 //
1400 .window-list {
1401
1402 &-box {
1403 spacing: 6px;
1404 padding-left: 10px;
1405
1406 .panel-bottom & { padding-top: 1px; }
1407 .panel-top & { padding-bottom: 1px; }
1408
1409 &.vertical {
1410 spacing: 4px;
1411 padding: 10px 0;
1412 }
1413
1414 &:highlight { background-color: transparentize($error_color, 0.5); }
1415 }
1416
1417 &-item-box {
1418 font-weight: bold;
1419 background-image: none;
1420 padding: 0;
1421 spacing: 0.5em;
1422 transition-duration: 100;
1423 color: transparentize($_shell_fg_color, 0.4);
1424
1425 &:hover {color: $_shell_fg_color;}
1426
1427 &:active,
1428 &:checked,
1429 &:focus,
1430 &:running {
1431 color: $_shell_fg_color;
1432
1433 .panel-bottom & { border-image: url("common-assets/panel/window-list-active-bottom.svg") 3 3 1 3; }
1434 .panel-top & { border-image: url("common-assets/panel/window-list-active-top.svg") 3 3 3 1; }
1435 .panel-left & { border-image: url("common-assets/panel/window-list-active-left.svg") 3 1 3 3; }
1436 .panel-right & { border-image: url("common-assets/panel/window-list-active-right.svg") 1 3 3 3; }
1437 }
1438
1439 &.top, &.bottom {
1440 padding: 0 0.5em;
1441 }
1442
1443 & .progress {
1444 background-gradient-start: $selected_bg_color;
1445 background-gradient-end: $selected_bg_color;
1446 }
1447 }
1448
1449 &-item-demands-attention {
1450 background-gradient-start: $warning_color;
1451 background-gradient-end: $warning_color;
1452 }
1453
1454 &-preview {
1455 background: none;
1456 border: none;
1457 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1458 border-radius: 3px;
1459 font-size: 1em;
1460 color: $osd_fg_color;
1461 text-shadow: none;
1462 padding: 14px;
1463 spacing: 4px;
1464 }
1465 }
1466
1467 //
1468 // Grouped window list ([email protected])
1469 //
1470
1471 .grouped-window-list {
1472 &-thumbnail-label {
1473 padding-left: 4px;
1474 }
1475 &-number-label {
1476 z-index: 99;
1477 text-shadow: none;
1478 font-size: 1.1em;
1479 color: $osd_fg_color;
1480 padding: 0;
1481 }
1482 &-badge {
1483 border-radius: 256px;
1484 background-color: $osd_bg_color;
1485 }
1486 &-button-label {
1487 padding-left: 4px;
1488 }
1489 &-thumbnail-alert {
1490 background: transparentize($error_color, 0.5);
1491 }
1492 &-item-box {
1493 spacing: 0.5em;
1494
1495 &.top,
1496 &.bottom {
1497 padding: 0 0.5em;
1498 }
1499
1500 &.left,
1501 &.right {
1502 padding: 0.3em 0;
1503 }
1504
1505 &:active {
1506 // Trick due to St limitations. It needs a background to draw a box-shadow
1507 background: rgba(0, 0, 0, 0.01);
1508
1509 .panel-bottom & { box-shadow: inset 0 -2px $selected_bg_color; }
1510 .panel-top & { box-shadow: inset 0 2px $selected_bg_color; }
1511 .panel-left & { box-shadow: inset 2px 0 $selected_bg_color; }
1512 .panel-right & { box-shadow: inset -2px 0 $selected_bg_color; }
1513
1514 &:hover {
1515 .panel-bottom & { box-shadow: inset 0 -2px $selected_fg_color; }
1516 .panel-top & { box-shadow: inset 0 2px $selected_fg_color; }
1517 .panel-left & { box-shadow: inset 2px 0 $selected_fg_color; }
1518 .panel-right & { box-shadow: inset -2px 0 $selected_fg_color; }
1519 }
1520 }
1521
1522 &:focus { background: transparentize(black, 0.8); }
1523
1524 &:checked,
1525 &:hover,
1526 & .progress {
1527 background: $selected_bg_color;
1528 }
1529 }
1530
1531 &-item-demands-attention {
1532 background: transparentize($error_color, 0.5);
1533 }
1534
1535 &-thumbnail-menu {
1536 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1537 border-radius: 3px;
1538 color: $osd_fg_color;
1539 padding: 8px;
1540
1541 // HACK: Dont style GWL thumbnail-menus inside the topmost thumbnail-menu
1542 & .grouped-window-list-thumbnail-menu {
1543 border-image: none;
1544 padding: 0;
1545 }
1546
1547 & .item-box {
1548 padding: 10px;
1549 border-radius: 2px;
1550 spacing: 4px;
1551 }
1552 & .item-box:outlined {
1553 padding: 4px;
1554 border: 2px solid $selected_bg_color;
1555 }
1556 & .item-box:selected {
1557 background: $selected_bg_color;
1558 color: $selected_fg_color;
1559 }
1560 & .thumbnail {
1561 width: 256px;
1562 }
1563 & .separator {
1564 width: 1px;
1565 background: rgba(255,255,255,0.12);
1566 }
1567 }
1568 }
1569
1570 ///
1571 // Sound Applet (status/volume.js)
1572 //
1573 .sound-player {
1574 padding: 0 4px;
1575
1576 > StBoxLayout:first-child {
1577 padding: 5px 10px 12px 10px;
1578 spacing: 0.5em;
1579
1580 StButton:small {
1581 width: 16px;
1582 height: 16px;
1583 color: transparentize($fg_color, 0.4);
1584
1585 &:hover {color: $fg_color;}
1586 StIcon { icon-size: 16px; }
1587 }
1588 }
1589
1590 &-generic-coverart {
1591 background: rgba(0,0,0,0.2);
1592 }
1593
1594 &-overlay {
1595 width: 290px;
1596 height: 70px;
1597 padding: 15px;
1598 spacing: 0.5em;
1599 background: transparentize(darken($osd_bg_color, 5%), 0.1);
1600 border: 0px solid darken($osd_bg_color, 10%);
1601 border-bottom: 1px ;
1602 color: $osd_fg_color;
1603
1604 StButton {
1605 width: 18px;
1606 height: 18px;
1607 padding: 5px;
1608 color: $osd_fg_color;
1609 border-radius: 2px;
1610 border: 1px solid transparentize($osd_bg_color,1);
1611
1612 StIcon { icon-size: 16px; }
1613
1614 &:hover{ @include button(osd-hover); }
1615 &:active { @include button(active); }
1616 }
1617
1618 StBoxLayout {
1619 padding-top: 2px;
1620
1621 & > StLabel { padding-left: 10px; }
1622 }
1623 }
1624
1625 .slider {
1626 height: 0.5em;
1627 padding: 0;
1628 border: none;
1629 -slider-height: 0.5em;
1630 -slider-background-color: if($variant == 'light', $button_border, darken($bg_color, 5%));
1631 -slider-border-color: rgba(0,0,0,0);
1632 -slider-active-background-color: $selected_bg_color;
1633 -slider-active-border-color: rgba(0,0,0,0);
1634 -slider-border-width: 0px;
1635 -slider-handle-radius: 0px;
1636 }
1637 }
1638
1639 //
1640 // Spacer applet
1641 //
1642 .spacer-box {
1643 border-radius: 1px;
1644 border: 1px solid transparent;
1645
1646 &:highlight {
1647 background-color: #aa5555;
1648 }
1649
1650 &.vertical {}
1651
1652 &.edit-mode {
1653 border-radius: 1px;
1654 border: 1px symbolic;
1655 }
1656 }
1657
1658 //
1659 // Workspace Switcher applet (workspaceSwitcher.js)
1660 //
1661 /* Controls the styling when using the "Simple buttons" option */
1662 .panel-top .workspace-switcher,
1663 .panel-bottom .workspace-switcher {
1664 padding: 0 3px;
1665 }
1666
1667 .panel-left .workspace-switcher,
1668 .panel-right .workspace-switcher {
1669 padding: 3px;
1670 }
1671
1672 .workspace-button {
1673 color: $selected_fg_color;
1674 padding: 1px 8px 0px 8px;
1675 transition-duration: 300;
1676
1677 &:outlined, &:outlined:hover { color: $selected_bg_color; }
1678 &:hover { color: transparentize($selected_bg_color, 0.5) }
1679 &:shaded { color: transparentize($_shell_fg_color, 0.4); }
1680
1681 .vertical & { padding: 4px 0; }
1682 }
1683
1684 /* Controls the style when using the "Visual representation" option */
1685 .workspace-graph {
1686 padding: 3px;
1687 spacing: 3px;
1688 }
1689
1690 .workspace-graph .workspace {
1691 border: 1px solid transparentize(black, 0.6);
1692 background-gradient-direction: none;
1693 background-color: transparentize(black, 0.8);
1694 }
1695
1696 .workspace-graph .workspace:active {
1697 border: 1px solid $selected_bg_color;
1698 background-gradient-direction: none;
1699 }
1700
1701 .workspace-graph .workspace .windows {
1702 -active-window-background: lighten($panel_bg, 15%);
1703 -active-window-border: rgba(0, 0, 0, 0.8);
1704 -inactive-window-background: lighten($panel_bg, 15%);
1705 -inactive-window-border: rgba(0, 0, 0, 0.8);
1706 }
1707
1708 .workspace-graph .workspace:active .windows {
1709 -active-window-background: lighten($panel_bg, 20%);
1710 -active-window-border: rgba(0, 0, 0, 0.8);
1711 -inactive-window-background: lighten($panel_bg, 5%);
1712 -inactive-window-border: rgba(0, 0, 0, 0.8);
1713 }
1714
1715 //
1716 // Panel Launchers Applet (panelLaunchers.js)
1717 //
1718 .panel-launchers {
1719 padding-left: 7px;
1720 spacing: 6px;
1721
1722 &.vertical {
1723 padding: 2px 0;
1724 }
1725 }
1726
1727 .launcher {
1728 padding: 1px;
1729 transition-duration: 200;
1730
1731 & .icon-box {
1732 padding-top: 0;
1733 }
1734
1735 &:hover {
1736 background-gradient-direction: none;
1737 // Trick due to St limitations. It needs a background to draw a box-shadow
1738 background: rgba(0, 0, 0, 0.01);
1739
1740 .panel-bottom & { box-shadow: inset 0 -2px $selected_bg_color; }
1741 .panel-top & { box-shadow: inset 0 2px $selected_bg_color; }
1742 .panel-left & { box-shadow: inset 2px 0 $selected_bg_color; }
1743 .panel-right & { box-shadow: inset -2px 0 $selected_bg_color; }
1744 }
1745 }
1746
1747 //
1748 // Overview corner
1749 //
1750 #overview-corner {
1751 background-image: url("common-assets/misc/overview.png");
1752
1753 &:hover { background-image: url("common-assets/misc/overview-hover.png"); }
1754 }
1755
1756 //
1757 // Applets (applet.js)
1758 //
1759 .applet {
1760 &-separator {
1761 padding: 1px 4px;
1762
1763 .vertical & { padding: 4px 1px; }
1764 }
1765
1766 &-separator-line {
1767 width: 1px;
1768 background: rgba(255,255,255, 0.12);
1769
1770 &-vertical {
1771 border: 0px solid rgba(255,255,255,0.12);
1772 border-bottom-width: 1px;
1773 }
1774 }
1775
1776 &-box {
1777 padding-left: 3px;
1778 padding-right: 3px;
1779 color: $_shell_fg_color;
1780 text-shadow: none;
1781 transition-duration: 100;
1782
1783 &.vertical {
1784 padding: 3px 0;
1785 }
1786
1787 &:checked, &:hover {
1788 color: $selected_fg_color;
1789 background-color: $selected_bg_color;
1790 }
1791
1792 &:highlight {
1793 background-image: none;
1794 border-image: none;
1795 background-color: transparentize($error_color, 0.5);
1796 }
1797
1798 .panel-top &,
1799 .panel-bottom & {
1800 spacing: 3px;
1801 }
1802 }
1803
1804 &-label {
1805 font-weight: bold;
1806 color: $_shell_fg_color;
1807
1808 .applet-box:checked > &,
1809 .applet-box:hover > &,
1810 &:hover {
1811 color: $selected_fg_color;
1812 text-shadow: none;
1813 }
1814 }
1815
1816 &-icon {
1817 color: $_shell_fg_color;
1818 icon-size: 22px;
1819
1820 .applet-box:checked > &,
1821 .applet-box:hover > &,
1822 &:hover {
1823 color: $selected_fg_color;
1824 text-shadow: none;
1825 }
1826 }
1827
1828 }
1829
1830 //
1831 // User Applet
1832 //
1833 .user-icon {
1834 width: 32px;
1835 height: 32px;
1836 background-color: transparent;
1837 border: none;
1838 border-radius: 0;
1839 }
1840
1841 .user-label {
1842 color: $fg_color;
1843 font-size: 1em;
1844 font-weight: bold;
1845 margin: 0px;
1846 }
1847
1848 //
1849 // Desklets (desklet.js)
1850 //
1851 .desklet {
1852 color: $osd_fg_color;
1853
1854 &:highlight {
1855 background-color: transparentize($error_color, 0.5);
1856 }
1857
1858 &-with-borders {
1859 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1860 color: $osd_fg_color;
1861 padding: 12px;
1862 padding-bottom: 16px;
1863
1864 &:highlight {
1865 background-color: transparentize($error_color, 0.5);
1866 }
1867 }
1868 &-with-borders-and-header {
1869 border-image: url("common-assets/misc/desklet.svg") 9 9 9 9;
1870 color: $osd_fg_color;
1871 border-radius: 0;
1872 border-radius-topleft: 0;
1873 border-radius-topright: 0;
1874 padding: 12px;
1875 padding-bottom: 17px;
1876
1877 &:highlight {
1878 background-color: transparentize($error_color, 0.5);
1879 }
1880 }
1881 &-header {
1882 border-image: url("common-assets/misc/desklet-header.svg") 9 9 9 9;
1883 color: $osd_fg_color;
1884 font-size: 1em;
1885 padding: 12px;
1886 padding-bottom: 6px;
1887 }
1888 &-drag-placeholder {
1889 border: 2px solid $selected_bg_color;
1890 background-color: transparentize($selected_bg_color, 0.7);
1891 }
1892 }
1893
1894 .photoframe-box {
1895 border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
1896 color: $osd_fg_color;
1897 padding: 12px;
1898 padding-bottom: 16px;
1899 }
1900
1901 //
1902 // Notification Applet
1903 //
1904 .notification-applet-padding { padding: .5em 1em; }
1905
1906 .notification-applet-container { max-height: 100px; }
1907
1908 //
1909 // Tile Preview
1910 //
1911 .tile-preview, .tile-preview.snap,
1912 .tile-hud, .tile-hud.snap {
1913 background-color: transparentize($selected_bg_color, 0.7);
1914 border: 1px solid $selected_bg_color;
1915 }
1916
1917 //
1918 // Systray Applet
1919 //
1920 .systray {
1921 spacing: 6px;
1922 }
1923
1924 //
1925 // Xkcd Desklet
1926 //
1927 .xkcd-box {
1928 padding: 6px;
1929 border: 0px;
1930 background-color: rgba(0,0,0,0);
1931 border-radius: 0px;
1932 }