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