2019-10-24 22:47:48 +02:00
|
|
|
@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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__content--with-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
2018-01-14 00:47:59 +01:00
|
|
|
position: relative;
|
|
|
|
margin: 10px 0;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: 400;
|
2018-01-14 00:47:59 +01:00
|
|
|
overflow: visible;
|
|
|
|
padding-top: 5px;
|
2020-10-27 13:34:02 +01:00
|
|
|
clear: both;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -3px 0 0;
|
|
|
|
}
|
|
|
|
|
2023-02-13 04:57:03 +01:00
|
|
|
p,
|
2023-03-05 21:25:48 +01:00
|
|
|
pre {
|
2018-01-13 23:48:18 +01:00
|
|
|
margin-bottom: 20px;
|
2018-01-15 00:31:00 +01:00
|
|
|
white-space: pre-wrap;
|
2020-12-15 12:56:43 +01:00
|
|
|
unicode-bidi: plaintext;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $secondary-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
text-decoration: none;
|
2020-12-15 12:56:43 +01:00
|
|
|
unicode-bidi: isolate;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
.fa {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: lighten($dark-text-color, 7%);
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:47:59 +01:00
|
|
|
.status__content__spoiler {
|
2018-01-15 00:31:00 +01:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.status__content__spoiler--visible {
|
|
|
|
display: block;
|
2018-01-14 00:47:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-28 06:00:51 +02:00
|
|
|
a.unhandled-link {
|
2022-06-19 08:18:08 +02:00
|
|
|
color: $highlight-text-color;
|
2019-08-01 15:01:09 +02:00
|
|
|
|
|
|
|
.link-origin-tag {
|
|
|
|
color: $gold-star;
|
2019-08-01 16:29:45 +02:00
|
|
|
font-size: 0.8em;
|
2019-08-01 15:01:09 +02:00
|
|
|
}
|
2019-07-28 06:00:51 +02:00
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__content__spoiler-link {
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
2022-03-22 06:08:05 +01:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-01-13 23:48:18 +01:00
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-25 18:47:21 +02:00
|
|
|
.translate-button {
|
|
|
|
margin-top: 16px;
|
2022-01-19 22:37:27 +01:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
2022-10-25 18:47:21 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-01-19 22:37:27 +01:00
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__content__spoiler-link {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 2px;
|
2018-01-14 00:47:59 +01:00
|
|
|
background: lighten($ui-base-color, 30%);
|
2021-03-06 13:12:35 +01:00
|
|
|
border: 0;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $inverted-text-color;
|
2022-03-22 06:08:05 +01:00
|
|
|
font-weight: 700;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 11px;
|
2018-01-14 00:47:59 +01:00
|
|
|
padding: 0 5px;
|
2018-01-13 23:48:18 +01:00
|
|
|
text-transform: uppercase;
|
|
|
|
line-height: inherit;
|
|
|
|
cursor: pointer;
|
2022-03-22 06:08:05 +01:00
|
|
|
vertical-align: top;
|
2018-01-14 00:47:59 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content__spoiler-icon {
|
|
|
|
display: inline-block;
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-start: 5px;
|
|
|
|
border-inline-start: 1px solid currentColor;
|
|
|
|
padding: 0;
|
|
|
|
padding-inline-start: 4px;
|
2018-01-14 00:47:59 +01:00
|
|
|
font-size: 16px;
|
|
|
|
vertical-align: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notif-cleaning {
|
2019-12-01 17:25:29 +01:00
|
|
|
.status,
|
2023-07-23 18:50:24 +02:00
|
|
|
.notification {
|
2023-04-25 20:33:27 +02:00
|
|
|
padding-inline-end: ($dismiss-overlay-width + 0.5rem);
|
2018-01-14 00:47:59 +01:00
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
2018-07-08 20:04:53 +02:00
|
|
|
.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%);
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__prepend-icon-wrapper {
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: -26px;
|
2019-07-17 20:05:53 +02:00
|
|
|
position: absolute;
|
2018-01-14 00:47:59 +01:00
|
|
|
}
|
|
|
|
|
2019-12-01 17:25:29 +01:00
|
|
|
.notification-follow,
|
|
|
|
.notification-follow-request {
|
2018-01-14 00:47:59 +01:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// same like Status
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
.account {
|
|
|
|
border-bottom: 0 none;
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.focusable {
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
2020-09-15 17:58:05 +02:00
|
|
|
&.status.status-direct {
|
2023-06-11 13:33:45 +02:00
|
|
|
background: mix(lighten($ui-base-color, 4%), $ui-highlight-color, 95%);
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
&.muted {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status {
|
2018-06-21 21:40:34 +02:00
|
|
|
padding: 10px 14px;
|
2018-01-13 23:48:18 +01:00
|
|
|
position: relative;
|
2018-01-14 00:47:59 +01:00
|
|
|
height: auto;
|
2018-01-13 23:48:18 +01:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2020-07-01 13:52:05 +02:00
|
|
|
cursor: auto;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
@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.
|
2023-04-16 17:45:18 +02:00
|
|
|
padding-inline-end: 28px; // 12px + 16px
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade {
|
2023-02-13 04:57:03 +01:00
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2023-02-25 21:20:01 +01:00
|
|
|
|
2023-02-13 04:57:03 +01:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
animation: fade 150ms linear;
|
|
|
|
|
2019-08-23 22:38:02 +02:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2018-01-13 23:48:18 +01:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2020-09-15 17:58:05 +02:00
|
|
|
&.status-direct {
|
2023-06-11 13:33:45 +02:00
|
|
|
background: mix($ui-base-color, $ui-highlight-color, 95%);
|
2019-06-09 12:07:23 +02:00
|
|
|
border-bottom-color: lighten($ui-base-color, 12%);
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.light {
|
|
|
|
.status__relative-time {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $lighter-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $inverted-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
2020-03-31 12:39:50 +02:00
|
|
|
color: $light-text-color;
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
strong {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $inverted-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $inverted-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
|
|
|
a {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $highlight-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-14 03:13:55 +01:00
|
|
|
}
|
2018-01-14 00:47:59 +01:00
|
|
|
|
2018-01-14 03:13:55 +01:00
|
|
|
&.collapsed {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&.has-background::before {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 0;
|
|
|
|
inset-inline-end: 0;
|
2018-01-14 03:13:55 +01:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2023-02-13 04:57:03 +01:00
|
|
|
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)
|
|
|
|
);
|
2018-06-21 21:33:00 +02:00
|
|
|
pointer-events: none;
|
2023-02-13 04:57:03 +01:00
|
|
|
content: '';
|
2018-01-14 03:13:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.display-name:hover .display-name__html {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
height: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-03-22 15:10:04 +01:00
|
|
|
padding-top: 0;
|
2018-01-14 03:13:55 +01:00
|
|
|
|
2023-02-25 21:20:01 +01:00
|
|
|
&::after {
|
2023-02-13 04:57:03 +01:00
|
|
|
content: '';
|
2018-04-22 17:29:01 +02:00
|
|
|
position: absolute;
|
2021-03-06 13:12:35 +01:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 0;
|
|
|
|
inset-inline-end: 0;
|
2023-02-13 04:57:03 +01:00
|
|
|
background: linear-gradient(
|
|
|
|
rgba($ui-base-color, 0),
|
|
|
|
rgba($ui-base-color, 1)
|
|
|
|
);
|
2018-04-22 17:29:01 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-02-13 04:57:03 +01:00
|
|
|
|
2018-01-14 03:13:55 +01:00
|
|
|
a:hover {
|
2018-01-14 00:47:59 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2023-02-25 21:20:01 +01:00
|
|
|
|
|
|
|
&:focus > .status__content::after {
|
2023-02-13 04:57:03 +01:00
|
|
|
background: linear-gradient(
|
|
|
|
rgba(lighten($ui-base-color, 4%), 0),
|
|
|
|
rgba(lighten($ui-base-color, 4%), 1)
|
|
|
|
);
|
2018-04-24 17:31:26 +02:00
|
|
|
}
|
2023-02-25 21:20:01 +01:00
|
|
|
|
|
|
|
&.status-direct > .status__content::after {
|
2023-02-13 04:57:03 +01:00
|
|
|
background: linear-gradient(
|
2023-09-13 08:44:40 +02:00
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 0),
|
|
|
|
rgba(mix($ui-base-color, $ui-highlight-color, 95%), 1)
|
2023-02-13 04:57:03 +01:00
|
|
|
);
|
2018-04-24 17:31:26 +02:00
|
|
|
}
|
2018-03-22 15:10:04 +01:00
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__info .notification__message > span {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2018-01-14 03:13:55 +01:00
|
|
|
}
|
2018-01-14 00:47:59 +01:00
|
|
|
|
2018-01-14 03:13:55 +01:00
|
|
|
.notification__message {
|
2023-02-25 21:20:01 +01:00
|
|
|
margin: -10px 0 10px;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-favourite {
|
|
|
|
.status.status-direct {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.icon-button.disabled {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: lighten($action-button-color, 13%);
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__relative-time {
|
2018-01-14 00:47:59 +01:00
|
|
|
display: inline-block;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 14px;
|
2023-04-16 17:45:18 +02:00
|
|
|
text-align: end;
|
2018-01-14 00:47:59 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:47:59 +01:00
|
|
|
overflow: hidden;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
2018-03-13 01:57:28 +01:00
|
|
|
.status__info__account .status__display-name {
|
2018-01-13 23:48:18 +01:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__info {
|
2018-03-18 18:42:28 +01:00
|
|
|
display: flex;
|
2019-07-17 17:55:09 +02:00
|
|
|
justify-content: space-between;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 15px;
|
2018-03-19 04:49:30 +01:00
|
|
|
|
|
|
|
> span {
|
2018-03-22 15:10:04 +01:00
|
|
|
text-overflow: ellipsis;
|
2018-03-19 04:49:30 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-03-22 15:10:04 +01:00
|
|
|
|
|
|
|
.notification__message > span {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2018-01-14 00:47:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__info__icons {
|
2018-03-19 04:49:30 +01:00
|
|
|
display: flex;
|
2018-03-22 15:10:04 +01:00
|
|
|
align-items: center;
|
|
|
|
height: 1em;
|
2018-05-06 11:31:05 +02:00
|
|
|
color: $action-button-color;
|
2018-01-14 00:47:59 +01:00
|
|
|
|
2019-07-17 17:55:09 +02:00
|
|
|
.status__media-icon,
|
|
|
|
.status__visibility-icon,
|
2022-05-27 16:34:29 +02:00
|
|
|
.status__reply-icon,
|
|
|
|
.text-icon {
|
2023-04-16 17:45:18 +02:00
|
|
|
padding-inline-start: 2px;
|
|
|
|
padding-inline-end: 2px;
|
2018-01-14 00:47:59 +01:00
|
|
|
}
|
2019-10-24 22:47:48 +02:00
|
|
|
|
|
|
|
.status__collapse-button.active > .fa-angle-double-up {
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-reduce-motion .status__collapse-button {
|
|
|
|
&.activate {
|
|
|
|
& > .fa-angle-double-up {
|
|
|
|
animation: spring-flip-in 1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.deactivate {
|
|
|
|
& > .fa-angle-double-up {
|
|
|
|
animation: spring-flip-out 1s linear;
|
|
|
|
}
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
2018-03-13 01:57:28 +01:00
|
|
|
.status__info__account {
|
|
|
|
display: flex;
|
2019-03-28 14:51:40 +01:00
|
|
|
align-items: center;
|
2019-07-17 17:55:09 +02:00
|
|
|
justify-content: flex-start;
|
2018-03-13 01:57:28 +01:00
|
|
|
}
|
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
.status-check-box__status {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 10px;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
.detailed-status__display-name {
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
2018-03-12 19:43:31 +01:00
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
span {
|
|
|
|
display: inline;
|
2018-03-12 19:43:31 +01:00
|
|
|
}
|
2018-01-14 00:47:59 +01:00
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
&:hover strong {
|
|
|
|
text-decoration: none;
|
2018-03-12 19:43:31 +01:00
|
|
|
}
|
2022-02-23 20:03:46 +01:00
|
|
|
}
|
2018-03-12 19:43:31 +01:00
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
.media-gallery,
|
|
|
|
.audio-player,
|
|
|
|
.video-player {
|
2022-03-09 21:15:24 +01:00
|
|
|
margin-top: 15px;
|
2022-02-23 20:03:46 +01:00
|
|
|
max-width: 250px;
|
|
|
|
}
|
2018-03-12 19:43:31 +01:00
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
.status__content {
|
|
|
|
padding: 0;
|
|
|
|
white-space: normal;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
2022-02-23 20:03:46 +01:00
|
|
|
.media-gallery__item-thumbnail {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__prepend {
|
2022-10-28 08:47:10 +02:00
|
|
|
margin-top: -2px;
|
|
|
|
margin-bottom: 8px;
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-start: 58px;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-button {
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-end: 18px;
|
2020-10-04 15:02:36 +02:00
|
|
|
|
|
|
|
&.icon-button--with-counter {
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-end: 14px;
|
2020-10-04 15:02:36 +02:00
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-dropdown {
|
|
|
|
height: 23.15px;
|
|
|
|
width: 23.15px;
|
|
|
|
}
|
|
|
|
|
2022-12-23 18:59:20 +01:00
|
|
|
.status__action-bar-spacer {
|
2022-12-22 15:18:02 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.detailed-status__action-bar-dropdown {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 14px 10px;
|
2023-04-24 08:07:03 +02:00
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
2018-01-13 23:48:18 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&--flex {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.detailed-status__meta {
|
|
|
|
flex: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__content {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-23 22:38:02 +02:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2018-01-13 23:48:18 +01:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__meta {
|
|
|
|
margin-top: 15px;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__link {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2023-07-16 10:06:33 +02:00
|
|
|
white-space: nowrap;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__favorites,
|
|
|
|
.detailed-status__reblogs {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
2022-11-10 08:49:59 +01:00
|
|
|
line-height: 17px;
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-start: 6px;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name,
|
|
|
|
.status__relative-time,
|
|
|
|
.detailed-status__display-name,
|
|
|
|
.detailed-status__datetime,
|
|
|
|
.detailed-status__application,
|
|
|
|
.account__display-name {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name,
|
|
|
|
.account__display-name {
|
2023-03-25 08:46:32 +01:00
|
|
|
.display-name strong {
|
2018-01-13 23:48:18 +01:00
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.muted {
|
|
|
|
.emojione {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-09 12:07:23 +02:00
|
|
|
a.status__display-name,
|
2018-01-13 23:48:18 +01:00
|
|
|
.reply-indicator__display-name,
|
|
|
|
.detailed-status__display-name,
|
|
|
|
.account__display-name {
|
2023-03-25 08:46:32 +01:00
|
|
|
&:hover .display-name strong {
|
2018-01-13 23:48:18 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-25 08:46:32 +01:00
|
|
|
.account__display-name .display-name strong {
|
2018-01-13 23:48:18 +01:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__application,
|
|
|
|
.detailed-status__datetime {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__display-name {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $secondary-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
display: block;
|
|
|
|
line-height: 24px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
strong,
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 16px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__display-avatar {
|
|
|
|
float: left;
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-end: 10px;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
2018-01-14 00:47:59 +01:00
|
|
|
flex: none;
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-end: 10px;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.muted {
|
2019-09-29 16:54:24 +02:00
|
|
|
.status__content,
|
2018-01-13 23:48:18 +01:00
|
|
|
.status__content p,
|
2019-04-24 20:30:02 +02:00
|
|
|
.status__content a,
|
2019-05-12 19:11:08 +02:00
|
|
|
.status__content__text {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
background: $ui-base-lighter-color;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $inverted-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
2022-03-22 06:08:05 +01:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-01-13 23:48:18 +01:00
|
|
|
background: lighten($ui-base-color, 29%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__relative-time,
|
|
|
|
.detailed-status__datetime {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card {
|
2020-06-25 22:42:01 +02:00
|
|
|
position: relative;
|
2018-01-13 23:48:18 +01:00
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-radius: 4px;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $dark-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
margin-top: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-09-10 17:53:28 +02:00
|
|
|
&__actions {
|
|
|
|
bottom: 0;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 0;
|
2018-09-10 17:53:28 +02:00
|
|
|
position: absolute;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-end: 0;
|
2018-09-10 17:53:28 +02:00
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
background: rgba($base-shadow-color, 0.6);
|
2019-04-27 03:24:09 +02:00
|
|
|
border-radius: 8px;
|
2018-09-10 17:53:28 +02:00
|
|
|
padding: 12px 9px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
display: inline;
|
2019-04-27 03:24:09 +02:00
|
|
|
color: $secondary-text-color;
|
2018-09-10 17:53:28 +02:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2019-04-27 03:24:09 +02:00
|
|
|
padding: 0 8px;
|
2018-09-10 17:53:28 +02:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2019-04-27 03:24:09 +02:00
|
|
|
color: $primary-text-color;
|
2018-09-10 17:53:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 19px;
|
|
|
|
position: relative;
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
2018-09-10 18:07:27 +02:00
|
|
|
|
2023-02-13 04:57:03 +01:00
|
|
|
a .fa,
|
|
|
|
a:hover .fa {
|
2018-09-10 18:07:27 +02:00
|
|
|
color: inherit;
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-10 17:53:28 +02:00
|
|
|
a.status-card {
|
|
|
|
cursor: pointer;
|
2018-01-13 23:48:18 +01:00
|
|
|
|
2018-09-10 17:53:28 +02:00
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card-photo {
|
|
|
|
cursor: zoom-in;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2023-02-13 04:57:03 +01:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card-video {
|
2023-05-02 13:58:48 +02:00
|
|
|
// Firefox has a bug where frameborder=0 iframes add some extra blank space
|
|
|
|
// see https://bugzilla.mozilla.org/show_bug.cgi?id=155174
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 5px;
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $darker-text-color;
|
2018-01-13 23:48:18 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-09-10 17:53:28 +02:00
|
|
|
text-decoration: none;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
2023-04-16 17:45:18 +02:00
|
|
|
padding: 14px;
|
|
|
|
padding-inline-start: 8px;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__description {
|
2018-05-05 17:58:46 +02:00
|
|
|
color: $darker-text-color;
|
2023-04-23 22:32:47 +02:00
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__host {
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
font-size: 13px;
|
2018-10-29 14:44:04 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
flex: 0 0 100px;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2018-09-10 17:53:28 +02:00
|
|
|
position: relative;
|
2019-01-10 20:19:45 +01:00
|
|
|
|
2019-01-10 20:21:20 +01:00
|
|
|
& > .fa {
|
2019-01-10 20:19:45 +01:00
|
|
|
font-size: 21px;
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
top: 50%;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 50%;
|
2019-01-10 20:19:45 +01:00
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card.horizontal {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-06-06 17:41:56 +02:00
|
|
|
.status-card__image-image,
|
|
|
|
.status-card__image-preview {
|
2018-01-13 23:48:18 +01:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-29 14:44:04 +01:00
|
|
|
.status-card.compact {
|
|
|
|
border-color: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
&.interactive {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__content {
|
|
|
|
padding: 8px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
flex: 0 0 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.status-card.compact:hover {
|
|
|
|
background-color: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
2018-01-13 23:48:18 +01:00
|
|
|
.status-card__image-image {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
2018-09-10 17:53:28 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2018-01-13 23:48:18 +01:00
|
|
|
}
|
|
|
|
|
2020-06-06 17:41:56 +02:00
|
|
|
.status-card__image-preview {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: fill;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 0;
|
2020-06-06 17:41:56 +02:00
|
|
|
z-index: 0;
|
|
|
|
background: $base-overlay-background;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-05 21:06:46 +02:00
|
|
|
.attachment-list {
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 14px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
color: $dark-text-color;
|
|
|
|
padding: 8px 18px;
|
|
|
|
cursor: default;
|
2023-04-16 17:45:18 +02:00
|
|
|
border-inline-end: 1px solid lighten($ui-base-color, 8%);
|
2018-05-05 21:06:46 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 26px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 4px 0;
|
2023-04-16 17:45:18 +02:00
|
|
|
padding-inline-start: 8px;
|
2018-05-05 21:06:46 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.compact {
|
|
|
|
border: 0;
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
.attachment-list__list {
|
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-12 16:01:33 +02:00
|
|
|
|
|
|
|
.status__wrapper--filtered__button {
|
2019-07-14 21:39:07 +02:00
|
|
|
display: inline;
|
2019-07-12 16:01:33 +02:00
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
2019-07-14 21:39:07 +02:00
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
2019-07-12 16:01:33 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 18:09:08 +02:00
|
|
|
|
|
|
|
.notification,
|
|
|
|
.status {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.unread {
|
|
|
|
&::before {
|
2023-02-13 04:57:03 +01:00
|
|
|
content: '';
|
2020-09-15 18:09:08 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-start: 0;
|
2020-09-15 18:09:08 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-04-16 17:45:18 +02:00
|
|
|
border-inline-start: 4px solid $highlight-text-color;
|
2020-09-15 18:09:08 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
2023-04-24 08:07:03 +02:00
|
|
|
|
|
|
|
&--in-thread {
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.status__action-bar {
|
2023-04-28 13:12:35 +02:00
|
|
|
margin-inline-start: 46px + 10px;
|
2023-04-24 08:07:03 +02:00
|
|
|
width: calc(100% - (46px + 10px));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--first-in-thread {
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__line {
|
2023-05-08 18:21:36 +02:00
|
|
|
height: 10px - 4px;
|
2023-04-24 08:07:03 +02:00
|
|
|
border-inline-start: 2px solid lighten($ui-base-color, 8%);
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-12-09 20:29:15 +01:00
|
|
|
inset-inline-start: 14px + ((46px - 2px) * 0.5);
|
2023-04-24 08:07:03 +02:00
|
|
|
|
|
|
|
&--full {
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2023-05-08 18:21:36 +02:00
|
|
|
top: 10px - 4px;
|
2023-12-09 20:29:15 +01:00
|
|
|
height: 46px + 4px + 4px;
|
2023-04-24 08:07:03 +02:00
|
|
|
width: 2px;
|
|
|
|
background: $ui-base-color;
|
|
|
|
inset-inline-start: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--first {
|
2023-12-09 20:29:15 +01:00
|
|
|
top: 10px + 46px + 4px;
|
|
|
|
height: calc(100% - (10px + 46px + 4px));
|
2023-04-24 08:07:03 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 18:09:08 +02:00
|
|
|
}
|
2020-09-28 13:29:43 +02:00
|
|
|
|
|
|
|
.picture-in-picture {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 20px;
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-end: 20px;
|
2020-09-28 13:29:43 +02:00
|
|
|
width: 300px;
|
|
|
|
|
2020-10-26 20:45:25 +01:00
|
|
|
&.left {
|
2023-04-16 17:45:18 +02:00
|
|
|
inset-inline-end: unset;
|
|
|
|
inset-inline-start: 20px;
|
2020-10-26 20:45:25 +01:00
|
|
|
}
|
|
|
|
|
2020-09-28 13:29:43 +02:00
|
|
|
&__footer {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 12px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
&__account {
|
|
|
|
display: flex;
|
|
|
|
text-decoration: none;
|
2021-07-05 19:16:06 +02:00
|
|
|
overflow: hidden;
|
2020-09-28 13:29:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar {
|
2023-04-16 17:45:18 +02:00
|
|
|
margin-inline-end: 10px;
|
2020-09-28 13:29:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
strong,
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.picture-in-picture-placeholder {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 2px dashed lighten($ui-base-color, 8%);
|
|
|
|
background: $base-shadow-color;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
cursor: pointer;
|
|
|
|
color: $darker-text-color;
|
2023-05-02 13:58:48 +02:00
|
|
|
aspect-ratio: 16 / 9;
|
2020-09-28 13:29:43 +02:00
|
|
|
|
|
|
|
i {
|
|
|
|
display: block;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
border-color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
}
|
2023-08-25 21:46:43 +02:00
|
|
|
|
|
|
|
.hashtag-bar {
|
|
|
|
margin-top: 16px;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
font-size: 14px;
|
2023-08-28 19:49:38 +02:00
|
|
|
line-height: 18px;
|
2023-08-25 21:46:43 +02:00
|
|
|
gap: 4px;
|
2023-08-28 19:49:38 +02:00
|
|
|
color: $darker-text-color;
|
2023-08-25 21:46:43 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-flex;
|
2023-08-28 19:49:38 +02:00
|
|
|
color: inherit;
|
2023-08-25 21:46:43 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
2023-08-28 19:49:38 +02:00
|
|
|
&:hover span {
|
|
|
|
text-decoration: underline;
|
2023-08-25 21:46:43 +02:00
|
|
|
}
|
|
|
|
}
|
2023-08-28 19:49:38 +02:00
|
|
|
|
|
|
|
.link-button {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2023-08-25 21:46:43 +02:00
|
|
|
}
|