2018-01-14 00:48:18 +02:00
|
|
|
.status__content--with-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
2018-01-14 01:47:59 +02:00
|
|
|
position: relative;
|
|
|
|
margin: 10px 0;
|
2018-01-14 00:48:18 +02:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: 400;
|
2018-01-14 01:47:59 +02:00
|
|
|
overflow: visible;
|
|
|
|
padding-top: 5px;
|
2018-01-14 00:48:18 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -3px 0 0;
|
|
|
|
}
|
|
|
|
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
p, pre, blockquote {
|
2018-01-14 00:48:18 +02:00
|
|
|
margin-bottom: 20px;
|
2018-01-15 01:31:00 +02:00
|
|
|
white-space: pre-wrap;
|
2018-01-14 00:48:18 +02:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-13 16:01:00 +03:00
|
|
|
.status__content__text,
|
|
|
|
.e-content {
|
2019-06-17 22:01:22 +03:00
|
|
|
|
|
|
|
& > ul,
|
|
|
|
& > ol {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
h1, h2 {
|
2019-04-24 19:31:50 +03:00
|
|
|
font-weight: 700;
|
2019-05-21 14:11:06 +03:00
|
|
|
font-size: 1.2em;
|
2019-04-21 22:44:31 +03:00
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
h2 {
|
2019-05-21 14:11:06 +03:00
|
|
|
font-size: 1.1em;
|
2019-04-21 22:44:31 +03:00
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
|
2019-04-24 19:31:50 +03:00
|
|
|
h3, h4, h5 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
blockquote {
|
2019-04-24 19:42:17 +03:00
|
|
|
padding-left: 10px;
|
|
|
|
border-left: 3px solid $darker-text-color;
|
|
|
|
color: $darker-text-color;
|
|
|
|
white-space: normal;
|
2019-04-24 19:30:55 +03:00
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-04-21 22:44:31 +03:00
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
b, strong {
|
2019-04-24 19:29:25 +03:00
|
|
|
font-weight: 700;
|
2019-04-21 22:44:31 +03:00
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
|
2019-04-21 22:44:31 +03:00
|
|
|
em, i {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-04-21 23:04:19 +03:00
|
|
|
|
2019-04-29 20:00:27 +03:00
|
|
|
sub {
|
|
|
|
font-size: smaller;
|
|
|
|
text-align: sub;
|
|
|
|
}
|
|
|
|
|
2019-08-14 23:26:30 +03:00
|
|
|
sup {
|
|
|
|
font-size: smaller;
|
2019-08-20 22:43:29 +03:00
|
|
|
vertical-align: super;
|
2019-08-14 23:26:30 +03:00
|
|
|
}
|
|
|
|
|
2019-04-21 23:04:19 +03:00
|
|
|
ul, ol {
|
|
|
|
margin-left: 1em;
|
2019-04-24 19:28:33 +03:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-04-21 23:04:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-17 15:23:36 +03:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
a {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $secondary-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
.fa {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: lighten($dark-text-color, 7%);
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 01:47:59 +02:00
|
|
|
.status__content__spoiler {
|
2018-01-15 01:31:00 +02:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.status__content__spoiler--visible {
|
|
|
|
display: block;
|
2018-01-14 01:47:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-28 07:00:51 +03:00
|
|
|
a.unhandled-link {
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
2019-08-01 16:01:09 +03:00
|
|
|
|
|
|
|
.link-origin-tag {
|
|
|
|
color: $gold-star;
|
2019-08-01 17:29:45 +03:00
|
|
|
font-size: 0.8em;
|
2019-08-01 16:01:09 +03:00
|
|
|
}
|
2019-07-28 07:00:51 +03:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.status__content__spoiler-link {
|
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 2px;
|
2018-01-14 01:47:59 +02:00
|
|
|
background: lighten($ui-base-color, 30%);
|
|
|
|
border: none;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: 11px;
|
2018-01-14 01:47:59 +02:00
|
|
|
padding: 0 5px;
|
2018-01-14 00:48:18 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
line-height: inherit;
|
|
|
|
cursor: pointer;
|
2018-01-14 01:47:59 +02:00
|
|
|
vertical-align: bottom;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 33%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content__spoiler-icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
border-left: 1px solid currentColor;
|
|
|
|
padding: 0 0 0 4px;
|
|
|
|
font-size: 16px;
|
|
|
|
vertical-align: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notif-cleaning {
|
|
|
|
.status, .notification-follow {
|
|
|
|
padding-right: ($dismiss-overlay-width + 0.5rem);
|
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
2018-07-08 21:04:53 +03: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-14 00:48:18 +02:00
|
|
|
.status__prepend-icon-wrapper {
|
2019-07-17 21:05:53 +03:00
|
|
|
left: -26px;
|
|
|
|
position: absolute;
|
2018-01-14 01:47:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification-follow {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// same like Status
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
.account {
|
|
|
|
border-bottom: 0 none;
|
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.focusable {
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
2019-06-09 13:07:23 +03:00
|
|
|
&.status.status-direct:not(.read) {
|
2018-01-14 00:48:18 +02:00
|
|
|
background: lighten($ui-base-color, 12%);
|
|
|
|
|
|
|
|
&.muted {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status {
|
2018-06-21 22:40:34 +03:00
|
|
|
padding: 10px 14px;
|
2018-01-14 00:48:18 +02:00
|
|
|
position: relative;
|
2018-01-14 01:47:59 +02:00
|
|
|
height: auto;
|
2018-01-14 00:48:18 +02:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
@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.
|
2018-06-21 22:40:34 +03:00
|
|
|
padding-right: 28px; // 12px + 16px
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade {
|
|
|
|
0% { opacity: 0; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
animation: fade 150ms linear;
|
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2018-01-14 00:48:18 +02:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2019-06-09 13:07:23 +03:00
|
|
|
&.status-direct:not(.read) {
|
2018-01-14 00:48:18 +02:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2019-06-09 13:07:23 +03:00
|
|
|
border-bottom-color: lighten($ui-base-color, 12%);
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.light {
|
|
|
|
.status__relative-time {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $lighter-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
strong {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $lighter-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
|
|
|
|
a {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $highlight-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-14 04:13:55 +02:00
|
|
|
}
|
2018-01-14 01:47:59 +02:00
|
|
|
|
2018-01-14 04:13:55 +02:00
|
|
|
&.collapsed {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&.has-background::before {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-image: linear-gradient(to bottom, rgba($base-shadow-color, .75), rgba($base-shadow-color, .65) 24px, rgba($base-shadow-color, .8));
|
2018-06-21 22:33:00 +03:00
|
|
|
pointer-events: none;
|
2018-01-14 04:13:55 +02:00
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name:hover .display-name__html {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
height: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-03-22 16:10:04 +02:00
|
|
|
padding-top: 0;
|
2018-01-14 04:13:55 +02:00
|
|
|
|
2018-04-22 18:29:01 +03:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0; bottom: 0;
|
|
|
|
left: 0; right: 0;
|
|
|
|
background: linear-gradient(rgba($ui-base-color, 0), rgba($ui-base-color, 1));
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2018-01-14 04:13:55 +02:00
|
|
|
a:hover {
|
2018-01-14 01:47:59 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-24 18:31:26 +03:00
|
|
|
&:focus > .status__content:after {
|
|
|
|
background: linear-gradient(rgba(lighten($ui-base-color, 4%), 0), rgba(lighten($ui-base-color, 4%), 1));
|
|
|
|
}
|
2019-06-09 13:07:23 +03:00
|
|
|
&.status-direct:not(.read)> .status__content:after {
|
2018-04-24 18:31:26 +03:00
|
|
|
background: linear-gradient(rgba(lighten($ui-base-color, 8%), 0), rgba(lighten($ui-base-color, 8%), 1));
|
|
|
|
}
|
2018-03-22 16:10:04 +02:00
|
|
|
|
|
|
|
.notification__message {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__info .notification__message > span {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2018-01-14 04:13:55 +02:00
|
|
|
}
|
2018-01-14 01:47:59 +02:00
|
|
|
|
2018-01-14 04:13:55 +02:00
|
|
|
.notification__message {
|
2018-03-13 02:57:28 +02:00
|
|
|
margin: -10px 0px 10px 0;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-favourite {
|
|
|
|
.status.status-direct {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.icon-button.disabled {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: lighten($action-button-color, 13%);
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__relative-time {
|
2018-01-14 01:47:59 +02:00
|
|
|
display: inline-block;
|
2019-07-17 18:55:09 +03:00
|
|
|
flex-grow: 1;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
font-size: 14px;
|
2018-01-14 01:47:59 +02:00
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 01:47:59 +02:00
|
|
|
overflow: hidden;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
2018-03-13 02:57:28 +02:00
|
|
|
.status__info__account .status__display-name {
|
2018-01-14 00:48:18 +02:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__info {
|
2018-03-18 19:42:28 +02:00
|
|
|
display: flex;
|
2019-07-17 18:55:09 +03:00
|
|
|
justify-content: space-between;
|
2018-01-14 00:48:18 +02:00
|
|
|
font-size: 15px;
|
2018-03-19 05:49:30 +02:00
|
|
|
|
|
|
|
> span {
|
2018-03-22 16:10:04 +02:00
|
|
|
text-overflow: ellipsis;
|
2018-03-19 05:49:30 +02:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-03-22 16:10:04 +02:00
|
|
|
|
|
|
|
.notification__message > span {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2018-01-14 01:47:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__info__icons {
|
2018-03-19 05:49:30 +02:00
|
|
|
display: flex;
|
2018-03-22 16:10:04 +02:00
|
|
|
align-items: center;
|
|
|
|
height: 1em;
|
2018-05-06 12:31:05 +03:00
|
|
|
color: $action-button-color;
|
2018-01-14 01:47:59 +02:00
|
|
|
|
2019-07-17 18:55:09 +03:00
|
|
|
.status__media-icon,
|
|
|
|
.status__visibility-icon,
|
|
|
|
.status__reply-icon {
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
2018-01-14 01:47:59 +02:00
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
2018-03-13 02:57:28 +02:00
|
|
|
.status__info__account {
|
|
|
|
display: flex;
|
2019-03-28 15:51:40 +02:00
|
|
|
align-items: center;
|
2019-07-17 18:55:09 +03:00
|
|
|
justify-content: flex-start;
|
2018-03-13 02:57:28 +02:00
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.status-check-box {
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
display: flex;
|
|
|
|
|
2018-03-12 20:43:31 +02:00
|
|
|
.status-check-box__status {
|
|
|
|
margin: 10px 0 10px 10px;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
.media-gallery {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
2018-01-14 01:47:59 +02:00
|
|
|
|
|
|
|
.status__content {
|
2018-03-12 20:43:31 +02:00
|
|
|
padding: 0;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2018-03-12 20:43:31 +02:00
|
|
|
margin-top: 8px;
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-thumbnail {
|
|
|
|
cursor: default;
|
2018-01-14 01:47:59 +02:00
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-check-box-toggle {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__prepend {
|
2019-07-17 22:20:55 +03:00
|
|
|
margin-top: -10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-left: 58px;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2019-07-17 21:05:53 +03:00
|
|
|
padding: 8px 0;
|
|
|
|
padding-bottom: 2px;
|
2018-01-14 00:48:18 +02:00
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 8px;
|
2018-08-20 12:56:34 +03:00
|
|
|
|
|
|
|
&__counter {
|
|
|
|
display: inline-flex;
|
|
|
|
margin-right: 11px;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.status__action-bar-button {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: inline-block;
|
|
|
|
width: 14px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $action-button-color;
|
|
|
|
}
|
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-button {
|
|
|
|
margin-right: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-dropdown {
|
|
|
|
height: 23.15px;
|
|
|
|
width: 23.15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&--flex {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.detailed-status__meta {
|
|
|
|
flex: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 00:48:18 +02:00
|
|
|
.status__content {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2018-01-14 00:48:18 +02:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__meta {
|
|
|
|
margin-top: 15px;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__favorites,
|
|
|
|
.detailed-status__reblogs {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
strong {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.muted {
|
|
|
|
.emojione {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-09 13:07:23 +03:00
|
|
|
a.status__display-name,
|
2018-01-14 00:48:18 +02:00
|
|
|
.reply-indicator__display-name,
|
|
|
|
.detailed-status__display-name,
|
|
|
|
.account__display-name {
|
|
|
|
&:hover strong {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__display-name strong {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__application,
|
|
|
|
.detailed-status__datetime {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__display-name {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $secondary-text-color;
|
2018-01-14 00:48:18 +02: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;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
2018-01-14 01:47:59 +02:00
|
|
|
flex: none;
|
|
|
|
margin: 0 10px 0 0;
|
2018-01-14 00:48:18 +02:00
|
|
|
height: 48px;
|
|
|
|
width: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.muted {
|
|
|
|
.status__content p,
|
2019-04-24 21:30:02 +03:00
|
|
|
.status__content a,
|
2019-05-12 20:11:08 +03:00
|
|
|
.status__content__text {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
background: $ui-base-lighter-color;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 29%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__relative-time,
|
|
|
|
.detailed-status__datetime {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card {
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-radius: 4px;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
margin-top: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-09-10 18:53:28 +03:00
|
|
|
&__actions {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
background: rgba($base-shadow-color, 0.6);
|
2019-04-27 04:24:09 +03:00
|
|
|
border-radius: 8px;
|
2018-09-10 18:53:28 +03:00
|
|
|
padding: 12px 9px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
display: inline;
|
2019-04-27 04:24:09 +03:00
|
|
|
color: $secondary-text-color;
|
2018-09-10 18:53:28 +03:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2019-04-27 04:24:09 +03:00
|
|
|
padding: 0 8px;
|
2018-09-10 18:53:28 +03:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2019-04-27 04:24:09 +03:00
|
|
|
color: $primary-text-color;
|
2018-09-10 18:53:28 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 19px;
|
|
|
|
position: relative;
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
2018-09-10 19:07:27 +03:00
|
|
|
|
|
|
|
a .fa, a:hover .fa {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-10 18:53:28 +03:00
|
|
|
a.status-card {
|
|
|
|
cursor: pointer;
|
2018-01-14 00:48:18 +02:00
|
|
|
|
2018-09-10 18:53:28 +03:00
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card-photo {
|
|
|
|
cursor: zoom-in;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card-video {
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 5px;
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $darker-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-09-10 18:53:28 +03:00
|
|
|
text-decoration: none;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 14px 14px 14px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__description {
|
2018-05-05 18:58:46 +03:00
|
|
|
color: $darker-text-color;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__host {
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
font-size: 13px;
|
2018-10-29 15:44:04 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
flex: 0 0 100px;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2018-09-10 18:53:28 +03:00
|
|
|
position: relative;
|
2019-01-10 21:19:45 +02:00
|
|
|
|
2019-01-10 21:21:20 +02:00
|
|
|
& > .fa {
|
2019-01-10 21:19:45 +02:00
|
|
|
font-size: 21px;
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-card.horizontal {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__image-image {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-29 15:44:04 +02: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-14 00:48:18 +02: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 18:53:28 +03:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2018-01-14 00:48:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background: $base-shadow-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: default; /* May not be needed */
|
|
|
|
margin-top: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@include fullwidth-gallery;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player-video {
|
|
|
|
height: 100%;
|
2018-09-04 23:34:52 +03:00
|
|
|
object-fit: contain;
|
2018-01-14 00:48:18 +02:00
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&:not(.letterbox) {
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player-expand,
|
|
|
|
.status__video-player-mute {
|
|
|
|
color: $primary-text-color;
|
|
|
|
opacity: 0.8;
|
|
|
|
position: absolute;
|
|
|
|
right: 4px;
|
|
|
|
text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player-spoiler {
|
|
|
|
display: none;
|
|
|
|
color: $primary-text-color;
|
|
|
|
left: 4px;
|
|
|
|
position: absolute;
|
|
|
|
text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
|
|
|
|
top: 4px;
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
&.status__video-player-spoiler--visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player-expand {
|
|
|
|
bottom: 4px;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__video-player-mute {
|
|
|
|
top: 4px;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
2018-05-05 22:06:46 +03: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;
|
|
|
|
border-right: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 26px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 4px 0;
|
|
|
|
padding-left: 8px;
|
|
|
|
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 17:01:33 +03:00
|
|
|
|
|
|
|
.status__wrapper--filtered__button {
|
2019-07-14 22:39:07 +03:00
|
|
|
display: inline;
|
2019-07-12 17:01:33 +03:00
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
2019-07-14 22:39:07 +03:00
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
2019-07-12 17:01:33 +03:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|