2016-02-26 21:48:20 +02:00
|
|
|
.activity-stream {
|
2017-05-08 16:57:49 +03:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2018-07-31 23:54:18 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--headless {
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
.status {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
|
2018-07-18 22:56:31 +03:00
|
|
|
div[data-component] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-02-26 21:48:20 +02:00
|
|
|
.entry {
|
2018-07-31 23:54:18 +03:00
|
|
|
background: $ui-base-color;
|
2016-12-21 01:13:13 +02:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status,
|
|
|
|
.status,
|
|
|
|
.load-more {
|
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 {
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status,
|
2018-09-05 12:42:04 +03:00
|
|
|
.status,
|
|
|
|
.load-more {
|
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 {
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status,
|
2018-09-05 12:42:04 +03:00
|
|
|
.status,
|
|
|
|
.load-more {
|
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 {
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status,
|
2018-09-05 12:42:04 +03:00
|
|
|
.status,
|
|
|
|
.load-more {
|
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
|
|
|
|
2023-05-07 16:04:59 +03:00
|
|
|
@media screen and (width <= 740px) {
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status,
|
2018-09-05 12:42:04 +03:00
|
|
|
.status,
|
|
|
|
.load-more {
|
2017-08-16 18:12:58 +03:00
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 20:47:11 +02:00
|
|
|
}
|
2018-09-05 12:36:24 +03:00
|
|
|
|
|
|
|
&--highlighted .entry {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
2018-07-31 23:54:18 +03:00
|
|
|
}
|
2016-02-28 15:02:53 +02:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
.button.logo-button {
|
|
|
|
flex: 0 auto;
|
|
|
|
font-size: 14px;
|
2022-06-19 09:18:08 +03:00
|
|
|
background: darken($ui-highlight-color, 2%);
|
2018-07-31 23:54:18 +03:00
|
|
|
color: $primary-text-color;
|
|
|
|
text-transform: none;
|
2020-12-31 00:18:39 +02:00
|
|
|
line-height: 1.2;
|
2018-07-31 23:54:18 +03:00
|
|
|
height: auto;
|
2020-12-27 00:50:34 +02:00
|
|
|
min-height: 36px;
|
|
|
|
min-width: 88px;
|
|
|
|
white-space: normal;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
hyphens: auto;
|
|
|
|
padding: 0 15px;
|
2018-07-31 23:54:18 +03:00
|
|
|
border: 0;
|
2017-07-06 22:31:03 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
svg {
|
|
|
|
width: 20px;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: middle;
|
2023-04-16 18:45:18 +03:00
|
|
|
margin-inline-end: 5px;
|
2019-05-27 04:33:39 +03:00
|
|
|
fill: $primary-text-color;
|
2016-12-21 01:13:13 +02:00
|
|
|
}
|
2017-01-31 00:01:37 +02:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2022-06-19 09:18:08 +03:00
|
|
|
background: $ui-highlight-color;
|
2017-01-31 00:01:37 +02:00
|
|
|
}
|
2018-05-11 15:43:26 +03:00
|
|
|
|
2019-04-07 05:59:13 +03:00
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: $ui-primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-05 12:42:54 +03:00
|
|
|
&.button--destructive {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: $error-red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
svg {
|
|
|
|
display: none;
|
2018-05-11 15:43:26 +03:00
|
|
|
}
|
|
|
|
}
|
2016-02-26 21:48:20 +02:00
|
|
|
}
|
2016-12-18 16:20:39 +02:00
|
|
|
|
2020-12-31 00:18:39 +02:00
|
|
|
a.button.logo-button {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2022-10-20 15:35:29 +03:00
|
|
|
.embed {
|
2023-02-13 05:57:03 +02:00
|
|
|
.status__content[data-spoiler='folded'] {
|
2020-04-28 11:16:55 +03:00
|
|
|
.e-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
p:first-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
.detailed-status {
|
|
|
|
padding: 15px;
|
2020-06-25 23:41:12 +03:00
|
|
|
|
|
|
|
.detailed-status__display-avatar .account__avatar {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
2018-07-11 19:06:52 +03:00
|
|
|
}
|
2016-12-18 16:20:39 +02:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
.status {
|
2023-04-16 18:45:18 +03:00
|
|
|
padding: 15px;
|
|
|
|
padding-inline-start: (48px + 15px * 2);
|
2018-07-31 23:54:18 +03:00
|
|
|
min-height: 48px + 2px;
|
2017-08-30 11:23:43 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&__avatar {
|
2023-04-16 18:45:18 +03:00
|
|
|
inset-inline-start: 15px;
|
2018-07-31 23:54:18 +03:00
|
|
|
top: 17px;
|
2020-05-13 22:20:34 +03:00
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
2018-07-11 19:06:52 +03:00
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&__content {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&__prepend {
|
2018-08-02 13:08:41 +03:00
|
|
|
padding: 8px 0;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
margin: initial;
|
2023-04-16 18:45:18 +03:00
|
|
|
margin-inline-start: 48px + 15px * 2;
|
2018-07-31 23:54:18 +03:00
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2017-09-05 13:31:24 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
&__prepend-icon-wrapper {
|
2018-08-02 13:08:41 +03:00
|
|
|
position: absolute;
|
|
|
|
margin: initial;
|
|
|
|
float: initial;
|
|
|
|
width: auto;
|
2023-04-16 18:45:18 +03:00
|
|
|
inset-inline-start: -32px;
|
2017-08-30 11:23:43 +03:00
|
|
|
}
|
2018-07-11 19:06:52 +03:00
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
.media-gallery,
|
|
|
|
&__action-bar,
|
|
|
|
.video-player {
|
|
|
|
margin-top: 10px;
|
2018-07-11 19:06:52 +03:00
|
|
|
}
|
2020-04-28 11:16:55 +03:00
|
|
|
|
|
|
|
&__action-bar-button {
|
|
|
|
font-size: 18px;
|
|
|
|
width: 23.1429px;
|
|
|
|
height: 23.1429px;
|
|
|
|
line-height: 23.15px;
|
|
|
|
}
|
2017-08-30 11:23:43 +03:00
|
|
|
}
|
|
|
|
}
|
2018-08-01 00:59:17 +03:00
|
|
|
|
|
|
|
// Styling from upstream's WebUI, as public pages use the same layout
|
2022-10-20 15:35:29 +03:00
|
|
|
.embed {
|
2018-08-01 00:59:17 +03:00
|
|
|
.status {
|
|
|
|
.status__info {
|
|
|
|
font-size: 15px;
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
2020-10-27 04:00:47 +02:00
|
|
|
.status__relative-time {
|
2018-08-01 00:59:17 +03:00
|
|
|
color: $dark-text-color;
|
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
width: auto;
|
|
|
|
margin: initial;
|
|
|
|
padding: initial;
|
2020-10-27 04:00:47 +02:00
|
|
|
padding-bottom: 1px;
|
2018-08-01 00:59:17 +03:00
|
|
|
}
|
|
|
|
|
2020-06-26 14:45:02 +03:00
|
|
|
.status__visibility-icon {
|
2020-10-27 04:00:47 +02:00
|
|
|
padding: 0 4px;
|
2020-06-26 14:45:02 +03:00
|
|
|
}
|
|
|
|
|
2018-08-01 00:59:17 +03:00
|
|
|
.status__info .status__display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
2019-03-28 16:03:54 +02:00
|
|
|
padding: 6px 0;
|
2018-08-01 00:59:17 +03:00
|
|
|
padding-right: 25px;
|
|
|
|
margin: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
height: 48px;
|
|
|
|
position: absolute;
|
|
|
|
width: 48px;
|
|
|
|
margin: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-31 12:10:51 +02:00
|
|
|
|
|
|
|
.rtl {
|
2022-10-20 15:35:29 +03:00
|
|
|
.embed {
|
2019-07-17 21:25:26 +03:00
|
|
|
.status {
|
2019-07-17 22:20:55 +03:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 68px;
|
|
|
|
|
2019-07-17 21:25:26 +03:00
|
|
|
.status__info .status__display-name {
|
|
|
|
padding-left: 25px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-26 14:45:02 +03:00
|
|
|
.status__relative-time,
|
|
|
|
.status__visibility-icon {
|
2019-07-17 21:25:26 +03:00
|
|
|
float: left;
|
|
|
|
}
|
2018-10-31 12:10:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-29 18:35:54 +02:00
|
|
|
|
2023-07-08 01:12:31 +03:00
|
|
|
.status__content__read-more-button,
|
|
|
|
.status__content__translate-button {
|
2020-01-29 18:35:54 +02:00
|
|
|
display: block;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2020-01-29 18:35:54 +02:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
2022-11-30 14:52:43 +02:00
|
|
|
padding-top: 16px;
|
2020-01-29 18:35:54 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|