|
|
|
@ -931,6 +931,255 @@ body > [data-popper-placement] {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.translate-button {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
border: 0;
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler-icon {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-inline-start: 5px;
|
|
|
|
|
border-inline-start: 1px solid currentColor;
|
|
|
|
|
padding: 0;
|
|
|
|
|
padding-inline-start: 4px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__wrapper--filtered {
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
border: 0;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
clear: both;
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
|
display: inline;
|
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
|
border: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
padding: 0;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:active {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.focusable {
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: 0;
|
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
|
|
&.status.status-direct {
|
|
|
|
|
background: mix(lighten($ui-base-color, 4%), $ui-highlight-color, 95%);
|
|
|
|
|
|
|
|
|
|
&.muted {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
padding: 10px 14px;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: auto;
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
cursor: auto;
|
|
|
|
|
|
|
|
|
|
@supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
|
|
|
|
|
// Add margin to avoid Edge auto-hiding scrollbar appearing over content.
|
|
|
|
|
// On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
|
|
|
|
|
padding-inline-end: 28px; // 12px + 16px
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fade {
|
|
|
|
|
0% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
animation: fade 150ms linear;
|
|
|
|
|
|
|
|
|
|
.video-player,
|
|
|
|
|
.audio-player {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.status-direct {
|
|
|
|
|
background: mix($ui-base-color, $ui-highlight-color, 95%);
|
|
|
|
|
border-bottom-color: lighten($ui-base-color, 12%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.light {
|
|
|
|
|
.status__relative-time {
|
|
|
|
|
color: $lighter-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__display-name {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
|
color: $light-text-color;
|
|
|
|
|
|
|
|
|
|
strong {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
|
color: $primary-text-color;
|
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
|
|
&.has-background::before {
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset-inline-start: 0;
|
|
|
|
|
inset-inline-end: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background-image: linear-gradient(
|
|
|
|
|
to bottom,
|
|
|
|
|
rgba($base-shadow-color, 0.75),
|
|
|
|
|
rgba($base-shadow-color, 0.65) 24px,
|
|
|
|
|
rgba($base-shadow-color, 0.8)
|
|
|
|
|
);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
content: '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.display-name:hover .display-name__html {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
|
height: 20px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
inset-inline-start: 0;
|
|
|
|
|
inset-inline-end: 0;
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba($ui-base-color, 0),
|
|
|
|
|
rgba($ui-base-color, 1)
|
|
|
|
|
);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:focus > .status__content::after {
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba(lighten($ui-base-color, 4%), 0),
|
|
|
|
|
rgba(lighten($ui-base-color, 4%), 1)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.status-direct > .status__content::after {
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 0),
|
|
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 1)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__info .notification__message > span {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
|
margin: -10px 0 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__relative-time {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
text-align: end;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.compose-form__textarea-icons {
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
@ -1966,74 +2215,6 @@ $ui-header-height: 55px;
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detailed-status {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
|
|
.media-gallery,
|
|
|
|
|
.video-player,
|
|
|
|
|
.audio-player {
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.account__header__bar {
|
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.navigation-bar,
|
|
|
|
|
.compose-form {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.compose-form .compose-form__publish .compose-form__publish-button-wrapper {
|
|
|
|
|
padding-top: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification__report {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
padding-inline-start: (48px + 15px * 2);
|
|
|
|
|
min-height: 48px + 2px;
|
|
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
|
inset-inline-start: 15px;
|
|
|
|
|
top: 17px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
min-height: 48px + 2px;
|
|
|
|
|
|
|
|
|
|
.media-gallery,
|
|
|
|
|
&__action-bar,
|
|
|
|
|
.video-player,
|
|
|
|
|
.audio-player {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.account {
|
|
|
|
|
padding: 15px 10px;
|
|
|
|
|
|
|
|
|
|
&__header__bio {
|
|
|
|
|
margin: 0 -10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification {
|
|
|
|
|
&__message {
|
|
|
|
|
padding-top: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.account {
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
|
|
|
@ -4761,400 +4942,161 @@ a.status-card.compact:hover {
|
|
|
|
|
&__icon-wrapper {
|
|
|
|
|
inset-inline-start: -26px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detailed-status__display-avatar {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes spring-flip-in {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
30% {
|
|
|
|
|
transform: rotate(-242.4deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
60% {
|
|
|
|
|
transform: rotate(-158.35deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
90% {
|
|
|
|
|
transform: rotate(-187.5deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes spring-flip-out {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
30% {
|
|
|
|
|
transform: rotate(62.4deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
60% {
|
|
|
|
|
transform: rotate(-21.635deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
90% {
|
|
|
|
|
transform: rotate(7.5deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
padding-top: 5px;
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin: -3px 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p,
|
|
|
|
|
pre {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
unicode-bidi: plaintext;
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: $secondary-text-color;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.mention {
|
|
|
|
|
&:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler {
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
|
|
&.status__content__spoiler--visible {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.unhandled-link {
|
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
|
|
.link-origin-tag {
|
|
|
|
|
color: $gold-star;
|
|
|
|
|
font-size: 0.8em;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.translate-button {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
border: 0;
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content__spoiler-icon {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-inline-start: 5px;
|
|
|
|
|
border-inline-start: 1px solid currentColor;
|
|
|
|
|
padding: 0;
|
|
|
|
|
padding-inline-start: 4px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notif-cleaning {
|
|
|
|
|
.status,
|
|
|
|
|
.notification {
|
|
|
|
|
padding-inline-end: ($dismiss-overlay-width + 0.5rem);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__wrapper--filtered {
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
border: 0;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
clear: both;
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
|
display: inline;
|
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
|
border: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
padding: 0;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&:active {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__prepend-icon-wrapper {
|
|
|
|
|
inset-inline-start: -26px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification-follow,
|
|
|
|
|
.notification-follow-request {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// same like Status
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
.detailed-status__display-avatar {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.account {
|
|
|
|
|
border-bottom: 0 none;
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.focusable {
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: 0;
|
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
@keyframes spring-flip-in {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.status.status-direct {
|
|
|
|
|
background: mix(lighten($ui-base-color, 4%), $ui-highlight-color, 95%);
|
|
|
|
|
30% {
|
|
|
|
|
transform: rotate(-242.4deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.muted {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
60% {
|
|
|
|
|
transform: rotate(-158.35deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
|
}
|
|
|
|
|
90% {
|
|
|
|
|
transform: rotate(-187.5deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
padding: 10px 14px;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: auto;
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
cursor: auto;
|
|
|
|
|
@keyframes spring-flip-out {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
|
|
|
|
|
// Add margin to avoid Edge auto-hiding scrollbar appearing over content.
|
|
|
|
|
// On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
|
|
|
|
|
padding-inline-end: 28px; // 12px + 16px
|
|
|
|
|
30% {
|
|
|
|
|
transform: rotate(62.4deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fade {
|
|
|
|
|
0% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
60% {
|
|
|
|
|
transform: rotate(-21.635deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
90% {
|
|
|
|
|
transform: rotate(7.5deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
animation: fade 150ms linear;
|
|
|
|
|
100% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-player,
|
|
|
|
|
.audio-player {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
.status__content {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
padding-top: 5px;
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.status-direct {
|
|
|
|
|
background: mix($ui-base-color, $ui-highlight-color, 95%);
|
|
|
|
|
border-bottom-color: lighten($ui-base-color, 12%);
|
|
|
|
|
.emojione {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin: -3px 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.light {
|
|
|
|
|
.status__relative-time {
|
|
|
|
|
color: $lighter-text-color;
|
|
|
|
|
}
|
|
|
|
|
p,
|
|
|
|
|
pre {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
unicode-bidi: plaintext;
|
|
|
|
|
|
|
|
|
|
.status__display-name {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
|
color: $light-text-color;
|
|
|
|
|
a {
|
|
|
|
|
color: $secondary-text-color;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
|
|
|
|
|
|
strong {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
|
color: $primary-text-color;
|
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
&.mention {
|
|
|
|
|
&:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
|
span {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
user-select: none;
|
|
|
|
|
.status__content__spoiler {
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
|
|
&.has-background::before {
|
|
|
|
|
&.status__content__spoiler--visible {
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset-inline-start: 0;
|
|
|
|
|
inset-inline-end: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background-image: linear-gradient(
|
|
|
|
|
to bottom,
|
|
|
|
|
rgba($base-shadow-color, 0.75),
|
|
|
|
|
rgba($base-shadow-color, 0.65) 24px,
|
|
|
|
|
rgba($base-shadow-color, 0.8)
|
|
|
|
|
);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
content: '';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.display-name:hover .display-name__html {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
a.unhandled-link {
|
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
|
height: 20px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
.link-origin-tag {
|
|
|
|
|
color: $gold-star;
|
|
|
|
|
font-size: 0.8em;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
inset-inline-start: 0;
|
|
|
|
|
inset-inline-end: 0;
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba($ui-base-color, 0),
|
|
|
|
|
rgba($ui-base-color, 1)
|
|
|
|
|
);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:focus > .status__content::after {
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba(lighten($ui-base-color, 4%), 0),
|
|
|
|
|
rgba(lighten($ui-base-color, 4%), 1)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
.notif-cleaning {
|
|
|
|
|
.status,
|
|
|
|
|
.notification {
|
|
|
|
|
padding-inline-end: ($dismiss-overlay-width + 0.5rem);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.status-direct > .status__content::after {
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 0),
|
|
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 1)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
.status__prepend-icon-wrapper {
|
|
|
|
|
inset-inline-start: -26px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
.notification-follow,
|
|
|
|
|
.notification-follow-request {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
.status__info .notification__message > span {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// same like Status
|
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
|
margin: -10px 0 10px;
|
|
|
|
|
.account {
|
|
|
|
|
border-bottom: 0 none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -5168,16 +5110,6 @@ a.status-card.compact:hover {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__relative-time {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
text-align: end;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status__display-name {
|
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
overflow: hidden;
|
|
|
|
@ -6861,16 +6793,6 @@ img.modal-warning {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search {
|
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (width <= 630px) {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.media-gallery__item__badges {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 6px;
|
|
|
|
|