2021-07-21 22:41:04 +08:00
|
|
|
.archetype-private_message {
|
2024-04-09 04:21:57 +08:00
|
|
|
--pm-border-radius: 0;
|
2023-12-23 03:28:02 +08:00
|
|
|
--pm-padding: 1.25em;
|
2021-07-21 22:41:04 +08:00
|
|
|
|
2023-12-23 03:28:02 +08:00
|
|
|
.topic-post {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 1.5em;
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-23 03:28:02 +08:00
|
|
|
.regular.contents {
|
|
|
|
border-radius: 0 var(--pm-border-radius) var(--pm-border-radius)
|
|
|
|
var(--pm-border-radius);
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
padding-left: var(--pm-padding);
|
|
|
|
.desktop-view & {
|
|
|
|
margin-left: calc(var(--pm-padding) * -1);
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-avatar,
|
|
|
|
.topic-body {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2023-12-23 03:28:02 +08:00
|
|
|
.topic-body .cooked {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
padding-right: calc(var(--topic-body-width-padding) * 2);
|
|
|
|
}
|
|
|
|
|
2021-07-21 22:41:04 +08:00
|
|
|
.post-menu-area {
|
2023-12-23 03:28:02 +08:00
|
|
|
padding-right: calc(var(--topic-body-width-padding) * 2);
|
|
|
|
margin: 0.5em 0 var(--topic-body-width-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.who-liked {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: var(--topic-body-width-padding);
|
|
|
|
}
|
|
|
|
|
2021-07-21 22:41:04 +08:00
|
|
|
.post-notice {
|
|
|
|
box-sizing: border-box;
|
2023-12-23 03:28:02 +08:00
|
|
|
border-radius: var(--pm-border-radius);
|
|
|
|
background-color: var(--tertiary-very-low);
|
|
|
|
border-color: var(--tertiary-very-low);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
margin-left: 1.65em;
|
|
|
|
padding: var(--pm-padding) 2em;
|
|
|
|
max-width: calc(
|
|
|
|
var(--topic-body-width) + var(--topic-body-width-padding) * 2 +
|
|
|
|
var(--topic-avatar-width) - 1.65em
|
|
|
|
);
|
|
|
|
&.old {
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
}
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-map {
|
|
|
|
border: none;
|
2024-07-23 06:42:29 +08:00
|
|
|
padding-block: var(--pm-padding);
|
|
|
|
padding-left: calc(
|
|
|
|
48px - var(--pm-padding)
|
|
|
|
); // 48px is the width of the avatar
|
2021-07-21 22:41:04 +08:00
|
|
|
section {
|
|
|
|
border: none;
|
2024-07-23 06:42:29 +08:00
|
|
|
background: var(--primary-very-low);
|
|
|
|
padding-inline: var(--pm-padding);
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
2024-07-23 06:42:29 +08:00
|
|
|
|
|
|
|
.map {
|
|
|
|
padding-top: var(--pm-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__private-message-map {
|
|
|
|
padding-bottom: var(--pm-padding);
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.participants {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
.user {
|
|
|
|
border: none;
|
|
|
|
background: var(--primary-low);
|
|
|
|
padding: 2px 4px;
|
2023-12-23 03:28:02 +08:00
|
|
|
border-radius: var(--pm-border-radius);
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.map:first-of-type .buttons .btn {
|
|
|
|
border: none;
|
2023-12-23 03:28:02 +08:00
|
|
|
border-radius: var(--pm-border-radius);
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.embedded-posts {
|
|
|
|
border: none;
|
|
|
|
.topic-body {
|
|
|
|
overflow: visible;
|
2023-12-23 03:28:02 +08:00
|
|
|
width: 100%;
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
.topic-avatar {
|
2023-12-23 03:28:02 +08:00
|
|
|
padding-left: 0;
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
.collapse-down,
|
|
|
|
.collapse-up {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-12-23 03:28:02 +08:00
|
|
|
&.bottom {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: calc(var(--topic-body-width-padding) * 2);
|
|
|
|
}
|
|
|
|
&.top {
|
|
|
|
.cooked {
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
border-radius: var(--pm-border-radius);
|
|
|
|
margin-left: calc(var(--pm-padding) * -1);
|
|
|
|
padding-left: 2.15em;
|
|
|
|
}
|
|
|
|
.row {
|
|
|
|
.topic-body,
|
|
|
|
.topic-avatar {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-replies {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
margin-right: 0.15em;
|
|
|
|
}
|
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
// special post type colors
|
2023-12-23 03:28:02 +08:00
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
.current-user-post {
|
2024-01-03 05:53:40 +08:00
|
|
|
.regular.contents {
|
|
|
|
background: var(--tertiary-very-low);
|
|
|
|
border-color: var(--tertiary-very-low);
|
|
|
|
}
|
2023-12-23 04:16:59 +08:00
|
|
|
.embedded-posts {
|
|
|
|
.topic-body .cooked {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2023-12-23 03:28:02 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
.moderator {
|
2024-01-03 05:53:40 +08:00
|
|
|
.topic-body.highlighted {
|
|
|
|
.regular.contents {
|
|
|
|
animation: none;
|
|
|
|
}
|
2023-12-23 04:16:59 +08:00
|
|
|
}
|
2023-12-23 03:28:02 +08:00
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
.regular.contents {
|
2024-01-03 05:53:40 +08:00
|
|
|
background: var(--highlight-low);
|
|
|
|
border-color: var(--highlight-low);
|
|
|
|
.cooked {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2023-12-23 04:16:59 +08:00
|
|
|
}
|
2023-12-23 03:28:02 +08:00
|
|
|
}
|
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
.whisper {
|
|
|
|
.topic-body .regular.contents {
|
|
|
|
background: transparent;
|
|
|
|
border: 2px dashed var(--primary-low);
|
|
|
|
}
|
2023-12-23 03:28:02 +08:00
|
|
|
|
2023-12-23 04:16:59 +08:00
|
|
|
&.current-user-post .topic-body .regular.contents {
|
|
|
|
border: 2px dashed var(--tertiary-low);
|
2023-12-23 03:28:02 +08:00
|
|
|
}
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|
2024-01-03 05:53:40 +08:00
|
|
|
|
|
|
|
.deleted {
|
|
|
|
.topic-body .regular.contents {
|
|
|
|
background: var(--danger-low);
|
|
|
|
border-color: transparent;
|
|
|
|
.cooked {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.whisper {
|
|
|
|
.topic-body .regular.contents {
|
|
|
|
border-color: var(--danger-low-mid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-21 22:41:04 +08:00
|
|
|
}
|