2016-02-26 21:48:20 +02:00
|
|
|
.activity-stream {
|
|
|
|
clear: both;
|
2017-05-08 16:57:49 +03:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-02-26 21:48:20 +02:00
|
|
|
|
2018-07-17 19:54:07 +03:00
|
|
|
div[data-component] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-02-26 21:48:20 +02:00
|
|
|
.entry {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $simple-background-color;
|
2016-12-21 01:13:13 +02:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
.detailed-status.light,
|
2018-04-11 13:35:09 +03:00
|
|
|
.status.light,
|
|
|
|
.more.light {
|
2017-05-08 16:57:49 +03:00
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
2017-08-16 18:12:58 +03:00
|
|
|
animation: none;
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
&:last-child {
|
2017-05-07 21:47:31 +03:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 20:47:11 +02:00
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
&:first-child {
|
2017-05-07 21:47:31 +03:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 20:47:11 +02:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
2016-03-12 17:09:46 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
&:last-child {
|
2017-05-07 21:47:31 +03:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 20:47:11 +02:00
|
|
|
border-radius: 4px;
|
2016-03-12 17:09:46 +02:00
|
|
|
}
|
|
|
|
}
|
2016-02-28 15:02:53 +02:00
|
|
|
}
|
2017-08-16 18:12:58 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 740px) {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
2016-02-28 15:02:53 +02:00
|
|
|
|
2017-07-24 18:56:50 +03:00
|
|
|
&.with-header {
|
|
|
|
.entry {
|
|
|
|
&:first-child {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2017-08-16 18:12:58 +03:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
}
|
2017-07-24 18:56:50 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-16 08:22:20 +02:00
|
|
|
.media-gallery__gifv__label {
|
|
|
|
bottom: 9px;
|
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status.light {
|
2017-05-07 21:47:31 +03:00
|
|
|
padding: 14px 14px 14px (48px + 14px * 2);
|
2016-12-18 20:47:11 +02:00
|
|
|
position: relative;
|
|
|
|
min-height: 48px;
|
|
|
|
cursor: default;
|
2016-03-26 15:42:05 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__header {
|
|
|
|
font-size: 15px;
|
2016-03-06 13:34:39 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__meta {
|
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
.status__relative-time {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2016-03-06 13:34:39 +02:00
|
|
|
}
|
2016-02-28 16:46:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-right: 25px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $inverted-text-color;
|
2016-03-06 13:34:39 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__avatar {
|
|
|
|
position: absolute;
|
|
|
|
left: 14px;
|
|
|
|
top: 14px;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2016-03-06 13:34:39 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
& > div {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2016-03-12 17:09:46 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2016-10-03 17:10:17 +03:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $light-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
|
|
|
}
|
2016-10-03 01:26:00 +03:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__content {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2016-10-03 01:26:00 +03:00
|
|
|
}
|
2017-03-31 14:54:36 +03:00
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2018-02-19 03:39:18 +02:00
|
|
|
background: $ui-base-color;
|
2017-03-31 14:54:36 +03:00
|
|
|
|
|
|
|
&:hover {
|
2018-02-19 03:39:18 +02:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-03-31 14:54:36 +03:00
|
|
|
}
|
|
|
|
}
|
2016-03-12 17:09:46 +02:00
|
|
|
}
|
2016-02-28 01:51:05 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.detailed-status.light {
|
|
|
|
padding: 14px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $simple-background-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
cursor: default;
|
2016-02-28 01:51:05 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.detailed-status__display-name {
|
2016-02-28 01:51:05 +02:00
|
|
|
display: block;
|
2016-12-18 20:47:11 +02:00
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 15px;
|
2016-02-28 01:51:05 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
& > div {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-02-28 01:51:05 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
2016-03-06 18:52:23 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $light-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
|
|
|
}
|
2016-03-06 18:52:23 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.avatar {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2016-03-06 18:52:23 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2016-03-06 18:52:23 +02:00
|
|
|
}
|
2016-02-26 22:11:52 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
.status__content {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
2017-03-31 14:54:36 +03:00
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2018-02-19 03:39:18 +02:00
|
|
|
background: $ui-base-color;
|
2017-03-31 14:54:36 +03:00
|
|
|
|
|
|
|
&:hover {
|
2018-02-19 03:39:18 +02:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-03-31 14:54:36 +03:00
|
|
|
}
|
|
|
|
}
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__meta {
|
|
|
|
margin-top: 15px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $light-text-color;
|
2016-12-18 20:47:11 +02:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2016-02-26 22:11:52 +02:00
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
a {
|
|
|
|
color: inherit;
|
2016-02-26 22:11:52 +02:00
|
|
|
}
|
|
|
|
|
2016-12-18 20:47:11 +02:00
|
|
|
span > span {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 6px;
|
|
|
|
display: inline-block;
|
2016-02-26 22:11:52 +02:00
|
|
|
}
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
.status-card {
|
|
|
|
border-color: lighten($ui-secondary-color, 4%);
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2016-02-26 21:48:20 +02:00
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-secondary-color, 4%);
|
2016-02-26 21:48:20 +02:00
|
|
|
}
|
|
|
|
}
|
2016-03-06 18:52:23 +02:00
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
.status-card__title,
|
|
|
|
.status-card__description {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2016-10-06 23:00:56 +03:00
|
|
|
}
|
2017-07-06 22:31:03 +03:00
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
.status-card__image {
|
|
|
|
background: $ui-secondary-color;
|
2017-07-06 22:31:03 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-19 17:03:45 +03:00
|
|
|
.media-spoiler {
|
2018-02-19 03:39:18 +02:00
|
|
|
background: $ui-base-color;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-09-19 17:03:45 +03:00
|
|
|
}
|
|
|
|
|
2016-12-21 01:13:13 +02:00
|
|
|
.pre-header {
|
2017-05-07 21:47:31 +03:00
|
|
|
padding: 14px 0;
|
|
|
|
padding-left: (48px + 14px * 2);
|
2016-12-21 01:13:13 +02:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: -4px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $light-text-color;
|
2016-12-21 01:13:13 +02:00
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.pre-header__icon {
|
|
|
|
position: absolute;
|
2017-05-07 21:47:31 +03:00
|
|
|
left: (48px + 14px * 2 - 30px);
|
2016-12-21 01:13:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name.muted strong {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $light-text-color;
|
2016-12-21 01:13:13 +02:00
|
|
|
}
|
|
|
|
}
|
2017-01-31 00:01:37 +02:00
|
|
|
|
|
|
|
.open-in-web-link {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2018-04-11 13:35:09 +03:00
|
|
|
|
|
|
|
.more {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2018-04-11 13:35:09 +03:00
|
|
|
display: block;
|
|
|
|
padding: 14px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:not(:hover) {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
}
|
2016-12-18 16:20:39 +02:00
|
|
|
|
|
|
|
.embed {
|
|
|
|
.activity-stream {
|
|
|
|
box-shadow: none;
|
2018-07-07 23:20:14 +03:00
|
|
|
}
|
|
|
|
}
|
2016-12-18 16:20:39 +02:00
|
|
|
|
2018-07-07 23:20:14 +03:00
|
|
|
.entry {
|
|
|
|
.detailed-status.light {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
2016-12-18 16:20:39 +02:00
|
|
|
|
2018-07-07 23:20:14 +03:00
|
|
|
.detailed-status__display-name {
|
|
|
|
flex: 1;
|
|
|
|
margin: 0 5px 15px 0;
|
|
|
|
}
|
2016-12-18 16:20:39 +02:00
|
|
|
|
2018-07-07 23:20:14 +03:00
|
|
|
.button.button-secondary.logo-button {
|
|
|
|
flex: 0 auto;
|
|
|
|
font-size: 14px;
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 20px;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
path:first-child {
|
|
|
|
fill: $primary-text-color;
|
2016-12-18 16:20:39 +02:00
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
|
2018-07-07 23:20:14 +03:00
|
|
|
path:last-child {
|
|
|
|
fill: $ui-highlight-color;
|
2017-09-05 13:31:24 +03:00
|
|
|
}
|
2018-07-07 23:20:14 +03:00
|
|
|
}
|
2017-09-05 13:31:24 +03:00
|
|
|
|
2018-07-07 23:20:14 +03:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-highlight-color, 10%);
|
|
|
|
|
|
|
|
svg path:last-child {
|
|
|
|
fill: lighten($ui-highlight-color, 10%);
|
2017-09-05 13:31:24 +03:00
|
|
|
}
|
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
}
|
2018-07-07 23:20:14 +03:00
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.detailed-status__meta {
|
|
|
|
flex: 100%;
|
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
}
|
|
|
|
}
|