]> cat aescling's git repositories - mastodon.git/blob - app/javascript/styles/mastodon/components.scss
Bot nameplates (#7391)
[mastodon.git] / app / javascript / styles / mastodon / components.scss
1 .app-body {
2 -webkit-overflow-scrolling: touch;
3 -ms-overflow-style: -ms-autohiding-scrollbar;
4 }
5
6 .button {
7 background-color: $ui-highlight-color;
8 border: 10px none;
9 border-radius: 4px;
10 box-sizing: border-box;
11 color: $primary-text-color;
12 cursor: pointer;
13 display: inline-block;
14 font-family: inherit;
15 font-size: 14px;
16 font-weight: 500;
17 height: 36px;
18 letter-spacing: 0;
19 line-height: 36px;
20 overflow: hidden;
21 padding: 0 16px;
22 position: relative;
23 text-align: center;
24 text-transform: uppercase;
25 text-decoration: none;
26 text-overflow: ellipsis;
27 transition: all 100ms ease-in;
28 white-space: nowrap;
29 width: auto;
30
31 &:active,
32 &:focus,
33 &:hover {
34 background-color: lighten($ui-highlight-color, 10%);
35 transition: all 200ms ease-out;
36 }
37
38 &:disabled {
39 background-color: $ui-primary-color;
40 cursor: default;
41 }
42
43 &::-moz-focus-inner {
44 border: 0;
45 }
46
47 &::-moz-focus-inner,
48 &:focus,
49 &:active {
50 outline: 0 !important;
51 }
52
53 &.button-primary,
54 &.button-alternative,
55 &.button-secondary,
56 &.button-alternative-2 {
57 font-size: 16px;
58 line-height: 36px;
59 height: auto;
60 text-transform: none;
61 padding: 4px 16px;
62 }
63
64 &.button-alternative {
65 color: $inverted-text-color;
66 background: $ui-primary-color;
67
68 &:active,
69 &:focus,
70 &:hover {
71 background-color: lighten($ui-primary-color, 4%);
72 }
73 }
74
75 &.button-alternative-2 {
76 background: $ui-base-lighter-color;
77
78 &:active,
79 &:focus,
80 &:hover {
81 background-color: lighten($ui-base-lighter-color, 4%);
82 }
83 }
84
85 &.button-secondary {
86 color: $darker-text-color;
87 background: transparent;
88 padding: 3px 15px;
89 border: 1px solid $ui-primary-color;
90
91 &:active,
92 &:focus,
93 &:hover {
94 border-color: lighten($ui-primary-color, 4%);
95 color: lighten($darker-text-color, 4%);
96 }
97 }
98
99 &.button--block {
100 display: block;
101 width: 100%;
102 }
103 }
104
105 .column__wrapper {
106 display: flex;
107 flex: 1 1 auto;
108 position: relative;
109 }
110
111 .icon-button {
112 display: inline-block;
113 padding: 0;
114 color: $action-button-color;
115 border: none;
116 background: transparent;
117 cursor: pointer;
118 transition: color 100ms ease-in;
119
120 &:hover,
121 &:active,
122 &:focus {
123 color: lighten($action-button-color, 7%);
124 transition: color 200ms ease-out;
125 }
126
127 &.disabled {
128 color: darken($action-button-color, 13%);
129 cursor: default;
130 }
131
132 &.active {
133 color: $highlight-text-color;
134 }
135
136 &::-moz-focus-inner {
137 border: 0;
138 }
139
140 &::-moz-focus-inner,
141 &:focus,
142 &:active {
143 outline: 0 !important;
144 }
145
146 &.inverted {
147 color: $lighter-text-color;
148
149 &:hover,
150 &:active,
151 &:focus {
152 color: darken($lighter-text-color, 7%);
153 }
154
155 &.disabled {
156 color: lighten($lighter-text-color, 7%);
157 }
158
159 &.active {
160 color: $highlight-text-color;
161
162 &.disabled {
163 color: lighten($highlight-text-color, 13%);
164 }
165 }
166 }
167
168 &.overlayed {
169 box-sizing: content-box;
170 background: rgba($base-overlay-background, 0.6);
171 color: rgba($primary-text-color, 0.7);
172 border-radius: 4px;
173 padding: 2px;
174
175 &:hover {
176 background: rgba($base-overlay-background, 0.9);
177 }
178 }
179 }
180
181 .text-icon-button {
182 color: $lighter-text-color;
183 border: none;
184 background: transparent;
185 cursor: pointer;
186 font-weight: 600;
187 font-size: 11px;
188 padding: 0 3px;
189 line-height: 27px;
190 outline: 0;
191 transition: color 100ms ease-in;
192
193 &:hover,
194 &:active,
195 &:focus {
196 color: darken($lighter-text-color, 7%);
197 transition: color 200ms ease-out;
198 }
199
200 &.disabled {
201 color: lighten($lighter-text-color, 20%);
202 cursor: default;
203 }
204
205 &.active {
206 color: $highlight-text-color;
207 }
208
209 &::-moz-focus-inner {
210 border: 0;
211 }
212
213 &::-moz-focus-inner,
214 &:focus,
215 &:active {
216 outline: 0 !important;
217 }
218 }
219
220 .dropdown-menu {
221 position: absolute;
222 transform-origin: 50% 0;
223 }
224
225 .invisible {
226 font-size: 0;
227 line-height: 0;
228 display: inline-block;
229 width: 0;
230 height: 0;
231 position: absolute;
232
233 img,
234 svg {
235 margin: 0 !important;
236 border: 0 !important;
237 padding: 0 !important;
238 width: 0 !important;
239 height: 0 !important;
240 }
241 }
242
243 .ellipsis {
244 &::after {
245 content: "…";
246 }
247 }
248
249 .compose-form {
250 padding: 10px;
251
252 .compose-form__warning {
253 color: $inverted-text-color;
254 margin-bottom: 15px;
255 background: $ui-primary-color;
256 box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
257 padding: 8px 10px;
258 border-radius: 4px;
259 font-size: 13px;
260 font-weight: 400;
261
262 strong {
263 color: $inverted-text-color;
264 font-weight: 500;
265
266 @each $lang in $cjk-langs {
267 &:lang(#{$lang}) {
268 font-weight: 700;
269 }
270 }
271 }
272
273 a {
274 color: $lighter-text-color;
275 font-weight: 500;
276 text-decoration: underline;
277
278 &:hover,
279 &:active,
280 &:focus {
281 text-decoration: none;
282 }
283 }
284 }
285
286 .compose-form__autosuggest-wrapper {
287 position: relative;
288
289 .emoji-picker-dropdown {
290 position: absolute;
291 right: 5px;
292 top: 5px;
293 }
294 }
295
296 .autosuggest-textarea,
297 .spoiler-input {
298 position: relative;
299 }
300
301 .autosuggest-textarea__textarea,
302 .spoiler-input__input {
303 display: block;
304 box-sizing: border-box;
305 width: 100%;
306 margin: 0;
307 color: $inverted-text-color;
308 background: $simple-background-color;
309 padding: 10px;
310 font-family: inherit;
311 font-size: 14px;
312 resize: vertical;
313 border: 0;
314 outline: 0;
315
316 &:focus {
317 outline: 0;
318 }
319
320 @media screen and (max-width: 600px) {
321 font-size: 16px;
322 }
323 }
324
325 .spoiler-input__input {
326 border-radius: 4px;
327 }
328
329 .autosuggest-textarea__textarea {
330 min-height: 100px;
331 border-radius: 4px 4px 0 0;
332 padding-bottom: 0;
333 padding-right: 10px + 22px;
334 resize: none;
335
336 @media screen and (max-width: 600px) {
337 height: 100px !important; // prevent auto-resize textarea
338 resize: vertical;
339 }
340 }
341
342 .autosuggest-textarea__suggestions {
343 box-sizing: border-box;
344 display: none;
345 position: absolute;
346 top: 100%;
347 width: 100%;
348 z-index: 99;
349 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
350 background: $ui-secondary-color;
351 border-radius: 0 0 4px 4px;
352 color: $inverted-text-color;
353 font-size: 14px;
354 padding: 6px;
355
356 &.autosuggest-textarea__suggestions--visible {
357 display: block;
358 }
359 }
360
361 .autosuggest-textarea__suggestions__item {
362 padding: 10px;
363 cursor: pointer;
364 border-radius: 4px;
365
366 &:hover,
367 &:focus,
368 &:active,
369 &.selected {
370 background: darken($ui-secondary-color, 10%);
371 }
372 }
373
374 .autosuggest-account,
375 .autosuggest-emoji {
376 display: flex;
377 flex-direction: row;
378 align-items: center;
379 justify-content: flex-start;
380 line-height: 18px;
381 font-size: 14px;
382 }
383
384 .autosuggest-account-icon,
385 .autosuggest-emoji img {
386 display: block;
387 margin-right: 8px;
388 width: 16px;
389 height: 16px;
390 }
391
392 .autosuggest-account .display-name__account {
393 color: $lighter-text-color;
394 }
395
396 .compose-form__modifiers {
397 color: $inverted-text-color;
398 font-family: inherit;
399 font-size: 14px;
400 background: $simple-background-color;
401
402 .compose-form__upload-wrapper {
403 overflow: hidden;
404 }
405
406 .compose-form__uploads-wrapper {
407 display: flex;
408 flex-direction: row;
409 padding: 5px;
410 flex-wrap: wrap;
411 }
412
413 .compose-form__upload {
414 flex: 1 1 0;
415 min-width: 40%;
416 margin: 5px;
417
418 &__actions {
419 background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
420 display: flex;
421 align-items: flex-start;
422 justify-content: space-between;
423 opacity: 0;
424 transition: opacity .1s ease;
425
426 .icon-button {
427 flex: 0 1 auto;
428 color: $action-button-color;
429 font-size: 14px;
430 font-weight: 500;
431 padding: 10px;
432 font-family: inherit;
433
434 &:hover,
435 &:focus,
436 &:active {
437 color: lighten($action-button-color, 7%);
438 }
439 }
440
441 &.active {
442 opacity: 1;
443 }
444 }
445
446 &-description {
447 position: absolute;
448 z-index: 2;
449 bottom: 0;
450 left: 0;
451 right: 0;
452 box-sizing: border-box;
453 background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
454 padding: 10px;
455 opacity: 0;
456 transition: opacity .1s ease;
457
458 input {
459 background: transparent;
460 color: $secondary-text-color;
461 border: 0;
462 padding: 0;
463 margin: 0;
464 width: 100%;
465 font-family: inherit;
466 font-size: 14px;
467 font-weight: 500;
468
469 &:focus {
470 color: $white;
471 }
472
473 &::placeholder {
474 opacity: 0.75;
475 color: $secondary-text-color;
476 }
477 }
478
479 &.active {
480 opacity: 1;
481 }
482 }
483 }
484
485 .compose-form__upload-thumbnail {
486 border-radius: 4px;
487 background-position: center;
488 background-size: cover;
489 background-repeat: no-repeat;
490 height: 140px;
491 width: 100%;
492 overflow: hidden;
493 }
494 }
495
496 .compose-form__buttons-wrapper {
497 padding: 10px;
498 background: darken($simple-background-color, 8%);
499 border-radius: 0 0 4px 4px;
500 display: flex;
501 justify-content: space-between;
502
503 .compose-form__buttons {
504 display: flex;
505
506 .compose-form__upload-button-icon {
507 line-height: 27px;
508 }
509
510 .compose-form__sensitive-button {
511 display: none;
512
513 &.compose-form__sensitive-button--visible {
514 display: block;
515 }
516
517 .compose-form__sensitive-button__icon {
518 line-height: 27px;
519 }
520 }
521 }
522
523 .icon-button {
524 box-sizing: content-box;
525 padding: 0 3px;
526 }
527
528 .character-counter__wrapper {
529 align-self: center;
530 margin-right: 4px;
531
532 .character-counter {
533 cursor: default;
534 font-family: 'mastodon-font-sans-serif', sans-serif;
535 font-size: 14px;
536 font-weight: 600;
537 color: $lighter-text-color;
538
539 &.character-counter--over {
540 color: $warning-red;
541 }
542 }
543 }
544 }
545
546 .compose-form__publish {
547 display: flex;
548 justify-content: flex-end;
549 min-width: 0;
550
551 .compose-form__publish-button-wrapper {
552 overflow: hidden;
553 padding-top: 10px;
554 }
555 }
556 }
557
558 .emojione {
559 font-size: inherit;
560 vertical-align: middle;
561 object-fit: contain;
562 margin: -.2ex .15em .2ex;
563 width: 16px;
564 height: 16px;
565
566 img {
567 width: auto;
568 }
569 }
570
571 .reply-indicator {
572 border-radius: 4px 4px 0 0;
573 position: relative;
574 bottom: -2px;
575 background: $ui-primary-color;
576 padding: 10px;
577 }
578
579 .reply-indicator__header {
580 margin-bottom: 5px;
581 overflow: hidden;
582 }
583
584 .reply-indicator__cancel {
585 float: right;
586 line-height: 24px;
587 }
588
589 .reply-indicator__display-name {
590 color: $inverted-text-color;
591 display: block;
592 max-width: 100%;
593 line-height: 24px;
594 overflow: hidden;
595 padding-right: 25px;
596 text-decoration: none;
597 }
598
599 .reply-indicator__display-avatar {
600 float: left;
601 margin-right: 5px;
602 }
603
604 .status__content--with-action {
605 cursor: pointer;
606 }
607
608 .status__content,
609 .reply-indicator__content {
610 font-size: 15px;
611 line-height: 20px;
612 word-wrap: break-word;
613 font-weight: 400;
614 overflow: hidden;
615 white-space: pre-wrap;
616 padding-top: 2px;
617
618 &:focus {
619 outline: 0;
620 }
621
622 &.status__content--with-spoiler {
623 white-space: normal;
624
625 .status__content__text {
626 white-space: pre-wrap;
627 }
628 }
629
630 .emojione {
631 width: 20px;
632 height: 20px;
633 margin: -3px 0 0;
634 }
635
636 p {
637 margin-bottom: 20px;
638
639 &:last-child {
640 margin-bottom: 0;
641 }
642 }
643
644 a {
645 color: $secondary-text-color;
646 text-decoration: none;
647
648 &:hover {
649 text-decoration: underline;
650
651 .fa {
652 color: lighten($dark-text-color, 7%);
653 }
654 }
655
656 &.mention {
657 &:hover {
658 text-decoration: none;
659
660 span {
661 text-decoration: underline;
662 }
663 }
664 }
665
666 .fa {
667 color: $dark-text-color;
668 }
669 }
670
671 .status__content__spoiler-link {
672 background: $action-button-color;
673
674 &:hover {
675 background: lighten($action-button-color, 7%);
676 text-decoration: none;
677 }
678
679 &::-moz-focus-inner {
680 border: 0;
681 }
682
683 &::-moz-focus-inner,
684 &:focus,
685 &:active {
686 outline: 0 !important;
687 }
688 }
689
690 .status__content__text {
691 display: none;
692
693 &.status__content__text--visible {
694 display: block;
695 }
696 }
697 }
698
699 .status__content__spoiler-link {
700 display: inline-block;
701 border-radius: 2px;
702 background: transparent;
703 border: 0;
704 color: $inverted-text-color;
705 font-weight: 700;
706 font-size: 11px;
707 padding: 0 6px;
708 text-transform: uppercase;
709 line-height: 20px;
710 cursor: pointer;
711 vertical-align: middle;
712 }
713
714 .status__prepend-icon-wrapper {
715 left: -26px;
716 position: absolute;
717 }
718
719 .focusable {
720 &:focus {
721 outline: 0;
722 background: lighten($ui-base-color, 4%);
723
724 .status.status-direct {
725 background: lighten($ui-base-color, 12%);
726
727 &.muted {
728 background: transparent;
729 }
730 }
731
732 .detailed-status,
733 .detailed-status__action-bar {
734 background: lighten($ui-base-color, 8%);
735 }
736 }
737 }
738
739 .status {
740 padding: 8px 10px;
741 padding-left: 68px;
742 position: relative;
743 min-height: 48px;
744 border-bottom: 1px solid lighten($ui-base-color, 8%);
745 cursor: default;
746
747 @supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
748 // Add margin to avoid Edge auto-hiding scrollbar appearing over content.
749 // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
750 padding-right: 26px; // 10px + 16px
751 }
752
753 @keyframes fade {
754 0% { opacity: 0; }
755 100% { opacity: 1; }
756 }
757
758 opacity: 1;
759 animation: fade 150ms linear;
760
761 .video-player {
762 margin-top: 8px;
763 }
764
765 &.status-direct {
766 background: lighten($ui-base-color, 8%);
767 }
768
769 &.light {
770 .status__relative-time {
771 color: $light-text-color;
772 }
773
774 .status__display-name {
775 color: $inverted-text-color;
776 }
777
778 .display-name {
779 strong {
780 color: $inverted-text-color;
781 }
782
783 span {
784 color: $light-text-color;
785 }
786 }
787
788 .status__content {
789 color: $inverted-text-color;
790
791 a {
792 color: $highlight-text-color;
793 }
794
795 a.status__content__spoiler-link {
796 color: $primary-text-color;
797 background: $ui-primary-color;
798
799 &:hover {
800 background: lighten($ui-primary-color, 8%);
801 }
802 }
803 }
804 }
805 }
806
807 .notification-favourite {
808 .status.status-direct {
809 background: transparent;
810
811 .icon-button.disabled {
812 color: lighten($action-button-color, 13%);
813 }
814 }
815 }
816
817 .status__relative-time {
818 color: $dark-text-color;
819 float: right;
820 font-size: 14px;
821 }
822
823 .status__display-name {
824 color: $dark-text-color;
825 }
826
827 .status__info .status__display-name {
828 display: block;
829 max-width: 100%;
830 padding-right: 25px;
831 }
832
833 .status__info {
834 font-size: 15px;
835 }
836
837 .status-check-box {
838 border-bottom: 1px solid $ui-secondary-color;
839 display: flex;
840
841 .status-check-box__status {
842 margin: 10px 0 10px 10px;
843 flex: 1;
844
845 .media-gallery {
846 max-width: 250px;
847 }
848
849 .status__content {
850 padding: 0;
851 white-space: normal;
852 }
853
854 .video-player {
855 margin-top: 8px;
856 max-width: 250px;
857 }
858
859 .media-gallery__item-thumbnail {
860 cursor: default;
861 }
862 }
863 }
864
865 .status-check-box-toggle {
866 align-items: center;
867 display: flex;
868 flex: 0 0 auto;
869 justify-content: center;
870 padding: 10px;
871 }
872
873 .status__prepend {
874 margin-left: 68px;
875 color: $dark-text-color;
876 padding: 8px 0;
877 padding-bottom: 2px;
878 font-size: 14px;
879 position: relative;
880
881 .status__display-name strong {
882 color: $dark-text-color;
883 }
884
885 > span {
886 display: block;
887 overflow: hidden;
888 text-overflow: ellipsis;
889 }
890 }
891
892 .status__action-bar {
893 align-items: center;
894 display: flex;
895 margin-top: 8px;
896 }
897
898 .status__action-bar-button {
899 float: left;
900 margin-right: 18px;
901 }
902
903 .status__action-bar-dropdown {
904 float: left;
905 height: 23.15px;
906 width: 23.15px;
907 }
908
909 .detailed-status__action-bar-dropdown {
910 flex: 1 1 auto;
911 display: flex;
912 align-items: center;
913 justify-content: center;
914 position: relative;
915 }
916
917 .detailed-status {
918 background: lighten($ui-base-color, 4%);
919 padding: 14px 10px;
920
921 .status__content {
922 font-size: 19px;
923 line-height: 24px;
924
925 .emojione {
926 width: 24px;
927 height: 24px;
928 margin: -1px 0 0;
929 }
930
931 .status__content__spoiler-link {
932 line-height: 24px;
933 margin: -1px 0 0;
934 }
935 }
936
937 .video-player {
938 margin-top: 8px;
939 }
940 }
941
942 .detailed-status__meta {
943 margin-top: 15px;
944 color: $dark-text-color;
945 font-size: 14px;
946 line-height: 18px;
947 }
948
949 .detailed-status__action-bar {
950 background: lighten($ui-base-color, 4%);
951 border-top: 1px solid lighten($ui-base-color, 8%);
952 border-bottom: 1px solid lighten($ui-base-color, 8%);
953 display: flex;
954 flex-direction: row;
955 padding: 10px 0;
956 }
957
958 .detailed-status__link {
959 color: inherit;
960 text-decoration: none;
961 }
962
963 .detailed-status__favorites,
964 .detailed-status__reblogs {
965 display: inline-block;
966 font-weight: 500;
967 font-size: 12px;
968 margin-left: 6px;
969 }
970
971 .reply-indicator__content {
972 color: $inverted-text-color;
973 font-size: 14px;
974
975 a {
976 color: $lighter-text-color;
977 }
978 }
979
980 .domain {
981 padding: 10px;
982 border-bottom: 1px solid lighten($ui-base-color, 8%);
983
984 .domain__domain-name {
985 flex: 1 1 auto;
986 display: block;
987 color: $primary-text-color;
988 text-decoration: none;
989 font-size: 14px;
990 font-weight: 500;
991 }
992 }
993
994 .domain__wrapper {
995 display: flex;
996 }
997
998 .domain_buttons {
999 height: 18px;
1000 padding: 10px;
1001 white-space: nowrap;
1002 }
1003
1004 .account {
1005 padding: 10px;
1006 border-bottom: 1px solid lighten($ui-base-color, 8%);
1007
1008 &.compact {
1009 padding: 0;
1010 border-bottom: 0;
1011
1012 .account__avatar-wrapper {
1013 margin-left: 0;
1014 }
1015 }
1016
1017 .account__display-name {
1018 flex: 1 1 auto;
1019 display: block;
1020 color: $darker-text-color;
1021 overflow: hidden;
1022 text-decoration: none;
1023 font-size: 14px;
1024 }
1025 }
1026
1027 .account__wrapper {
1028 display: flex;
1029 }
1030
1031 .account__avatar-wrapper {
1032 float: left;
1033 margin-left: 12px;
1034 margin-right: 12px;
1035 }
1036
1037 .account__avatar {
1038 @include avatar-radius();
1039 position: relative;
1040
1041 &-inline {
1042 display: inline-block;
1043 vertical-align: middle;
1044 margin-right: 5px;
1045 }
1046 }
1047
1048 a .account__avatar {
1049 cursor: pointer;
1050 }
1051
1052 .account__avatar-overlay {
1053 @include avatar-size(48px);
1054
1055 &-base {
1056 @include avatar-radius();
1057 @include avatar-size(36px);
1058 }
1059
1060 &-overlay {
1061 @include avatar-radius();
1062 @include avatar-size(24px);
1063
1064 position: absolute;
1065 bottom: 0;
1066 right: 0;
1067 z-index: 1;
1068 }
1069 }
1070
1071 .account__relationship {
1072 height: 18px;
1073 padding: 10px;
1074 white-space: nowrap;
1075 }
1076
1077 .account__header {
1078 flex: 0 0 auto;
1079 background: lighten($ui-base-color, 4%);
1080 text-align: center;
1081 background-size: cover;
1082 background-position: center;
1083 position: relative;
1084
1085 &.inactive {
1086 opacity: 0.5;
1087
1088 .account__header__avatar {
1089 filter: grayscale(100%);
1090 }
1091
1092 .account__header__username {
1093 color: $secondary-text-color;
1094 }
1095 }
1096
1097 & > div {
1098 background: rgba(lighten($ui-base-color, 4%), 0.9);
1099 padding: 20px 10px;
1100 }
1101
1102 .account__header__content {
1103 color: $secondary-text-color;
1104 }
1105
1106 .account__header__display-name {
1107 color: $primary-text-color;
1108 display: inline-block;
1109 width: 100%;
1110 font-size: 20px;
1111 line-height: 27px;
1112 font-weight: 500;
1113 overflow: hidden;
1114 text-overflow: ellipsis;
1115 }
1116
1117 .account__header__username {
1118 color: $highlight-text-color;
1119 font-size: 14px;
1120 font-weight: 400;
1121 display: block;
1122 margin-bottom: 10px;
1123 overflow: hidden;
1124 text-overflow: ellipsis;
1125 }
1126 }
1127
1128 .account__disclaimer {
1129 padding: 10px;
1130 border-top: 1px solid lighten($ui-base-color, 8%);
1131 color: $dark-text-color;
1132
1133 strong {
1134 font-weight: 500;
1135
1136 @each $lang in $cjk-langs {
1137 &:lang(#{$lang}) {
1138 font-weight: 700;
1139 }
1140 }
1141 }
1142
1143 a {
1144 font-weight: 500;
1145 color: inherit;
1146 text-decoration: underline;
1147
1148 &:hover,
1149 &:focus,
1150 &:active {
1151 text-decoration: none;
1152 }
1153 }
1154 }
1155
1156 .account__header__content {
1157 color: $darker-text-color;
1158 font-size: 14px;
1159 font-weight: 400;
1160 overflow: hidden;
1161 word-break: normal;
1162 word-wrap: break-word;
1163
1164 p {
1165 margin-bottom: 20px;
1166
1167 &:last-child {
1168 margin-bottom: 0;
1169 }
1170 }
1171
1172 a {
1173 color: inherit;
1174 text-decoration: underline;
1175
1176 &:hover {
1177 text-decoration: none;
1178 }
1179 }
1180 }
1181
1182 .account__header__display-name {
1183 .emojione {
1184 width: 25px;
1185 height: 25px;
1186 }
1187 }
1188
1189 .account__action-bar {
1190 border-top: 1px solid lighten($ui-base-color, 8%);
1191 border-bottom: 1px solid lighten($ui-base-color, 8%);
1192 line-height: 36px;
1193 overflow: hidden;
1194 flex: 0 0 auto;
1195 display: flex;
1196 }
1197
1198 .account__action-bar-dropdown {
1199 flex: 0 1 calc(50% - 140px);
1200 padding: 10px;
1201
1202 .dropdown--active {
1203 .dropdown__content.dropdown__right {
1204 left: 6px;
1205 right: initial;
1206 }
1207
1208 &::after {
1209 bottom: initial;
1210 margin-left: 11px;
1211 margin-top: -7px;
1212 right: initial;
1213 }
1214 }
1215 }
1216
1217 .account__action-bar-links {
1218 display: flex;
1219 flex: 1 1 auto;
1220 line-height: 18px;
1221 }
1222
1223 .account__action-bar__tab {
1224 text-decoration: none;
1225 overflow: hidden;
1226 flex: 0 1 80px;
1227 border-left: 1px solid lighten($ui-base-color, 8%);
1228 padding: 10px 5px;
1229
1230 & > span {
1231 display: block;
1232 text-transform: uppercase;
1233 font-size: 11px;
1234 color: $darker-text-color;
1235 }
1236
1237 strong {
1238 display: block;
1239 font-size: 15px;
1240 font-weight: 500;
1241 color: $primary-text-color;
1242
1243 @each $lang in $cjk-langs {
1244 &:lang(#{$lang}) {
1245 font-weight: 700;
1246 }
1247 }
1248 }
1249 }
1250
1251 .account__header__avatar {
1252 background-size: 90px 90px;
1253 display: block;
1254 height: 90px;
1255 margin: 0 auto 10px;
1256 overflow: hidden;
1257 width: 90px;
1258 }
1259
1260 .account-authorize {
1261 padding: 14px 10px;
1262
1263 .detailed-status__display-name {
1264 display: block;
1265 margin-bottom: 15px;
1266 overflow: hidden;
1267 }
1268 }
1269
1270 .account-authorize__avatar {
1271 float: left;
1272 margin-right: 10px;
1273 }
1274
1275 .status__display-name,
1276 .status__relative-time,
1277 .detailed-status__display-name,
1278 .detailed-status__datetime,
1279 .detailed-status__application,
1280 .account__display-name {
1281 text-decoration: none;
1282 }
1283
1284 .status__display-name,
1285 .account__display-name {
1286 strong {
1287 color: $primary-text-color;
1288 }
1289 }
1290
1291 .muted {
1292 .emojione {
1293 opacity: 0.5;
1294 }
1295 }
1296
1297 .status__display-name,
1298 .reply-indicator__display-name,
1299 .detailed-status__display-name,
1300 a.account__display-name {
1301 &:hover strong {
1302 text-decoration: underline;
1303 }
1304 }
1305
1306 .account__display-name strong {
1307 display: block;
1308 overflow: hidden;
1309 text-overflow: ellipsis;
1310 }
1311
1312 .detailed-status__application,
1313 .detailed-status__datetime {
1314 color: inherit;
1315 }
1316
1317 .detailed-status__display-name {
1318 color: $secondary-text-color;
1319 display: block;
1320 line-height: 24px;
1321 margin-bottom: 15px;
1322 overflow: hidden;
1323
1324 strong,
1325 span {
1326 display: block;
1327 text-overflow: ellipsis;
1328 overflow: hidden;
1329 }
1330
1331 strong {
1332 font-size: 16px;
1333 color: $primary-text-color;
1334 }
1335 }
1336
1337 .detailed-status__display-avatar {
1338 float: left;
1339 margin-right: 10px;
1340 }
1341
1342 .status__avatar {
1343 height: 48px;
1344 left: 10px;
1345 position: absolute;
1346 top: 10px;
1347 width: 48px;
1348 }
1349
1350 .muted {
1351 .status__content p,
1352 .status__content a {
1353 color: $dark-text-color;
1354 }
1355
1356 .status__display-name strong {
1357 color: $dark-text-color;
1358 }
1359
1360 .status__avatar {
1361 opacity: 0.5;
1362 }
1363
1364 a.status__content__spoiler-link {
1365 background: $ui-base-lighter-color;
1366 color: $inverted-text-color;
1367
1368 &:hover {
1369 background: lighten($ui-base-lighter-color, 7%);
1370 text-decoration: none;
1371 }
1372 }
1373 }
1374
1375 .notification__message {
1376 margin-left: 68px;
1377 padding: 8px 0;
1378 padding-bottom: 0;
1379 cursor: default;
1380 color: $darker-text-color;
1381 font-size: 15px;
1382 position: relative;
1383
1384 .fa {
1385 color: $highlight-text-color;
1386 }
1387
1388 > span {
1389 display: block;
1390 overflow: hidden;
1391 text-overflow: ellipsis;
1392 }
1393 }
1394
1395 .notification__favourite-icon-wrapper {
1396 left: -26px;
1397 position: absolute;
1398
1399 .star-icon {
1400 color: $gold-star;
1401 }
1402 }
1403
1404 .star-icon.active {
1405 color: $gold-star;
1406 }
1407
1408 .notification__display-name {
1409 color: inherit;
1410 font-weight: 500;
1411 text-decoration: none;
1412
1413 &:hover {
1414 color: $primary-text-color;
1415 text-decoration: underline;
1416 }
1417 }
1418
1419 .display-name {
1420 display: block;
1421 max-width: 100%;
1422 overflow: hidden;
1423 text-overflow: ellipsis;
1424 white-space: nowrap;
1425 }
1426
1427 .display-name__html {
1428 font-weight: 500;
1429 }
1430
1431 .display-name__account {
1432 font-size: 14px;
1433 }
1434
1435 .status__relative-time,
1436 .detailed-status__datetime {
1437 &:hover {
1438 text-decoration: underline;
1439 }
1440 }
1441
1442 .image-loader {
1443 position: relative;
1444 width: 100%;
1445 height: 100%;
1446 display: flex;
1447 align-items: center;
1448 justify-content: center;
1449
1450 .image-loader__preview-canvas {
1451 max-width: $media-modal-media-max-width;
1452 max-height: $media-modal-media-max-height;
1453 background: url('../images/void.png') repeat;
1454 object-fit: contain;
1455 }
1456
1457 &.image-loader--loading .image-loader__preview-canvas {
1458 filter: blur(2px);
1459 }
1460
1461 &.image-loader--amorphous .image-loader__preview-canvas {
1462 display: none;
1463 }
1464 }
1465
1466 .zoomable-image {
1467 position: relative;
1468 width: 100%;
1469 height: 100%;
1470 display: flex;
1471 align-items: center;
1472 justify-content: center;
1473
1474 img {
1475 max-width: $media-modal-media-max-width;
1476 max-height: $media-modal-media-max-height;
1477 width: auto;
1478 height: auto;
1479 object-fit: contain;
1480 }
1481 }
1482
1483 .navigation-bar {
1484 padding: 10px;
1485 display: flex;
1486 flex-shrink: 0;
1487 cursor: default;
1488 color: $darker-text-color;
1489
1490 strong {
1491 color: $secondary-text-color;
1492 }
1493
1494 a {
1495 color: inherit;
1496 }
1497
1498 .permalink {
1499 text-decoration: none;
1500 }
1501
1502 .icon-button {
1503 pointer-events: none;
1504 opacity: 0;
1505 }
1506 }
1507
1508 .navigation-bar__profile {
1509 flex: 1 1 auto;
1510 margin-left: 8px;
1511 overflow: hidden;
1512 }
1513
1514 .navigation-bar__profile-account {
1515 display: block;
1516 font-weight: 500;
1517 overflow: hidden;
1518 text-overflow: ellipsis;
1519 }
1520
1521 .navigation-bar__profile-edit {
1522 color: inherit;
1523 text-decoration: none;
1524 }
1525
1526 .dropdown {
1527 display: inline-block;
1528 }
1529
1530 .dropdown__content {
1531 display: none;
1532 position: absolute;
1533 }
1534
1535 .dropdown-menu__separator {
1536 border-bottom: 1px solid darken($ui-secondary-color, 8%);
1537 margin: 5px 7px 6px;
1538 height: 0;
1539 }
1540
1541 .dropdown-menu {
1542 background: $ui-secondary-color;
1543 padding: 4px 0;
1544 border-radius: 4px;
1545 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
1546
1547 ul {
1548 list-style: none;
1549 }
1550 }
1551
1552 .dropdown-menu__arrow {
1553 position: absolute;
1554 width: 0;
1555 height: 0;
1556 border: 0 solid transparent;
1557
1558 &.left {
1559 right: -5px;
1560 margin-top: -5px;
1561 border-width: 5px 0 5px 5px;
1562 border-left-color: $ui-secondary-color;
1563 }
1564
1565 &.top {
1566 bottom: -5px;
1567 margin-left: -13px;
1568 border-width: 5px 7px 0;
1569 border-top-color: $ui-secondary-color;
1570 }
1571
1572 &.bottom {
1573 top: -5px;
1574 margin-left: -13px;
1575 border-width: 0 7px 5px;
1576 border-bottom-color: $ui-secondary-color;
1577 }
1578
1579 &.right {
1580 left: -5px;
1581 margin-top: -5px;
1582 border-width: 5px 5px 5px 0;
1583 border-right-color: $ui-secondary-color;
1584 }
1585 }
1586
1587 .dropdown-menu__item {
1588 a {
1589 font-size: 13px;
1590 line-height: 18px;
1591 display: block;
1592 padding: 4px 14px;
1593 box-sizing: border-box;
1594 text-decoration: none;
1595 background: $ui-secondary-color;
1596 color: $inverted-text-color;
1597 overflow: hidden;
1598 text-overflow: ellipsis;
1599 white-space: nowrap;
1600
1601 &:focus,
1602 &:hover,
1603 &:active {
1604 background: $ui-highlight-color;
1605 color: $secondary-text-color;
1606 outline: 0;
1607 }
1608 }
1609 }
1610
1611 .dropdown--active .dropdown__content {
1612 display: block;
1613 line-height: 18px;
1614 max-width: 311px;
1615 right: 0;
1616 text-align: left;
1617 z-index: 9999;
1618
1619 & > ul {
1620 list-style: none;
1621 background: $ui-secondary-color;
1622 padding: 4px 0;
1623 border-radius: 4px;
1624 box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
1625 min-width: 140px;
1626 position: relative;
1627 }
1628
1629 &.dropdown__right {
1630 right: 0;
1631 }
1632
1633 &.dropdown__left {
1634 & > ul {
1635 left: -98px;
1636 }
1637 }
1638
1639 & > ul > li > a {
1640 font-size: 13px;
1641 line-height: 18px;
1642 display: block;
1643 padding: 4px 14px;
1644 box-sizing: border-box;
1645 text-decoration: none;
1646 background: $ui-secondary-color;
1647 color: $inverted-text-color;
1648 overflow: hidden;
1649 text-overflow: ellipsis;
1650 white-space: nowrap;
1651
1652 &:focus {
1653 outline: 0;
1654 }
1655
1656 &:hover {
1657 background: $ui-highlight-color;
1658 color: $secondary-text-color;
1659 }
1660 }
1661 }
1662
1663 .dropdown__icon {
1664 vertical-align: middle;
1665 }
1666
1667 .static-content {
1668 padding: 10px;
1669 padding-top: 20px;
1670 color: $dark-text-color;
1671
1672 h1 {
1673 font-size: 16px;
1674 font-weight: 500;
1675 margin-bottom: 40px;
1676 text-align: center;
1677 }
1678
1679 p {
1680 font-size: 13px;
1681 margin-bottom: 20px;
1682 }
1683 }
1684
1685 .columns-area {
1686 display: flex;
1687 flex: 1 1 auto;
1688 flex-direction: row;
1689 justify-content: flex-start;
1690 overflow-x: auto;
1691 position: relative;
1692
1693 &.unscrollable {
1694 overflow-x: hidden;
1695 }
1696 }
1697
1698 @media screen and (min-width: 360px) {
1699 .columns-area {
1700 padding: 10px;
1701 }
1702
1703 .react-swipeable-view-container .columns-area {
1704 height: calc(100% - 20px) !important;
1705 }
1706 }
1707
1708 .react-swipeable-view-container {
1709 &,
1710 .columns-area,
1711 .drawer,
1712 .column {
1713 height: 100%;
1714 }
1715 }
1716
1717 .react-swipeable-view-container > * {
1718 display: flex;
1719 align-items: center;
1720 justify-content: center;
1721 height: 100%;
1722 }
1723
1724 .column {
1725 width: 330px;
1726 position: relative;
1727 box-sizing: border-box;
1728 display: flex;
1729 flex-direction: column;
1730
1731 > .scrollable {
1732 background: $ui-base-color;
1733 }
1734 }
1735
1736 .ui {
1737 flex: 0 0 auto;
1738 display: flex;
1739 flex-direction: column;
1740 width: 100%;
1741 height: 100%;
1742 background: darken($ui-base-color, 7%);
1743 }
1744
1745 .drawer {
1746 width: 300px;
1747 box-sizing: border-box;
1748 display: flex;
1749 flex-direction: column;
1750 overflow-y: hidden;
1751 }
1752
1753 .drawer__tab {
1754 display: block;
1755 flex: 1 1 auto;
1756 padding: 15px 5px 13px;
1757 color: $darker-text-color;
1758 text-decoration: none;
1759 text-align: center;
1760 font-size: 16px;
1761 border-bottom: 2px solid transparent;
1762 }
1763
1764 .column,
1765 .drawer {
1766 flex: 1 1 100%;
1767 overflow: hidden;
1768 }
1769
1770 @media screen and (min-width: 360px) {
1771 .tabs-bar {
1772 margin: 10px;
1773 margin-bottom: 0;
1774 }
1775
1776 .search {
1777 margin-bottom: 10px;
1778 }
1779 }
1780
1781 @media screen and (max-width: 630px) {
1782 .column,
1783 .drawer {
1784 width: 100%;
1785 padding: 0;
1786 }
1787
1788 .columns-area {
1789 flex-direction: column;
1790 }
1791
1792 .search__input,
1793 .autosuggest-textarea__textarea {
1794 font-size: 16px;
1795 }
1796 }
1797
1798 @media screen and (min-width: 631px) {
1799 .columns-area {
1800 padding: 0;
1801 }
1802
1803 .column,
1804 .drawer {
1805 flex: 0 0 auto;
1806 padding: 10px;
1807 padding-left: 5px;
1808 padding-right: 5px;
1809
1810 &:first-child {
1811 padding-left: 10px;
1812 }
1813
1814 &:last-child {
1815 padding-right: 10px;
1816 }
1817 }
1818
1819 .columns-area > div {
1820 .column,
1821 .drawer {
1822 padding-left: 5px;
1823 padding-right: 5px;
1824 }
1825 }
1826 }
1827
1828 .drawer__pager {
1829 box-sizing: border-box;
1830 padding: 0;
1831 flex-grow: 1;
1832 position: relative;
1833 overflow: hidden;
1834 display: flex;
1835 }
1836
1837 .drawer__inner {
1838 position: absolute;
1839 top: 0;
1840 left: 0;
1841 background: lighten($ui-base-color, 13%);
1842 box-sizing: border-box;
1843 padding: 0;
1844 display: flex;
1845 flex-direction: column;
1846 overflow: hidden;
1847 overflow-y: auto;
1848 width: 100%;
1849 height: 100%;
1850
1851 &.darker {
1852 background: $ui-base-color;
1853 }
1854 }
1855
1856 .drawer__inner__mastodon {
1857 background: lighten($ui-base-color, 13%) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($ui-base-color)}"/></svg>') no-repeat bottom / 100% auto;
1858 flex: 1;
1859 min-height: 47px;
1860
1861 > img {
1862 display: block;
1863 object-fit: contain;
1864 object-position: bottom left;
1865 width: 100%;
1866 height: 100%;
1867 pointer-events: none;
1868 user-drag: none;
1869 user-select: none;
1870 }
1871 }
1872
1873 .pseudo-drawer {
1874 background: lighten($ui-base-color, 13%);
1875 font-size: 13px;
1876 text-align: left;
1877 }
1878
1879 .drawer__header {
1880 flex: 0 0 auto;
1881 font-size: 16px;
1882 background: lighten($ui-base-color, 8%);
1883 margin-bottom: 10px;
1884 display: flex;
1885 flex-direction: row;
1886
1887 a {
1888 transition: background 100ms ease-in;
1889
1890 &:hover {
1891 background: lighten($ui-base-color, 3%);
1892 transition: background 200ms ease-out;
1893 }
1894 }
1895 }
1896
1897 .tabs-bar {
1898 display: flex;
1899 background: lighten($ui-base-color, 8%);
1900 flex: 0 0 auto;
1901 overflow-y: auto;
1902 }
1903
1904 .tabs-bar__link {
1905 display: block;
1906 flex: 1 1 auto;
1907 padding: 15px 10px;
1908 color: $primary-text-color;
1909 text-decoration: none;
1910 text-align: center;
1911 font-size: 14px;
1912 font-weight: 500;
1913 border-bottom: 2px solid lighten($ui-base-color, 8%);
1914 transition: all 50ms linear;
1915
1916 .fa {
1917 font-weight: 400;
1918 font-size: 16px;
1919 }
1920
1921 &.active {
1922 border-bottom: 2px solid $highlight-text-color;
1923 color: $highlight-text-color;
1924 }
1925
1926 &:hover,
1927 &:focus,
1928 &:active {
1929 @media screen and (min-width: 631px) {
1930 background: lighten($ui-base-color, 14%);
1931 }
1932 }
1933
1934 span {
1935 margin-left: 5px;
1936 display: none;
1937 }
1938 }
1939
1940 @media screen and (min-width: 600px) {
1941 .tabs-bar__link {
1942 span {
1943 display: inline;
1944 }
1945 }
1946 }
1947
1948 @media screen and (min-width: 631px) {
1949 .tabs-bar {
1950 display: none;
1951 }
1952 }
1953
1954 .scrollable {
1955 overflow-y: scroll;
1956 overflow-x: hidden;
1957 flex: 1 1 auto;
1958 -webkit-overflow-scrolling: touch;
1959 will-change: transform; // improves perf in mobile Chrome
1960
1961 &.optionally-scrollable {
1962 overflow-y: auto;
1963 }
1964
1965 @supports(display: grid) { // hack to fix Chrome <57
1966 contain: strict;
1967 }
1968 }
1969
1970 .scrollable.fullscreen {
1971 @supports(display: grid) { // hack to fix Chrome <57
1972 contain: none;
1973 }
1974 }
1975
1976 .column-back-button {
1977 background: lighten($ui-base-color, 4%);
1978 color: $highlight-text-color;
1979 cursor: pointer;
1980 flex: 0 0 auto;
1981 font-size: 16px;
1982 border: 0;
1983 text-align: unset;
1984 padding: 15px;
1985 margin: 0;
1986 z-index: 3;
1987
1988 &:hover {
1989 text-decoration: underline;
1990 }
1991 }
1992
1993 .column-header__back-button {
1994 background: lighten($ui-base-color, 4%);
1995 border: 0;
1996 font-family: inherit;
1997 color: $highlight-text-color;
1998 cursor: pointer;
1999 white-space: nowrap;
2000 font-size: 16px;
2001 padding: 0 5px 0 0;
2002 z-index: 3;
2003
2004 &:hover {
2005 text-decoration: underline;
2006 }
2007
2008 &:last-child {
2009 padding: 0 15px 0 0;
2010 }
2011 }
2012
2013 .column-back-button__icon {
2014 display: inline-block;
2015 margin-right: 5px;
2016 }
2017
2018 .column-back-button--slim {
2019 position: relative;
2020 }
2021
2022 .column-back-button--slim-button {
2023 cursor: pointer;
2024 flex: 0 0 auto;
2025 font-size: 16px;
2026 padding: 15px;
2027 position: absolute;
2028 right: 0;
2029 top: -48px;
2030 }
2031
2032 .react-toggle {
2033 display: inline-block;
2034 position: relative;
2035 cursor: pointer;
2036 background-color: transparent;
2037 border: 0;
2038 padding: 0;
2039 user-select: none;
2040 -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
2041 -webkit-tap-highlight-color: transparent;
2042 }
2043
2044 .react-toggle-screenreader-only {
2045 border: 0;
2046 clip: rect(0 0 0 0);
2047 height: 1px;
2048 margin: -1px;
2049 overflow: hidden;
2050 padding: 0;
2051 position: absolute;
2052 width: 1px;
2053 }
2054
2055 .react-toggle--disabled {
2056 cursor: not-allowed;
2057 opacity: 0.5;
2058 transition: opacity 0.25s;
2059 }
2060
2061 .react-toggle-track {
2062 width: 50px;
2063 height: 24px;
2064 padding: 0;
2065 border-radius: 30px;
2066 background-color: $ui-base-color;
2067 transition: all 0.2s ease;
2068 }
2069
2070 .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
2071 background-color: darken($ui-base-color, 10%);
2072 }
2073
2074 .react-toggle--checked .react-toggle-track {
2075 background-color: $ui-highlight-color;
2076 }
2077
2078 .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
2079 background-color: lighten($ui-highlight-color, 10%);
2080 }
2081
2082 .react-toggle-track-check {
2083 position: absolute;
2084 width: 14px;
2085 height: 10px;
2086 top: 0;
2087 bottom: 0;
2088 margin-top: auto;
2089 margin-bottom: auto;
2090 line-height: 0;
2091 left: 8px;
2092 opacity: 0;
2093 transition: opacity 0.25s ease;
2094 }
2095
2096 .react-toggle--checked .react-toggle-track-check {
2097 opacity: 1;
2098 transition: opacity 0.25s ease;
2099 }
2100
2101 .react-toggle-track-x {
2102 position: absolute;
2103 width: 10px;
2104 height: 10px;
2105 top: 0;
2106 bottom: 0;
2107 margin-top: auto;
2108 margin-bottom: auto;
2109 line-height: 0;
2110 right: 10px;
2111 opacity: 1;
2112 transition: opacity 0.25s ease;
2113 }
2114
2115 .react-toggle--checked .react-toggle-track-x {
2116 opacity: 0;
2117 }
2118
2119 .react-toggle-thumb {
2120 transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
2121 position: absolute;
2122 top: 1px;
2123 left: 1px;
2124 width: 22px;
2125 height: 22px;
2126 border: 1px solid $ui-base-color;
2127 border-radius: 50%;
2128 background-color: darken($simple-background-color, 2%);
2129 box-sizing: border-box;
2130 transition: all 0.25s ease;
2131 }
2132
2133 .react-toggle--checked .react-toggle-thumb {
2134 left: 27px;
2135 border-color: $ui-highlight-color;
2136 }
2137
2138 .column-link {
2139 background: lighten($ui-base-color, 8%);
2140 color: $primary-text-color;
2141 display: block;
2142 font-size: 16px;
2143 padding: 15px;
2144 text-decoration: none;
2145
2146 &:hover {
2147 background: lighten($ui-base-color, 11%);
2148 }
2149 }
2150
2151 .column-link__icon {
2152 display: inline-block;
2153 margin-right: 5px;
2154 }
2155
2156 .column-link__badge {
2157 display: inline-block;
2158 border-radius: 4px;
2159 font-size: 12px;
2160 line-height: 19px;
2161 font-weight: 500;
2162 background: $ui-base-color;
2163 padding: 4px 8px;
2164 margin: -6px 10px;
2165 }
2166
2167 .column-subheading {
2168 background: $ui-base-color;
2169 color: $dark-text-color;
2170 padding: 8px 20px;
2171 font-size: 12px;
2172 font-weight: 500;
2173 text-transform: uppercase;
2174 cursor: default;
2175 }
2176
2177 .getting-started__wrapper,
2178 .getting_started {
2179 background: $ui-base-color;
2180 }
2181
2182 .getting-started__wrapper {
2183 position: relative;
2184 overflow-y: auto;
2185 }
2186
2187 .getting-started {
2188 background: $ui-base-color;
2189 flex: 1 0 auto;
2190
2191 p {
2192 color: $secondary-text-color;
2193 }
2194
2195 a {
2196 color: $dark-text-color;
2197 }
2198 }
2199
2200 .keyboard-shortcuts {
2201 padding: 8px 0 0;
2202 overflow: hidden;
2203
2204 thead {
2205 position: absolute;
2206 left: -9999px;
2207 }
2208
2209 td {
2210 padding: 0 10px 8px;
2211 }
2212
2213 kbd {
2214 display: inline-block;
2215 padding: 3px 5px;
2216 background-color: lighten($ui-base-color, 8%);
2217 border: 1px solid darken($ui-base-color, 4%);
2218 }
2219 }
2220
2221 .setting-text {
2222 color: $darker-text-color;
2223 background: transparent;
2224 border: none;
2225 border-bottom: 2px solid $ui-primary-color;
2226 box-sizing: border-box;
2227 display: block;
2228 font-family: inherit;
2229 margin-bottom: 10px;
2230 padding: 7px 0;
2231 width: 100%;
2232
2233 &:focus,
2234 &:active {
2235 color: $primary-text-color;
2236 border-bottom-color: $highlight-text-color;
2237 }
2238
2239 @media screen and (max-width: 600px) {
2240 font-size: 16px;
2241 }
2242 }
2243
2244 .no-reduce-motion button.icon-button i.fa-retweet {
2245 background-position: 0 0;
2246 height: 19px;
2247 transition: background-position 0.9s steps(10);
2248 transition-duration: 0s;
2249 vertical-align: middle;
2250 width: 22px;
2251
2252 &::before {
2253 display: none !important;
2254 }
2255
2256 }
2257
2258 .no-reduce-motion button.icon-button.active i.fa-retweet {
2259 transition-duration: 0.9s;
2260 background-position: 0 100%;
2261 }
2262
2263 .reduce-motion button.icon-button i.fa-retweet {
2264 color: $action-button-color;
2265 transition: color 100ms ease-in;
2266 }
2267
2268 .reduce-motion button.icon-button.active i.fa-retweet {
2269 color: $highlight-text-color;
2270 }
2271
2272 .status-card {
2273 display: flex;
2274 font-size: 14px;
2275 border: 1px solid lighten($ui-base-color, 8%);
2276 border-radius: 4px;
2277 color: $dark-text-color;
2278 margin-top: 14px;
2279 text-decoration: none;
2280 overflow: hidden;
2281
2282 &__actions {
2283 bottom: 0;
2284 left: 0;
2285 position: absolute;
2286 right: 0;
2287 top: 0;
2288 display: flex;
2289 justify-content: center;
2290 align-items: center;
2291
2292 & > div {
2293 background: rgba($base-shadow-color, 0.6);
2294 border-radius: 4px;
2295 padding: 12px 9px;
2296 flex: 0 0 auto;
2297 display: flex;
2298 justify-content: center;
2299 align-items: center;
2300 }
2301
2302 button,
2303 a {
2304 display: inline;
2305 color: $primary-text-color;
2306 background: transparent;
2307 border: 0;
2308 padding: 0 5px;
2309 text-decoration: none;
2310 opacity: 0.6;
2311 font-size: 18px;
2312 line-height: 18px;
2313
2314 &:hover,
2315 &:active,
2316 &:focus {
2317 opacity: 1;
2318 }
2319 }
2320
2321 a {
2322 font-size: 19px;
2323 position: relative;
2324 bottom: -1px;
2325 }
2326 }
2327 }
2328
2329 a.status-card {
2330 cursor: pointer;
2331
2332 &:hover {
2333 background: lighten($ui-base-color, 8%);
2334 }
2335 }
2336
2337 .status-card-photo {
2338 cursor: zoom-in;
2339 display: block;
2340 text-decoration: none;
2341 width: 100%;
2342 height: auto;
2343 margin: 0;
2344 }
2345
2346 .status-card-video {
2347 iframe {
2348 width: 100%;
2349 height: 100%;
2350 }
2351 }
2352
2353 .status-card__title {
2354 display: block;
2355 font-weight: 500;
2356 margin-bottom: 5px;
2357 color: $darker-text-color;
2358 overflow: hidden;
2359 text-overflow: ellipsis;
2360 white-space: nowrap;
2361 text-decoration: none;
2362 }
2363
2364 .status-card__content {
2365 flex: 1 1 auto;
2366 overflow: hidden;
2367 padding: 14px 14px 14px 8px;
2368 }
2369
2370 .status-card__description {
2371 color: $darker-text-color;
2372 }
2373
2374 .status-card__host {
2375 display: block;
2376 margin-top: 5px;
2377 font-size: 13px;
2378 }
2379
2380 .status-card__image {
2381 flex: 0 0 100px;
2382 background: lighten($ui-base-color, 8%);
2383 position: relative;
2384 }
2385
2386 .status-card.horizontal {
2387 display: block;
2388
2389 .status-card__image {
2390 width: 100%;
2391 }
2392
2393 .status-card__image-image {
2394 border-radius: 4px 4px 0 0;
2395 }
2396
2397 .status-card__title {
2398 white-space: inherit;
2399 }
2400 }
2401
2402 .status-card__image-image {
2403 border-radius: 4px 0 0 4px;
2404 display: block;
2405 margin: 0;
2406 width: 100%;
2407 height: 100%;
2408 object-fit: cover;
2409 background-size: cover;
2410 background-position: center center;
2411 }
2412
2413 .load-more {
2414 display: block;
2415 color: $dark-text-color;
2416 background-color: transparent;
2417 border: 0;
2418 font-size: inherit;
2419 text-align: center;
2420 line-height: inherit;
2421 margin: 0;
2422 padding: 15px;
2423 width: 100%;
2424 clear: both;
2425
2426 &:hover {
2427 background: lighten($ui-base-color, 2%);
2428 }
2429 }
2430
2431 .load-gap {
2432 border-bottom: 1px solid lighten($ui-base-color, 8%);
2433 }
2434
2435 .regeneration-indicator {
2436 text-align: center;
2437 font-size: 16px;
2438 font-weight: 500;
2439 color: $dark-text-color;
2440 background: $ui-base-color;
2441 cursor: default;
2442 display: flex;
2443 flex: 1 1 auto;
2444 align-items: center;
2445 justify-content: center;
2446 padding: 20px;
2447
2448 & > div {
2449 width: 100%;
2450 background: transparent;
2451 padding-top: 0;
2452 }
2453
2454 &__figure {
2455 background: url('../images/elephant_ui_working.svg') no-repeat center 0;
2456 width: 100%;
2457 height: 160px;
2458 background-size: contain;
2459 position: absolute;
2460 top: 50%;
2461 left: 50%;
2462 transform: translate(-50%, -50%);
2463 }
2464
2465 &.missing-indicator {
2466 padding-top: 20px + 48px;
2467
2468 .regeneration-indicator__figure {
2469 background-image: url('../images/elephant_ui_disappointed.svg');
2470 }
2471 }
2472
2473 &__label {
2474 margin-top: 200px;
2475
2476 strong {
2477 display: block;
2478 margin-bottom: 10px;
2479 color: $dark-text-color;
2480 }
2481
2482 span {
2483 font-size: 15px;
2484 font-weight: 400;
2485 }
2486 }
2487 }
2488
2489 .column-header__wrapper {
2490 position: relative;
2491 flex: 0 0 auto;
2492
2493 &.active {
2494 &::before {
2495 display: block;
2496 content: "";
2497 position: absolute;
2498 top: 35px;
2499 left: 0;
2500 right: 0;
2501 margin: 0 auto;
2502 width: 60%;
2503 pointer-events: none;
2504 height: 28px;
2505 z-index: 1;
2506 background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
2507 }
2508 }
2509 }
2510
2511 .column-header {
2512 display: flex;
2513 font-size: 16px;
2514 background: lighten($ui-base-color, 4%);
2515 flex: 0 0 auto;
2516 cursor: pointer;
2517 position: relative;
2518 z-index: 2;
2519 outline: 0;
2520 overflow: hidden;
2521
2522 & > button {
2523 margin: 0;
2524 border: none;
2525 padding: 15px 0 15px 15px;
2526 color: inherit;
2527 background: transparent;
2528 font: inherit;
2529 text-align: left;
2530 text-overflow: ellipsis;
2531 overflow: hidden;
2532 white-space: nowrap;
2533 flex: 1;
2534 }
2535
2536 & > .column-header__back-button {
2537 color: $highlight-text-color;
2538 }
2539
2540 &.active {
2541 box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
2542
2543 .column-header__icon {
2544 color: $highlight-text-color;
2545 text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
2546 }
2547 }
2548
2549 &:focus,
2550 &:active {
2551 outline: 0;
2552 }
2553 }
2554
2555 .column-header__buttons {
2556 height: 48px;
2557 display: flex;
2558 }
2559
2560 .column-header__links .text-btn {
2561 margin-right: 10px;
2562 }
2563
2564 .column-header__button {
2565 background: lighten($ui-base-color, 4%);
2566 border: 0;
2567 color: $darker-text-color;
2568 cursor: pointer;
2569 font-size: 16px;
2570 padding: 0 15px;
2571
2572 &:hover {
2573 color: lighten($darker-text-color, 7%);
2574 }
2575
2576 &.active {
2577 color: $primary-text-color;
2578 background: lighten($ui-base-color, 8%);
2579
2580 &:hover {
2581 color: $primary-text-color;
2582 background: lighten($ui-base-color, 8%);
2583 }
2584 }
2585 }
2586
2587 .column-header__collapsible {
2588 max-height: 70vh;
2589 overflow: hidden;
2590 overflow-y: auto;
2591 color: $darker-text-color;
2592 transition: max-height 150ms ease-in-out, opacity 300ms linear;
2593 opacity: 1;
2594
2595 &.collapsed {
2596 max-height: 0;
2597 opacity: 0.5;
2598 }
2599
2600 &.animating {
2601 overflow-y: hidden;
2602 }
2603
2604 hr {
2605 height: 0;
2606 background: transparent;
2607 border: 0;
2608 border-top: 1px solid lighten($ui-base-color, 12%);
2609 margin: 10px 0;
2610 }
2611 }
2612
2613 .column-header__collapsible-inner {
2614 background: lighten($ui-base-color, 8%);
2615 padding: 15px;
2616 }
2617
2618 .column-header__setting-btn {
2619 &:hover {
2620 color: $darker-text-color;
2621 text-decoration: underline;
2622 }
2623 }
2624
2625 .column-header__setting-arrows {
2626 float: right;
2627
2628 .column-header__setting-btn {
2629 padding: 0 10px;
2630
2631 &:last-child {
2632 padding-right: 0;
2633 }
2634 }
2635 }
2636
2637 .text-btn {
2638 display: inline-block;
2639 padding: 0;
2640 font-family: inherit;
2641 font-size: inherit;
2642 color: inherit;
2643 border: 0;
2644 background: transparent;
2645 cursor: pointer;
2646 }
2647
2648 .column-header__icon {
2649 display: inline-block;
2650 margin-right: 5px;
2651 }
2652
2653 .loading-indicator {
2654 color: $dark-text-color;
2655 font-size: 12px;
2656 font-weight: 400;
2657 text-transform: uppercase;
2658 overflow: visible;
2659 position: absolute;
2660 top: 50%;
2661 left: 50%;
2662 transform: translate(-50%, -50%);
2663
2664 span {
2665 display: block;
2666 float: left;
2667 margin-left: 50%;
2668 transform: translateX(-50%);
2669 margin: 82px 0 0 50%;
2670 white-space: nowrap;
2671 animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2672 }
2673 }
2674
2675 .loading-indicator__figure {
2676 position: absolute;
2677 top: 50%;
2678 left: 50%;
2679 transform: translate(-50%, -50%);
2680 width: 0;
2681 height: 0;
2682 box-sizing: border-box;
2683 border: 0 solid lighten($ui-base-color, 26%);
2684 border-radius: 50%;
2685 animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2686 }
2687
2688 @keyframes loader-figure {
2689 0% {
2690 width: 0;
2691 height: 0;
2692 background-color: lighten($ui-base-color, 26%);
2693 }
2694
2695 29% {
2696 background-color: lighten($ui-base-color, 26%);
2697 }
2698
2699 30% {
2700 width: 42px;
2701 height: 42px;
2702 background-color: transparent;
2703 border-width: 21px;
2704 opacity: 1;
2705 }
2706
2707 100% {
2708 width: 42px;
2709 height: 42px;
2710 border-width: 0;
2711 opacity: 0;
2712 background-color: transparent;
2713 }
2714 }
2715
2716 @keyframes loader-label {
2717 0% { opacity: 0.25; }
2718 30% { opacity: 1; }
2719 100% { opacity: 0.25; }
2720 }
2721
2722 .video-error-cover {
2723 align-items: center;
2724 background: $base-overlay-background;
2725 color: $primary-text-color;
2726 cursor: pointer;
2727 display: flex;
2728 flex-direction: column;
2729 height: 100%;
2730 justify-content: center;
2731 margin-top: 8px;
2732 position: relative;
2733 text-align: center;
2734 z-index: 100;
2735 }
2736
2737 .media-spoiler {
2738 background: $base-overlay-background;
2739 color: $darker-text-color;
2740 border: 0;
2741 padding: 0;
2742 width: 100%;
2743 height: 100%;
2744 border-radius: 4px;
2745 appearance: none;
2746
2747 &:hover,
2748 &:active,
2749 &:focus {
2750 padding: 0;
2751 color: lighten($darker-text-color, 8%);
2752 }
2753 }
2754
2755 .media-spoiler__warning {
2756 display: block;
2757 font-size: 14px;
2758 }
2759
2760 .media-spoiler__trigger {
2761 display: block;
2762 font-size: 11px;
2763 font-weight: 700;
2764 }
2765
2766 .spoiler-button {
2767 display: none;
2768 left: 4px;
2769 position: absolute;
2770 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
2771 top: 4px;
2772 z-index: 100;
2773
2774 &.spoiler-button--visible {
2775 display: block;
2776 }
2777 }
2778
2779 .modal-container--preloader {
2780 background: lighten($ui-base-color, 8%);
2781 }
2782
2783 .account--panel {
2784 background: lighten($ui-base-color, 4%);
2785 border-top: 1px solid lighten($ui-base-color, 8%);
2786 border-bottom: 1px solid lighten($ui-base-color, 8%);
2787 display: flex;
2788 flex-direction: row;
2789 padding: 10px 0;
2790 }
2791
2792 .account--panel__button,
2793 .detailed-status__button {
2794 flex: 1 1 auto;
2795 text-align: center;
2796 }
2797
2798 .column-settings__outer {
2799 background: lighten($ui-base-color, 8%);
2800 padding: 15px;
2801 }
2802
2803 .column-settings__section {
2804 color: $darker-text-color;
2805 cursor: default;
2806 display: block;
2807 font-weight: 500;
2808 margin-bottom: 10px;
2809 }
2810
2811 .column-settings__row {
2812 .text-btn {
2813 margin-bottom: 15px;
2814 }
2815 }
2816
2817 .account--follows-info {
2818 color: $primary-text-color;
2819 position: absolute;
2820 top: 10px;
2821 left: 10px;
2822 opacity: 0.7;
2823 display: inline-block;
2824 vertical-align: top;
2825 background-color: rgba($base-overlay-background, 0.4);
2826 text-transform: uppercase;
2827 font-size: 11px;
2828 font-weight: 500;
2829 padding: 4px;
2830 border-radius: 4px;
2831 }
2832
2833 .account--muting-info {
2834 color: $primary-text-color;
2835 position: absolute;
2836 top: 40px;
2837 left: 10px;
2838 opacity: 0.7;
2839 display: inline-block;
2840 vertical-align: top;
2841 background-color: rgba($base-overlay-background, 0.4);
2842 text-transform: uppercase;
2843 font-size: 11px;
2844 font-weight: 500;
2845 padding: 4px;
2846 border-radius: 4px;
2847 }
2848
2849 .account--action-button {
2850 position: absolute;
2851 top: 10px;
2852 right: 20px;
2853 }
2854
2855 .setting-toggle {
2856 display: block;
2857 line-height: 24px;
2858 }
2859
2860 .setting-toggle__label,
2861 .setting-meta__label {
2862 color: $darker-text-color;
2863 display: inline-block;
2864 margin-bottom: 14px;
2865 margin-left: 8px;
2866 vertical-align: middle;
2867 }
2868
2869 .setting-meta__label {
2870 float: right;
2871 }
2872
2873 .empty-column-indicator,
2874 .error-column {
2875 color: $dark-text-color;
2876 background: $ui-base-color;
2877 text-align: center;
2878 padding: 20px;
2879 font-size: 15px;
2880 font-weight: 400;
2881 cursor: default;
2882 display: flex;
2883 flex: 1 1 auto;
2884 align-items: center;
2885 justify-content: center;
2886
2887 @supports(display: grid) { // hack to fix Chrome <57
2888 contain: strict;
2889 }
2890
2891 a {
2892 color: $highlight-text-color;
2893 text-decoration: none;
2894
2895 &:hover {
2896 text-decoration: underline;
2897 }
2898 }
2899 }
2900
2901 .error-column {
2902 flex-direction: column;
2903 }
2904
2905 @keyframes heartbeat {
2906 from {
2907 transform: scale(1);
2908 animation-timing-function: ease-out;
2909 }
2910
2911 10% {
2912 transform: scale(0.91);
2913 animation-timing-function: ease-in;
2914 }
2915
2916 17% {
2917 transform: scale(0.98);
2918 animation-timing-function: ease-out;
2919 }
2920
2921 33% {
2922 transform: scale(0.87);
2923 animation-timing-function: ease-in;
2924 }
2925
2926 45% {
2927 transform: scale(1);
2928 animation-timing-function: ease-out;
2929 }
2930 }
2931
2932 .no-reduce-motion .pulse-loading {
2933 transform-origin: center center;
2934 animation: heartbeat 1.5s ease-in-out infinite both;
2935 }
2936
2937 @keyframes shake-bottom {
2938 0%,
2939 100% {
2940 transform: rotate(0deg);
2941 transform-origin: 50% 100%;
2942 }
2943
2944 10% {
2945 transform: rotate(2deg);
2946 }
2947
2948 20%,
2949 40%,
2950 60% {
2951 transform: rotate(-4deg);
2952 }
2953
2954 30%,
2955 50%,
2956 70% {
2957 transform: rotate(4deg);
2958 }
2959
2960 80% {
2961 transform: rotate(-2deg);
2962 }
2963
2964 90% {
2965 transform: rotate(2deg);
2966 }
2967 }
2968
2969 .no-reduce-motion .shake-bottom {
2970 transform-origin: 50% 100%;
2971 animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) 2s 2 both;
2972 }
2973
2974 .emoji-picker-dropdown__menu {
2975 background: $simple-background-color;
2976 position: absolute;
2977 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
2978 border-radius: 4px;
2979 margin-top: 5px;
2980
2981 .emoji-mart-scroll {
2982 transition: opacity 200ms ease;
2983 }
2984
2985 &.selecting .emoji-mart-scroll {
2986 opacity: 0.5;
2987 }
2988 }
2989
2990 .emoji-picker-dropdown__modifiers {
2991 position: absolute;
2992 top: 60px;
2993 right: 11px;
2994 cursor: pointer;
2995 }
2996
2997 .emoji-picker-dropdown__modifiers__menu {
2998 position: absolute;
2999 z-index: 4;
3000 top: -4px;
3001 left: -8px;
3002 background: $simple-background-color;
3003 border-radius: 4px;
3004 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
3005 overflow: hidden;
3006
3007 button {
3008 display: block;
3009 cursor: pointer;
3010 border: 0;
3011 padding: 4px 8px;
3012 background: transparent;
3013
3014 &:hover,
3015 &:focus,
3016 &:active {
3017 background: rgba($ui-secondary-color, 0.4);
3018 }
3019 }
3020
3021 .emoji-mart-emoji {
3022 height: 22px;
3023 }
3024 }
3025
3026 .emoji-mart-emoji {
3027 span {
3028 background-repeat: no-repeat;
3029 }
3030 }
3031
3032 .upload-area {
3033 align-items: center;
3034 background: rgba($base-overlay-background, 0.8);
3035 display: flex;
3036 height: 100%;
3037 justify-content: center;
3038 left: 0;
3039 opacity: 0;
3040 position: absolute;
3041 top: 0;
3042 visibility: hidden;
3043 width: 100%;
3044 z-index: 2000;
3045
3046 * {
3047 pointer-events: none;
3048 }
3049 }
3050
3051 .upload-area__drop {
3052 width: 320px;
3053 height: 160px;
3054 display: flex;
3055 box-sizing: border-box;
3056 position: relative;
3057 padding: 8px;
3058 }
3059
3060 .upload-area__background {
3061 position: absolute;
3062 top: 0;
3063 right: 0;
3064 bottom: 0;
3065 left: 0;
3066 z-index: -1;
3067 border-radius: 4px;
3068 background: $ui-base-color;
3069 box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
3070 }
3071
3072 .upload-area__content {
3073 flex: 1;
3074 display: flex;
3075 align-items: center;
3076 justify-content: center;
3077 color: $secondary-text-color;
3078 font-size: 18px;
3079 font-weight: 500;
3080 border: 2px dashed $ui-base-lighter-color;
3081 border-radius: 4px;
3082 }
3083
3084 .upload-progress {
3085 padding: 10px;
3086 color: $lighter-text-color;
3087 overflow: hidden;
3088 display: flex;
3089
3090 .fa {
3091 font-size: 34px;
3092 margin-right: 10px;
3093 }
3094
3095 span {
3096 font-size: 12px;
3097 text-transform: uppercase;
3098 font-weight: 500;
3099 display: block;
3100 }
3101 }
3102
3103 .upload-progess__message {
3104 flex: 1 1 auto;
3105 }
3106
3107 .upload-progress__backdrop {
3108 width: 100%;
3109 height: 6px;
3110 border-radius: 6px;
3111 background: $ui-base-lighter-color;
3112 position: relative;
3113 margin-top: 5px;
3114 }
3115
3116 .upload-progress__tracker {
3117 position: absolute;
3118 left: 0;
3119 top: 0;
3120 height: 6px;
3121 background: $ui-highlight-color;
3122 border-radius: 6px;
3123 }
3124
3125 .emoji-button {
3126 display: block;
3127 font-size: 24px;
3128 line-height: 24px;
3129 margin-left: 2px;
3130 width: 24px;
3131 outline: 0;
3132 cursor: pointer;
3133
3134 &:active,
3135 &:focus {
3136 outline: 0 !important;
3137 }
3138
3139 img {
3140 filter: grayscale(100%);
3141 opacity: 0.8;
3142 display: block;
3143 margin: 0;
3144 width: 22px;
3145 height: 22px;
3146 margin-top: 2px;
3147 }
3148
3149 &:hover,
3150 &:active,
3151 &:focus {
3152 img {
3153 opacity: 1;
3154 filter: none;
3155 }
3156 }
3157 }
3158
3159 .dropdown--active .emoji-button img {
3160 opacity: 1;
3161 filter: none;
3162 }
3163
3164 .privacy-dropdown__dropdown {
3165 position: absolute;
3166 background: $simple-background-color;
3167 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
3168 border-radius: 4px;
3169 margin-left: 40px;
3170 overflow: hidden;
3171 transform-origin: 50% 0;
3172 }
3173
3174 .privacy-dropdown__option {
3175 color: $inverted-text-color;
3176 padding: 10px;
3177 cursor: pointer;
3178 display: flex;
3179
3180 &:hover,
3181 &.active {
3182 background: $ui-highlight-color;
3183 color: $primary-text-color;
3184
3185 .privacy-dropdown__option__content {
3186 color: $primary-text-color;
3187
3188 strong {
3189 color: $primary-text-color;
3190 }
3191 }
3192 }
3193
3194 &.active:hover {
3195 background: lighten($ui-highlight-color, 4%);
3196 }
3197 }
3198
3199 .privacy-dropdown__option__icon {
3200 display: flex;
3201 align-items: center;
3202 justify-content: center;
3203 margin-right: 10px;
3204 }
3205
3206 .privacy-dropdown__option__content {
3207 flex: 1 1 auto;
3208 color: $lighter-text-color;
3209
3210 strong {
3211 font-weight: 500;
3212 display: block;
3213 color: $inverted-text-color;
3214
3215 @each $lang in $cjk-langs {
3216 &:lang(#{$lang}) {
3217 font-weight: 700;
3218 }
3219 }
3220 }
3221 }
3222
3223 .privacy-dropdown.active {
3224 .privacy-dropdown__value {
3225 background: $simple-background-color;
3226 border-radius: 4px 4px 0 0;
3227 box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
3228
3229 .icon-button {
3230 transition: none;
3231 }
3232
3233 &.active {
3234 background: $ui-highlight-color;
3235
3236 .icon-button {
3237 color: $primary-text-color;
3238 }
3239 }
3240 }
3241
3242 .privacy-dropdown__dropdown {
3243 display: block;
3244 box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
3245 }
3246 }
3247
3248 .search {
3249 position: relative;
3250 }
3251
3252 .search__input {
3253 outline: 0;
3254 box-sizing: border-box;
3255 display: block;
3256 width: 100%;
3257 border: none;
3258 padding: 10px;
3259 padding-right: 30px;
3260 font-family: inherit;
3261 background: $ui-base-color;
3262 color: $darker-text-color;
3263 font-size: 14px;
3264 margin: 0;
3265
3266 &::-moz-focus-inner {
3267 border: 0;
3268 }
3269
3270 &::-moz-focus-inner,
3271 &:focus,
3272 &:active {
3273 outline: 0 !important;
3274 }
3275
3276 &:focus {
3277 background: lighten($ui-base-color, 4%);
3278 }
3279
3280 @media screen and (max-width: 600px) {
3281 font-size: 16px;
3282 }
3283 }
3284
3285 .search__icon {
3286 .fa {
3287 position: absolute;
3288 top: 10px;
3289 right: 10px;
3290 z-index: 2;
3291 display: inline-block;
3292 opacity: 0;
3293 transition: all 100ms linear;
3294 font-size: 18px;
3295 width: 18px;
3296 height: 18px;
3297 color: $secondary-text-color;
3298 cursor: default;
3299 pointer-events: none;
3300
3301 &.active {
3302 pointer-events: auto;
3303 opacity: 0.3;
3304 }
3305 }
3306
3307 .fa-search {
3308 transform: rotate(90deg);
3309
3310 &.active {
3311 pointer-events: none;
3312 transform: rotate(0deg);
3313 }
3314 }
3315
3316 .fa-times-circle {
3317 top: 11px;
3318 transform: rotate(0deg);
3319 color: $action-button-color;
3320 cursor: pointer;
3321
3322 &.active {
3323 transform: rotate(90deg);
3324 }
3325
3326 &:hover {
3327 color: lighten($action-button-color, 7%);
3328 }
3329 }
3330 }
3331
3332 .search-results__header {
3333 color: $dark-text-color;
3334 background: lighten($ui-base-color, 2%);
3335 border-bottom: 1px solid darken($ui-base-color, 4%);
3336 padding: 15px 10px;
3337 font-size: 14px;
3338 font-weight: 500;
3339 }
3340
3341 .search-results__section {
3342 margin-bottom: 20px;
3343
3344 h5 {
3345 position: relative;
3346
3347 &::before {
3348 content: "";
3349 display: block;
3350 position: absolute;
3351 left: 0;
3352 right: 0;
3353 top: 50%;
3354 width: 100%;
3355 height: 0;
3356 border-top: 1px solid lighten($ui-base-color, 8%);
3357 }
3358
3359 span {
3360 display: inline-block;
3361 background: $ui-base-color;
3362 color: $darker-text-color;
3363 font-size: 14px;
3364 font-weight: 500;
3365 padding: 10px;
3366 position: relative;
3367 z-index: 1;
3368 cursor: default;
3369 }
3370 }
3371
3372 .account:last-child,
3373 & > div:last-child .status {
3374 border-bottom: 0;
3375 }
3376 }
3377
3378 .search-results__hashtag {
3379 display: block;
3380 padding: 10px;
3381 color: $secondary-text-color;
3382 text-decoration: none;
3383
3384 &:hover,
3385 &:active,
3386 &:focus {
3387 color: lighten($secondary-text-color, 4%);
3388 text-decoration: underline;
3389 }
3390 }
3391
3392 .modal-root {
3393 position: relative;
3394 transition: opacity 0.3s linear;
3395 will-change: opacity;
3396 z-index: 9999;
3397 }
3398
3399 .modal-root__overlay {
3400 position: fixed;
3401 top: 0;
3402 left: 0;
3403 right: 0;
3404 bottom: 0;
3405 background: rgba($base-overlay-background, 0.7);
3406 }
3407
3408 .modal-root__container {
3409 position: fixed;
3410 top: 0;
3411 left: 0;
3412 width: 100%;
3413 height: 100%;
3414 display: flex;
3415 flex-direction: column;
3416 align-items: center;
3417 justify-content: center;
3418 align-content: space-around;
3419 z-index: 9999;
3420 pointer-events: none;
3421 user-select: none;
3422 }
3423
3424 .modal-root__modal {
3425 pointer-events: auto;
3426 display: flex;
3427 z-index: 9999;
3428 }
3429
3430 .video-modal {
3431 max-width: 100vw;
3432 max-height: 100vh;
3433 position: relative;
3434 }
3435
3436 .media-modal {
3437 width: 100%;
3438 height: 100%;
3439 position: relative;
3440
3441 .extended-video-player {
3442 width: 100%;
3443 height: 100%;
3444 display: flex;
3445 align-items: center;
3446 justify-content: center;
3447
3448 video {
3449 max-width: $media-modal-media-max-width;
3450 max-height: $media-modal-media-max-height;
3451 }
3452 }
3453 }
3454
3455 .media-modal__closer {
3456 position: absolute;
3457 top: 0;
3458 left: 0;
3459 right: 0;
3460 bottom: 0;
3461 }
3462
3463 .media-modal__navigation {
3464 position: absolute;
3465 top: 0;
3466 left: 0;
3467 right: 0;
3468 bottom: 0;
3469 pointer-events: none;
3470 transition: opacity 0.3s linear;
3471 will-change: opacity;
3472
3473 * {
3474 pointer-events: auto;
3475 }
3476
3477 &.media-modal__navigation--hidden {
3478 opacity: 0;
3479
3480 * {
3481 pointer-events: none;
3482 }
3483 }
3484 }
3485
3486 .media-modal__nav {
3487 background: rgba($base-overlay-background, 0.5);
3488 box-sizing: border-box;
3489 border: 0;
3490 color: $primary-text-color;
3491 cursor: pointer;
3492 display: flex;
3493 align-items: center;
3494 font-size: 24px;
3495 height: 20vmax;
3496 margin: auto 0;
3497 padding: 30px 15px;
3498 position: absolute;
3499 top: 0;
3500 bottom: 0;
3501 }
3502
3503 .media-modal__nav--left {
3504 left: 0;
3505 }
3506
3507 .media-modal__nav--right {
3508 right: 0;
3509 }
3510
3511 .media-modal__pagination {
3512 width: 100%;
3513 text-align: center;
3514 position: absolute;
3515 left: 0;
3516 bottom: 20px;
3517 pointer-events: none;
3518 }
3519
3520 .media-modal__page-dot {
3521 display: inline-block;
3522 }
3523
3524 .media-modal__button {
3525 background-color: $primary-text-color;
3526 height: 12px;
3527 width: 12px;
3528 border-radius: 6px;
3529 margin: 10px;
3530 padding: 0;
3531 border: 0;
3532 font-size: 0;
3533 }
3534
3535 .media-modal__button--active {
3536 background-color: $highlight-text-color;
3537 }
3538
3539 .media-modal__close {
3540 position: absolute;
3541 right: 8px;
3542 top: 8px;
3543 z-index: 100;
3544 }
3545
3546 .onboarding-modal,
3547 .error-modal,
3548 .embed-modal {
3549 background: $ui-secondary-color;
3550 color: $inverted-text-color;
3551 border-radius: 8px;
3552 overflow: hidden;
3553 display: flex;
3554 flex-direction: column;
3555 }
3556
3557 .onboarding-modal__pager {
3558 height: 80vh;
3559 width: 80vw;
3560 max-width: 520px;
3561 max-height: 470px;
3562
3563 .react-swipeable-view-container > div {
3564 width: 100%;
3565 height: 100%;
3566 box-sizing: border-box;
3567 display: none;
3568 flex-direction: column;
3569 align-items: center;
3570 justify-content: center;
3571 display: flex;
3572 user-select: text;
3573 }
3574 }
3575
3576 .error-modal__body {
3577 height: 80vh;
3578 width: 80vw;
3579 max-width: 520px;
3580 max-height: 420px;
3581 position: relative;
3582
3583 & > div {
3584 position: absolute;
3585 top: 0;
3586 left: 0;
3587 width: 100%;
3588 height: 100%;
3589 box-sizing: border-box;
3590 padding: 25px;
3591 display: none;
3592 flex-direction: column;
3593 align-items: center;
3594 justify-content: center;
3595 display: flex;
3596 opacity: 0;
3597 user-select: text;
3598 }
3599 }
3600
3601 .error-modal__body {
3602 display: flex;
3603 flex-direction: column;
3604 justify-content: center;
3605 align-items: center;
3606 text-align: center;
3607 }
3608
3609 @media screen and (max-width: 550px) {
3610 .onboarding-modal {
3611 width: 100%;
3612 height: 100%;
3613 border-radius: 0;
3614 }
3615
3616 .onboarding-modal__pager {
3617 width: 100%;
3618 height: auto;
3619 max-width: none;
3620 max-height: none;
3621 flex: 1 1 auto;
3622 }
3623 }
3624
3625 .onboarding-modal__paginator,
3626 .error-modal__footer {
3627 flex: 0 0 auto;
3628 background: darken($ui-secondary-color, 8%);
3629 display: flex;
3630 padding: 25px;
3631
3632 & > div {
3633 min-width: 33px;
3634 }
3635
3636 .onboarding-modal__nav,
3637 .error-modal__nav {
3638 color: $lighter-text-color;
3639 border: 0;
3640 font-size: 14px;
3641 font-weight: 500;
3642 padding: 10px 25px;
3643 line-height: inherit;
3644 height: auto;
3645 margin: -10px;
3646 border-radius: 4px;
3647 background-color: transparent;
3648
3649 &:hover,
3650 &:focus,
3651 &:active {
3652 color: darken($lighter-text-color, 4%);
3653 background-color: darken($ui-secondary-color, 16%);
3654 }
3655
3656 &.onboarding-modal__done,
3657 &.onboarding-modal__next {
3658 color: $inverted-text-color;
3659
3660 &:hover,
3661 &:focus,
3662 &:active {
3663 color: lighten($inverted-text-color, 4%);
3664 }
3665 }
3666 }
3667 }
3668
3669 .error-modal__footer {
3670 justify-content: center;
3671 }
3672
3673 .onboarding-modal__dots {
3674 flex: 1 1 auto;
3675 display: flex;
3676 align-items: center;
3677 justify-content: center;
3678 }
3679
3680 .onboarding-modal__dot {
3681 width: 14px;
3682 height: 14px;
3683 border-radius: 14px;
3684 background: darken($ui-secondary-color, 16%);
3685 margin: 0 3px;
3686 cursor: pointer;
3687
3688 &:hover {
3689 background: darken($ui-secondary-color, 18%);
3690 }
3691
3692 &.active {
3693 cursor: default;
3694 background: darken($ui-secondary-color, 24%);
3695 }
3696 }
3697
3698 .onboarding-modal__page__wrapper {
3699 pointer-events: none;
3700 padding: 25px;
3701 padding-bottom: 0;
3702
3703 &.onboarding-modal__page__wrapper--active {
3704 pointer-events: auto;
3705 }
3706 }
3707
3708 .onboarding-modal__page {
3709 cursor: default;
3710 line-height: 21px;
3711
3712 h1 {
3713 font-size: 18px;
3714 font-weight: 500;
3715 color: $inverted-text-color;
3716 margin-bottom: 20px;
3717 }
3718
3719 a {
3720 color: $highlight-text-color;
3721
3722 &:hover,
3723 &:focus,
3724 &:active {
3725 color: lighten($highlight-text-color, 4%);
3726 }
3727 }
3728
3729 .navigation-bar a {
3730 color: inherit;
3731 }
3732
3733 p {
3734 font-size: 16px;
3735 color: $lighter-text-color;
3736 margin-top: 10px;
3737 margin-bottom: 10px;
3738
3739 &:last-child {
3740 margin-bottom: 0;
3741 }
3742
3743 strong {
3744 font-weight: 500;
3745 background: $ui-base-color;
3746 color: $secondary-text-color;
3747 border-radius: 4px;
3748 font-size: 14px;
3749 padding: 3px 6px;
3750
3751 @each $lang in $cjk-langs {
3752 &:lang(#{$lang}) {
3753 font-weight: 700;
3754 }
3755 }
3756 }
3757 }
3758 }
3759
3760 .onboarding-modal__page__wrapper-0 {
3761 background: url('../images/elephant_ui_greeting.svg') no-repeat left bottom / auto 250px;
3762 height: 100%;
3763 padding: 0;
3764 }
3765
3766 .onboarding-modal__page-one {
3767 &__lead {
3768 padding: 65px;
3769 padding-top: 45px;
3770 padding-bottom: 0;
3771 margin-bottom: 10px;
3772
3773 h1 {
3774 font-size: 26px;
3775 line-height: 36px;
3776 margin-bottom: 8px;
3777 }
3778
3779 p {
3780 margin-bottom: 0;
3781 }
3782 }
3783
3784 &__extra {
3785 padding-right: 65px;
3786 padding-left: 185px;
3787 text-align: center;
3788 }
3789 }
3790
3791 .display-case {
3792 text-align: center;
3793 font-size: 15px;
3794 margin-bottom: 15px;
3795
3796 &__label {
3797 font-weight: 500;
3798 color: $inverted-text-color;
3799 margin-bottom: 5px;
3800 text-transform: uppercase;
3801 font-size: 12px;
3802 }
3803
3804 &__case {
3805 background: $ui-base-color;
3806 color: $secondary-text-color;
3807 font-weight: 500;
3808 padding: 10px;
3809 border-radius: 4px;
3810 }
3811 }
3812
3813 .onboarding-modal__page-two,
3814 .onboarding-modal__page-three,
3815 .onboarding-modal__page-four,
3816 .onboarding-modal__page-five {
3817 p {
3818 text-align: left;
3819 }
3820
3821 .figure {
3822 background: darken($ui-base-color, 8%);
3823 color: $secondary-text-color;
3824 margin-bottom: 20px;
3825 border-radius: 4px;
3826 padding: 10px;
3827 text-align: center;
3828 font-size: 14px;
3829 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.3);
3830
3831 .onboarding-modal__image {
3832 border-radius: 4px;
3833 margin-bottom: 10px;
3834 }
3835
3836 &.non-interactive {
3837 pointer-events: none;
3838 text-align: left;
3839 }
3840 }
3841 }
3842
3843 .onboarding-modal__page-four__columns {
3844 .row {
3845 display: flex;
3846 margin-bottom: 20px;
3847
3848 & > div {
3849 flex: 1 1 0;
3850 margin: 0 10px;
3851
3852 &:first-child {
3853 margin-left: 0;
3854 }
3855
3856 &:last-child {
3857 margin-right: 0;
3858 }
3859
3860 p {
3861 text-align: center;
3862 }
3863 }
3864
3865 &:last-child {
3866 margin-bottom: 0;
3867 }
3868 }
3869
3870 .column-header {
3871 color: $primary-text-color;
3872 }
3873 }
3874
3875 @media screen and (max-width: 320px) and (max-height: 600px) {
3876 .onboarding-modal__page p {
3877 font-size: 14px;
3878 line-height: 20px;
3879 }
3880
3881 .onboarding-modal__page-two .figure,
3882 .onboarding-modal__page-three .figure,
3883 .onboarding-modal__page-four .figure,
3884 .onboarding-modal__page-five .figure {
3885 font-size: 12px;
3886 margin-bottom: 10px;
3887 }
3888
3889 .onboarding-modal__page-four__columns .row {
3890 margin-bottom: 10px;
3891 }
3892
3893 .onboarding-modal__page-four__columns .column-header {
3894 padding: 5px;
3895 font-size: 12px;
3896 }
3897 }
3898
3899 .onboard-sliders {
3900 display: inline-block;
3901 max-width: 30px;
3902 max-height: auto;
3903 margin-left: 10px;
3904 }
3905
3906 .boost-modal,
3907 .confirmation-modal,
3908 .report-modal,
3909 .actions-modal,
3910 .mute-modal {
3911 background: lighten($ui-secondary-color, 8%);
3912 color: $inverted-text-color;
3913 border-radius: 8px;
3914 overflow: hidden;
3915 max-width: 90vw;
3916 width: 480px;
3917 position: relative;
3918 flex-direction: column;
3919
3920 .status__display-name {
3921 display: block;
3922 max-width: 100%;
3923 padding-right: 25px;
3924 }
3925
3926 .status__avatar {
3927 height: 28px;
3928 left: 10px;
3929 position: absolute;
3930 top: 10px;
3931 width: 48px;
3932 }
3933
3934 .status__content__spoiler-link {
3935 color: lighten($secondary-text-color, 8%);
3936 }
3937 }
3938
3939 .actions-modal {
3940 .status {
3941 background: $white;
3942 border-bottom-color: $ui-secondary-color;
3943 padding-top: 10px;
3944 padding-bottom: 10px;
3945 }
3946
3947 .dropdown-menu__separator {
3948 border-bottom-color: $ui-secondary-color;
3949 }
3950 }
3951
3952 .boost-modal__container {
3953 overflow-x: scroll;
3954 padding: 10px;
3955
3956 .status {
3957 user-select: text;
3958 border-bottom: 0;
3959 }
3960 }
3961
3962 .boost-modal__action-bar,
3963 .confirmation-modal__action-bar,
3964 .mute-modal__action-bar {
3965 display: flex;
3966 justify-content: space-between;
3967 background: $ui-secondary-color;
3968 padding: 10px;
3969 line-height: 36px;
3970
3971 & > div {
3972 flex: 1 1 auto;
3973 text-align: right;
3974 color: $lighter-text-color;
3975 padding-right: 10px;
3976 }
3977
3978 .button {
3979 flex: 0 0 auto;
3980 }
3981 }
3982
3983 .boost-modal__status-header {
3984 font-size: 15px;
3985 }
3986
3987 .boost-modal__status-time {
3988 float: right;
3989 font-size: 14px;
3990 }
3991
3992 .confirmation-modal {
3993 max-width: 85vw;
3994
3995 @media screen and (min-width: 480px) {
3996 max-width: 380px;
3997 }
3998 }
3999
4000 .mute-modal {
4001 line-height: 24px;
4002 }
4003
4004 .mute-modal .react-toggle {
4005 vertical-align: middle;
4006 }
4007
4008 .report-modal {
4009 width: 90vw;
4010 max-width: 700px;
4011 }
4012
4013 .report-modal__container {
4014 display: flex;
4015 border-top: 1px solid $ui-secondary-color;
4016
4017 @media screen and (max-width: 480px) {
4018 flex-wrap: wrap;
4019 overflow-y: auto;
4020 }
4021 }
4022
4023 .report-modal__statuses,
4024 .report-modal__comment {
4025 box-sizing: border-box;
4026 width: 50%;
4027
4028 @media screen and (max-width: 480px) {
4029 width: 100%;
4030 }
4031 }
4032
4033 .report-modal__statuses {
4034 flex: 1 1 auto;
4035 min-height: 20vh;
4036 max-height: 80vh;
4037 overflow-y: auto;
4038 overflow-x: hidden;
4039
4040 .status__content a {
4041 color: $highlight-text-color;
4042 }
4043
4044 @media screen and (max-width: 480px) {
4045 max-height: 10vh;
4046 }
4047 }
4048
4049 .report-modal__comment {
4050 padding: 20px;
4051 border-right: 1px solid $ui-secondary-color;
4052 max-width: 320px;
4053
4054 p {
4055 font-size: 14px;
4056 line-height: 20px;
4057 margin-bottom: 20px;
4058 }
4059
4060 .setting-text {
4061 display: block;
4062 box-sizing: border-box;
4063 width: 100%;
4064 margin: 0;
4065 color: $inverted-text-color;
4066 background: $white;
4067 padding: 10px;
4068 font-family: inherit;
4069 font-size: 14px;
4070 resize: vertical;
4071 border: 0;
4072 outline: 0;
4073 border-radius: 4px;
4074 border: 1px solid $ui-secondary-color;
4075 margin-bottom: 20px;
4076
4077 &:focus {
4078 border: 1px solid darken($ui-secondary-color, 8%);
4079 }
4080 }
4081
4082 .setting-toggle {
4083 margin-top: 20px;
4084 margin-bottom: 24px;
4085
4086 &__label {
4087 color: $inverted-text-color;
4088 font-size: 14px;
4089 }
4090 }
4091
4092 @media screen and (max-width: 480px) {
4093 padding: 10px;
4094 max-width: 100%;
4095 order: 2;
4096
4097 .setting-toggle {
4098 margin-bottom: 4px;
4099 }
4100 }
4101 }
4102
4103 .actions-modal {
4104 .status {
4105 overflow-y: auto;
4106 max-height: 300px;
4107 }
4108
4109 max-height: 80vh;
4110 max-width: 80vw;
4111
4112 .actions-modal__item-label {
4113 font-weight: 500;
4114 }
4115
4116 ul {
4117 overflow-y: auto;
4118 flex-shrink: 0;
4119
4120 li:empty {
4121 margin: 0;
4122 }
4123
4124 li:not(:empty) {
4125 a {
4126 color: $inverted-text-color;
4127 display: flex;
4128 padding: 12px 16px;
4129 font-size: 15px;
4130 align-items: center;
4131 text-decoration: none;
4132
4133 &,
4134 button {
4135 transition: none;
4136 }
4137
4138 &.active,
4139 &:hover,
4140 &:active,
4141 &:focus {
4142 &,
4143 button {
4144 background: $ui-highlight-color;
4145 color: $primary-text-color;
4146 }
4147 }
4148
4149 button:first-child {
4150 margin-right: 10px;
4151 }
4152 }
4153 }
4154 }
4155 }
4156
4157 .confirmation-modal__action-bar,
4158 .mute-modal__action-bar {
4159 .confirmation-modal__cancel-button,
4160 .mute-modal__cancel-button {
4161 background-color: transparent;
4162 color: $lighter-text-color;
4163 font-size: 14px;
4164 font-weight: 500;
4165
4166 &:hover,
4167 &:focus,
4168 &:active {
4169 color: darken($lighter-text-color, 4%);
4170 }
4171 }
4172 }
4173
4174 .confirmation-modal__container,
4175 .mute-modal__container,
4176 .report-modal__target {
4177 padding: 30px;
4178 font-size: 16px;
4179 text-align: center;
4180
4181 strong {
4182 font-weight: 500;
4183
4184 @each $lang in $cjk-langs {
4185 &:lang(#{$lang}) {
4186 font-weight: 700;
4187 }
4188 }
4189 }
4190 }
4191
4192 .report-modal__target {
4193 padding: 20px;
4194
4195 .media-modal__close {
4196 top: 19px;
4197 right: 15px;
4198 }
4199 }
4200
4201 .loading-bar {
4202 background-color: $highlight-text-color;
4203 height: 3px;
4204 position: absolute;
4205 top: 0;
4206 left: 0;
4207 }
4208
4209 .media-gallery__gifv__label {
4210 display: block;
4211 position: absolute;
4212 color: $primary-text-color;
4213 background: rgba($base-overlay-background, 0.5);
4214 bottom: 6px;
4215 left: 6px;
4216 padding: 2px 6px;
4217 border-radius: 2px;
4218 font-size: 11px;
4219 font-weight: 600;
4220 z-index: 1;
4221 pointer-events: none;
4222 opacity: 0.9;
4223 transition: opacity 0.1s ease;
4224 }
4225
4226 .media-gallery__gifv {
4227 &.autoplay {
4228 .media-gallery__gifv__label {
4229 display: none;
4230 }
4231 }
4232
4233 &:hover {
4234 .media-gallery__gifv__label {
4235 opacity: 1;
4236 }
4237 }
4238 }
4239
4240 .attachment-list {
4241 display: flex;
4242 font-size: 14px;
4243 border: 1px solid lighten($ui-base-color, 8%);
4244 border-radius: 4px;
4245 margin-top: 14px;
4246 overflow: hidden;
4247
4248 &__icon {
4249 flex: 0 0 auto;
4250 color: $dark-text-color;
4251 padding: 8px 18px;
4252 cursor: default;
4253 border-right: 1px solid lighten($ui-base-color, 8%);
4254 display: flex;
4255 flex-direction: column;
4256 align-items: center;
4257 justify-content: center;
4258 font-size: 26px;
4259
4260 .fa {
4261 display: block;
4262 }
4263 }
4264
4265 &__list {
4266 list-style: none;
4267 padding: 4px 0;
4268 padding-left: 8px;
4269 display: flex;
4270 flex-direction: column;
4271 justify-content: center;
4272
4273 li {
4274 display: block;
4275 padding: 4px 0;
4276 }
4277
4278 a {
4279 text-decoration: none;
4280 color: $dark-text-color;
4281 font-weight: 500;
4282
4283 &:hover {
4284 text-decoration: underline;
4285 }
4286 }
4287 }
4288
4289 &.compact {
4290 border: 0;
4291 margin-top: 4px;
4292
4293 .attachment-list__list {
4294 padding: 0;
4295 display: block;
4296 }
4297
4298 .fa {
4299 color: $dark-text-color;
4300 }
4301 }
4302 }
4303
4304 /* Media Gallery */
4305 .media-gallery {
4306 box-sizing: border-box;
4307 margin-top: 8px;
4308 overflow: hidden;
4309 border-radius: 4px;
4310 position: relative;
4311 width: 100%;
4312 }
4313
4314 .media-gallery__item {
4315 border: none;
4316 box-sizing: border-box;
4317 display: block;
4318 float: left;
4319 position: relative;
4320 border-radius: 4px;
4321 overflow: hidden;
4322
4323 &.standalone {
4324 .media-gallery__item-gifv-thumbnail {
4325 transform: none;
4326 top: 0;
4327 }
4328 }
4329 }
4330
4331 .media-gallery__item-thumbnail {
4332 cursor: zoom-in;
4333 display: block;
4334 text-decoration: none;
4335 color: $secondary-text-color;
4336 line-height: 0;
4337
4338 &,
4339 img {
4340 height: 100%;
4341 width: 100%;
4342 }
4343
4344 img {
4345 object-fit: cover;
4346 }
4347 }
4348
4349 .media-gallery__gifv {
4350 height: 100%;
4351 overflow: hidden;
4352 position: relative;
4353 width: 100%;
4354 }
4355
4356 .media-gallery__item-gifv-thumbnail {
4357 cursor: zoom-in;
4358 height: 100%;
4359 object-fit: cover;
4360 position: relative;
4361 top: 50%;
4362 transform: translateY(-50%);
4363 width: 100%;
4364 z-index: 1;
4365 }
4366
4367 .media-gallery__item-thumbnail-label {
4368 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4369 clip: rect(1px, 1px, 1px, 1px);
4370 overflow: hidden;
4371 position: absolute;
4372 }
4373 /* End Media Gallery */
4374
4375 /* Status Video Player */
4376 .status__video-player {
4377 background: $base-overlay-background;
4378 box-sizing: border-box;
4379 cursor: default; /* May not be needed */
4380 margin-top: 8px;
4381 overflow: hidden;
4382 position: relative;
4383 }
4384
4385 .status__video-player-video {
4386 height: 100%;
4387 object-fit: cover;
4388 position: relative;
4389 top: 50%;
4390 transform: translateY(-50%);
4391 width: 100%;
4392 z-index: 1;
4393 }
4394
4395 .status__video-player-expand,
4396 .status__video-player-mute {
4397 color: $primary-text-color;
4398 opacity: 0.8;
4399 position: absolute;
4400 right: 4px;
4401 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4402 }
4403
4404 .status__video-player-spoiler {
4405 display: none;
4406 color: $primary-text-color;
4407 left: 4px;
4408 position: absolute;
4409 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4410 top: 4px;
4411 z-index: 100;
4412
4413 &.status__video-player-spoiler--visible {
4414 display: block;
4415 }
4416 }
4417
4418 .status__video-player-expand {
4419 bottom: 4px;
4420 z-index: 100;
4421 }
4422
4423 .status__video-player-mute {
4424 top: 4px;
4425 z-index: 5;
4426 }
4427
4428 .video-player {
4429 overflow: hidden;
4430 position: relative;
4431 background: $base-shadow-color;
4432 max-width: 100%;
4433 border-radius: 4px;
4434
4435 video {
4436 max-width: 100vw;
4437 max-height: 80vh;
4438 z-index: 1;
4439 }
4440
4441 &.fullscreen {
4442 width: 100% !important;
4443 height: 100% !important;
4444 margin: 0;
4445
4446 video {
4447 max-width: 100% !important;
4448 max-height: 100% !important;
4449 width: 100% !important;
4450 height: 100% !important;
4451 }
4452 }
4453
4454 &.inline {
4455 video {
4456 object-fit: contain;
4457 position: relative;
4458 top: 50%;
4459 transform: translateY(-50%);
4460 }
4461 }
4462
4463 &__controls {
4464 position: absolute;
4465 z-index: 2;
4466 bottom: 0;
4467 left: 0;
4468 right: 0;
4469 box-sizing: border-box;
4470 background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
4471 padding: 0 15px;
4472 opacity: 0;
4473 transition: opacity .1s ease;
4474
4475 &.active {
4476 opacity: 1;
4477 }
4478 }
4479
4480 &.inactive {
4481 video,
4482 .video-player__controls {
4483 visibility: hidden;
4484 }
4485 }
4486
4487 &__spoiler {
4488 display: none;
4489 position: absolute;
4490 top: 0;
4491 left: 0;
4492 width: 100%;
4493 height: 100%;
4494 z-index: 4;
4495 border: 0;
4496 background: $base-shadow-color;
4497 color: $darker-text-color;
4498 transition: none;
4499 pointer-events: none;
4500
4501 &.active {
4502 display: block;
4503 pointer-events: auto;
4504
4505 &:hover,
4506 &:active,
4507 &:focus {
4508 color: lighten($darker-text-color, 7%);
4509 }
4510 }
4511
4512 &__title {
4513 display: block;
4514 font-size: 14px;
4515 }
4516
4517 &__subtitle {
4518 display: block;
4519 font-size: 11px;
4520 font-weight: 500;
4521 }
4522 }
4523
4524 &__buttons-bar {
4525 display: flex;
4526 justify-content: space-between;
4527 padding-bottom: 10px;
4528 }
4529
4530 &__buttons {
4531 font-size: 16px;
4532 white-space: nowrap;
4533 overflow: hidden;
4534 text-overflow: ellipsis;
4535
4536 &.left {
4537 button {
4538 padding-left: 0;
4539 }
4540 }
4541
4542 &.right {
4543 button {
4544 padding-right: 0;
4545 }
4546 }
4547
4548 button {
4549 background: transparent;
4550 padding: 2px 10px;
4551 font-size: 16px;
4552 border: 0;
4553 color: rgba($white, 0.75);
4554
4555 &:active,
4556 &:hover,
4557 &:focus {
4558 color: $white;
4559 }
4560 }
4561 }
4562
4563 &__time-sep,
4564 &__time-total,
4565 &__time-current {
4566 font-size: 14px;
4567 font-weight: 500;
4568 }
4569
4570 &__time-current {
4571 color: $white;
4572 margin-left: 10px;
4573 }
4574
4575 &__time-sep {
4576 display: inline-block;
4577 margin: 0 6px;
4578 }
4579
4580 &__time-sep,
4581 &__time-total {
4582 color: $white;
4583 }
4584
4585 &__seek {
4586 cursor: pointer;
4587 height: 24px;
4588 position: relative;
4589
4590 &::before {
4591 content: "";
4592 width: 100%;
4593 background: rgba($white, 0.35);
4594 border-radius: 4px;
4595 display: block;
4596 position: absolute;
4597 height: 4px;
4598 top: 10px;
4599 }
4600
4601 &__progress,
4602 &__buffer {
4603 display: block;
4604 position: absolute;
4605 height: 4px;
4606 border-radius: 4px;
4607 top: 10px;
4608 background: lighten($ui-highlight-color, 8%);
4609 }
4610
4611 &__buffer {
4612 background: rgba($white, 0.2);
4613 }
4614
4615 &__handle {
4616 position: absolute;
4617 z-index: 3;
4618 opacity: 0;
4619 border-radius: 50%;
4620 width: 12px;
4621 height: 12px;
4622 top: 6px;
4623 margin-left: -6px;
4624 transition: opacity .1s ease;
4625 background: lighten($ui-highlight-color, 8%);
4626 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
4627 pointer-events: none;
4628
4629 &.active {
4630 opacity: 1;
4631 }
4632 }
4633
4634 &:hover {
4635 .video-player__seek__handle {
4636 opacity: 1;
4637 }
4638 }
4639 }
4640
4641 &.detailed,
4642 &.fullscreen {
4643 .video-player__buttons {
4644 button {
4645 padding-top: 10px;
4646 padding-bottom: 10px;
4647 }
4648 }
4649 }
4650 }
4651
4652 .media-spoiler-video {
4653 background-size: cover;
4654 background-repeat: no-repeat;
4655 background-position: center;
4656 cursor: pointer;
4657 margin-top: 8px;
4658 position: relative;
4659 border: 0;
4660 display: block;
4661 }
4662
4663 .media-spoiler-video-play-icon {
4664 border-radius: 100px;
4665 color: rgba($primary-text-color, 0.8);
4666 font-size: 36px;
4667 left: 50%;
4668 padding: 5px;
4669 position: absolute;
4670 top: 50%;
4671 transform: translate(-50%, -50%);
4672 }
4673 /* End Video Player */
4674
4675 .account-gallery__container {
4676 display: flex;
4677 justify-content: center;
4678 flex-wrap: wrap;
4679 padding: 2px;
4680 }
4681
4682 .account-gallery__item {
4683 flex-grow: 1;
4684 width: 50%;
4685 overflow: hidden;
4686 position: relative;
4687
4688 &::before {
4689 content: "";
4690 display: block;
4691 padding-top: 100%;
4692 }
4693
4694 a {
4695 display: block;
4696 width: calc(100% - 4px);
4697 height: calc(100% - 4px);
4698 margin: 2px;
4699 top: 0;
4700 left: 0;
4701 background-color: $base-overlay-background;
4702 background-size: cover;
4703 background-position: center;
4704 position: absolute;
4705 color: $darker-text-color;
4706 text-decoration: none;
4707 border-radius: 4px;
4708
4709 &:hover,
4710 &:active,
4711 &:focus {
4712 outline: 0;
4713 color: $secondary-text-color;
4714
4715 &::before {
4716 content: "";
4717 display: block;
4718 width: 100%;
4719 height: 100%;
4720 background: rgba($base-overlay-background, 0.3);
4721 border-radius: 4px;
4722 }
4723 }
4724 }
4725
4726 &__icons {
4727 position: absolute;
4728 top: 50%;
4729 left: 50%;
4730 transform: translate(-50%, -50%);
4731 font-size: 24px;
4732 }
4733 }
4734
4735 .account__section-headline {
4736 background: darken($ui-base-color, 4%);
4737 border-bottom: 1px solid lighten($ui-base-color, 8%);
4738 cursor: default;
4739 display: flex;
4740
4741 a {
4742 display: block;
4743 flex: 1 1 auto;
4744 color: $darker-text-color;
4745 padding: 15px 0;
4746 font-size: 14px;
4747 font-weight: 500;
4748 text-align: center;
4749 text-decoration: none;
4750 position: relative;
4751
4752 &.active {
4753 color: $secondary-text-color;
4754
4755 &::before,
4756 &::after {
4757 display: block;
4758 content: "";
4759 position: absolute;
4760 bottom: 0;
4761 left: 50%;
4762 width: 0;
4763 height: 0;
4764 transform: translateX(-50%);
4765 border-style: solid;
4766 border-width: 0 10px 10px;
4767 border-color: transparent transparent lighten($ui-base-color, 8%);
4768 }
4769
4770 &::after {
4771 bottom: -1px;
4772 border-color: transparent transparent $ui-base-color;
4773 }
4774 }
4775 }
4776 }
4777
4778 ::-webkit-scrollbar-thumb {
4779 border-radius: 0;
4780 }
4781
4782 .search-popout {
4783 background: $simple-background-color;
4784 border-radius: 4px;
4785 padding: 10px 14px;
4786 padding-bottom: 14px;
4787 margin-top: 10px;
4788 color: $light-text-color;
4789 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
4790
4791 h4 {
4792 text-transform: uppercase;
4793 color: $light-text-color;
4794 font-size: 13px;
4795 font-weight: 500;
4796 margin-bottom: 10px;
4797 }
4798
4799 li {
4800 padding: 4px 0;
4801 }
4802
4803 ul {
4804 margin-bottom: 10px;
4805 }
4806
4807 em {
4808 font-weight: 500;
4809 color: $inverted-text-color;
4810 }
4811 }
4812
4813 noscript {
4814 text-align: center;
4815
4816 img {
4817 width: 200px;
4818 opacity: 0.5;
4819 animation: flicker 4s infinite;
4820 }
4821
4822 div {
4823 font-size: 14px;
4824 margin: 30px auto;
4825 color: $secondary-text-color;
4826 max-width: 400px;
4827
4828 a {
4829 color: $highlight-text-color;
4830 text-decoration: underline;
4831
4832 &:hover {
4833 text-decoration: none;
4834 }
4835 }
4836 }
4837 }
4838
4839 @keyframes flicker {
4840 0% { opacity: 1; }
4841 30% { opacity: 0.75; }
4842 100% { opacity: 1; }
4843 }
4844
4845 @media screen and (max-width: 630px) and (max-height: 400px) {
4846 $duration: 400ms;
4847 $delay: 100ms;
4848
4849 .tabs-bar,
4850 .search {
4851 will-change: margin-top;
4852 transition: margin-top $duration $delay;
4853 }
4854
4855 .navigation-bar {
4856 will-change: padding-bottom;
4857 transition: padding-bottom $duration $delay;
4858 }
4859
4860 .navigation-bar {
4861 & > a:first-child {
4862 will-change: margin-top, margin-left, width;
4863 transition: margin-top $duration $delay, margin-left $duration ($duration + $delay);
4864 }
4865
4866 & > .navigation-bar__profile-edit {
4867 will-change: margin-top;
4868 transition: margin-top $duration $delay;
4869 }
4870
4871 & > .icon-button {
4872 will-change: opacity;
4873 transition: opacity $duration $delay;
4874 }
4875 }
4876
4877 .is-composing {
4878 .tabs-bar,
4879 .search {
4880 margin-top: -50px;
4881 }
4882
4883 .navigation-bar {
4884 padding-bottom: 0;
4885
4886 & > a:first-child {
4887 margin-top: -50px;
4888 margin-left: -40px;
4889 }
4890
4891 .navigation-bar__profile {
4892 padding-top: 2px;
4893 }
4894
4895 .navigation-bar__profile-edit {
4896 position: absolute;
4897 margin-top: -50px;
4898 }
4899
4900 .icon-button {
4901 pointer-events: auto;
4902 opacity: 1;
4903 }
4904 }
4905 }
4906 }
4907
4908 .embed-modal {
4909 max-width: 80vw;
4910 max-height: 80vh;
4911
4912 h4 {
4913 padding: 30px;
4914 font-weight: 500;
4915 font-size: 16px;
4916 text-align: center;
4917 }
4918
4919 .embed-modal__container {
4920 padding: 10px;
4921
4922 .hint {
4923 margin-bottom: 15px;
4924 }
4925
4926 .embed-modal__html {
4927 outline: 0;
4928 box-sizing: border-box;
4929 display: block;
4930 width: 100%;
4931 border: none;
4932 padding: 10px;
4933 font-family: 'mastodon-font-monospace', monospace;
4934 background: $ui-base-color;
4935 color: $primary-text-color;
4936 font-size: 14px;
4937 margin: 0;
4938 margin-bottom: 15px;
4939
4940 &::-moz-focus-inner {
4941 border: 0;
4942 }
4943
4944 &::-moz-focus-inner,
4945 &:focus,
4946 &:active {
4947 outline: 0 !important;
4948 }
4949
4950 &:focus {
4951 background: lighten($ui-base-color, 4%);
4952 }
4953
4954 @media screen and (max-width: 600px) {
4955 font-size: 16px;
4956 }
4957 }
4958
4959 .embed-modal__iframe {
4960 width: 400px;
4961 max-width: 100%;
4962 overflow: hidden;
4963 border: 0;
4964 }
4965 }
4966 }
4967
4968 .account__moved-note {
4969 padding: 14px 10px;
4970 padding-bottom: 16px;
4971 background: lighten($ui-base-color, 4%);
4972 border-top: 1px solid lighten($ui-base-color, 8%);
4973 border-bottom: 1px solid lighten($ui-base-color, 8%);
4974
4975 &__message {
4976 position: relative;
4977 margin-left: 58px;
4978 color: $dark-text-color;
4979 padding: 8px 0;
4980 padding-top: 0;
4981 padding-bottom: 4px;
4982 font-size: 14px;
4983
4984 > span {
4985 display: block;
4986 overflow: hidden;
4987 text-overflow: ellipsis;
4988 }
4989 }
4990
4991 &__icon-wrapper {
4992 left: -26px;
4993 position: absolute;
4994 }
4995
4996 .detailed-status__display-avatar {
4997 position: relative;
4998 }
4999
5000 .detailed-status__display-name {
5001 margin-bottom: 0;
5002 }
5003 }
5004
5005 .column-inline-form {
5006 padding: 7px 15px;
5007 padding-right: 5px;
5008 display: flex;
5009 justify-content: flex-start;
5010 align-items: center;
5011 background: lighten($ui-base-color, 4%);
5012
5013 label {
5014 flex: 1 1 auto;
5015
5016 input {
5017 width: 100%;
5018 margin-bottom: 6px;
5019
5020 &:focus {
5021 outline: 0;
5022 }
5023 }
5024 }
5025
5026 .icon-button {
5027 flex: 0 0 auto;
5028 margin-left: 5px;
5029 }
5030 }
5031
5032 .drawer__backdrop {
5033 cursor: pointer;
5034 position: absolute;
5035 top: 0;
5036 left: 0;
5037 width: 100%;
5038 height: 100%;
5039 background: rgba($base-overlay-background, 0.5);
5040 }
5041
5042 .list-editor {
5043 background: $ui-base-color;
5044 flex-direction: column;
5045 border-radius: 8px;
5046 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5047 width: 380px;
5048 overflow: hidden;
5049
5050 @media screen and (max-width: 420px) {
5051 width: 90%;
5052 }
5053
5054 h4 {
5055 padding: 15px 0;
5056 background: lighten($ui-base-color, 13%);
5057 font-weight: 500;
5058 font-size: 16px;
5059 text-align: center;
5060 border-radius: 8px 8px 0 0;
5061 }
5062
5063 .drawer__pager {
5064 height: 50vh;
5065 }
5066
5067 .drawer__inner {
5068 border-radius: 0 0 8px 8px;
5069
5070 &.backdrop {
5071 width: calc(100% - 60px);
5072 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5073 border-radius: 0 0 0 8px;
5074 }
5075 }
5076
5077 &__accounts {
5078 overflow-y: auto;
5079 }
5080
5081 .account__display-name {
5082 &:hover strong {
5083 text-decoration: none;
5084 }
5085 }
5086
5087 .account__avatar {
5088 cursor: default;
5089 }
5090
5091 .search {
5092 margin-bottom: 0;
5093 }
5094 }
5095
5096 .focal-point-modal {
5097 max-width: 80vw;
5098 max-height: 80vh;
5099 position: relative;
5100 }
5101
5102 .focal-point {
5103 position: relative;
5104 cursor: pointer;
5105 overflow: hidden;
5106
5107 &.dragging {
5108 cursor: move;
5109 }
5110
5111 img {
5112 max-width: 80vw;
5113 max-height: 80vh;
5114 width: auto;
5115 height: auto;
5116 margin: auto;
5117 }
5118
5119 &__reticle {
5120 position: absolute;
5121 width: 100px;
5122 height: 100px;
5123 transform: translate(-50%, -50%);
5124 background: url('../images/reticle.png') no-repeat 0 0;
5125 border-radius: 50%;
5126 box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
5127 }
5128
5129 &__overlay {
5130 position: absolute;
5131 width: 100%;
5132 height: 100%;
5133 top: 0;
5134 left: 0;
5135 }
5136 }
5137
5138 .floating-action-button {
5139 position: fixed;
5140 display: flex;
5141 justify-content: center;
5142 align-items: center;
5143 width: 3.9375rem;
5144 height: 3.9375rem;
5145 bottom: 1.3125rem;
5146 right: 1.3125rem;
5147 background: darken($ui-highlight-color, 3%);
5148 color: $white;
5149 border-radius: 50%;
5150 font-size: 21px;
5151 line-height: 21px;
5152 text-decoration: none;
5153 box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
5154
5155 &:hover,
5156 &:focus,
5157 &:active {
5158 background: lighten($ui-highlight-color, 7%);
5159 }
5160 }
5161
5162 .account__header .roles {
5163 margin-top: 20px;
5164 margin-bottom: 20px;
5165 padding: 0 15px;
5166 }
5167
5168 .account__header .account__header__fields {
5169 font-size: 14px;
5170 line-height: 20px;
5171 overflow: hidden;
5172 margin: 20px -10px -20px;
5173 border-bottom: 0;
5174
5175 dl {
5176 border-top: 1px solid lighten($ui-base-color, 8%);
5177 display: flex;
5178 }
5179
5180 dt,
5181 dd {
5182 box-sizing: border-box;
5183 padding: 14px 20px;
5184 text-align: center;
5185 max-height: 48px;
5186 overflow: hidden;
5187 white-space: nowrap;
5188 text-overflow: ellipsis;
5189 }
5190
5191 dt {
5192 color: $darker-text-color;
5193 background: darken($ui-base-color, 4%);
5194 width: 120px;
5195 flex: 0 0 auto;
5196 font-weight: 500;
5197 }
5198
5199 dd {
5200 flex: 1 1 auto;
5201 color: $primary-text-color;
5202 background: $ui-base-color;
5203 }
5204 }
This page took 0.507143 seconds and 4 git commands to generate.