2 -webkit-overflow-scrolling: touch;
3 -ms-overflow-style: -ms-autohiding-scrollbar;
7 background-color: darken($ui-highlight-color, 3%);
10 box-sizing: border-box;
11 color: $primary-text-color;
13 display: inline-block;
24 text-transform: uppercase;
25 text-decoration: none;
26 text-overflow: ellipsis;
27 transition: all 100ms ease-in;
34 background-color: lighten($ui-highlight-color, 7%);
35 transition: all 200ms ease-out;
39 background-color: $ui-primary-color;
46 &.button-alternative-2 {
54 &.button-alternative {
55 color: $ui-base-color;
56 background: $ui-primary-color;
61 background-color: lighten($ui-primary-color, 4%);
65 &.button-alternative-2 {
66 background: $ui-base-lighter-color;
71 background-color: lighten($ui-base-lighter-color, 4%);
76 color: $ui-primary-color;
77 background: transparent;
79 border: 1px solid $ui-primary-color;
84 border-color: lighten($ui-primary-color, 4%);
85 color: lighten($ui-primary-color, 4%);
102 background: lighten($ui-base-color, 4%);
103 color: $ui-primary-color;
113 color: lighten($ui-primary-color, 7%);
118 display: inline-block;
120 color: $ui-base-lighter-color;
122 background: transparent;
124 transition: color 100ms ease-in;
129 color: lighten($ui-base-color, 33%);
130 transition: color 200ms ease-out;
134 color: lighten($ui-base-color, 13%);
139 color: $ui-highlight-color;
142 &::-moz-focus-inner {
149 outline: 0 !important;
153 color: lighten($ui-base-color, 33%);
158 color: $ui-base-lighter-color;
162 color: $ui-primary-color;
166 color: $ui-highlight-color;
169 color: lighten($ui-highlight-color, 13%);
175 box-sizing: content-box;
176 background: rgba($base-overlay-background, 0.6);
177 color: rgba($primary-text-color, 0.7);
182 background: rgba($base-overlay-background, 0.9);
188 color: lighten($ui-base-color, 33%);
190 background: transparent;
197 transition: color 100ms ease-in;
202 color: $ui-base-lighter-color;
203 transition: color 200ms ease-out;
207 color: lighten($ui-base-color, 13%);
212 color: $ui-highlight-color;
215 &::-moz-focus-inner {
222 outline: 0 !important;
228 transform-origin: 50% 0;
231 .dropdown--active .icon-button {
232 color: $ui-highlight-color;
235 .dropdown--active::after {
236 @media screen and (min-width: 631px) {
243 border-width: 0 4.5px 7.8px;
244 border-color: transparent transparent $ui-secondary-color;
253 display: inline-block;
260 margin: 0 !important;
261 border: 0 !important;
262 padding: 0 !important;
264 height: 0 !important;
274 .lightbox .icon-button {
275 color: $ui-base-color;
281 .compose-form__warning {
282 color: darken($ui-secondary-color, 65%);
284 background: $ui-primary-color;
285 box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
292 color: darken($ui-secondary-color, 65%);
295 @each $lang in $cjk-langs {
303 color: darken($ui-primary-color, 33%);
305 text-decoration: underline;
310 text-decoration: none;
315 .compose-form__autosuggest-wrapper {
318 .emoji-picker-dropdown {
325 .autosuggest-textarea,
330 .autosuggest-textarea__textarea,
331 .spoiler-input__input {
333 box-sizing: border-box;
336 color: $ui-base-color;
337 background: $simple-background-color;
339 font-family: inherit;
349 @media screen and (max-width: 600px) {
354 .spoiler-input__input {
358 .autosuggest-textarea__textarea {
360 border-radius: 4px 4px 0 0;
362 padding-right: 10px + 22px;
365 @media screen and (max-width: 600px) {
366 height: 100px !important; // prevent auto-resize textarea
371 .autosuggest-textarea__suggestions {
372 box-sizing: border-box;
378 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
379 background: $ui-secondary-color;
380 border-radius: 0 0 4px 4px;
381 color: $ui-base-color;
385 &.autosuggest-textarea__suggestions--visible {
390 .autosuggest-textarea__suggestions__item {
399 background: darken($ui-secondary-color, 10%);
403 .autosuggest-account,
408 justify-content: flex-start;
413 .autosuggest-account-icon,
414 .autosuggest-emoji img {
421 .autosuggest-account .display-name__account {
422 color: lighten($ui-base-color, 36%);
425 .compose-form__modifiers {
426 color: $ui-base-color;
427 font-family: inherit;
429 background: $simple-background-color;
431 .compose-form__upload-wrapper {
435 .compose-form__uploads-wrapper {
442 .compose-form__upload {
448 background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
450 align-items: flex-start;
451 justify-content: space-between;
453 transition: opacity .1s ease;
457 color: $ui-secondary-color;
461 font-family: inherit;
466 color: lighten($ui-secondary-color, 4%);
481 box-sizing: border-box;
482 background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
485 transition: opacity .1s ease;
488 background: transparent;
489 color: $ui-secondary-color;
494 font-family: inherit;
504 color: $ui-secondary-color;
514 .compose-form__upload-thumbnail {
516 background-position: center;
517 background-size: cover;
518 background-repeat: no-repeat;
525 .compose-form__buttons-wrapper {
527 background: darken($simple-background-color, 8%);
528 border-radius: 0 0 4px 4px;
530 justify-content: space-between;
532 .compose-form__buttons {
535 .compose-form__upload-button-icon {
539 .compose-form__sensitive-button {
542 &.compose-form__sensitive-button--visible {
546 .compose-form__sensitive-button__icon {
553 box-sizing: content-box;
557 .character-counter__wrapper {
563 font-family: 'mastodon-font-sans-serif', sans-serif;
566 color: lighten($ui-base-color, 12%);
568 &.character-counter--over {
575 .compose-form__publish {
577 justify-content: flex-end;
580 .compose-form__publish-button-wrapper {
588 display: inline-block;
590 vertical-align: middle;
592 margin: -.2ex .15em .2ex;
602 border-radius: 4px 4px 0 0;
605 background: $ui-primary-color;
609 .reply-indicator__header {
614 .reply-indicator__cancel {
619 .reply-indicator__display-name {
620 color: $ui-base-color;
626 text-decoration: none;
629 .reply-indicator__display-avatar {
634 .status__content--with-action {
639 .reply-indicator__content {
642 word-wrap: break-word;
645 white-space: pre-wrap;
652 &.status__content--with-spoiler {
655 .status__content__text {
656 white-space: pre-wrap;
675 color: $ui-secondary-color;
676 text-decoration: none;
679 text-decoration: underline;
682 color: lighten($ui-base-color, 40%);
688 text-decoration: none;
691 text-decoration: underline;
697 color: lighten($ui-base-color, 30%);
701 .status__content__spoiler-link {
702 background: lighten($ui-base-color, 30%);
705 background: lighten($ui-base-color, 33%);
706 text-decoration: none;
710 .status__content__text {
713 &.status__content__text--visible {
719 .status__content__spoiler-link {
720 display: inline-block;
722 background: transparent;
724 color: lighten($ui-base-color, 8%);
728 text-transform: uppercase;
731 vertical-align: middle;
734 .status__prepend-icon-wrapper {
742 background: lighten($ui-base-color, 4%);
744 .status.status-direct {
745 background: lighten($ui-base-color, 12%);
748 background: transparent;
753 .detailed-status__action-bar {
754 background: lighten($ui-base-color, 8%);
764 border-bottom: 1px solid lighten($ui-base-color, 8%);
767 @supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
768 // Add margin to avoid Edge auto-hiding scrollbar appearing over content.
769 // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
770 padding-right: 26px; // 10px + 16px
779 animation: fade 150ms linear;
786 background: lighten($ui-base-color, 8%);
788 .icon-button.disabled {
789 color: lighten($ui-base-color, 16%);
794 .status__relative-time {
795 color: $ui-primary-color;
798 .status__display-name {
799 color: $ui-base-color;
804 color: $ui-base-color;
808 color: $ui-primary-color;
813 color: $ui-base-color;
816 color: $ui-highlight-color;
819 a.status__content__spoiler-link {
820 color: $primary-text-color;
821 background: $ui-primary-color;
824 background: lighten($ui-primary-color, 8%);
831 .notification-favourite {
832 .status.status-direct {
833 background: transparent;
835 .icon-button.disabled {
836 color: lighten($ui-base-color, 13%);
841 .status__relative-time {
842 color: $ui-base-lighter-color;
847 .status__display-name {
848 color: $ui-base-lighter-color;
851 .status__info .status__display-name {
862 border-bottom: 1px solid $ui-secondary-color;
865 .status-check-box__status {
866 margin: 10px 0 10px 10px;
883 .media-gallery__item-thumbnail {
889 .status-check-box-toggle {
893 justify-content: center;
899 color: $ui-base-lighter-color;
905 .status__display-name strong {
906 color: $ui-base-lighter-color;
912 text-overflow: ellipsis;
916 .status__action-bar {
922 .status__action-bar-button {
927 .status__action-bar-dropdown {
933 .detailed-status__action-bar-dropdown {
937 justify-content: center;
942 background: lighten($ui-base-color, 4%);
955 .status__content__spoiler-link {
966 .detailed-status__meta {
968 color: $ui-base-lighter-color;
973 .detailed-status__action-bar {
974 background: lighten($ui-base-color, 4%);
975 border-top: 1px solid lighten($ui-base-color, 8%);
976 border-bottom: 1px solid lighten($ui-base-color, 8%);
982 .detailed-status__link {
984 text-decoration: none;
987 .detailed-status__favorites,
988 .detailed-status__reblogs {
989 display: inline-block;
995 .reply-indicator__content {
996 color: $ui-base-color;
1000 color: lighten($ui-base-color, 20%);
1006 border-bottom: 1px solid lighten($ui-base-color, 8%);
1008 .account__display-name {
1011 color: $ui-primary-color;
1013 text-decoration: none;
1022 .account__avatar-wrapper {
1029 @include avatar-radius();
1034 display: inline-block;
1035 vertical-align: middle;
1040 .account__avatar-overlay {
1041 @include avatar-size(48px);
1044 @include avatar-radius();
1045 @include avatar-size(36px);
1049 @include avatar-radius();
1050 @include avatar-size(24px);
1059 .account__relationship {
1062 white-space: nowrap;
1067 background: lighten($ui-base-color, 4%);
1069 background-size: cover;
1070 background-position: center;
1076 .account__header__avatar {
1077 filter: grayscale(100%);
1080 .account__header__username {
1081 color: $ui-primary-color;
1086 background: rgba(lighten($ui-base-color, 4%), 0.9);
1090 .account__header__content {
1091 color: $ui-secondary-color;
1094 .account__header__display-name {
1095 color: $primary-text-color;
1096 display: inline-block;
1102 text-overflow: ellipsis;
1105 .account__header__username {
1106 color: $ui-highlight-color;
1110 margin-bottom: 10px;
1112 text-overflow: ellipsis;
1116 .account__disclaimer {
1118 border-top: 1px solid lighten($ui-base-color, 8%);
1119 color: $ui-base-lighter-color;
1124 @each $lang in $cjk-langs {
1134 text-decoration: underline;
1139 text-decoration: none;
1144 .account__header__content {
1145 color: $ui-primary-color;
1150 word-wrap: break-word;
1153 margin-bottom: 20px;
1162 text-decoration: underline;
1165 text-decoration: none;
1170 .account__header__display-name {
1177 .account__action-bar {
1178 border-top: 1px solid lighten($ui-base-color, 8%);
1179 border-bottom: 1px solid lighten($ui-base-color, 8%);
1186 .account__action-bar-dropdown {
1187 flex: 0 1 calc(50% - 140px);
1191 .dropdown__content.dropdown__right {
1205 .account__action-bar-links {
1211 .account__action-bar__tab {
1212 text-decoration: none;
1215 border-left: 1px solid lighten($ui-base-color, 8%);
1220 text-transform: uppercase;
1222 color: $ui-primary-color;
1229 color: $primary-text-color;
1231 @each $lang in $cjk-langs {
1239 color: $ui-base-lighter-color;
1243 .account__header__avatar {
1244 background-size: 90px 90px;
1247 margin: 0 auto 10px;
1252 .account-authorize {
1255 .detailed-status__display-name {
1257 margin-bottom: 15px;
1262 .account-authorize__avatar {
1267 .status__display-name,
1268 .status__relative-time,
1269 .detailed-status__display-name,
1270 .detailed-status__datetime,
1271 .detailed-status__application,
1272 .account__display-name {
1273 text-decoration: none;
1276 .status__display-name,
1277 .account__display-name {
1279 color: $primary-text-color;
1289 .status__display-name,
1290 .reply-indicator__display-name,
1291 .detailed-status__display-name,
1292 .account__display-name {
1294 text-decoration: underline;
1298 .account__display-name strong {
1301 text-overflow: ellipsis;
1304 .detailed-status__application,
1305 .detailed-status__datetime {
1309 .detailed-status__display-name {
1310 color: $ui-secondary-color;
1313 margin-bottom: 15px;
1319 text-overflow: ellipsis;
1325 color: $primary-text-color;
1329 .detailed-status__display-avatar {
1344 .status__content a {
1345 color: $ui-base-lighter-color;
1348 .status__display-name strong {
1349 color: $ui-base-lighter-color;
1356 a.status__content__spoiler-link {
1357 background: $ui-base-lighter-color;
1358 color: lighten($ui-base-color, 4%);
1361 background: lighten($ui-base-color, 29%);
1362 text-decoration: none;
1367 .notification__message {
1372 color: $ui-primary-color;
1377 color: $ui-highlight-color;
1383 text-overflow: ellipsis;
1387 .notification__favourite-icon-wrapper {
1400 .notification__display-name {
1403 text-decoration: none;
1406 color: $primary-text-color;
1407 text-decoration: underline;
1415 text-overflow: ellipsis;
1416 white-space: nowrap;
1419 .display-name__html {
1423 .display-name__account {
1427 .status__relative-time,
1428 .detailed-status__datetime {
1430 text-decoration: underline;
1439 &.image-loader--loading {
1441 align-content: center;
1443 .image-loader__preview-canvas {
1448 &.image-loader--amorphous .image-loader__preview-canvas {
1458 align-content: center;
1466 color: $ui-primary-color;
1469 color: $primary-text-color;
1477 text-decoration: none;
1481 pointer-events: none;
1486 .navigation-bar__profile {
1492 .navigation-bar__profile-account {
1496 text-overflow: ellipsis;
1499 .navigation-bar__profile-edit {
1501 text-decoration: none;
1505 display: inline-block;
1508 .dropdown__content {
1513 .dropdown-menu__separator {
1514 border-bottom: 1px solid darken($ui-secondary-color, 8%);
1515 margin: 5px 7px 6px;
1520 background: $ui-secondary-color;
1523 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
1530 .dropdown-menu__arrow {
1534 border: 0 solid transparent;
1539 border-width: 5px 0 5px 5px;
1540 border-left-color: $ui-secondary-color;
1546 border-width: 5px 7px 0;
1547 border-top-color: $ui-secondary-color;
1553 border-width: 0 7px 5px;
1554 border-bottom-color: $ui-secondary-color;
1560 border-width: 5px 5px 5px 0;
1561 border-right-color: $ui-secondary-color;
1565 .dropdown-menu__item {
1571 box-sizing: border-box;
1572 text-decoration: none;
1573 background: $ui-secondary-color;
1574 color: $ui-base-color;
1576 text-overflow: ellipsis;
1577 white-space: nowrap;
1582 background: $ui-highlight-color;
1583 color: $ui-secondary-color;
1589 .dropdown--active .dropdown__content {
1599 background: $ui-secondary-color;
1602 box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
1622 box-sizing: border-box;
1623 text-decoration: none;
1624 background: $ui-secondary-color;
1625 color: $ui-base-color;
1627 text-overflow: ellipsis;
1628 white-space: nowrap;
1635 background: $ui-highlight-color;
1636 color: $ui-secondary-color;
1642 vertical-align: middle;
1648 color: $ui-base-lighter-color;
1653 margin-bottom: 40px;
1659 margin-bottom: 20px;
1666 flex-direction: row;
1667 justify-content: flex-start;
1676 @media screen and (min-width: 360px) {
1681 .react-swipeable-view-container .columns-area {
1682 height: calc(100% - 20px) !important;
1686 .react-swipeable-view-container {
1695 .react-swipeable-view-container > * {
1697 align-items: center;
1698 justify-content: center;
1705 box-sizing: border-box;
1707 flex-direction: column;
1710 background: $ui-base-color;
1717 flex-direction: column;
1720 background: darken($ui-base-color, 7%);
1725 box-sizing: border-box;
1727 flex-direction: column;
1734 padding: 15px 5px 13px;
1735 color: $ui-primary-color;
1736 text-decoration: none;
1739 border-bottom: 2px solid transparent;
1748 @media screen and (min-width: 360px) {
1755 margin-bottom: 10px;
1759 @media screen and (max-width: 630px) {
1767 flex-direction: column;
1771 .autosuggest-textarea__textarea {
1776 @media screen and (min-width: 631px) {
1793 padding-right: 10px;
1797 .columns-area > div {
1807 box-sizing: border-box;
1819 background: lighten($ui-base-color, 13%);
1820 box-sizing: border-box;
1823 flex-direction: column;
1830 background: $ui-base-color;
1834 .drawer__inner__mastodon {
1835 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;
1841 object-fit: contain;
1842 object-position: bottom left;
1849 background: lighten($ui-base-color, 13%);
1857 background: lighten($ui-base-color, 8%);
1858 margin-bottom: 10px;
1860 flex-direction: row;
1863 transition: background 100ms ease-in;
1866 background: lighten($ui-base-color, 3%);
1867 transition: background 200ms ease-out;
1874 background: lighten($ui-base-color, 8%);
1883 color: $primary-text-color;
1884 text-decoration: none;
1888 border-bottom: 2px solid lighten($ui-base-color, 8%);
1889 transition: all 50ms linear;
1897 border-bottom: 2px solid $ui-highlight-color;
1898 color: $ui-highlight-color;
1904 @media screen and (min-width: 631px) {
1905 background: lighten($ui-base-color, 14%);
1915 @media screen and (min-width: 600px) {
1923 @media screen and (min-width: 631px) {
1933 -webkit-overflow-scrolling: touch;
1934 will-change: transform; // improves perf in mobile Chrome
1936 &.optionally-scrollable {
1940 @supports(display: grid) { // hack to fix Chrome <57
1945 .scrollable.fullscreen {
1946 @supports(display: grid) { // hack to fix Chrome <57
1951 .column-back-button {
1952 background: lighten($ui-base-color, 4%);
1953 color: $ui-highlight-color;
1964 text-decoration: underline;
1968 .column-header__back-button {
1969 background: lighten($ui-base-color, 4%);
1971 font-family: inherit;
1972 color: $ui-highlight-color;
1974 white-space: nowrap;
1980 text-decoration: underline;
1984 padding: 0 15px 0 0;
1988 .column-back-button__icon {
1989 display: inline-block;
1993 .column-back-button--slim {
1997 .column-back-button--slim-button {
2008 display: inline-block;
2011 background-color: transparent;
2015 -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
2016 -webkit-tap-highlight-color: transparent;
2019 .react-toggle-screenreader-only {
2021 clip: rect(0 0 0 0);
2030 .react-toggle--disabled {
2031 cursor: not-allowed;
2033 transition: opacity 0.25s;
2036 .react-toggle-track {
2040 border-radius: 30px;
2041 background-color: $ui-base-color;
2042 transition: all 0.2s ease;
2045 .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
2046 background-color: darken($ui-base-color, 10%);
2049 .react-toggle--checked .react-toggle-track {
2050 background-color: $ui-highlight-color;
2053 .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
2054 background-color: lighten($ui-highlight-color, 10%);
2057 .react-toggle-track-check {
2064 margin-bottom: auto;
2068 transition: opacity 0.25s ease;
2071 .react-toggle--checked .react-toggle-track-check {
2073 transition: opacity 0.25s ease;
2076 .react-toggle-track-x {
2083 margin-bottom: auto;
2087 transition: opacity 0.25s ease;
2090 .react-toggle--checked .react-toggle-track-x {
2094 .react-toggle-thumb {
2095 transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
2101 border: 1px solid $ui-base-color;
2103 background-color: darken($simple-background-color, 2%);
2104 box-sizing: border-box;
2105 transition: all 0.25s ease;
2108 .react-toggle--checked .react-toggle-thumb {
2110 border-color: $ui-highlight-color;
2114 background: lighten($ui-base-color, 8%);
2115 color: $primary-text-color;
2119 text-decoration: none;
2122 background: lighten($ui-base-color, 11%);
2126 .column-link__icon {
2127 display: inline-block;
2131 .column-link__badge {
2132 display: inline-block;
2137 background: $ui-base-color;
2142 .column-subheading {
2143 background: $ui-base-color;
2144 color: $ui-base-lighter-color;
2148 text-transform: uppercase;
2152 .getting-started__wrapper,
2154 background: $ui-base-color;
2157 .getting-started__wrapper {
2163 background: $ui-base-color;
2167 color: $ui-secondary-color;
2171 color: $ui-base-lighter-color;
2175 .keyboard-shortcuts {
2185 padding: 0 10px 8px;
2189 display: inline-block;
2191 background-color: lighten($ui-base-color, 8%);
2192 border: 1px solid darken($ui-base-color, 4%);
2197 color: $ui-primary-color;
2198 background: transparent;
2200 border-bottom: 2px solid $ui-primary-color;
2201 box-sizing: border-box;
2203 font-family: inherit;
2204 margin-bottom: 10px;
2210 color: $primary-text-color;
2211 border-bottom-color: $ui-highlight-color;
2214 @media screen and (max-width: 600px) {
2219 color: $ui-base-color;
2220 border-bottom: 2px solid lighten($ui-base-color, 27%);
2224 color: $ui-base-color;
2225 border-bottom-color: $ui-highlight-color;
2230 .no-reduce-motion button.icon-button i.fa-retweet {
2231 background-position: 0 0;
2233 transition: background-position 0.9s steps(10);
2234 transition-duration: 0s;
2235 vertical-align: middle;
2239 display: none !important;
2244 .no-reduce-motion button.icon-button.active i.fa-retweet {
2245 transition-duration: 0.9s;
2246 background-position: 0 100%;
2249 .reduce-motion button.icon-button i.fa-retweet {
2250 color: $ui-base-lighter-color;
2251 transition: color 100ms ease-in;
2254 .reduce-motion button.icon-button.active i.fa-retweet {
2255 color: $ui-highlight-color;
2261 border: 1px solid lighten($ui-base-color, 8%);
2263 color: $ui-base-lighter-color;
2265 text-decoration: none;
2275 justify-content: center;
2276 align-items: center;
2279 background: rgba($base-shadow-color, 0.6);
2284 justify-content: center;
2285 align-items: center;
2291 color: $primary-text-color;
2292 background: transparent;
2295 text-decoration: none;
2319 background: lighten($ui-base-color, 8%);
2323 .status-card-photo {
2326 text-decoration: none;
2332 .status-card-video {
2339 .status-card__title {
2343 color: $ui-primary-color;
2345 text-overflow: ellipsis;
2346 white-space: nowrap;
2347 text-decoration: none;
2350 .status-card__content {
2353 padding: 14px 14px 14px 8px;
2356 .status-card__description {
2357 color: $ui-primary-color;
2360 .status-card__host {
2366 .status-card__image {
2368 background: lighten($ui-base-color, 8%);
2372 .status-card.horizontal {
2375 .status-card__image {
2379 .status-card__image-image {
2380 border-radius: 4px 4px 0 0;
2383 .status-card__title {
2384 white-space: inherit;
2388 .status-card__image-image {
2389 border-radius: 4px 0 0 4px;
2395 background-size: cover;
2396 background-position: center center;
2401 color: $ui-base-lighter-color;
2402 background-color: transparent;
2406 line-height: inherit;
2413 background: lighten($ui-base-color, 2%);
2417 .regeneration-indicator {
2421 color: lighten($ui-base-color, 16%);
2422 background: $ui-base-color;
2426 align-items: center;
2427 justify-content: center;
2432 background: transparent;
2437 background: url('../images/elephant_ui_working.svg') no-repeat center 0;
2440 background-size: contain;
2444 transform: translate(-50%, -50%);
2447 &.missing-indicator {
2448 padding-top: 20px + 48px;
2450 .regeneration-indicator__figure {
2451 background-image: url('../images/elephant_ui_disappointed.svg');
2460 margin-bottom: 10px;
2461 color: lighten($ui-base-color, 34%);
2471 .column-header__wrapper {
2485 pointer-events: none;
2488 background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
2496 background: lighten($ui-base-color, 4%);
2507 padding: 15px 0 15px 15px;
2509 background: transparent;
2512 text-overflow: ellipsis;
2514 white-space: nowrap;
2518 & > .column-header__back-button {
2519 color: $ui-highlight-color;
2523 box-shadow: 0 1px 0 rgba($ui-highlight-color, 0.3);
2525 .column-header__icon {
2526 color: $ui-highlight-color;
2527 text-shadow: 0 0 10px rgba($ui-highlight-color, 0.4);
2537 .column-header__buttons {
2542 .column-header__links .text-btn {
2546 .column-header__button {
2547 background: lighten($ui-base-color, 4%);
2549 color: $ui-primary-color;
2555 color: lighten($ui-primary-color, 7%);
2559 color: $primary-text-color;
2560 background: lighten($ui-base-color, 8%);
2563 color: $primary-text-color;
2564 background: lighten($ui-base-color, 8%);
2569 .column-header__collapsible {
2573 color: $ui-primary-color;
2574 transition: max-height 150ms ease-in-out, opacity 300ms linear;
2588 background: transparent;
2590 border-top: 1px solid lighten($ui-base-color, 12%);
2595 .column-header__collapsible-inner {
2596 background: lighten($ui-base-color, 8%);
2600 .column-header__setting-btn {
2602 color: lighten($ui-primary-color, 4%);
2603 text-decoration: underline;
2607 .column-header__setting-arrows {
2610 .column-header__setting-btn {
2620 display: inline-block;
2622 font-family: inherit;
2626 background: transparent;
2630 .column-header__icon {
2631 display: inline-block;
2635 .loading-indicator {
2636 color: lighten($ui-base-color, 26%);
2639 text-transform: uppercase;
2644 transform: translate(-50%, -50%);
2650 transform: translateX(-50%);
2651 margin: 82px 0 0 50%;
2652 white-space: nowrap;
2653 animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2657 .loading-indicator__figure {
2661 transform: translate(-50%, -50%);
2664 box-sizing: border-box;
2665 border: 0 solid lighten($ui-base-color, 26%);
2667 animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2670 @keyframes loader-figure {
2674 background-color: lighten($ui-base-color, 26%);
2678 background-color: lighten($ui-base-color, 26%);
2684 background-color: transparent;
2694 background-color: transparent;
2698 @keyframes loader-label {
2699 0% { opacity: 0.25; }
2701 100% { opacity: 0.25; }
2704 .video-error-cover {
2705 align-items: center;
2706 background: $base-overlay-background;
2707 color: $primary-text-color;
2710 flex-direction: column;
2712 justify-content: center;
2720 background: $base-overlay-background;
2721 color: $ui-primary-color;
2733 color: lighten($ui-primary-color, 8%);
2737 .media-spoiler__warning {
2742 .media-spoiler__trigger {
2752 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
2756 &.spoiler-button--visible {
2761 .modal-container--preloader {
2762 background: lighten($ui-base-color, 8%);
2766 background: lighten($ui-base-color, 4%);
2767 border-top: 1px solid lighten($ui-base-color, 8%);
2768 border-bottom: 1px solid lighten($ui-base-color, 8%);
2770 flex-direction: row;
2774 .account--panel__button,
2775 .detailed-status__button {
2780 .column-settings__outer {
2781 background: lighten($ui-base-color, 8%);
2785 .column-settings__section {
2786 color: $ui-primary-color;
2790 margin-bottom: 10px;
2793 .column-settings__row {
2795 margin-bottom: 15px;
2799 .account--follows-info {
2800 color: $primary-text-color;
2805 display: inline-block;
2806 vertical-align: top;
2807 background-color: rgba($base-overlay-background, 0.4);
2808 text-transform: uppercase;
2815 .account--muting-info {
2816 color: $primary-text-color;
2821 display: inline-block;
2822 vertical-align: top;
2823 background-color: rgba($base-overlay-background, 0.4);
2824 text-transform: uppercase;
2831 .account--action-button {
2842 .setting-toggle__label,
2843 .setting-meta__label {
2844 color: $ui-primary-color;
2845 display: inline-block;
2846 margin-bottom: 14px;
2848 vertical-align: middle;
2851 .setting-meta__label {
2852 color: $ui-primary-color;
2856 .empty-column-indicator,
2858 color: lighten($ui-base-color, 20%);
2859 background: $ui-base-color;
2867 align-items: center;
2868 justify-content: center;
2870 @supports(display: grid) { // hack to fix Chrome <57
2875 color: $ui-highlight-color;
2876 text-decoration: none;
2879 text-decoration: underline;
2885 flex-direction: column;
2888 @keyframes heartbeat {
2890 transform: scale(1);
2891 animation-timing-function: ease-out;
2895 transform: scale(0.91);
2896 animation-timing-function: ease-in;
2900 transform: scale(0.98);
2901 animation-timing-function: ease-out;
2905 transform: scale(0.87);
2906 animation-timing-function: ease-in;
2910 transform: scale(1);
2911 animation-timing-function: ease-out;
2915 .no-reduce-motion .pulse-loading {
2916 transform-origin: center center;
2917 animation: heartbeat 1.5s ease-in-out infinite both;
2920 @keyframes shake-bottom {
2923 transform: rotate(0deg);
2924 transform-origin: 50% 100%;
2928 transform: rotate(2deg);
2934 transform: rotate(-4deg);
2940 transform: rotate(4deg);
2944 transform: rotate(-2deg);
2948 transform: rotate(2deg);
2952 .no-reduce-motion .shake-bottom {
2953 transform-origin: 50% 100%;
2954 animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) 2s 2 both;
2957 .emoji-picker-dropdown__menu {
2958 background: $simple-background-color;
2960 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
2964 .emoji-mart-scroll {
2965 transition: opacity 200ms ease;
2968 &.selecting .emoji-mart-scroll {
2973 .emoji-picker-dropdown__modifiers {
2980 .emoji-picker-dropdown__modifiers__menu {
2985 background: $simple-background-color;
2987 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
2995 background: transparent;
3000 background: rgba($ui-secondary-color, 0.4);
3011 background-repeat: no-repeat;
3016 align-items: center;
3017 background: rgba($base-overlay-background, 0.8);
3020 justify-content: center;
3030 pointer-events: none;
3034 .upload-area__drop {
3038 box-sizing: border-box;
3043 .upload-area__background {
3051 background: $ui-base-color;
3052 box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
3055 .upload-area__content {
3058 align-items: center;
3059 justify-content: center;
3060 color: $ui-secondary-color;
3063 border: 2px dashed $ui-base-lighter-color;
3069 color: $ui-base-lighter-color;
3080 text-transform: uppercase;
3086 .upload-progess__message {
3090 .upload-progress__backdrop {
3094 background: $ui-base-lighter-color;
3099 .upload-progress__tracker {
3104 background: $ui-highlight-color;
3119 outline: 0 !important;
3123 filter: grayscale(100%);
3142 .dropdown--active .emoji-button img {
3147 .privacy-dropdown__dropdown {
3149 background: $simple-background-color;
3150 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
3154 transform-origin: 50% 0;
3157 .privacy-dropdown__option {
3158 color: $ui-base-color;
3165 background: $ui-highlight-color;
3166 color: $primary-text-color;
3168 .privacy-dropdown__option__content {
3169 color: $primary-text-color;
3172 color: $primary-text-color;
3178 background: lighten($ui-highlight-color, 4%);
3182 .privacy-dropdown__option__icon {
3184 align-items: center;
3185 justify-content: center;
3189 .privacy-dropdown__option__content {
3191 color: darken($ui-primary-color, 24%);
3196 color: $ui-base-color;
3198 @each $lang in $cjk-langs {
3206 .privacy-dropdown.active {
3207 .privacy-dropdown__value {
3208 background: $simple-background-color;
3209 border-radius: 4px 4px 0 0;
3210 box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
3217 background: $ui-highlight-color;
3220 color: $primary-text-color;
3225 .privacy-dropdown__dropdown {
3227 box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
3237 box-sizing: border-box;
3242 padding-right: 30px;
3243 font-family: inherit;
3244 background: $ui-base-color;
3245 color: $ui-primary-color;
3249 &::-moz-focus-inner {
3253 &::-moz-focus-inner,
3256 outline: 0 !important;
3260 background: lighten($ui-base-color, 4%);
3263 @media screen and (max-width: 600px) {
3274 display: inline-block;
3276 transition: all 100ms linear;
3280 color: $ui-secondary-color;
3282 pointer-events: none;
3285 pointer-events: auto;
3291 transform: rotate(90deg);
3294 pointer-events: none;
3295 transform: rotate(0deg);
3301 transform: rotate(0deg);
3305 transform: rotate(90deg);
3309 color: $primary-text-color;
3314 .search-results__header {
3315 color: $ui-base-lighter-color;
3316 background: lighten($ui-base-color, 2%);
3317 border-bottom: 1px solid darken($ui-base-color, 4%);
3323 .search-results__section {
3324 margin-bottom: 20px;
3338 border-top: 1px solid lighten($ui-base-color, 8%);
3342 display: inline-block;
3343 background: $ui-base-color;
3344 color: $ui-primary-color;
3354 .account:last-child,
3355 & > div:last-child .status {
3360 .search-results__hashtag {
3363 color: $ui-secondary-color;
3364 text-decoration: none;
3369 color: lighten($ui-secondary-color, 4%);
3370 text-decoration: underline;
3375 transition: opacity 0.3s linear;
3376 will-change: opacity;
3380 .modal-root__overlay {
3386 background: rgba($base-overlay-background, 0.7);
3389 .modal-root__container {
3396 flex-direction: column;
3397 align-items: center;
3398 justify-content: center;
3399 align-content: space-around;
3401 pointer-events: none;
3405 .modal-root__modal {
3406 pointer-events: auto;
3427 put margins on top and bottom of image to avoid the screen coverd by
3439 background: url('../images/void.png') repeat;
3440 object-fit: contain;
3444 .media-modal__closer {
3452 .media-modal__navigation {
3458 pointer-events: none;
3459 transition: opacity 0.3s linear;
3460 will-change: opacity;
3463 pointer-events: auto;
3466 &.media-modal__navigation--hidden {
3470 pointer-events: none;
3476 background: rgba($base-overlay-background, 0.5);
3477 box-sizing: border-box;
3479 color: $primary-text-color;
3482 align-items: center;
3492 .media-modal__nav--left {
3496 .media-modal__nav--right {
3500 .media-modal__pagination {
3506 pointer-events: none;
3509 .media-modal__page-dot {
3510 display: inline-block;
3513 .media-modal__button {
3514 background-color: $white;
3524 .media-modal__button--active {
3525 background-color: $ui-highlight-color;
3528 .media-modal__close {
3538 background: $ui-secondary-color;
3539 color: $ui-base-color;
3543 flex-direction: column;
3546 .onboarding-modal__pager {
3552 .react-swipeable-view-container > div {
3555 box-sizing: border-box;
3557 flex-direction: column;
3558 align-items: center;
3559 justify-content: center;
3565 .error-modal__body {
3578 box-sizing: border-box;
3581 flex-direction: column;
3582 align-items: center;
3583 justify-content: center;
3590 .error-modal__body {
3592 flex-direction: column;
3593 justify-content: center;
3594 align-items: center;
3598 @media screen and (max-width: 550px) {
3605 .onboarding-modal__pager {
3614 .onboarding-modal__paginator,
3615 .error-modal__footer {
3617 background: darken($ui-secondary-color, 8%);
3625 .onboarding-modal__nav,
3627 color: darken($ui-secondary-color, 34%);
3632 line-height: inherit;
3636 background-color: transparent;
3641 color: darken($ui-secondary-color, 38%);
3642 background-color: darken($ui-secondary-color, 16%);
3645 &.onboarding-modal__done,
3646 &.onboarding-modal__next {
3647 color: $ui-base-color;
3652 color: darken($ui-base-color, 4%);
3658 .error-modal__footer {
3659 justify-content: center;
3662 .onboarding-modal__dots {
3665 align-items: center;
3666 justify-content: center;
3669 .onboarding-modal__dot {
3672 border-radius: 14px;
3673 background: darken($ui-secondary-color, 16%);
3678 background: darken($ui-secondary-color, 18%);
3683 background: darken($ui-secondary-color, 24%);
3687 .onboarding-modal__page__wrapper {
3688 pointer-events: none;
3692 &.onboarding-modal__page__wrapper--active {
3693 pointer-events: auto;
3697 .onboarding-modal__page {
3704 color: $ui-base-color;
3705 margin-bottom: 20px;
3709 color: $ui-highlight-color;
3714 color: lighten($ui-highlight-color, 4%);
3724 color: lighten($ui-base-color, 8%);
3726 margin-bottom: 10px;
3734 background: $ui-base-color;
3735 color: $ui-secondary-color;
3740 @each $lang in $cjk-langs {
3749 .onboarding-modal__page__wrapper-0 {
3750 background: url('../images/elephant_ui_greeting.svg') no-repeat left bottom / auto 250px;
3755 .onboarding-modal__page-one {
3760 margin-bottom: 10px;
3774 padding-right: 65px;
3775 padding-left: 185px;
3783 margin-bottom: 15px;
3787 color: $ui-base-color;
3789 text-transform: uppercase;
3794 background: $ui-base-color;
3795 color: $ui-secondary-color;
3802 .onboarding-modal__page-two,
3803 .onboarding-modal__page-three,
3804 .onboarding-modal__page-four,
3805 .onboarding-modal__page-five {
3811 background: darken($ui-base-color, 8%);
3812 color: $ui-secondary-color;
3813 margin-bottom: 20px;
3818 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.3);
3820 .onboarding-modal__image {
3822 margin-bottom: 10px;
3826 pointer-events: none;
3832 .onboarding-modal__page-four__columns {
3835 margin-bottom: 20px;
3860 color: $primary-text-color;
3864 @media screen and (max-width: 320px) and (max-height: 600px) {
3865 .onboarding-modal__page p {
3870 .onboarding-modal__page-two .figure,
3871 .onboarding-modal__page-three .figure,
3872 .onboarding-modal__page-four .figure,
3873 .onboarding-modal__page-five .figure {
3875 margin-bottom: 10px;
3878 .onboarding-modal__page-four__columns .row {
3879 margin-bottom: 10px;
3882 .onboarding-modal__page-four__columns .column-header {
3889 display: inline-block;
3896 .confirmation-modal,
3900 background: lighten($ui-secondary-color, 8%);
3901 color: $ui-base-color;
3907 flex-direction: column;
3909 .status__display-name {
3912 padding-right: 25px;
3927 border-bottom-color: $ui-secondary-color;
3929 padding-bottom: 10px;
3932 .dropdown-menu__separator {
3933 border-bottom-color: $ui-secondary-color;
3937 .boost-modal__container {
3947 .boost-modal__action-bar,
3948 .confirmation-modal__action-bar,
3949 .mute-modal__action-bar {
3951 justify-content: space-between;
3952 background: $ui-secondary-color;
3959 color: lighten($ui-base-color, 33%);
3960 padding-right: 10px;
3968 .boost-modal__status-header {
3972 .boost-modal__status-time {
3977 .confirmation-modal {
3980 @media screen and (min-width: 480px) {
3989 .mute-modal .react-toggle {
3990 vertical-align: middle;
3998 .report-modal__container {
4000 border-top: 1px solid $ui-secondary-color;
4002 @media screen and (max-width: 480px) {
4008 .report-modal__statuses,
4009 .report-modal__comment {
4010 box-sizing: border-box;
4013 @media screen and (max-width: 480px) {
4018 .report-modal__statuses {
4025 @media screen and (max-width: 480px) {
4030 .report-modal__comment {
4032 border-right: 1px solid $ui-secondary-color;
4038 margin-bottom: 20px;
4043 box-sizing: border-box;
4046 color: $ui-base-color;
4049 font-family: inherit;
4055 border: 1px solid $ui-secondary-color;
4056 margin-bottom: 20px;
4059 border: 1px solid darken($ui-secondary-color, 8%);
4065 margin-bottom: 24px;
4068 color: $ui-base-color;
4073 @media screen and (max-width: 480px) {
4093 .actions-modal__item-label {
4107 color: $ui-base-color;
4111 align-items: center;
4112 text-decoration: none;
4125 background: $ui-highlight-color;
4126 color: $primary-text-color;
4130 button:first-child {
4138 .confirmation-modal__action-bar,
4139 .mute-modal__action-bar {
4140 .confirmation-modal__cancel-button,
4141 .mute-modal__cancel-button {
4142 background-color: transparent;
4143 color: darken($ui-secondary-color, 34%);
4150 color: darken($ui-secondary-color, 38%);
4155 .confirmation-modal__container,
4156 .mute-modal__container,
4157 .report-modal__target {
4165 @each $lang in $cjk-langs {
4173 .report-modal__target {
4176 .media-modal__close {
4183 background-color: $ui-highlight-color;
4190 .media-gallery__gifv__label {
4193 color: $primary-text-color;
4194 background: rgba($base-overlay-background, 0.5);
4202 pointer-events: none;
4204 transition: opacity 0.1s ease;
4207 .media-gallery__gifv {
4209 .media-gallery__gifv__label {
4215 .media-gallery__gifv__label {
4224 border: 1px solid lighten($ui-base-color, 8%);
4231 color: $ui-base-lighter-color;
4234 border-right: 1px solid lighten($ui-base-color, 8%);
4236 flex-direction: column;
4237 align-items: center;
4238 justify-content: center;
4251 flex-direction: column;
4252 justify-content: center;
4260 text-decoration: none;
4261 color: $ui-base-lighter-color;
4265 text-decoration: underline;
4274 .attachment-list__list {
4280 color: $ui-base-lighter-color;
4287 box-sizing: border-box;
4295 .media-gallery__item {
4297 box-sizing: border-box;
4305 .media-gallery__item-gifv-thumbnail {
4312 .media-gallery__item-thumbnail {
4315 text-decoration: none;
4316 color: $ui-secondary-color;
4330 .media-gallery__gifv {
4337 .media-gallery__item-gifv-thumbnail {
4343 transform: translateY(-50%);
4348 .media-gallery__item-thumbnail-label {
4349 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4350 clip: rect(1px, 1px, 1px, 1px);
4354 /* End Media Gallery */
4356 /* Status Video Player */
4357 .status__video-player {
4358 background: $base-overlay-background;
4359 box-sizing: border-box;
4360 cursor: default; /* May not be needed */
4366 .status__video-player-video {
4371 transform: translateY(-50%);
4376 .status__video-player-expand,
4377 .status__video-player-mute {
4378 color: $primary-text-color;
4382 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4385 .status__video-player-spoiler {
4387 color: $primary-text-color;
4390 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4394 &.status__video-player-spoiler--visible {
4399 .status__video-player-expand {
4404 .status__video-player-mute {
4412 background: $base-shadow-color;
4423 width: 100% !important;
4424 height: 100% !important;
4428 max-width: 100% !important;
4429 max-height: 100% !important;
4435 object-fit: contain;
4438 transform: translateY(-50%);
4448 box-sizing: border-box;
4449 background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
4452 transition: opacity .1s ease;
4461 .video-player__controls {
4475 background: $base-shadow-color;
4476 color: $ui-primary-color;
4478 pointer-events: none;
4482 pointer-events: auto;
4487 color: lighten($ui-primary-color, 8%);
4505 justify-content: space-between;
4506 padding-bottom: 10px;
4511 white-space: nowrap;
4513 text-overflow: ellipsis;
4528 background: transparent;
4532 color: rgba($white, 0.75);
4555 display: inline-block;
4572 background: rgba($white, 0.35);
4587 background: lighten($ui-highlight-color, 8%);
4591 background: rgba($white, 0.2);
4603 transition: opacity .1s ease;
4604 background: lighten($ui-highlight-color, 8%);
4605 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
4606 pointer-events: none;
4614 .video-player__seek__handle {
4622 .video-player__buttons {
4625 padding-bottom: 10px;
4631 .media-spoiler-video {
4632 background-size: cover;
4633 background-repeat: no-repeat;
4634 background-position: center;
4642 .media-spoiler-video-play-icon {
4643 border-radius: 100px;
4644 color: rgba($primary-text-color, 0.8);
4650 transform: translate(-50%, -50%);
4652 /* End Video Player */
4654 .account-gallery__container {
4656 justify-content: center;
4661 .account-gallery__item {
4675 width: calc(100% - 4px);
4676 height: calc(100% - 4px);
4680 background-color: $base-overlay-background;
4681 background-size: cover;
4682 background-position: center;
4684 color: $ui-primary-color;
4685 text-decoration: none;
4692 color: $ui-secondary-color;
4699 background: rgba($base-overlay-background, 0.3);
4709 transform: translate(-50%, -50%);
4714 .account__section-headline {
4715 background: darken($ui-base-color, 4%);
4716 border-bottom: 1px solid lighten($ui-base-color, 8%);
4723 color: $ui-primary-color;
4728 text-decoration: none;
4732 color: $ui-secondary-color;
4743 transform: translateX(-50%);
4744 border-style: solid;
4745 border-width: 0 10px 10px;
4746 border-color: transparent transparent lighten($ui-base-color, 8%);
4751 border-color: transparent transparent $ui-base-color;
4757 ::-webkit-scrollbar-thumb {
4762 background: $simple-background-color;
4765 padding-bottom: 14px;
4767 color: $ui-primary-color;
4768 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
4771 text-transform: uppercase;
4772 color: $ui-primary-color;
4775 margin-bottom: 10px;
4783 margin-bottom: 10px;
4788 color: $ui-base-color;
4798 animation: flicker 4s infinite;
4804 color: $ui-secondary-color;
4808 color: $ui-highlight-color;
4809 text-decoration: underline;
4812 text-decoration: none;
4818 @keyframes flicker {
4820 30% { opacity: 0.75; }
4821 100% { opacity: 1; }
4824 @media screen and (max-width: 630px) and (max-height: 400px) {
4830 will-change: margin-top;
4831 transition: margin-top $duration $delay;
4835 will-change: padding-bottom;
4836 transition: padding-bottom $duration $delay;
4841 will-change: margin-top, margin-left, width;
4842 transition: margin-top $duration $delay, margin-left $duration ($duration + $delay);
4845 & > .navigation-bar__profile-edit {
4846 will-change: margin-top;
4847 transition: margin-top $duration $delay;
4851 will-change: opacity;
4852 transition: opacity $duration $delay;
4870 .navigation-bar__profile {
4874 .navigation-bar__profile-edit {
4880 pointer-events: auto;
4898 .embed-modal__container {
4902 margin-bottom: 15px;
4905 .embed-modal__html {
4906 color: $ui-secondary-color;
4908 box-sizing: border-box;
4913 font-family: 'mastodon-font-monospace', monospace;
4914 background: $ui-base-color;
4915 color: $ui-primary-color;
4918 margin-bottom: 15px;
4920 &::-moz-focus-inner {
4924 &::-moz-focus-inner,
4927 outline: 0 !important;
4931 background: lighten($ui-base-color, 4%);
4934 @media screen and (max-width: 600px) {
4939 .embed-modal__iframe {
4948 .account__moved-note {
4950 padding-bottom: 16px;
4951 background: lighten($ui-base-color, 4%);
4952 border-top: 1px solid lighten($ui-base-color, 8%);
4953 border-bottom: 1px solid lighten($ui-base-color, 8%);
4958 color: $ui-base-lighter-color;
4961 padding-bottom: 4px;
4967 text-overflow: ellipsis;
4976 .detailed-status__display-avatar {
4980 .detailed-status__display-name {
4985 .column-inline-form {
4989 justify-content: flex-start;
4990 align-items: center;
4991 background: lighten($ui-base-color, 4%);
5019 background: rgba($base-overlay-background, 0.5);
5023 background: $ui-base-color;
5024 flex-direction: column;
5026 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5030 @media screen and (max-width: 420px) {
5036 background: lighten($ui-base-color, 13%);
5040 border-radius: 8px 8px 0 0;
5048 border-radius: 0 0 8px 8px;
5051 width: calc(100% - 60px);
5052 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5053 border-radius: 0 0 0 8px;
5061 .account__display-name {
5063 text-decoration: none;
5076 .focal-point-modal {
5103 transform: translate(-50%, -50%);
5104 background: url('../images/reticle.png') no-repeat 0 0;
5106 box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
5118 .floating-action-button {
5121 justify-content: center;
5122 align-items: center;
5127 background: darken($ui-highlight-color, 3%);
5132 text-decoration: none;
5133 box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
5138 background: lighten($ui-highlight-color, 7%);