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;
44 background-color: $error-red;
50 background-color: $ui-primary-color;
61 outline: 0 !important;
67 &.button-alternative-2 {
75 &.button-alternative {
76 color: $inverted-text-color;
77 background: $ui-primary-color;
82 background-color: lighten($ui-primary-color, 4%);
86 &.button-alternative-2 {
87 background: $ui-base-lighter-color;
92 background-color: lighten($ui-base-lighter-color, 4%);
97 color: $darker-text-color;
98 background: transparent;
100 border: 1px solid $ui-primary-color;
105 border-color: lighten($ui-primary-color, 4%);
106 color: lighten($darker-text-color, 4%);
123 display: inline-block;
125 color: $action-button-color;
127 background: transparent;
129 transition: color 100ms ease-in;
134 color: lighten($action-button-color, 7%);
135 transition: color 200ms ease-out;
139 color: darken($action-button-color, 13%);
144 color: $highlight-text-color;
147 &::-moz-focus-inner {
154 outline: 0 !important;
158 color: $lighter-text-color;
163 color: darken($lighter-text-color, 7%);
167 color: lighten($lighter-text-color, 7%);
171 color: $highlight-text-color;
174 color: lighten($highlight-text-color, 13%);
180 box-sizing: content-box;
181 background: rgba($base-overlay-background, 0.6);
182 color: rgba($primary-text-color, 0.7);
187 background: rgba($base-overlay-background, 0.9);
193 color: $lighter-text-color;
195 background: transparent;
202 transition: color 100ms ease-in;
207 color: darken($lighter-text-color, 7%);
208 transition: color 200ms ease-out;
212 color: lighten($lighter-text-color, 20%);
217 color: $highlight-text-color;
220 &::-moz-focus-inner {
227 outline: 0 !important;
238 display: inline-block;
245 margin: 0 !important;
246 border: 0 !important;
247 padding: 0 !important;
249 height: 0 !important;
262 .compose-form__warning {
263 color: $inverted-text-color;
265 background: $ui-primary-color;
266 box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
273 color: $inverted-text-color;
276 @each $lang in $cjk-langs {
284 color: $lighter-text-color;
286 text-decoration: underline;
291 text-decoration: none;
296 .compose-form__autosuggest-wrapper {
299 .emoji-picker-dropdown {
306 .autosuggest-textarea,
313 transform-origin: bottom;
316 &.spoiler-input--visible {
322 .autosuggest-textarea__textarea,
323 .spoiler-input__input {
325 box-sizing: border-box;
328 color: $inverted-text-color;
329 background: $simple-background-color;
331 font-family: inherit;
341 @media screen and (max-width: 600px) {
346 .spoiler-input__input {
350 .autosuggest-textarea__textarea {
352 border-radius: 4px 4px 0 0;
354 padding-right: 10px + 22px;
357 @media screen and (max-width: 600px) {
358 height: 100px !important; // prevent auto-resize textarea
363 .autosuggest-textarea__suggestions {
364 box-sizing: border-box;
370 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
371 background: $ui-secondary-color;
372 border-radius: 0 0 4px 4px;
373 color: $inverted-text-color;
377 &.autosuggest-textarea__suggestions--visible {
382 .autosuggest-textarea__suggestions__item {
391 background: darken($ui-secondary-color, 10%);
395 .autosuggest-account,
400 justify-content: flex-start;
405 .autosuggest-account-icon,
406 .autosuggest-emoji img {
413 .autosuggest-account .display-name__account {
414 color: $lighter-text-color;
417 .compose-form__modifiers {
418 color: $inverted-text-color;
419 font-family: inherit;
421 background: $simple-background-color;
423 .compose-form__upload-wrapper {
427 .compose-form__uploads-wrapper {
434 .compose-form__upload {
440 background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
442 align-items: flex-start;
443 justify-content: space-between;
445 transition: opacity .1s ease;
449 color: $secondary-text-color;
453 font-family: inherit;
458 color: lighten($secondary-text-color, 7%);
473 box-sizing: border-box;
474 background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
477 transition: opacity .1s ease;
480 background: transparent;
481 color: $secondary-text-color;
486 font-family: inherit;
496 color: $secondary-text-color;
506 .compose-form__upload-thumbnail {
508 background-position: center;
509 background-size: cover;
510 background-repeat: no-repeat;
517 .compose-form__buttons-wrapper {
519 background: darken($simple-background-color, 8%);
520 border-radius: 0 0 4px 4px;
522 justify-content: space-between;
524 .compose-form__buttons {
527 .compose-form__upload-button-icon {
531 .compose-form__sensitive-button {
534 &.compose-form__sensitive-button--visible {
538 .compose-form__sensitive-button__icon {
545 box-sizing: content-box;
549 .character-counter__wrapper {
555 font-family: 'mastodon-font-sans-serif', sans-serif;
558 color: $lighter-text-color;
560 &.character-counter--over {
567 .compose-form__publish {
569 justify-content: flex-end;
572 .compose-form__publish-button-wrapper {
579 .no-reduce-motion .spoiler-input {
580 transition: height 0.4s ease, opacity 0.4s ease;
585 vertical-align: middle;
587 margin: -.2ex .15em .2ex;
599 background: $ui-primary-color;
603 .reply-indicator__header {
608 .reply-indicator__cancel {
613 .reply-indicator__display-name {
614 color: $inverted-text-color;
620 text-decoration: none;
623 .reply-indicator__display-avatar {
628 .status__content--with-action {
633 .reply-indicator__content {
636 word-wrap: break-word;
639 white-space: pre-wrap;
641 color: $primary-text-color;
647 &.status__content--with-spoiler {
650 .status__content__text {
651 white-space: pre-wrap;
670 color: $secondary-text-color;
671 text-decoration: none;
674 text-decoration: underline;
677 color: lighten($dark-text-color, 7%);
683 text-decoration: none;
686 text-decoration: underline;
692 color: $dark-text-color;
696 .status__content__spoiler-link {
697 background: $action-button-color;
700 background: lighten($action-button-color, 7%);
701 text-decoration: none;
704 &::-moz-focus-inner {
711 outline: 0 !important;
715 .status__content__text {
718 &.status__content__text--visible {
724 .status__content__spoiler-link {
725 display: inline-block;
727 background: transparent;
729 color: $inverted-text-color;
733 text-transform: uppercase;
736 vertical-align: middle;
739 .status__wrapper--filtered {
740 color: $dark-text-color;
744 line-height: inherit;
747 box-sizing: border-box;
750 border-bottom: 1px solid lighten($ui-base-color, 8%);
753 .status__prepend-icon-wrapper {
761 background: lighten($ui-base-color, 4%);
763 .status.status-direct {
764 background: lighten($ui-base-color, 12%);
767 background: transparent;
772 .detailed-status__action-bar {
773 background: lighten($ui-base-color, 8%);
783 border-bottom: 1px solid lighten($ui-base-color, 8%);
786 @supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
787 // Add margin to avoid Edge auto-hiding scrollbar appearing over content.
788 // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
789 padding-right: 26px; // 10px + 16px
798 animation: fade 150ms linear;
805 background: lighten($ui-base-color, 8%);
809 .status__relative-time {
810 color: $light-text-color;
813 .status__display-name {
814 color: $inverted-text-color;
819 color: $inverted-text-color;
823 color: $light-text-color;
828 color: $inverted-text-color;
831 color: $highlight-text-color;
834 a.status__content__spoiler-link {
835 color: $primary-text-color;
836 background: $ui-primary-color;
839 background: lighten($ui-primary-color, 8%);
846 .notification-favourite {
847 .status.status-direct {
848 background: transparent;
850 .icon-button.disabled {
851 color: lighten($action-button-color, 13%);
856 .status__relative-time {
857 color: $dark-text-color;
862 .status__display-name {
863 color: $dark-text-color;
866 .status__info .status__display-name {
877 border-bottom: 1px solid $ui-secondary-color;
880 .status-check-box__status {
881 margin: 10px 0 10px 10px;
898 .media-gallery__item-thumbnail {
904 .status-check-box-toggle {
908 justify-content: center;
914 color: $dark-text-color;
920 .status__display-name strong {
921 color: $dark-text-color;
927 text-overflow: ellipsis;
931 .status__action-bar {
937 display: inline-flex;
941 .status__action-bar-button {
946 display: inline-block;
950 color: $action-button-color;
955 .status__action-bar-button {
959 .status__action-bar-dropdown {
964 .detailed-status__action-bar-dropdown {
968 justify-content: center;
973 background: lighten($ui-base-color, 4%);
979 justify-content: space-between;
980 align-items: flex-start;
983 .detailed-status__meta {
998 .status__content__spoiler-link {
1009 .detailed-status__meta {
1011 color: $dark-text-color;
1016 .detailed-status__action-bar {
1017 background: lighten($ui-base-color, 4%);
1018 border-top: 1px solid lighten($ui-base-color, 8%);
1019 border-bottom: 1px solid lighten($ui-base-color, 8%);
1021 flex-direction: row;
1025 .detailed-status__link {
1027 text-decoration: none;
1030 .detailed-status__favorites,
1031 .detailed-status__reblogs {
1032 display: inline-block;
1038 .reply-indicator__content {
1039 color: $inverted-text-color;
1043 color: $lighter-text-color;
1049 border-bottom: 1px solid lighten($ui-base-color, 8%);
1051 .domain__domain-name {
1054 color: $primary-text-color;
1055 text-decoration: none;
1068 white-space: nowrap;
1073 border-bottom: 1px solid lighten($ui-base-color, 8%);
1079 .account__avatar-wrapper {
1084 .account__display-name {
1087 color: $darker-text-color;
1089 text-decoration: none;
1098 .account__avatar-wrapper {
1105 @include avatar-radius();
1109 display: inline-block;
1110 vertical-align: middle;
1115 a .account__avatar {
1119 .account__avatar-overlay {
1120 @include avatar-size(48px);
1123 @include avatar-radius();
1124 @include avatar-size(36px);
1128 @include avatar-radius();
1129 @include avatar-size(24px);
1138 .account__relationship {
1141 white-space: nowrap;
1146 background: lighten($ui-base-color, 4%);
1148 background-size: cover;
1149 background-position: center;
1155 .account__header__avatar {
1156 filter: grayscale(100%);
1159 .account__header__username {
1160 color: $secondary-text-color;
1165 background: rgba(lighten($ui-base-color, 4%), 0.9);
1169 .account__header__content {
1170 color: $secondary-text-color;
1173 .account__header__display-name {
1174 color: $primary-text-color;
1175 display: inline-block;
1181 text-overflow: ellipsis;
1184 .account__header__username {
1185 color: $highlight-text-color;
1189 margin-bottom: 10px;
1191 text-overflow: ellipsis;
1195 .account__disclaimer {
1197 border-top: 1px solid lighten($ui-base-color, 8%);
1198 color: $dark-text-color;
1203 @each $lang in $cjk-langs {
1213 text-decoration: underline;
1218 text-decoration: none;
1223 .account__header__content {
1224 color: $darker-text-color;
1229 word-wrap: break-word;
1232 margin-bottom: 20px;
1241 text-decoration: underline;
1244 text-decoration: none;
1249 .account__header__display-name {
1256 .account__action-bar {
1257 border-top: 1px solid lighten($ui-base-color, 8%);
1258 border-bottom: 1px solid lighten($ui-base-color, 8%);
1265 .account__action-bar-dropdown {
1269 vertical-align: middle;
1273 .dropdown__content.dropdown__right {
1287 .account__action-bar-links {
1294 .account__action-bar__tab {
1295 text-decoration: none;
1298 border-right: 1px solid lighten($ui-base-color, 8%);
1300 border-bottom: 4px solid transparent;
1303 border-bottom: 4px solid $ui-highlight-color;
1308 text-transform: uppercase;
1310 color: $darker-text-color;
1317 color: $primary-text-color;
1319 @each $lang in $cjk-langs {
1327 .account__header__avatar {
1328 background-size: 90px 90px;
1331 margin: 0 auto 10px;
1336 .account-authorize {
1339 .detailed-status__display-name {
1341 margin-bottom: 15px;
1346 .account-authorize__avatar {
1351 .status__display-name,
1352 .status__relative-time,
1353 .detailed-status__display-name,
1354 .detailed-status__datetime,
1355 .detailed-status__application,
1356 .account__display-name {
1357 text-decoration: none;
1360 .status__display-name,
1361 .account__display-name {
1363 color: $primary-text-color;
1373 .status__display-name,
1374 .reply-indicator__display-name,
1375 .detailed-status__display-name,
1376 a.account__display-name {
1378 text-decoration: underline;
1382 .account__display-name strong {
1385 text-overflow: ellipsis;
1388 .detailed-status__application,
1389 .detailed-status__datetime {
1393 .detailed-status__display-name {
1394 color: $secondary-text-color;
1397 margin-bottom: 15px;
1403 text-overflow: ellipsis;
1409 color: $primary-text-color;
1413 .detailed-status__display-avatar {
1428 .status__content a {
1429 color: $dark-text-color;
1432 .status__display-name strong {
1433 color: $dark-text-color;
1440 a.status__content__spoiler-link {
1441 background: $ui-base-lighter-color;
1442 color: $inverted-text-color;
1445 background: lighten($ui-base-lighter-color, 7%);
1446 text-decoration: none;
1451 .notification__message {
1452 margin: 0 10px 0 68px;
1455 color: $darker-text-color;
1460 color: $highlight-text-color;
1466 text-overflow: ellipsis;
1470 .notification__favourite-icon-wrapper {
1483 .notification__display-name {
1486 text-decoration: none;
1489 color: $primary-text-color;
1490 text-decoration: underline;
1498 text-overflow: ellipsis;
1499 white-space: nowrap;
1502 .display-name__html {
1506 .display-name__account {
1510 .status__relative-time,
1511 .detailed-status__datetime {
1513 text-decoration: underline;
1522 align-items: center;
1523 justify-content: center;
1524 flex-direction: column;
1526 .image-loader__preview-canvas {
1527 max-width: $media-modal-media-max-width;
1528 max-height: $media-modal-media-max-height;
1529 background: url('../images/void.png') repeat;
1530 object-fit: contain;
1537 &.image-loader--amorphous .image-loader__preview-canvas {
1547 align-items: center;
1548 justify-content: center;
1551 max-width: $media-modal-media-max-width;
1552 max-height: $media-modal-media-max-height;
1555 object-fit: contain;
1562 align-items: center;
1565 color: $darker-text-color;
1568 color: $secondary-text-color;
1576 text-decoration: none;
1579 .navigation-bar__actions {
1582 .icon-button.close {
1584 pointer-events: none;
1585 transform: scale(0.0, 1.0) translate(-100%, 0);
1589 .compose__action-bar .icon-button {
1590 pointer-events: auto;
1591 transform: scale(1.0, 1.0) translate(0, 0);
1597 .navigation-bar__profile {
1605 .navigation-bar__profile-account {
1609 text-overflow: ellipsis;
1612 .navigation-bar__profile-edit {
1614 text-decoration: none;
1618 display: inline-block;
1621 .dropdown__content {
1626 .dropdown-menu__separator {
1627 border-bottom: 1px solid darken($ui-secondary-color, 8%);
1628 margin: 5px 7px 6px;
1633 background: $ui-secondary-color;
1636 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
1643 transform-origin: 100% 50%;
1647 transform-origin: 50% 100%;
1651 transform-origin: 50% 0;
1655 transform-origin: 0 50%;
1659 .dropdown-menu__arrow {
1663 border: 0 solid transparent;
1668 border-width: 5px 0 5px 5px;
1669 border-left-color: $ui-secondary-color;
1675 border-width: 5px 7px 0;
1676 border-top-color: $ui-secondary-color;
1682 border-width: 0 7px 5px;
1683 border-bottom-color: $ui-secondary-color;
1689 border-width: 5px 5px 5px 0;
1690 border-right-color: $ui-secondary-color;
1694 .dropdown-menu__item {
1700 box-sizing: border-box;
1701 text-decoration: none;
1702 background: $ui-secondary-color;
1703 color: $inverted-text-color;
1705 text-overflow: ellipsis;
1706 white-space: nowrap;
1711 background: $ui-highlight-color;
1712 color: $secondary-text-color;
1718 .dropdown--active .dropdown__content {
1728 background: $ui-secondary-color;
1731 box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
1751 box-sizing: border-box;
1752 text-decoration: none;
1753 background: $ui-secondary-color;
1754 color: $inverted-text-color;
1756 text-overflow: ellipsis;
1757 white-space: nowrap;
1764 background: $ui-highlight-color;
1765 color: $secondary-text-color;
1771 vertical-align: middle;
1777 flex-direction: row;
1778 justify-content: flex-start;
1787 @media screen and (min-width: 360px) {
1792 .react-swipeable-view-container .columns-area {
1793 height: calc(100% - 20px) !important;
1797 .react-swipeable-view-container {
1806 .react-swipeable-view-container > * {
1808 align-items: center;
1809 justify-content: center;
1816 box-sizing: border-box;
1818 flex-direction: column;
1821 background: $ui-base-color;
1828 flex-direction: column;
1831 background: darken($ui-base-color, 7%);
1836 box-sizing: border-box;
1838 flex-direction: column;
1845 padding: 15px 5px 13px;
1846 color: $darker-text-color;
1847 text-decoration: none;
1850 border-bottom: 2px solid transparent;
1859 @media screen and (min-width: 360px) {
1865 .getting-started__wrapper,
1866 .getting-started__trends,
1868 margin-bottom: 10px;
1872 @media screen and (max-width: 630px) {
1880 flex-direction: column;
1884 .autosuggest-textarea__textarea {
1889 @media screen and (min-width: 631px) {
1906 padding-right: 10px;
1910 .columns-area > div {
1920 box-sizing: border-box;
1932 background: lighten($ui-base-color, 13%);
1933 box-sizing: border-box;
1936 flex-direction: column;
1943 background: $ui-base-color;
1947 .drawer__inner__mastodon {
1948 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;
1954 object-fit: contain;
1955 object-position: bottom left;
1958 pointer-events: none;
1965 background: lighten($ui-base-color, 13%);
1973 background: lighten($ui-base-color, 8%);
1974 margin-bottom: 10px;
1976 flex-direction: row;
1979 transition: background 100ms ease-in;
1982 background: lighten($ui-base-color, 3%);
1983 transition: background 200ms ease-out;
1990 background: lighten($ui-base-color, 8%);
1999 color: $primary-text-color;
2000 text-decoration: none;
2004 border-bottom: 2px solid lighten($ui-base-color, 8%);
2005 transition: all 50ms linear;
2013 border-bottom: 2px solid $highlight-text-color;
2014 color: $highlight-text-color;
2020 @media screen and (min-width: 631px) {
2021 background: lighten($ui-base-color, 14%);
2031 @media screen and (min-width: 600px) {
2039 @media screen and (min-width: 631px) {
2049 -webkit-overflow-scrolling: touch;
2050 will-change: transform; // improves perf in mobile Chrome
2052 &.optionally-scrollable {
2056 @supports(display: grid) { // hack to fix Chrome <57
2061 .scrollable.fullscreen {
2062 @supports(display: grid) { // hack to fix Chrome <57
2067 .column-back-button {
2068 background: lighten($ui-base-color, 4%);
2069 color: $highlight-text-color;
2073 line-height: inherit;
2082 text-decoration: underline;
2086 .column-header__back-button {
2087 background: lighten($ui-base-color, 4%);
2089 font-family: inherit;
2090 color: $highlight-text-color;
2092 white-space: nowrap;
2098 text-decoration: underline;
2102 padding: 0 15px 0 0;
2106 .column-back-button__icon {
2107 display: inline-block;
2111 .column-back-button--slim {
2115 .column-back-button--slim-button {
2126 display: inline-block;
2129 background-color: transparent;
2133 -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
2134 -webkit-tap-highlight-color: transparent;
2137 .react-toggle-screenreader-only {
2139 clip: rect(0 0 0 0);
2148 .react-toggle--disabled {
2149 cursor: not-allowed;
2151 transition: opacity 0.25s;
2154 .react-toggle-track {
2158 border-radius: 30px;
2159 background-color: $ui-base-color;
2160 transition: all 0.2s ease;
2163 .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
2164 background-color: darken($ui-base-color, 10%);
2167 .react-toggle--checked .react-toggle-track {
2168 background-color: $ui-highlight-color;
2171 .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
2172 background-color: lighten($ui-highlight-color, 10%);
2175 .react-toggle-track-check {
2182 margin-bottom: auto;
2186 transition: opacity 0.25s ease;
2189 .react-toggle--checked .react-toggle-track-check {
2191 transition: opacity 0.25s ease;
2194 .react-toggle-track-x {
2201 margin-bottom: auto;
2205 transition: opacity 0.25s ease;
2208 .react-toggle--checked .react-toggle-track-x {
2212 .react-toggle-thumb {
2213 transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
2219 border: 1px solid $ui-base-color;
2221 background-color: darken($simple-background-color, 2%);
2222 box-sizing: border-box;
2223 transition: all 0.25s ease;
2226 .react-toggle--checked .react-toggle-thumb {
2228 border-color: $ui-highlight-color;
2232 background: lighten($ui-base-color, 8%);
2233 color: $primary-text-color;
2237 text-decoration: none;
2240 background: lighten($ui-base-color, 11%);
2244 .column-link__icon {
2245 display: inline-block;
2249 .column-link__badge {
2250 display: inline-block;
2255 background: $ui-base-color;
2260 .column-subheading {
2261 background: $ui-base-color;
2262 color: $dark-text-color;
2266 text-transform: uppercase;
2270 .getting-started__wrapper,
2273 background: $ui-base-color;
2276 .getting-started__wrapper {
2285 color: $dark-text-color;
2293 margin-bottom: 10px;
2301 color: $dark-text-color;
2303 margin-bottom: 20px;
2306 color: $dark-text-color;
2307 text-decoration: underline;
2312 text-decoration: none;
2313 color: $darker-text-color;
2318 text-decoration: underline;
2324 background: $ui-base-color;
2327 @media screen and (max-height: 810px) {
2328 .trends__item:nth-child(3) {
2333 @media screen and (max-height: 720px) {
2334 .trends__item:nth-child(2) {
2339 @media screen and (max-height: 670px) {
2350 .keyboard-shortcuts {
2360 padding: 0 10px 8px;
2364 display: inline-block;
2366 background-color: lighten($ui-base-color, 8%);
2367 border: 1px solid darken($ui-base-color, 4%);
2372 color: $darker-text-color;
2373 background: transparent;
2375 border-bottom: 2px solid $ui-primary-color;
2376 box-sizing: border-box;
2378 font-family: inherit;
2379 margin-bottom: 10px;
2385 color: $primary-text-color;
2386 border-bottom-color: $highlight-text-color;
2389 @media screen and (max-width: 600px) {
2394 .no-reduce-motion button.icon-button i.fa-retweet {
2395 background-position: 0 0;
2397 transition: background-position 0.9s steps(10);
2398 transition-duration: 0s;
2399 vertical-align: middle;
2403 display: none !important;
2408 .no-reduce-motion button.icon-button.active i.fa-retweet {
2409 transition-duration: 0.9s;
2410 background-position: 0 100%;
2413 .reduce-motion button.icon-button i.fa-retweet {
2414 color: $action-button-color;
2415 transition: color 100ms ease-in;
2418 .reduce-motion button.icon-button.active i.fa-retweet {
2419 color: $highlight-text-color;
2425 border: 1px solid lighten($ui-base-color, 8%);
2427 color: $dark-text-color;
2429 text-decoration: none;
2439 justify-content: center;
2440 align-items: center;
2443 background: rgba($base-shadow-color, 0.6);
2448 justify-content: center;
2449 align-items: center;
2455 color: $primary-text-color;
2456 background: transparent;
2459 text-decoration: none;
2483 background: lighten($ui-base-color, 8%);
2487 .status-card-photo {
2490 text-decoration: none;
2496 .status-card-video {
2503 .status-card__title {
2507 color: $darker-text-color;
2509 text-overflow: ellipsis;
2510 white-space: nowrap;
2511 text-decoration: none;
2514 .status-card__content {
2517 padding: 14px 14px 14px 8px;
2520 .status-card__description {
2521 color: $darker-text-color;
2524 .status-card__host {
2530 .status-card__image {
2532 background: lighten($ui-base-color, 8%);
2536 .status-card.horizontal {
2539 .status-card__image {
2543 .status-card__image-image {
2544 border-radius: 4px 4px 0 0;
2547 .status-card__title {
2548 white-space: inherit;
2552 .status-card__image-image {
2553 border-radius: 4px 0 0 4px;
2559 background-size: cover;
2560 background-position: center center;
2565 color: $dark-text-color;
2566 background-color: transparent;
2570 line-height: inherit;
2573 box-sizing: border-box;
2576 text-decoration: none;
2579 background: lighten($ui-base-color, 2%);
2584 border-bottom: 1px solid lighten($ui-base-color, 8%);
2587 .regeneration-indicator {
2591 color: $dark-text-color;
2592 background: $ui-base-color;
2596 align-items: center;
2597 justify-content: center;
2602 background: transparent;
2607 background: url('../images/elephant_ui_working.svg') no-repeat center 0;
2610 background-size: contain;
2614 transform: translate(-50%, -50%);
2617 &.missing-indicator {
2618 padding-top: 20px + 48px;
2620 .regeneration-indicator__figure {
2621 background-image: url('../images/elephant_ui_disappointed.svg');
2630 margin-bottom: 10px;
2631 color: $dark-text-color;
2641 .column-header__wrapper {
2655 pointer-events: none;
2658 background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
2666 background: lighten($ui-base-color, 4%);
2677 padding: 15px 0 15px 15px;
2679 background: transparent;
2682 text-overflow: ellipsis;
2684 white-space: nowrap;
2688 & > .column-header__back-button {
2689 color: $highlight-text-color;
2693 box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
2695 .column-header__icon {
2696 color: $highlight-text-color;
2697 text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
2707 .column-header__buttons {
2712 .column-header__links .text-btn {
2716 .column-header__button {
2717 background: lighten($ui-base-color, 4%);
2719 color: $darker-text-color;
2725 color: lighten($darker-text-color, 7%);
2729 color: $primary-text-color;
2730 background: lighten($ui-base-color, 8%);
2733 color: $primary-text-color;
2734 background: lighten($ui-base-color, 8%);
2739 .column-header__collapsible {
2743 color: $darker-text-color;
2744 transition: max-height 150ms ease-in-out, opacity 300ms linear;
2758 background: transparent;
2760 border-top: 1px solid lighten($ui-base-color, 12%);
2765 .column-header__collapsible-inner {
2766 background: lighten($ui-base-color, 8%);
2770 .column-header__setting-btn {
2772 color: $darker-text-color;
2773 text-decoration: underline;
2777 .column-header__setting-arrows {
2780 .column-header__setting-btn {
2790 display: inline-block;
2792 font-family: inherit;
2796 background: transparent;
2800 .column-header__icon {
2801 display: inline-block;
2805 .loading-indicator {
2806 color: $dark-text-color;
2809 text-transform: uppercase;
2814 transform: translate(-50%, -50%);
2820 transform: translateX(-50%);
2821 margin: 82px 0 0 50%;
2822 white-space: nowrap;
2823 animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2827 .loading-indicator__figure {
2831 transform: translate(-50%, -50%);
2834 box-sizing: border-box;
2835 border: 0 solid lighten($ui-base-color, 26%);
2837 animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
2840 @keyframes loader-figure {
2844 background-color: lighten($ui-base-color, 26%);
2848 background-color: lighten($ui-base-color, 26%);
2854 background-color: transparent;
2864 background-color: transparent;
2868 @keyframes loader-label {
2869 0% { opacity: 0.25; }
2871 100% { opacity: 0.25; }
2874 .video-error-cover {
2875 align-items: center;
2876 background: $base-overlay-background;
2877 color: $primary-text-color;
2880 flex-direction: column;
2882 justify-content: center;
2890 background: $base-overlay-background;
2891 color: $darker-text-color;
2903 color: lighten($darker-text-color, 8%);
2907 .media-spoiler__warning {
2912 .media-spoiler__trigger {
2922 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
2926 &.spoiler-button--visible {
2931 .modal-container--preloader {
2932 background: lighten($ui-base-color, 8%);
2936 background: lighten($ui-base-color, 4%);
2937 border-top: 1px solid lighten($ui-base-color, 8%);
2938 border-bottom: 1px solid lighten($ui-base-color, 8%);
2940 flex-direction: row;
2944 .account--panel__button,
2945 .detailed-status__button {
2950 .column-settings__outer {
2951 background: lighten($ui-base-color, 8%);
2955 .column-settings__section {
2956 color: $darker-text-color;
2960 margin-bottom: 10px;
2963 .column-settings__row {
2965 margin-bottom: 15px;
2969 .account--follows-info {
2970 color: $primary-text-color;
2975 display: inline-block;
2976 vertical-align: top;
2977 background-color: rgba($base-overlay-background, 0.4);
2978 text-transform: uppercase;
2985 .account--muting-info {
2986 color: $primary-text-color;
2991 display: inline-block;
2992 vertical-align: top;
2993 background-color: rgba($base-overlay-background, 0.4);
2994 text-transform: uppercase;
3001 .account--action-button {
3012 .setting-toggle__label,
3013 .setting-meta__label {
3014 color: $darker-text-color;
3015 display: inline-block;
3016 margin-bottom: 14px;
3018 vertical-align: middle;
3021 .setting-meta__label {
3025 .empty-column-indicator,
3027 color: $dark-text-color;
3028 background: $ui-base-color;
3036 align-items: center;
3037 justify-content: center;
3039 @supports(display: grid) { // hack to fix Chrome <57
3044 color: $highlight-text-color;
3045 text-decoration: none;
3048 text-decoration: underline;
3054 flex-direction: column;
3057 @keyframes heartbeat {
3059 transform: scale(1);
3060 animation-timing-function: ease-out;
3064 transform: scale(0.91);
3065 animation-timing-function: ease-in;
3069 transform: scale(0.98);
3070 animation-timing-function: ease-out;
3074 transform: scale(0.87);
3075 animation-timing-function: ease-in;
3079 transform: scale(1);
3080 animation-timing-function: ease-out;
3084 .no-reduce-motion .pulse-loading {
3085 transform-origin: center center;
3086 animation: heartbeat 1.5s ease-in-out infinite both;
3089 @keyframes shake-bottom {
3092 transform: rotate(0deg);
3093 transform-origin: 50% 100%;
3097 transform: rotate(2deg);
3103 transform: rotate(-4deg);
3109 transform: rotate(4deg);
3113 transform: rotate(-2deg);
3117 transform: rotate(2deg);
3121 .no-reduce-motion .shake-bottom {
3122 transform-origin: 50% 100%;
3123 animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) 2s 2 both;
3126 .emoji-picker-dropdown__menu {
3127 background: $simple-background-color;
3129 box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
3133 .emoji-mart-scroll {
3134 transition: opacity 200ms ease;
3137 &.selecting .emoji-mart-scroll {
3142 .emoji-picker-dropdown__modifiers {
3149 .emoji-picker-dropdown__modifiers__menu {
3154 background: $simple-background-color;
3156 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
3164 background: transparent;
3169 background: rgba($ui-secondary-color, 0.4);
3180 background-repeat: no-repeat;
3185 align-items: center;
3186 background: rgba($base-overlay-background, 0.8);
3189 justify-content: center;
3199 pointer-events: none;
3203 .upload-area__drop {
3207 box-sizing: border-box;
3212 .upload-area__background {
3220 background: $ui-base-color;
3221 box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
3224 .upload-area__content {
3227 align-items: center;
3228 justify-content: center;
3229 color: $secondary-text-color;
3232 border: 2px dashed $ui-base-lighter-color;
3238 color: $lighter-text-color;
3249 text-transform: uppercase;
3255 .upload-progess__message {
3259 .upload-progress__backdrop {
3263 background: $ui-base-lighter-color;
3268 .upload-progress__tracker {
3273 background: $ui-highlight-color;
3288 outline: 0 !important;
3292 filter: grayscale(100%);
3311 .dropdown--active .emoji-button img {
3316 .privacy-dropdown__dropdown {
3318 background: $simple-background-color;
3319 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
3325 transform-origin: 50% 100%;
3329 transform-origin: 50% 0;
3333 .privacy-dropdown__option {
3334 color: $inverted-text-color;
3341 background: $ui-highlight-color;
3342 color: $primary-text-color;
3345 .privacy-dropdown__option__content {
3346 color: $primary-text-color;
3349 color: $primary-text-color;
3355 background: lighten($ui-highlight-color, 4%);
3359 .privacy-dropdown__option__icon {
3361 align-items: center;
3362 justify-content: center;
3366 .privacy-dropdown__option__content {
3368 color: $lighter-text-color;
3373 color: $inverted-text-color;
3375 @each $lang in $cjk-langs {
3383 .privacy-dropdown.active {
3384 .privacy-dropdown__value {
3385 background: $simple-background-color;
3386 border-radius: 4px 4px 0 0;
3387 box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
3394 background: $ui-highlight-color;
3397 color: $primary-text-color;
3402 &.top .privacy-dropdown__value {
3403 border-radius: 0 0 4px 4px;
3406 .privacy-dropdown__dropdown {
3408 box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
3418 box-sizing: border-box;
3423 padding-right: 30px;
3424 font-family: inherit;
3425 background: $ui-base-color;
3426 color: $darker-text-color;
3430 &::-moz-focus-inner {
3434 &::-moz-focus-inner,
3437 outline: 0 !important;
3441 background: lighten($ui-base-color, 4%);
3444 @media screen and (max-width: 600px) {
3450 &::-moz-focus-inner {
3454 &::-moz-focus-inner,
3456 outline: 0 !important;
3464 display: inline-block;
3466 transition: all 100ms linear;
3470 color: $secondary-text-color;
3472 pointer-events: none;
3475 pointer-events: auto;
3481 transform: rotate(90deg);
3484 pointer-events: none;
3485 transform: rotate(0deg);
3491 transform: rotate(0deg);
3492 color: $action-button-color;
3496 transform: rotate(90deg);
3500 color: lighten($action-button-color, 7%);
3505 .search-results__header {
3506 color: $dark-text-color;
3507 background: lighten($ui-base-color, 2%);
3514 display: inline-block;
3519 .search-results__section {
3523 background: darken($ui-base-color, 4%);
3524 border-bottom: 1px solid lighten($ui-base-color, 8%);
3530 color: $dark-text-color;
3533 display: inline-block;
3538 .account:last-child,
3539 & > div:last-child .status {
3544 .search-results__hashtag {
3547 color: $secondary-text-color;
3548 text-decoration: none;
3553 color: lighten($secondary-text-color, 4%);
3554 text-decoration: underline;
3560 transition: opacity 0.3s linear;
3561 will-change: opacity;
3565 .modal-root__overlay {
3571 background: rgba($base-overlay-background, 0.7);
3574 .modal-root__container {
3581 flex-direction: column;
3582 align-items: center;
3583 justify-content: center;
3584 align-content: space-around;
3586 pointer-events: none;
3590 .modal-root__modal {
3591 pointer-events: auto;
3607 .extended-video-player {
3611 align-items: center;
3612 justify-content: center;
3615 max-width: $media-modal-media-max-width;
3616 max-height: $media-modal-media-max-height;
3621 .media-modal__closer {
3629 .media-modal__navigation {
3635 pointer-events: none;
3636 transition: opacity 0.3s linear;
3637 will-change: opacity;
3640 pointer-events: auto;
3643 &.media-modal__navigation--hidden {
3647 pointer-events: none;
3653 background: rgba($base-overlay-background, 0.5);
3654 box-sizing: border-box;
3656 color: $primary-text-color;
3659 align-items: center;
3669 .media-modal__nav--left {
3673 .media-modal__nav--right {
3677 .media-modal__pagination {
3683 pointer-events: none;
3686 .media-modal__page-dot {
3687 display: inline-block;
3690 .media-modal__button {
3691 background-color: $primary-text-color;
3701 .media-modal__button--active {
3702 background-color: $highlight-text-color;
3705 .media-modal__close {
3715 background: $ui-secondary-color;
3716 color: $inverted-text-color;
3720 flex-direction: column;
3723 .onboarding-modal__pager {
3729 .react-swipeable-view-container > div {
3732 box-sizing: border-box;
3734 flex-direction: column;
3735 align-items: center;
3736 justify-content: center;
3742 .error-modal__body {
3755 box-sizing: border-box;
3758 flex-direction: column;
3759 align-items: center;
3760 justify-content: center;
3767 .error-modal__body {
3769 flex-direction: column;
3770 justify-content: center;
3771 align-items: center;
3775 @media screen and (max-width: 550px) {
3782 .onboarding-modal__pager {
3791 .onboarding-modal__paginator,
3792 .error-modal__footer {
3794 background: darken($ui-secondary-color, 8%);
3802 .onboarding-modal__nav,
3804 color: $lighter-text-color;
3809 line-height: inherit;
3813 background-color: transparent;
3818 color: darken($lighter-text-color, 4%);
3819 background-color: darken($ui-secondary-color, 16%);
3822 &.onboarding-modal__done,
3823 &.onboarding-modal__next {
3824 color: $inverted-text-color;
3829 color: lighten($inverted-text-color, 4%);
3835 .error-modal__footer {
3836 justify-content: center;
3839 .onboarding-modal__dots {
3842 align-items: center;
3843 justify-content: center;
3846 .onboarding-modal__dot {
3849 border-radius: 14px;
3850 background: darken($ui-secondary-color, 16%);
3855 background: darken($ui-secondary-color, 18%);
3860 background: darken($ui-secondary-color, 24%);
3864 .onboarding-modal__page__wrapper {
3865 pointer-events: none;
3869 &.onboarding-modal__page__wrapper--active {
3870 pointer-events: auto;
3874 .onboarding-modal__page {
3881 color: $inverted-text-color;
3882 margin-bottom: 20px;
3886 color: $highlight-text-color;
3891 color: lighten($highlight-text-color, 4%);
3901 color: $lighter-text-color;
3903 margin-bottom: 10px;
3911 background: $ui-base-color;
3912 color: $secondary-text-color;
3917 @each $lang in $cjk-langs {
3926 .onboarding-modal__page__wrapper-0 {
3927 background: url('../images/elephant_ui_greeting.svg') no-repeat left bottom / auto 250px;
3932 .onboarding-modal__page-one {
3937 margin-bottom: 10px;
3951 padding-right: 65px;
3952 padding-left: 185px;
3960 margin-bottom: 15px;
3964 color: $inverted-text-color;
3966 text-transform: uppercase;
3971 background: $ui-base-color;
3972 color: $secondary-text-color;
3979 .onboarding-modal__page-two,
3980 .onboarding-modal__page-three,
3981 .onboarding-modal__page-four,
3982 .onboarding-modal__page-five {
3988 background: darken($ui-base-color, 8%);
3989 color: $secondary-text-color;
3990 margin-bottom: 20px;
3995 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.3);
3997 .onboarding-modal__image {
3999 margin-bottom: 10px;
4003 pointer-events: none;
4009 .onboarding-modal__page-four__columns {
4012 margin-bottom: 20px;
4037 color: $primary-text-color;
4041 @media screen and (max-width: 320px) and (max-height: 600px) {
4042 .onboarding-modal__page p {
4047 .onboarding-modal__page-two .figure,
4048 .onboarding-modal__page-three .figure,
4049 .onboarding-modal__page-four .figure,
4050 .onboarding-modal__page-five .figure {
4052 margin-bottom: 10px;
4055 .onboarding-modal__page-four__columns .row {
4056 margin-bottom: 10px;
4059 .onboarding-modal__page-four__columns .column-header {
4066 display: inline-block;
4073 .confirmation-modal,
4077 background: lighten($ui-secondary-color, 8%);
4078 color: $inverted-text-color;
4084 flex-direction: column;
4086 .status__display-name {
4089 padding-right: 25px;
4100 .status__content__spoiler-link {
4101 color: lighten($secondary-text-color, 8%);
4108 border-bottom-color: $ui-secondary-color;
4110 padding-bottom: 10px;
4113 .dropdown-menu__separator {
4114 border-bottom-color: $ui-secondary-color;
4118 .boost-modal__container {
4128 .boost-modal__action-bar,
4129 .confirmation-modal__action-bar,
4130 .mute-modal__action-bar {
4132 justify-content: space-between;
4133 background: $ui-secondary-color;
4140 color: $lighter-text-color;
4141 padding-right: 10px;
4149 .boost-modal__status-header {
4153 .boost-modal__status-time {
4158 .confirmation-modal {
4161 @media screen and (min-width: 480px) {
4170 .mute-modal .react-toggle {
4171 vertical-align: middle;
4179 .report-modal__container {
4181 border-top: 1px solid $ui-secondary-color;
4183 @media screen and (max-width: 480px) {
4189 .report-modal__statuses,
4190 .report-modal__comment {
4191 box-sizing: border-box;
4194 @media screen and (max-width: 480px) {
4199 .report-modal__statuses {
4206 .status__content a {
4207 color: $highlight-text-color;
4210 .status__content p {
4211 color: $inverted-text-color;
4214 @media screen and (max-width: 480px) {
4219 .report-modal__comment {
4221 border-right: 1px solid $ui-secondary-color;
4227 margin-bottom: 20px;
4232 box-sizing: border-box;
4235 color: $inverted-text-color;
4238 font-family: inherit;
4244 border: 1px solid $ui-secondary-color;
4245 margin-bottom: 20px;
4248 border: 1px solid darken($ui-secondary-color, 8%);
4254 margin-bottom: 24px;
4257 color: $inverted-text-color;
4262 @media screen and (max-width: 480px) {
4282 .actions-modal__item-label {
4296 color: $inverted-text-color;
4300 align-items: center;
4301 text-decoration: none;
4314 background: $ui-highlight-color;
4315 color: $primary-text-color;
4319 button:first-child {
4327 .confirmation-modal__action-bar,
4328 .mute-modal__action-bar {
4329 .confirmation-modal__cancel-button,
4330 .mute-modal__cancel-button {
4331 background-color: transparent;
4332 color: $lighter-text-color;
4339 color: darken($lighter-text-color, 4%);
4344 .confirmation-modal__container,
4345 .mute-modal__container,
4346 .report-modal__target {
4354 @each $lang in $cjk-langs {
4362 .report-modal__target {
4365 .media-modal__close {
4372 background-color: $highlight-text-color;
4379 .media-gallery__gifv__label {
4382 color: $primary-text-color;
4383 background: rgba($base-overlay-background, 0.5);
4391 pointer-events: none;
4393 transition: opacity 0.1s ease;
4396 .media-gallery__gifv {
4398 .media-gallery__gifv__label {
4404 .media-gallery__gifv__label {
4413 border: 1px solid lighten($ui-base-color, 8%);
4420 color: $dark-text-color;
4423 border-right: 1px solid lighten($ui-base-color, 8%);
4425 flex-direction: column;
4426 align-items: center;
4427 justify-content: center;
4440 flex-direction: column;
4441 justify-content: center;
4449 text-decoration: none;
4450 color: $dark-text-color;
4454 text-decoration: underline;
4463 .attachment-list__list {
4469 color: $dark-text-color;
4476 box-sizing: border-box;
4484 .media-gallery__item {
4486 box-sizing: border-box;
4494 .media-gallery__item-gifv-thumbnail {
4501 .media-gallery__item-thumbnail {
4504 text-decoration: none;
4505 color: $secondary-text-color;
4519 .media-gallery__gifv {
4526 .media-gallery__item-gifv-thumbnail {
4532 transform: translateY(-50%);
4537 .media-gallery__item-thumbnail-label {
4538 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
4539 clip: rect(1px, 1px, 1px, 1px);
4543 /* End Media Gallery */
4545 /* Status Video Player */
4546 .status__video-player {
4547 background: $base-overlay-background;
4548 box-sizing: border-box;
4549 cursor: default; /* May not be needed */
4555 .status__video-player-video {
4560 transform: translateY(-50%);
4565 .status__video-player-expand,
4566 .status__video-player-mute {
4567 color: $primary-text-color;
4571 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4574 .status__video-player-spoiler {
4576 color: $primary-text-color;
4579 text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
4583 &.status__video-player-spoiler--visible {
4588 .status__video-player-expand {
4593 .status__video-player-mute {
4601 background: $base-shadow-color;
4616 width: 100% !important;
4617 height: 100% !important;
4621 max-width: 100% !important;
4622 max-height: 100% !important;
4623 width: 100% !important;
4624 height: 100% !important;
4630 object-fit: contain;
4633 transform: translateY(-50%);
4643 box-sizing: border-box;
4644 background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
4647 transition: opacity .1s ease;
4656 .video-player__controls {
4670 background: $base-overlay-background;
4671 color: $darker-text-color;
4673 pointer-events: none;
4677 pointer-events: auto;
4682 color: lighten($darker-text-color, 7%);
4700 justify-content: space-between;
4701 padding-bottom: 10px;
4706 white-space: nowrap;
4708 text-overflow: ellipsis;
4723 background: transparent;
4727 color: rgba($white, 0.75);
4750 display: inline-block;
4767 background: rgba($white, 0.35);
4782 background: lighten($ui-highlight-color, 8%);
4786 background: rgba($white, 0.2);
4798 transition: opacity .1s ease;
4799 background: lighten($ui-highlight-color, 8%);
4800 box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
4801 pointer-events: none;
4809 .video-player__seek__handle {
4817 .video-player__buttons {
4820 padding-bottom: 10px;
4826 .media-spoiler-video {
4827 background-size: cover;
4828 background-repeat: no-repeat;
4829 background-position: center;
4837 .media-spoiler-video-play-icon {
4838 border-radius: 100px;
4839 color: rgba($primary-text-color, 0.8);
4845 transform: translate(-50%, -50%);
4847 /* End Video Player */
4849 .account-gallery__container {
4851 justify-content: center;
4856 .account-gallery__item {
4870 width: calc(100% - 4px);
4871 height: calc(100% - 4px);
4875 background-color: $base-overlay-background;
4876 background-size: cover;
4877 background-position: center;
4879 color: $darker-text-color;
4880 text-decoration: none;
4887 color: $secondary-text-color;
4894 background: rgba($base-overlay-background, 0.3);
4904 transform: translate(-50%, -50%);
4909 .account__section-headline {
4910 background: darken($ui-base-color, 4%);
4911 border-bottom: 1px solid lighten($ui-base-color, 8%);
4918 color: $darker-text-color;
4923 text-decoration: none;
4927 color: $secondary-text-color;
4938 transform: translateX(-50%);
4939 border-style: solid;
4940 border-width: 0 10px 10px;
4941 border-color: transparent transparent lighten($ui-base-color, 8%);
4946 border-color: transparent transparent $ui-base-color;
4952 ::-webkit-scrollbar-thumb {
4957 background: $simple-background-color;
4960 padding-bottom: 14px;
4962 color: $light-text-color;
4963 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
4966 text-transform: uppercase;
4967 color: $light-text-color;
4970 margin-bottom: 10px;
4978 margin-bottom: 10px;
4983 color: $inverted-text-color;
4993 animation: flicker 4s infinite;
4999 color: $secondary-text-color;
5003 color: $highlight-text-color;
5004 text-decoration: underline;
5007 text-decoration: none;
5013 @keyframes flicker {
5015 30% { opacity: 0.75; }
5016 100% { opacity: 1; }
5019 @media screen and (max-width: 630px) and (max-height: 400px) {
5025 will-change: margin-top;
5026 transition: margin-top $duration $delay;
5030 will-change: padding-bottom;
5031 transition: padding-bottom $duration $delay;
5036 will-change: margin-top, margin-left, margin-right, width;
5037 transition: margin-top $duration $delay, margin-left $duration ($duration + $delay), margin-right $duration ($duration + $delay);
5040 & > .navigation-bar__profile-edit {
5041 will-change: margin-top;
5042 transition: margin-top $duration $delay;
5045 .navigation-bar__actions {
5046 & > .icon-button.close {
5047 will-change: opacity transform;
5048 transition: opacity $duration * 0.5 $delay,
5049 transform $duration $delay;
5052 & > .compose__action-bar .icon-button {
5053 will-change: opacity transform;
5054 transition: opacity $duration * 0.5 $delay + $duration * 0.5,
5055 transform $duration $delay;
5070 margin: -100px 10px 0 -50px;
5073 .navigation-bar__profile {
5077 .navigation-bar__profile-edit {
5082 .navigation-bar__actions {
5083 .icon-button.close {
5084 pointer-events: auto;
5086 transform: scale(1.0, 1.0) translate(0, 0);
5090 .compose__action-bar .icon-button {
5091 pointer-events: none;
5093 transform: scale(0.0, 1.0) translate(100%, 0);
5111 .embed-modal__container {
5115 margin-bottom: 15px;
5118 .embed-modal__html {
5120 box-sizing: border-box;
5125 font-family: 'mastodon-font-monospace', monospace;
5126 background: $ui-base-color;
5127 color: $primary-text-color;
5130 margin-bottom: 15px;
5132 &::-moz-focus-inner {
5136 &::-moz-focus-inner,
5139 outline: 0 !important;
5143 background: lighten($ui-base-color, 4%);
5146 @media screen and (max-width: 600px) {
5151 .embed-modal__iframe {
5160 .account__moved-note {
5162 padding-bottom: 16px;
5163 background: lighten($ui-base-color, 4%);
5164 border-top: 1px solid lighten($ui-base-color, 8%);
5165 border-bottom: 1px solid lighten($ui-base-color, 8%);
5170 color: $dark-text-color;
5173 padding-bottom: 4px;
5179 text-overflow: ellipsis;
5188 .detailed-status__display-avatar {
5192 .detailed-status__display-name {
5197 .column-inline-form {
5201 justify-content: flex-start;
5202 align-items: center;
5203 background: lighten($ui-base-color, 4%);
5231 background: rgba($base-overlay-background, 0.5);
5235 background: $ui-base-color;
5236 flex-direction: column;
5238 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5242 @media screen and (max-width: 420px) {
5248 background: lighten($ui-base-color, 13%);
5252 border-radius: 8px 8px 0 0;
5260 border-radius: 0 0 8px 8px;
5263 width: calc(100% - 60px);
5264 box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
5265 border-radius: 0 0 0 8px;
5273 .account__display-name {
5275 text-decoration: none;
5288 .focal-point-modal {
5315 transform: translate(-50%, -50%);
5316 background: url('../images/reticle.png') no-repeat 0 0;
5318 box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
5330 .floating-action-button {
5333 justify-content: center;
5334 align-items: center;
5339 background: darken($ui-highlight-color, 3%);
5344 text-decoration: none;
5345 box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
5350 background: lighten($ui-highlight-color, 7%);
5354 .account__header .roles {
5356 margin-bottom: 20px;
5360 .account__header .account__header__fields {
5364 margin: 20px -10px -20px;
5369 border-top: 1px solid lighten($ui-base-color, 4%);
5376 box-sizing: border-box;
5381 white-space: nowrap;
5382 text-overflow: ellipsis;
5386 color: $darker-text-color;
5387 background: darken($ui-base-color, 4%);
5395 color: $primary-text-color;
5396 background: $ui-base-color;
5399 border: 1px solid rgba($valid-value-color, 0.5);
5400 background: rgba($valid-value-color, 0.25);
5407 color: $dark-text-color;
5408 background: lighten($ui-base-color, 2%);
5409 border-bottom: 1px solid darken($ui-base-color, 4%);
5416 display: inline-block;
5423 align-items: center;
5425 border-bottom: 1px solid lighten($ui-base-color, 8%);
5433 color: $dark-text-color;
5435 text-overflow: ellipsis;
5436 white-space: nowrap;
5443 color: $darker-text-color;
5444 text-decoration: none;
5449 text-overflow: ellipsis;
5450 white-space: nowrap;
5456 text-decoration: underline;
5469 color: $secondary-text-color;
5477 stroke: lighten($highlight-text-color, 6%) !important;