2 -webkit-overflow-scrolling: touch;
3 -ms-overflow-style: -ms-autohiding-scrollbar;
7 background-color: $ui-highlight-color;
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, 10%);
35 transition: all 200ms ease-out;
39 background-color: $ui-primary-color;
50 outline: 0 !important;
56 &.button-alternative-2 {
64 &.button-alternative {
65 color: $inverted-text-color;
66 background: $ui-primary-color;
71 background-color: lighten($ui-primary-color, 4%);
75 &.button-alternative-2 {
76 background: $ui-base-lighter-color;
81 background-color: lighten($ui-base-lighter-color, 4%);
86 color: $darker-text-color;
87 background: transparent;
89 border: 1px solid $ui-primary-color;
94 border-color: lighten($ui-primary-color, 4%);
95 color: lighten($darker-text-color, 4%);
112 display: inline-block;
114 color: $action-button-color;
116 background: transparent;
118 transition: color 100ms ease-in;
123 color: lighten($action-button-color, 7%);
124 transition: color 200ms ease-out;
128 color: darken($action-button-color, 13%);
133 color: $highlight-text-color;
136 &::-moz-focus-inner {
143 outline: 0 !important;
147 color: $lighter-text-color;
152 color: darken($lighter-text-color, 7%);
156 color: lighten($lighter-text-color, 7%);
160 color: $highlight-text-color;
163 color: lighten($highlight-text-color, 13%);
169 box-sizing: content-box;
170 background: rgba($base-overlay-background, 0.6);
171 color: rgba($primary-text-color, 0.7);
176 background: rgba($base-overlay-background, 0.9);
182 color: $lighter-text-color;
184 background: transparent;
191 transition: color 100ms ease-in;
196 color: darken($lighter-text-color, 7%);
197 transition: color 200ms ease-out;
201 color: lighten($lighter-text-color, 20%);
206 color: $highlight-text-color;
209 &::-moz-focus-inner {
216 outline: 0 !important;
222 transform-origin: 50% 0;
228 display: inline-block;
235 margin: 0 !important;
236 border: 0 !important;
237 padding: 0 !important;
239 height: 0 !important;
252 .compose-form__warning {
253 color: $inverted-text-color;
255 background: $ui-primary-color;
256 box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
263 color: $inverted-text-color;
266 @each $lang in $cjk-langs {
274 color: $lighter-text-color;
276 text-decoration: underline;
281 text-decoration: none;
286 .compose-form__autosuggest-wrapper {
289 .emoji-picker-dropdown {
296 .autosuggest-textarea,
303 transform-origin: bottom;
305 transition: all 0.4s ease;
307 &.spoiler-input--visible {
310 transition: all 0.4s ease;
314 .autosuggest-textarea__textarea,
315 .spoiler-input__input {
317 box-sizing: border-box;
320 color: $inverted-text-color;
321 background: $simple-background-color;
323 font-family: inherit;
333 @media screen and (max-width: 600px) {
338 .spoiler-input__input {
342 .autosuggest-textarea__textarea {
344 border-radius: 4px 4px 0 0;
346 padding-right: 10px + 22px;
349 @media screen and (max-width: 600px) {
350 height: 100px !important; // prevent auto-resize textarea
355 .autosuggest-textarea__suggestions {
356 box-sizing: border-box;
362 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
363 background: $ui-secondary-color;
364 border-radius: 0 0 4px 4px;
365 color: $inverted-text-color;
369 &.autosuggest-textarea__suggestions--visible {
374 .autosuggest-textarea__suggestions__item {
383 background: darken($ui-secondary-color, 10%);
387 .autosuggest-account,
392 justify-content: flex-start;
397 .autosuggest-account-icon,
398 .autosuggest-emoji img {
405 .autosuggest-account .display-name__account {
406 color: $lighter-text-color;
409 .compose-form__modifiers {
410 color: $inverted-text-color;
411 font-family: inherit;
413 background: $simple-background-color;
415 .compose-form__upload-wrapper {
419 .compose-form__uploads-wrapper {
426 .compose-form__upload {
432 background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
434 align-items: flex-start;
435 justify-content: space-between;
437 transition: opacity .1s ease;
441 color: $secondary-text-color;
445 font-family: inherit;
450 color: lighten($secondary-text-color, 7%);
465 box-sizing: border-box;
466 background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
469 transition: opacity .1s ease;
472 background: transparent;
473 color: $secondary-text-color;
478 font-family: inherit;
488 color: $secondary-text-color;
498 .compose-form__upload-thumbnail {
500 background-position: center;
501 background-size: cover;
502 background-repeat: no-repeat;
509 .compose-form__buttons-wrapper {
511 background: darken($simple-background-color, 8%);
512 border-radius: 0 0 4px 4px;
514 justify-content: space-between;
516 .compose-form__buttons {
519 .compose-form__upload-button-icon {
523 .compose-form__sensitive-button {
526 &.compose-form__sensitive-button--visible {
530 .compose-form__sensitive-button__icon {
537 box-sizing: content-box;
541 .character-counter__wrapper {
547 font-family: 'mastodon-font-sans-serif', sans-serif;
550 color: $lighter-text-color;
552 &.character-counter--over {
559 .compose-form__publish {
561 justify-content: flex-end;
564 .compose-form__publish-button-wrapper {
573 vertical-align: middle;
575 margin: -.2ex .15em .2ex;
587 background: $ui-primary-color;
591 .reply-indicator__header {
596 .reply-indicator__cancel {
601 .reply-indicator__display-name {
602 color: $inverted-text-color;
608 text-decoration: none;
611 .reply-indicator__display-avatar {
616 .status__content--with-action {
621 .reply-indicator__content {
624 word-wrap: break-word;
627 white-space: pre-wrap;
634 &.status__content--with-spoiler {
637 .status__content__text {
638 white-space: pre-wrap;
657 color: $secondary-text-color;
658 text-decoration: none;
661 text-decoration: underline;
664 color: lighten($dark-text-color, 7%);
670 text-decoration: none;
673 text-decoration: underline;
679 color: $dark-text-color;
683 .status__content__spoiler-link {
684 background: $action-button-color;
687 background: lighten($action-button-color, 7%);
688 text-decoration: none;
691 &::-moz-focus-inner {
698 outline: 0 !important;
702 .status__content__text {
705 &.status__content__text--visible {
711 .status__content__spoiler-link {
712 display: inline-block;
714 background: transparent;
716 color: $inverted-text-color;
720 text-transform: uppercase;
723 vertical-align: middle;
726 .status__prepend-icon-wrapper {
734 background: lighten($ui-base-color, 4%);
736 .status.status-direct {
737 background: lighten($ui-base-color, 12%);
740 background: transparent;
745 .detailed-status__action-bar {
746 background: lighten($ui-base-color, 8%);
756 border-bottom: 1px solid lighten($ui-base-color, 8%);
759 @supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
760 // Add margin to avoid Edge auto-hiding scrollbar appearing over content.
761 // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
762 padding-right: 26px; // 10px + 16px
771 animation: fade 150ms linear;
778 background: lighten($ui-base-color, 8%);
782 .status__relative-time {
783 color: $light-text-color;
786 .status__display-name {
787 color: $inverted-text-color;
792 color: $inverted-text-color;
796 color: $light-text-color;
801 color: $inverted-text-color;
804 color: $highlight-text-color;
807 a.status__content__spoiler-link {
808 color: $primary-text-color;
809 background: $ui-primary-color;
812 background: lighten($ui-primary-color, 8%);
819 .notification-favourite {
820 .status.status-direct {
821 background: transparent;
823 .icon-button.disabled {
824 color: lighten($action-button-color, 13%);
829 .status__relative-time {
830 color: $dark-text-color;
835 .status__display-name {
836 color: $dark-text-color;
839 .status__info .status__display-name {
850 border-bottom: 1px solid $ui-secondary-color;
853 .status-check-box__status {
854 margin: 10px 0 10px 10px;
871 .media-gallery__item-thumbnail {
877 .status-check-box-toggle {
881 justify-content: center;
887 color: $dark-text-color;
893 .status__display-name strong {
894 color: $dark-text-color;
900 text-overflow: ellipsis;
904 .status__action-bar {
910 .status__action-bar-button {
915 .status__action-bar-dropdown {
921 .detailed-status__action-bar-dropdown {
925 justify-content: center;
930 background: lighten($ui-base-color, 4%);
943 .status__content__spoiler-link {
954 .detailed-status__meta {
956 color: $dark-text-color;
961 .detailed-status__action-bar {
962 background: lighten($ui-base-color, 4%);
963 border-top: 1px solid lighten($ui-base-color, 8%);
964 border-bottom: 1px solid lighten($ui-base-color, 8%);
970 .detailed-status__link {
972 text-decoration: none;
975 .detailed-status__favorites,
976 .detailed-status__reblogs {
977 display: inline-block;
983 .reply-indicator__content {
984 color: $inverted-text-color;
988 color: $lighter-text-color;
994 border-bottom: 1px solid lighten($ui-base-color, 8%);
996 .domain__domain-name {
999 color: $primary-text-color;
1000 text-decoration: none;
1013 white-space: nowrap;
1018 border-bottom: 1px solid lighten($ui-base-color, 8%);
1024 .account__avatar-wrapper {
1029 .account__display-name {
1032 color: $darker-text-color;
1034 text-decoration: none;
1043 .account__avatar-wrapper {
1050 @include avatar-radius();
1054 display: inline-block;
1055 vertical-align: middle;
1060 a .account__avatar {
1064 .account__avatar-overlay {
1065 @include avatar-size(48px);
1068 @include avatar-radius();
1069 @include avatar-size(36px);
1073 @include avatar-radius();
1074 @include avatar-size(24px);
1083 .account__relationship {
1086 white-space: nowrap;
1091 background: lighten($ui-base-color, 4%);
1093 background-size: cover;
1094 background-position: center;
1100 .account__header__avatar {
1101 filter: grayscale(100%);
1104 .account__header__username {
1105 color: $secondary-text-color;
1110 background: rgba(lighten($ui-base-color, 4%), 0.9);
1114 .account__header__content {
1115 color: $secondary-text-color;
1118 .account__header__display-name {
1119 color: $primary-text-color;
1120 display: inline-block;
1126 text-overflow: ellipsis;
1129 .account__header__username {
1130 color: $highlight-text-color;
1134 margin-bottom: 10px;
1136 text-overflow: ellipsis;
1140 .account__disclaimer {
1142 border-top: 1px solid lighten($ui-base-color, 8%);
1143 color: $dark-text-color;
1148 @each $lang in $cjk-langs {
1158 text-decoration: underline;
1163 text-decoration: none;
1168 .account__header__content {
1169 color: $darker-text-color;
1174 word-wrap: break-word;
1177 margin-bottom: 20px;
1186 text-decoration: underline;
1189 text-decoration: none;
1194 .account__header__display-name {
1201 .account__action-bar {
1202 border-top: 1px solid lighten($ui-base-color, 8%);
1203 border-bottom: 1px solid lighten($ui-base-color, 8%);
1210 .account__action-bar-dropdown {
1211 flex: 0 1 calc(50% - 140px);
1215 .dropdown__content.dropdown__right {
1229 .account__action-bar-links {
1235 .account__action-bar__tab {
1236 text-decoration: none;
1239 border-left: 1px solid lighten($ui-base-color, 8%);
1244 text-transform: uppercase;
1246 color: $darker-text-color;
1253 color: $primary-text-color;
1255 @each $lang in $cjk-langs {
1263 .account__header__avatar {
1264 background-size: 90px 90px;
1267 margin: 0 auto 10px;
1272 .account-authorize {
1275 .detailed-status__display-name {
1277 margin-bottom: 15px;
1282 .account-authorize__avatar {
1287 .status__display-name,
1288 .status__relative-time,
1289 .detailed-status__display-name,
1290 .detailed-status__datetime,
1291 .detailed-status__application,
1292 .account__display-name {
1293 text-decoration: none;
1296 .status__display-name,
1297 .account__display-name {
1299 color: $primary-text-color;
1309 .status__display-name,
1310 .reply-indicator__display-name,
1311 .detailed-status__display-name,
1312 a.account__display-name {
1314 text-decoration: underline;
1318 .account__display-name strong {
1321 text-overflow: ellipsis;
1324 .detailed-status__application,
1325 .detailed-status__datetime {
1329 .detailed-status__display-name {
1330 color: $secondary-text-color;
1333 margin-bottom: 15px;
1339 text-overflow: ellipsis;
1345 color: $primary-text-color;
1349 .detailed-status__display-avatar {
1364 .status__content a {
1365 color: $dark-text-color;
1368 .status__display-name strong {
1369 color: $dark-text-color;
1376 a.status__content__spoiler-link {
1377 background: $ui-base-lighter-color;
1378 color: $inverted-text-color;
1381 background: lighten($ui-base-lighter-color, 7%);
1382 text-decoration: none;
1387 .notification__message {
1388 margin: 0 10px 0 68px;
1391 color: $darker-text-color;
1396 color: $highlight-text-color;
1402 text-overflow: ellipsis;
1406 .notification__favourite-icon-wrapper {
1419 .notification__display-name {
1422 text-decoration: none;
1425 color: $primary-text-color;
1426 text-decoration: underline;
1434 text-overflow: ellipsis;
1435 white-space: nowrap;
1438 .display-name__html {
1442 .display-name__account {
1446 .status__relative-time,
1447 .detailed-status__datetime {
1449 text-decoration: underline;
1458 align-items: center;
1459 justify-content: center;
1461 .image-loader__preview-canvas {
1462 max-width: $media-modal-media-max-width;
1463 max-height: $media-modal-media-max-height;
1464 background: url('../images/void.png') repeat;
1465 object-fit: contain;
1468 &.image-loader--loading .image-loader__preview-canvas {
1472 &.image-loader--amorphous .image-loader__preview-canvas {
1482 align-items: center;
1483 justify-content: center;
1486 max-width: $media-modal-media-max-width;
1487 max-height: $media-modal-media-max-height;
1490 object-fit: contain;
1499 color: $darker-text-color;
1502 color: $secondary-text-color;
1510 text-decoration: none;
1513 .navigation-bar__actions {
1516 .icon-button.close {
1518 pointer-events: none;
1519 transform: scale(0.0, 1.0) translate(-100%, 0);
1523 .compose__action-bar .icon-button {
1524 pointer-events: auto;
1525 transform: scale(1.0, 1.0) translate(0, 0);
1531 .navigation-bar__profile {
1537 .navigation-bar__profile-account {
1541 text-overflow: ellipsis;
1544 .navigation-bar__profile-edit {
1546 text-decoration: none;
1550 display: inline-block;
1553 .dropdown__content {
1558 .dropdown-menu__separator {
1559 border-bottom: 1px solid darken($ui-secondary-color, 8%);
1560 margin: 5px 7px 6px;
1565 background: $ui-secondary-color;
1568 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
1575 .dropdown-menu__arrow {
1579 border: 0 solid transparent;
1584 border-width: 5px 0 5px 5px;
1585 border-left-color: $ui-secondary-color;
1591 border-width: 5px 7px 0;
1592 border-top-color: $ui-secondary-color;
1598 border-width: 0 7px 5px;
1599 border-bottom-color: $ui-secondary-color;
1605 border-width: 5px 5px 5px 0;
1606 border-right-color: $ui-secondary-color;
1610 .dropdown-menu__item {
1616 box-sizing: border-box;
1617 text-decoration: none;
1618 background: $ui-secondary-color;
1619 color: $inverted-text-color;
1621 text-overflow: ellipsis;
1622 white-space: nowrap;
1627 background: $ui-highlight-color;
1628 color: $secondary-text-color;
1634 .dropdown--active .dropdown__content {
1644 background: $ui-secondary-color;
1647 box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
1667 box-sizing: border-box;
1668 text-decoration: none;
1669 background: $ui-secondary-color;
1670 color: $inverted-text-color;
1672 text-overflow: ellipsis;
1673 white-space: nowrap;
1680 background: $ui-highlight-color;
1681 color: $secondary-text-color;
1687 vertical-align: middle;
1693 flex-direction: row;
1694 justify-content: flex-start;
1703 @media screen and (min-width: 360px) {
1708 .react-swipeable-view-container .columns-area {
1709 height: calc(100% - 20px) !important;
1713 .react-swipeable-view-container {
1722 .react-swipeable-view-container > * {
1724 align-items: center;
1725 justify-content: center;
1732 box-sizing: border-box;
1734 flex-direction: column;
1737 background: $ui-base-color;
1744 flex-direction: column;
1747 background: darken($ui-base-color, 7%);
1752 box-sizing: border-box;
1754 flex-direction: column;
1761 padding: 15px 5px 13px;
1762 color: $darker-text-color;
1763 text-decoration: none;
1766 border-bottom: 2px solid transparent;
1775 @media screen and (min-width: 360px) {
1781 .getting-started__wrapper,
1782 .getting-started__trends,
1784 margin-bottom: 10px;
1788 @media screen and (max-width: 630px) {
1796 flex-direction: column;
1800 .autosuggest-textarea__textarea {
1805 @media screen and (min-width: 631px) {
1822 padding-right: 10px;
1826 .columns-area > div {
1836 box-sizing: border-box;
1848 background: lighten($ui-base-color, 13%);
1849 box-sizing: border-box;
1852 flex-direction: column;
1859 background: $ui-base-color;
1863 .drawer__inner__mastodon {
1864 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;
1870 object-fit: contain;
1871 object-position: bottom left;
1874 pointer-events: none;
1881 background: lighten($ui-base-color, 13%);
1889 background: lighten($ui-base-color, 8%);
1890 margin-bottom: 10px;
1892 flex-direction: row;
1895 transition: background 100ms ease-in;
1898 background: lighten($ui-base-color, 3%);
1899 transition: background 200ms ease-out;
1906 background: lighten($ui-base-color, 8%);
1915 color: $primary-text-color;
1916 text-decoration: none;
1920 border-bottom: 2px solid lighten($ui-base-color, 8%);
1921 transition: all 50ms linear;
1929 border-bottom: 2px solid $highlight-text-color;
1930 color: $highlight-text-color;
1936 @media screen and (min-width: 631px) {
1937 background: lighten($ui-base-color, 14%);
1947 @media screen and (min-width: 600px) {
1955 @media screen and (min-width: 631px) {
1965 -webkit-overflow-scrolling: touch;
1966 will-change: transform; // improves perf in mobile Chrome
1968 &.optionally-scrollable {
1972 @supports(display: grid) { // hack to fix Chrome <57
1977 .scrollable.fullscreen {
1978 @supports(display: grid) { // hack to fix Chrome <57
1983 .column-back-button {
1984 background: lighten($ui-base-color, 4%);
1985 color: $highlight-text-color;
1997 text-decoration: underline;
2001 .column-header__back-button {
2002 background: lighten($ui-base-color, 4%);
2004 font-family: inherit;
2005 color: $highlight-text-color;
2007 white-space: nowrap;
2013 text-decoration: underline;
2017 padding: 0 15px 0 0;
2021 .column-back-button__icon {
2022 display: inline-block;
2026 .column-back-button--slim {
2030 .column-back-button--slim-button {
2041 display: inline-block;
2044 background-color: transparent;
2048 -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
2049 -webkit-tap-highlight-color: transparent;
2052 .react-toggle-screenreader-only {
2054 clip: rect(0 0 0 0);
2063 .react-toggle--disabled {
2064 cursor: not-allowed;
2066 transition: opacity 0.25s;
2069 .react-toggle-track {
2073 border-radius: 30px;
2074 background-color: $ui-base-color;
2075 transition: all 0.2s ease;
2078 .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
2079 background-color: darken($ui-base-color, 10%);
2082 .react-toggle--checked .react-toggle-track {
2083 background-color: $ui-highlight-color;
2086 .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
2087 background-color: lighten($ui-highlight-color, 10%);
2090 .react-toggle-track-check {
2097 margin-bottom: auto;
2101 transition: opacity 0.25s ease;
2104 .react-toggle--checked .react-toggle-track-check {
2106 transition: opacity 0.25s ease;
2109 .react-toggle-track-x {
2116 margin-bottom: auto;
2120 transition: opacity 0.25s ease;
2123 .react-toggle--checked .react-toggle-track-x {
2127 .react-toggle-thumb {
2128 transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
2134 border: 1px solid $ui-base-color;
2136 background-color: darken($simple-background-color, 2%);
2137 box-sizing: border-box;
2138 transition: all 0.25s ease;
2141 .react-toggle--checked .react-toggle-thumb {
2143 border-color: $ui-highlight-color;
2147 background: lighten($ui-base-color, 8%);
2148 color: $primary-text-color;
2152 text-decoration: none;
2155 background: lighten($ui-base-color, 11%);
2159 .column-link__icon {
2160 display: inline-block;
2164 .column-link__badge {
2165 display: inline-block;
2170 background: $ui-base-color;
2175 .column-subheading {
2176 background: $ui-base-color;
2177 color: $dark-text-color;
2181 text-transform: uppercase;
2185 .getting-started__wrapper,
2188 background: $ui-base-color;
2191 .getting-started__wrapper {
2200 color: $dark-text-color;
2203 color: $dark-text-color;
2205 margin-bottom: 20px;
2208 color: $dark-text-color;
2209 text-decoration: underline;
2214 text-decoration: none;
2215 color: $darker-text-color;
2220 text-decoration: underline;
2230 margin-bottom: 10px;
2239 background: $ui-base-color;
2242 @media screen and (max-height: 810px) {
2243 .trends__item:nth-child(3) {
2248 @media screen and (max-height: 720px) {
2249 .trends__item:nth-child(2) {
2254 @media screen and (max-height: 670px) {
2265 .keyboard-shortcuts {
2275 padding: 0 10px 8px;
2279 display: inline-block;
2281 background-color: lighten($ui-base-color, 8%);
2282 border: 1px solid darken($ui-base-color, 4%);
2287 color: $darker-text-color;
2288 background: transparent;
2290 border-bottom: 2px solid $ui-primary-color;
2291 box-sizing: border-box;
2293 font-family: inherit;
2294 margin-bottom: 10px;
2300 color: $primary-text-color;
2301 border-bottom-color: $highlight-text-color;
2304 @media screen and (max-width: 600px) {
2309 .no-reduce-motion button.icon-button i.fa-retweet {
2310 background-position: 0 0;
2312 transition: background-position 0.9s steps(10);
2313 transition-duration: 0s;
2314 vertical-align: middle;
2318 display: none !important;
2323 .no-reduce-motion button.icon-button.active i.fa-retweet {
2324 transition-duration: 0.9s;
2325 background-position: 0 100%;
2328 .reduce-motion button.icon-button i.fa-retweet {
2329 color: $action-button-color;
2330 transition: color 100ms ease-in;
2333 .reduce-motion button.icon-button.active i.fa-retweet {
2334 color: $highlight-text-color;
2340 border: 1px solid lighten($ui-base-color, 8%);
2342 color: $dark-text-color;
2344 text-decoration: none;
2354 justify-content: center;
2355 align-items: center;
2358 background: rgba($base-shadow-color, 0.6);
2363 justify-content: center;
2364 align-items: center;
2370 color: $primary-text-color;
2371 background: transparent;
2374 text-decoration: none;
2398 background: lighten($ui-base-color, 8%);
2402 .status-card-photo {
2405 text-decoration: none;
2411 .status-card-video {
2418 .status-card__title {
2422 color: $darker-text-color;
2424 text-overflow: ellipsis;
2425 white-space: nowrap;
2426 text-decoration: none;
2429 .status-card__content {
2432 padding: 14px 14px 14px 8px;
2435 .status-card__description {
2436 color: $darker-text-color;
2439 .status-card__host {
2445 .status-card__image {
2447 background: lighten($ui-base-color, 8%);
2451 .status-card.horizontal {
2454 .status-card__image {
2458 .status-card__image-image {
2459 border-radius: 4px 4px 0 0;
2462 .status-card__title {
2463 white-space: inherit;
2467 .status-card__image-image {
2468 border-radius: 4px 0 0 4px;
2474 background-size: cover;
2475 background-position: center center;
2480 color: $dark-text-color;
2481 background-color: transparent;
2485 line-height: inherit;
2488 box-sizing: border-box;
2491 text-decoration: none;
2494 background: lighten($ui-base-color, 2%);
2499 border-bottom: 1px solid lighten($ui-base-color, 8%);
2502 .regeneration-indicator {
2506 color: $dark-text-color;
2507 background: $ui-base-color;
2511 align-items: center;
2512 justify-content: center;
2517 background: transparent;
2522 background: url('../images/elephant_ui_working.svg') no-repeat center 0;
2525 background-size: contain;
2529 transform: translate(-50%, -50%);
2532 &.missing-indicator {
2533 padding-top: 20px + 48px;
2535 .regeneration-indicator__figure {
2536 background-image: url('../images/elephant_ui_disappointed.svg');
2545 margin-bottom: 10px;
2546 color: $dark-text-color;
2556 .column-header__wrapper {
2570 pointer-events: none;
2573 background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
2581 background: lighten($ui-base-color, 4%);
2592 padding: 15px 0 15px 15px;
2594 background: transparent;
2597 text-overflow: ellipsis;
2599 white-space: nowrap;
2603 & > .column-header__back-button {
2604 color: $highlight-text-color;
2608 box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
2610 .column-header__icon {
2611 color: $highlight-text-color;
2612 text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
2622 .column-header__buttons {
2627 .column-header__links .text-btn {
2631 .column-header__button {
2632 background: lighten($ui-base-color, 4%);
2634 color: $darker-text-color;
2640 color: lighten($darker-text-color, 7%);
2644 color: $primary-text-color;
2645 background: lighten($ui-base-color, 8%);
2648 color: $primary-text-color;
2649 background: lighten($ui-base-color, 8%);
2654 .column-header__collapsible {
2658 color: $darker-text-color;
2659 transition: max-height 150ms ease-in-out, opacity 300ms linear;
2673 background: transparent;
2675 border-top: 1px solid lighten($ui-base-color, 12%);
2680 .column-header__collapsible-inner {
2681 background: lighten($ui-base-color, 8%);
2685 .column-header__setting-btn {
2687 color: $darker-text-color;
2688 text-decoration: underline;
2692 .column-header__setting-arrows {
2695 .column-header__setting-btn {
2705 display: inline-block;
2707 font-family: inherit;
2711 background: transparent;
2715 .column-header__icon {
2716 display: inline-block;
2720 .loading-indicator {
2721 color: $dark-text-color;
2724 text-transform: uppercase;
2729 transform: translate(-50%, -50%);
2735 transform: translateX(-50%);
2736 margin: 82px 0 0 50%;
2737 white-space: nowrap;
2738 animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2742 .loading-indicator__figure {
2746 transform: translate(-50%, -50%);
2749 box-sizing: border-box;
2750 border: 0 solid lighten($ui-base-color, 26%);
2752 animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2755 @keyframes loader-figure {
2759 background-color: lighten($ui-base-color, 26%);
2763 background-color: lighten($ui-base-color, 26%);
2769 background-color: transparent;
2779 background-color: transparent;
2783 @keyframes loader-label {
2784 0% { opacity: 0.25; }
2786 100% { opacity: 0.25; }
2789 .video-error-cover {
2790 align-items: center;
2791 background: $base-overlay-background;
2792 color: $primary-text-color;
2795 flex-direction: column;
2797 justify-content: center;
2805 background: $base-overlay-background;
2806 color: $darker-text-color;
2818 color: lighten($darker-text-color, 8%);
2822 .media-spoiler__warning {
2827 .media-spoiler__trigger {
2837 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
2841 &.spoiler-button--visible {
2846 .modal-container--preloader {
2847 background: lighten($ui-base-color, 8%);
2851 background: lighten($ui-base-color, 4%);
2852 border-top: 1px solid lighten($ui-base-color, 8%);
2853 border-bottom: 1px solid lighten($ui-base-color, 8%);
2855 flex-direction: row;
2859 .account--panel__button,
2860 .detailed-status__button {
2865 .column-settings__outer {
2866 background: lighten($ui-base-color, 8%);
2870 .column-settings__section {
2871 color: $darker-text-color;
2875 margin-bottom: 10px;
2878 .column-settings__row {
2880 margin-bottom: 15px;
2884 .account--follows-info {
2885 color: $primary-text-color;
2890 display: inline-block;
2891 vertical-align: top;
2892 background-color: rgba($base-overlay-background, 0.4);
2893 text-transform: uppercase;
2900 .account--muting-info {
2901 color: $primary-text-color;
2906 display: inline-block;
2907 vertical-align: top;
2908 background-color: rgba($base-overlay-background, 0.4);
2909 text-transform: uppercase;
2916 .account--action-button {
2927 .setting-toggle__label,
2928 .setting-meta__label {
2929 color: $darker-text-color;
2930 display: inline-block;
2931 margin-bottom: 14px;
2933 vertical-align: middle;
2936 .setting-meta__label {
2940 .empty-column-indicator,
2942 color: $dark-text-color;
2943 background: $ui-base-color;
2951 align-items: center;
2952 justify-content: center;
2954 @supports(display: grid) { // hack to fix Chrome <57
2959 color: $highlight-text-color;
2960 text-decoration: none;
2963 text-decoration: underline;
2969 flex-direction: column;
2972 @keyframes heartbeat {
2974 transform: scale(1);
2975 animation-timing-function: ease-out;
2979 transform: scale(0.91);
2980 animation-timing-function: ease-in;
2984 transform: scale(0.98);
2985 animation-timing-function: ease-out;
2989 transform: scale(0.87);
2990 animation-timing-function: ease-in;
2994 transform: scale(1);
2995 animation-timing-function: ease-out;
2999 .no-reduce-motion .pulse-loading {
3000 transform-origin: center center;
3001 animation: heartbeat 1.5s ease-in-out infinite both;
3004 @keyframes shake-bottom {
3007 transform: rotate(0deg);
3008 transform-origin: 50% 100%;
3012 transform: rotate(2deg);
3018 transform: rotate(-4deg);
3024 transform: rotate(4deg);
3028 transform: rotate(-2deg);
3032 transform: rotate(2deg);
3036 .no-reduce-motion .shake-bottom {
3037 transform-origin: 50% 100%;
3038 animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) 2s 2 both;
3041 .emoji-picker-dropdown__menu {
3042 background: $simple-background-color;
3044 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
3048 .emoji-mart-scroll {
3049 transition: opacity 200ms ease;
3052 &.selecting .emoji-mart-scroll {
3057 .emoji-picker-dropdown__modifiers {
3064 .emoji-picker-dropdown__modifiers__menu {
3069 background: $simple-background-color;
3071 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
3079 background: transparent;
3084 background: rgba($ui-secondary-color, 0.4);
3095 background-repeat: no-repeat;
3100 align-items: center;
3101 background: rgba($base-overlay-background, 0.8);
3104 justify-content: center;
3114 pointer-events: none;
3118 .upload-area__drop {
3122 box-sizing: border-box;
3127 .upload-area__background {
3135 background: $ui-base-color;
3136 box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
3139 .upload-area__content {
3142 align-items: center;
3143 justify-content: center;
3144 color: $secondary-text-color;
3147 border: 2px dashed $ui-base-lighter-color;
3153 color: $lighter-text-color;
3164 text-transform: uppercase;
3170 .upload-progess__message {
3174 .upload-progress__backdrop {
3178 background: $ui-base-lighter-color;
3183 .upload-progress__tracker {
3188 background: $ui-highlight-color;
3203 outline: 0 !important;
3207 filter: grayscale(100%);
3226 .dropdown--active .emoji-button img {
3231 .privacy-dropdown__dropdown {
3233 background: $simple-background-color;
3234 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
3238 transform-origin: 50% 0;
3241 .privacy-dropdown__option {
3242 color: $inverted-text-color;
3249 background: $ui-highlight-color;
3250 color: $primary-text-color;
3253 .privacy-dropdown__option__content {
3254 color: $primary-text-color;
3257 color: $primary-text-color;
3263 background: lighten($ui-highlight-color, 4%);
3267 .privacy-dropdown__option__icon {
3269 align-items: center;
3270 justify-content: center;
3274 .privacy-dropdown__option__content {
3276 color: $lighter-text-color;
3281 color: $inverted-text-color;
3283 @each $lang in $cjk-langs {
3291 .privacy-dropdown.active {
3292 .privacy-dropdown__value {
3293 background: $simple-background-color;
3294 border-radius: 4px 4px 0 0;
3295 box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
3302 background: $ui-highlight-color;
3305 color: $primary-text-color;
3310 .privacy-dropdown__dropdown {
3312 box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
3322 box-sizing: border-box;
3327 padding-right: 30px;
3328 font-family: inherit;
3329 background: $ui-base-color;
3330 color: $darker-text-color;
3334 &::-moz-focus-inner {
3338 &::-moz-focus-inner,
3341 outline: 0 !important;
3345 background: lighten($ui-base-color, 4%);
3348 @media screen and (max-width: 600px) {
3354 &::-moz-focus-inner {
3358 &::-moz-focus-inner,
3360 outline: 0 !important;
3368 display: inline-block;
3370 transition: all 100ms linear;
3374 color: $secondary-text-color;
3376 pointer-events: none;
3379 pointer-events: auto;
3385 transform: rotate(90deg);
3388 pointer-events: none;
3389 transform: rotate(0deg);
3395 transform: rotate(0deg);
3396 color: $action-button-color;
3400 transform: rotate(90deg);
3404 color: lighten($action-button-color, 7%);
3409 .search-results__header {
3410 color: $dark-text-color;
3411 background: lighten($ui-base-color, 2%);
3418 display: inline-block;
3423 .search-results__section {
3427 background: darken($ui-base-color, 4%);
3428 border-bottom: 1px solid lighten($ui-base-color, 8%);
3434 color: $dark-text-color;
3437 display: inline-block;
3442 .account:last-child,
3443 & > div:last-child .status {
3448 .search-results__hashtag {
3451 color: $secondary-text-color;
3452 text-decoration: none;
3457 color: lighten($secondary-text-color, 4%);
3458 text-decoration: underline;
3464 transition: opacity 0.3s linear;
3465 will-change: opacity;
3469 .modal-root__overlay {
3475 background: rgba($base-overlay-background, 0.7);
3478 .modal-root__container {
3485 flex-direction: column;
3486 align-items: center;
3487 justify-content: center;
3488 align-content: space-around;
3490 pointer-events: none;
3494 .modal-root__modal {
3495 pointer-events: auto;
3511 .extended-video-player {
3515 align-items: center;
3516 justify-content: center;
3519 max-width: $media-modal-media-max-width;
3520 max-height: $media-modal-media-max-height;
3525 .media-modal__closer {
3533 .media-modal__navigation {
3539 pointer-events: none;
3540 transition: opacity 0.3s linear;
3541 will-change: opacity;
3544 pointer-events: auto;
3547 &.media-modal__navigation--hidden {
3551 pointer-events: none;
3557 background: rgba($base-overlay-background, 0.5);
3558 box-sizing: border-box;
3560 color: $primary-text-color;
3563 align-items: center;
3573 .media-modal__nav--left {
3577 .media-modal__nav--right {
3581 .media-modal__pagination {
3587 pointer-events: none;
3590 .media-modal__page-dot {
3591 display: inline-block;
3594 .media-modal__button {
3595 background-color: $primary-text-color;
3605 .media-modal__button--active {
3606 background-color: $highlight-text-color;
3609 .media-modal__close {
3619 background: $ui-secondary-color;
3620 color: $inverted-text-color;
3624 flex-direction: column;
3627 .onboarding-modal__pager {
3633 .react-swipeable-view-container > div {
3636 box-sizing: border-box;
3638 flex-direction: column;
3639 align-items: center;
3640 justify-content: center;
3646 .error-modal__body {
3659 box-sizing: border-box;
3662 flex-direction: column;
3663 align-items: center;
3664 justify-content: center;
3671 .error-modal__body {
3673 flex-direction: column;
3674 justify-content: center;
3675 align-items: center;
3679 @media screen and (max-width: 550px) {
3686 .onboarding-modal__pager {
3695 .onboarding-modal__paginator,
3696 .error-modal__footer {
3698 background: darken($ui-secondary-color, 8%);
3706 .onboarding-modal__nav,
3708 color: $lighter-text-color;
3713 line-height: inherit;
3717 background-color: transparent;
3722 color: darken($lighter-text-color, 4%);
3723 background-color: darken($ui-secondary-color, 16%);
3726 &.onboarding-modal__done,
3727 &.onboarding-modal__next {
3728 color: $inverted-text-color;
3733 color: lighten($inverted-text-color, 4%);
3739 .error-modal__footer {
3740 justify-content: center;
3743 .onboarding-modal__dots {
3746 align-items: center;
3747 justify-content: center;
3750 .onboarding-modal__dot {
3753 border-radius: 14px;
3754 background: darken($ui-secondary-color, 16%);
3759 background: darken($ui-secondary-color, 18%);
3764 background: darken($ui-secondary-color, 24%);
3768 .onboarding-modal__page__wrapper {
3769 pointer-events: none;
3773 &.onboarding-modal__page__wrapper--active {
3774 pointer-events: auto;
3778 .onboarding-modal__page {
3785 color: $inverted-text-color;
3786 margin-bottom: 20px;
3790 color: $highlight-text-color;
3795 color: lighten($highlight-text-color, 4%);
3805 color: $lighter-text-color;
3807 margin-bottom: 10px;
3815 background: $ui-base-color;
3816 color: $secondary-text-color;
3821 @each $lang in $cjk-langs {
3830 .onboarding-modal__page__wrapper-0 {
3831 background: url('../images/elephant_ui_greeting.svg') no-repeat left bottom / auto 250px;
3836 .onboarding-modal__page-one {
3841 margin-bottom: 10px;
3855 padding-right: 65px;
3856 padding-left: 185px;
3864 margin-bottom: 15px;
3868 color: $inverted-text-color;
3870 text-transform: uppercase;
3875 background: $ui-base-color;
3876 color: $secondary-text-color;
3883 .onboarding-modal__page-two,
3884 .onboarding-modal__page-three,
3885 .onboarding-modal__page-four,
3886 .onboarding-modal__page-five {
3892 background: darken($ui-base-color, 8%);
3893 color: $secondary-text-color;
3894 margin-bottom: 20px;
3899 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.3);
3901 .onboarding-modal__image {
3903 margin-bottom: 10px;
3907 pointer-events: none;
3913 .onboarding-modal__page-four__columns {
3916 margin-bottom: 20px;
3941 color: $primary-text-color;
3945 @media screen and (max-width: 320px) and (max-height: 600px) {
3946 .onboarding-modal__page p {
3951 .onboarding-modal__page-two .figure,
3952 .onboarding-modal__page-three .figure,
3953 .onboarding-modal__page-four .figure,
3954 .onboarding-modal__page-five .figure {
3956 margin-bottom: 10px;
3959 .onboarding-modal__page-four__columns .row {
3960 margin-bottom: 10px;
3963 .onboarding-modal__page-four__columns .column-header {
3970 display: inline-block;
3977 .confirmation-modal,
3981 background: lighten($ui-secondary-color, 8%);
3982 color: $inverted-text-color;
3988 flex-direction: column;
3990 .status__display-name {
3993 padding-right: 25px;
4004 .status__content__spoiler-link {
4005 color: lighten($secondary-text-color, 8%);
4012 border-bottom-color: $ui-secondary-color;
4014 padding-bottom: 10px;
4017 .dropdown-menu__separator {
4018 border-bottom-color: $ui-secondary-color;
4022 .boost-modal__container {
4032 .boost-modal__action-bar,
4033 .confirmation-modal__action-bar,
4034 .mute-modal__action-bar {
4036 justify-content: space-between;
4037 background: $ui-secondary-color;
4044 color: $lighter-text-color;
4045 padding-right: 10px;
4053 .boost-modal__status-header {
4057 .boost-modal__status-time {
4062 .confirmation-modal {
4065 @media screen and (min-width: 480px) {
4074 .mute-modal .react-toggle {
4075 vertical-align: middle;
4083 .report-modal__container {
4085 border-top: 1px solid $ui-secondary-color;
4087 @media screen and (max-width: 480px) {
4093 .report-modal__statuses,
4094 .report-modal__comment {
4095 box-sizing: border-box;
4098 @media screen and (max-width: 480px) {
4103 .report-modal__statuses {
4110 .status__content a {
4111 color: $highlight-text-color;
4114 @media screen and (max-width: 480px) {
4119 .report-modal__comment {
4121 border-right: 1px solid $ui-secondary-color;
4127 margin-bottom: 20px;
4132 box-sizing: border-box;
4135 color: $inverted-text-color;
4138 font-family: inherit;
4144 border: 1px solid $ui-secondary-color;
4145 margin-bottom: 20px;
4148 border: 1px solid darken($ui-secondary-color, 8%);
4154 margin-bottom: 24px;
4157 color: $inverted-text-color;
4162 @media screen and (max-width: 480px) {
4182 .actions-modal__item-label {
4196 color: $inverted-text-color;
4200 align-items: center;
4201 text-decoration: none;
4214 background: $ui-highlight-color;
4215 color: $primary-text-color;
4219 button:first-child {
4227 .confirmation-modal__action-bar,
4228 .mute-modal__action-bar {
4229 .confirmation-modal__cancel-button,
4230 .mute-modal__cancel-button {
4231 background-color: transparent;
4232 color: $lighter-text-color;
4239 color: darken($lighter-text-color, 4%);
4244 .confirmation-modal__container,
4245 .mute-modal__container,
4246 .report-modal__target {
4254 @each $lang in $cjk-langs {
4262 .report-modal__target {
4265 .media-modal__close {
4272 background-color: $highlight-text-color;
4279 .media-gallery__gifv__label {
4282 color: $primary-text-color;
4283 background: rgba($base-overlay-background, 0.5);
4291 pointer-events: none;
4293 transition: opacity 0.1s ease;
4296 .media-gallery__gifv {
4298 .media-gallery__gifv__label {
4304 .media-gallery__gifv__label {
4313 border: 1px solid lighten($ui-base-color, 8%);
4320 color: $dark-text-color;
4323 border-right: 1px solid lighten($ui-base-color, 8%);
4325 flex-direction: column;
4326 align-items: center;
4327 justify-content: center;
4340 flex-direction: column;
4341 justify-content: center;
4349 text-decoration: none;
4350 color: $dark-text-color;
4354 text-decoration: underline;
4363 .attachment-list__list {
4369 color: $dark-text-color;
4376 box-sizing: border-box;
4384 .media-gallery__item {
4386 box-sizing: border-box;
4394 .media-gallery__item-gifv-thumbnail {
4401 .media-gallery__item-thumbnail {
4404 text-decoration: none;
4405 color: $secondary-text-color;
4419 .media-gallery__gifv {
4426 .media-gallery__item-gifv-thumbnail {
4432 transform: translateY(-50%);
4437 .media-gallery__item-thumbnail-label {
4438 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4439 clip: rect(1px, 1px, 1px, 1px);
4443 /* End Media Gallery */
4445 /* Status Video Player */
4446 .status__video-player {
4447 background: $base-overlay-background;
4448 box-sizing: border-box;
4449 cursor: default; /* May not be needed */
4455 .status__video-player-video {
4460 transform: translateY(-50%);
4465 .status__video-player-expand,
4466 .status__video-player-mute {
4467 color: $primary-text-color;
4471 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4474 .status__video-player-spoiler {
4476 color: $primary-text-color;
4479 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4483 &.status__video-player-spoiler--visible {
4488 .status__video-player-expand {
4493 .status__video-player-mute {
4501 background: $base-shadow-color;
4516 width: 100% !important;
4517 height: 100% !important;
4521 max-width: 100% !important;
4522 max-height: 100% !important;
4523 width: 100% !important;
4524 height: 100% !important;
4530 object-fit: contain;
4533 transform: translateY(-50%);
4543 box-sizing: border-box;
4544 background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
4547 transition: opacity .1s ease;
4556 .video-player__controls {
4570 background: $base-overlay-background;
4571 color: $darker-text-color;
4573 pointer-events: none;
4577 pointer-events: auto;
4582 color: lighten($darker-text-color, 7%);
4600 justify-content: space-between;
4601 padding-bottom: 10px;
4606 white-space: nowrap;
4608 text-overflow: ellipsis;
4623 background: transparent;
4627 color: rgba($white, 0.75);
4650 display: inline-block;
4667 background: rgba($white, 0.35);
4682 background: lighten($ui-highlight-color, 8%);
4686 background: rgba($white, 0.2);
4698 transition: opacity .1s ease;
4699 background: lighten($ui-highlight-color, 8%);
4700 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
4701 pointer-events: none;
4709 .video-player__seek__handle {
4717 .video-player__buttons {
4720 padding-bottom: 10px;
4726 .media-spoiler-video {
4727 background-size: cover;
4728 background-repeat: no-repeat;
4729 background-position: center;
4737 .media-spoiler-video-play-icon {
4738 border-radius: 100px;
4739 color: rgba($primary-text-color, 0.8);
4745 transform: translate(-50%, -50%);
4747 /* End Video Player */
4749 .account-gallery__container {
4751 justify-content: center;
4756 .account-gallery__item {
4770 width: calc(100% - 4px);
4771 height: calc(100% - 4px);
4775 background-color: $base-overlay-background;
4776 background-size: cover;
4777 background-position: center;
4779 color: $darker-text-color;
4780 text-decoration: none;
4787 color: $secondary-text-color;
4794 background: rgba($base-overlay-background, 0.3);
4804 transform: translate(-50%, -50%);
4809 .account__section-headline {
4810 background: darken($ui-base-color, 4%);
4811 border-bottom: 1px solid lighten($ui-base-color, 8%);
4818 color: $darker-text-color;
4823 text-decoration: none;
4827 color: $secondary-text-color;
4838 transform: translateX(-50%);
4839 border-style: solid;
4840 border-width: 0 10px 10px;
4841 border-color: transparent transparent lighten($ui-base-color, 8%);
4846 border-color: transparent transparent $ui-base-color;
4852 ::-webkit-scrollbar-thumb {
4857 background: $simple-background-color;
4860 padding-bottom: 14px;
4862 color: $light-text-color;
4863 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
4866 text-transform: uppercase;
4867 color: $light-text-color;
4870 margin-bottom: 10px;
4878 margin-bottom: 10px;
4883 color: $inverted-text-color;
4893 animation: flicker 4s infinite;
4899 color: $secondary-text-color;
4903 color: $highlight-text-color;
4904 text-decoration: underline;
4907 text-decoration: none;
4913 @keyframes flicker {
4915 30% { opacity: 0.75; }
4916 100% { opacity: 1; }
4919 @media screen and (max-width: 630px) and (max-height: 400px) {
4925 will-change: margin-top;
4926 transition: margin-top $duration $delay;
4930 will-change: padding-bottom;
4931 transition: padding-bottom $duration $delay;
4936 will-change: margin-top, margin-left, width;
4937 transition: margin-top $duration $delay, margin-left $duration ($duration + $delay);
4940 & > .navigation-bar__profile-edit {
4941 will-change: margin-top;
4942 transition: margin-top $duration $delay;
4945 .navigation-bar__actions {
4946 & > .icon-button.close {
4947 will-change: opacity transform;
4948 transition: opacity $duration * 0.5 $delay,
4949 transform $duration $delay;
4952 & > .compose__action-bar .icon-button {
4953 will-change: opacity transform;
4954 transition: opacity $duration * 0.5 $delay + $duration * 0.5,
4955 transform $duration $delay;
4974 .navigation-bar__profile {
4978 .navigation-bar__profile-edit {
4983 .navigation-bar__actions {
4984 .icon-button.close {
4985 pointer-events: auto;
4987 transform: scale(1.0, 1.0) translate(0, 0);
4990 .compose__action-bar .icon-button {
4991 pointer-events: none;
4993 transform: scale(0.0, 1.0) translate(100%, 0);
5011 .embed-modal__container {
5015 margin-bottom: 15px;
5018 .embed-modal__html {
5020 box-sizing: border-box;
5025 font-family: 'mastodon-font-monospace', monospace;
5026 background: $ui-base-color;
5027 color: $primary-text-color;
5030 margin-bottom: 15px;
5032 &::-moz-focus-inner {
5036 &::-moz-focus-inner,
5039 outline: 0 !important;
5043 background: lighten($ui-base-color, 4%);
5046 @media screen and (max-width: 600px) {
5051 .embed-modal__iframe {
5060 .account__moved-note {
5062 padding-bottom: 16px;
5063 background: lighten($ui-base-color, 4%);
5064 border-top: 1px solid lighten($ui-base-color, 8%);
5065 border-bottom: 1px solid lighten($ui-base-color, 8%);
5070 color: $dark-text-color;
5073 padding-bottom: 4px;
5079 text-overflow: ellipsis;
5088 .detailed-status__display-avatar {
5092 .detailed-status__display-name {
5097 .column-inline-form {
5101 justify-content: flex-start;
5102 align-items: center;
5103 background: lighten($ui-base-color, 4%);
5131 background: rgba($base-overlay-background, 0.5);
5135 background: $ui-base-color;
5136 flex-direction: column;
5138 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5142 @media screen and (max-width: 420px) {
5148 background: lighten($ui-base-color, 13%);
5152 border-radius: 8px 8px 0 0;
5160 border-radius: 0 0 8px 8px;
5163 width: calc(100% - 60px);
5164 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5165 border-radius: 0 0 0 8px;
5173 .account__display-name {
5175 text-decoration: none;
5188 .focal-point-modal {
5215 transform: translate(-50%, -50%);
5216 background: url('../images/reticle.png') no-repeat 0 0;
5218 box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
5230 .floating-action-button {
5233 justify-content: center;
5234 align-items: center;
5239 background: darken($ui-highlight-color, 3%);
5244 text-decoration: none;
5245 box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
5250 background: lighten($ui-highlight-color, 7%);
5254 .account__header .roles {
5256 margin-bottom: 20px;
5260 .account__header .account__header__fields {
5264 margin: 20px -10px -20px;
5268 border-top: 1px solid lighten($ui-base-color, 8%);
5274 box-sizing: border-box;
5279 white-space: nowrap;
5280 text-overflow: ellipsis;
5284 color: $darker-text-color;
5285 background: darken($ui-base-color, 4%);
5293 color: $primary-text-color;
5294 background: $ui-base-color;
5300 color: $dark-text-color;
5301 background: lighten($ui-base-color, 2%);
5302 border-bottom: 1px solid darken($ui-base-color, 4%);
5309 display: inline-block;
5316 align-items: center;
5318 border-bottom: 1px solid lighten($ui-base-color, 8%);
5326 color: $dark-text-color;
5328 text-overflow: ellipsis;
5329 white-space: nowrap;
5336 color: $darker-text-color;
5337 text-decoration: none;
5342 text-overflow: ellipsis;
5343 white-space: nowrap;
5349 text-decoration: underline;
5362 color: $secondary-text-color;
5370 stroke: lighten($highlight-text-color, 6%) !important;