2019-01-04 01:03:01 +08:00
|
|
|
.reviewable {
|
2023-09-09 00:07:04 +08:00
|
|
|
background: var(--d-content-background);
|
|
|
|
|
2019-05-03 21:42:43 +08:00
|
|
|
.flagged-post-header {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-04-09 00:02:04 +08:00
|
|
|
.status {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-04-09 00:02:04 +08:00
|
|
|
span.approved {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2019-04-11 01:22:28 +08:00
|
|
|
.d-icon {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
2019-04-09 00:02:04 +08:00
|
|
|
}
|
|
|
|
span.rejected {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-04-11 01:22:28 +08:00
|
|
|
.d-icon {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
2019-04-09 00:02:04 +08:00
|
|
|
}
|
|
|
|
}
|
2019-09-04 23:56:25 +08:00
|
|
|
.explain {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2019-04-09 00:02:04 +08:00
|
|
|
|
2019-04-03 05:00:15 +08:00
|
|
|
.nav-pills {
|
2021-06-08 01:22:28 +08:00
|
|
|
margin: 0 0 1em;
|
2019-04-03 05:00:15 +08:00
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-top: 1em;
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.reviewable-list {
|
|
|
|
flex: 1;
|
|
|
|
box-sizing: border-box;
|
2019-04-03 04:25:53 +08:00
|
|
|
max-width: 760px; // Match topic post width
|
2019-04-18 04:17:54 +08:00
|
|
|
min-width: 0;
|
2019-04-03 04:25:53 +08:00
|
|
|
margin-right: auto;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
|
|
|
width: 250px;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-list + .reviewable-filters {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 05:00:15 +08:00
|
|
|
.reviewable-settings {
|
2019-05-23 05:23:45 +08:00
|
|
|
h4 {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
2019-04-03 05:00:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.saved {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
.reviewable-score-type {
|
|
|
|
display: flex;
|
2019-05-23 05:23:45 +08:00
|
|
|
margin-bottom: 0.5em;
|
2019-04-03 05:00:15 +08:00
|
|
|
|
2019-05-23 05:23:45 +08:00
|
|
|
.select-kit {
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
2019-04-03 05:00:15 +08:00
|
|
|
.title {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-04 05:07:24 +08:00
|
|
|
.reviewable-user-info {
|
2023-03-09 23:02:13 +08:00
|
|
|
max-width: 100%;
|
2019-01-04 01:03:01 +08:00
|
|
|
margin: 0.5em 0;
|
2019-04-05 02:45:04 +08:00
|
|
|
.reviewable-user-fields {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
2019-04-04 05:07:24 +08:00
|
|
|
|
|
|
|
.reviewable-user-details {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2019-04-05 02:45:04 +08:00
|
|
|
padding-bottom: 0.25em;
|
|
|
|
|
2019-04-04 05:07:24 +08:00
|
|
|
display: flex;
|
|
|
|
.name {
|
|
|
|
width: 8em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2023-11-08 22:07:04 +08:00
|
|
|
.value {
|
|
|
|
max-width: calc(
|
|
|
|
100% - 8em - 1em
|
|
|
|
); // subtracting width of name and margin-right
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2019-04-04 05:07:24 +08:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-review {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-very-low);
|
2019-04-05 04:20:25 +08:00
|
|
|
padding: 1em;
|
2019-01-04 01:03:01 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.reviewable-filter {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
|
|
|
|
.filter-label {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.score-filter {
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-08 22:20:51 +08:00
|
|
|
.reviewable-claimed-topic {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.btn-small {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-actions .claimed-actions {
|
|
|
|
display: flex;
|
2020-02-12 03:18:42 +08:00
|
|
|
flex: 1 1 100%;
|
|
|
|
margin-right: 0;
|
2019-05-08 22:20:51 +08:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claimed-by {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.claimed-username {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-topics {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
td {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-details {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-05-08 22:20:51 +08:00
|
|
|
margin-left: 1em;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
|
|
|
.topic-filter .btn {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.score-filter {
|
|
|
|
width: 5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-flag-percentage {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
|
|
|
.percentage-label {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
&.agreed {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2019-04-11 01:22:28 +08:00
|
|
|
+ .d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2019-04-11 01:22:28 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
&.disagreed {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-04-11 01:22:28 +08:00
|
|
|
+ .d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-04-11 01:22:28 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
&.ignored {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-item {
|
2023-03-02 23:40:53 +08:00
|
|
|
background: var(--primary-very-low);
|
|
|
|
padding: 1.5rem;
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.topic-statuses {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-meta-data {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2019-01-04 01:03:01 +08:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2019-04-03 05:22:22 +08:00
|
|
|
margin-bottom: 0.5em;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2019-04-03 01:50:47 +08:00
|
|
|
align-items: baseline;
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-type {
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-right: 0.25em;
|
2023-03-02 23:40:53 +08:00
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
color: var(--secondary);
|
|
|
|
border-radius: 8px;
|
2023-04-02 18:16:26 +08:00
|
|
|
background-color: var(--secondary-high);
|
2023-05-29 16:02:02 +08:00
|
|
|
&.-flagged-post,
|
|
|
|
&.-flagged-chat-message {
|
|
|
|
background-color: var(--danger);
|
2023-03-02 23:40:53 +08:00
|
|
|
}
|
2023-03-09 23:02:13 +08:00
|
|
|
&.-queued-post,
|
|
|
|
&.-queued-topic,
|
|
|
|
&.-user {
|
2023-03-02 23:40:53 +08:00
|
|
|
background-color: var(--tertiary);
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-04-05 04:20:25 +08:00
|
|
|
.reply-count {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
.created-at {
|
2019-04-05 04:20:25 +08:00
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: auto;
|
2019-01-04 01:03:01 +08:00
|
|
|
a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.score {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-contents {
|
|
|
|
display: flex;
|
2019-04-03 01:50:47 +08:00
|
|
|
flex-wrap: wrap;
|
2023-03-02 23:40:53 +08:00
|
|
|
margin: 1.5rem 0 1rem;
|
|
|
|
background: var(--secondary);
|
|
|
|
padding: 1rem;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-actions {
|
|
|
|
display: flex;
|
2019-04-03 01:50:47 +08:00
|
|
|
flex-wrap: wrap;
|
2023-03-02 23:40:53 +08:00
|
|
|
gap: 0.5rem;
|
2020-02-12 03:18:42 +08:00
|
|
|
width: 100%;
|
2019-04-03 01:50:47 +08:00
|
|
|
|
|
|
|
button {
|
|
|
|
white-space: nowrap;
|
2023-08-27 10:05:05 +08:00
|
|
|
}
|
2023-03-02 23:40:53 +08:00
|
|
|
|
2023-08-27 10:05:05 +08:00
|
|
|
.approve-post,
|
|
|
|
.approve-post > summary {
|
|
|
|
background-color: var(--success);
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
.reject-post,
|
|
|
|
.reject-post > summary {
|
|
|
|
background-color: var(--danger);
|
|
|
|
color: var(--secondary);
|
2019-04-03 01:50:47 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.reviewable-action,
|
|
|
|
.reviewable-action-dropdown {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2021-05-26 07:47:35 +08:00
|
|
|
.reviewable-stale {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2020-11-12 01:09:42 +08:00
|
|
|
.blur-images {
|
|
|
|
img:not(.avatar):not(.emoji) {
|
|
|
|
filter: blur(10px);
|
|
|
|
transition: 0.2s ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
filter: blur(0);
|
|
|
|
transition: 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-histories {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2019-04-11 01:22:28 +08:00
|
|
|
.reviewable-scores {
|
2023-06-02 02:55:27 +08:00
|
|
|
margin-top: 1rem;
|
2019-01-04 01:03:01 +08:00
|
|
|
min-width: 50%;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2019-01-04 01:03:01 +08:00
|
|
|
|
2023-03-02 23:40:53 +08:00
|
|
|
&__table-wrapper {
|
|
|
|
overflow-x: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-04-10 04:43:08 +08:00
|
|
|
.reviewed-by {
|
|
|
|
.date {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2019-04-13 10:26:24 +08:00
|
|
|
.user,
|
|
|
|
.reviewed-by {
|
2019-01-04 01:03:01 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-04-13 10:26:24 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
|
2019-04-13 10:26:24 +08:00
|
|
|
.user-flag-percentage {
|
|
|
|
margin-left: 0.5em;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
|
|
|
|
.d-icon {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
|
|
|
|
.badge-notification {
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2019-04-11 01:22:28 +08:00
|
|
|
vertical-align: text-top;
|
2019-04-03 01:50:47 +08:00
|
|
|
}
|
|
|
|
|
2023-03-02 23:40:53 +08:00
|
|
|
.approved,
|
|
|
|
.approved svg {
|
|
|
|
color: var(--success);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rejected,
|
|
|
|
.rejected svg {
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
|
|
|
|
2019-04-03 01:50:47 +08:00
|
|
|
tbody {
|
|
|
|
border-width: 1px;
|
2019-04-05 04:20:25 +08:00
|
|
|
td {
|
|
|
|
white-space: nowrap;
|
2019-04-11 01:22:28 +08:00
|
|
|
vertical-align: baseline;
|
|
|
|
&.user a,
|
|
|
|
&.reviewed-by a {
|
|
|
|
max-width: 150px;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2019-04-11 01:22:28 +08:00
|
|
|
}
|
2019-04-05 04:20:25 +08:00
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
> tr > th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
> tr > th,
|
|
|
|
> tr > td {
|
2019-05-23 02:27:17 +08:00
|
|
|
&:not(:empty) {
|
2023-03-02 23:40:53 +08:00
|
|
|
padding: 0.5em;
|
2019-05-23 02:27:17 +08:00
|
|
|
}
|
2019-07-19 04:33:12 +08:00
|
|
|
@include breakpoint("mobile-large") {
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2019-04-18 04:17:54 +08:00
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
2019-04-11 01:22:28 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-11 23:11:35 +08:00
|
|
|
.reviewable-score-reason {
|
|
|
|
margin: 0.5em 0;
|
2022-10-26 02:45:37 +08:00
|
|
|
max-width: var(--topic-body-width);
|
2019-04-11 23:11:35 +08:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-conversation {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
|
|
|
|
.reviewable-conversation-post {
|
2022-10-26 02:45:37 +08:00
|
|
|
max-width: var(--topic-body-width);
|
2019-01-04 01:03:01 +08:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
.username {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-04 04:49:57 +08:00
|
|
|
.reviewable-item {
|
2023-03-02 23:40:53 +08:00
|
|
|
margin-block: 3rem;
|
2019-07-19 23:56:14 +08:00
|
|
|
.show-raw-email {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-2);
|
2019-07-19 23:56:14 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
.post-title {
|
|
|
|
background-color: yellow;
|
|
|
|
}
|
|
|
|
.created-by {
|
|
|
|
margin-right: 1em;
|
2019-04-03 01:50:47 +08:00
|
|
|
padding-top: 0.35em;
|
2019-07-19 04:33:12 +08:00
|
|
|
@include breakpoint("mobile-large") {
|
2019-04-18 04:17:54 +08:00
|
|
|
float: left;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.names {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-contents-wrapper {
|
2019-04-05 04:20:25 +08:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 1em;
|
|
|
|
min-width: 275px;
|
2019-04-18 05:10:16 +08:00
|
|
|
word-break: break-word;
|
2019-07-19 04:33:12 +08:00
|
|
|
@include breakpoint("mobile-large", min-width) {
|
2019-04-18 04:17:54 +08:00
|
|
|
display: flex;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-06-06 00:12:13 +08:00
|
|
|
.reviewable-post-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-10-26 02:45:37 +08:00
|
|
|
width: var(--topic-body-width);
|
2019-06-06 00:12:13 +08:00
|
|
|
align-items: center;
|
2023-03-09 23:02:13 +08:00
|
|
|
max-width: 100%;
|
2019-06-06 00:12:13 +08:00
|
|
|
|
|
|
|
.reviewable-reply-to {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-06-06 00:12:13 +08:00
|
|
|
font-size: 0.9em;
|
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.post-contents {
|
|
|
|
width: 100%;
|
2019-04-18 04:17:54 +08:00
|
|
|
min-width: 0; // Flexbox fix
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-04-04 04:49:57 +08:00
|
|
|
|
|
|
|
.post-body {
|
2023-03-02 23:40:53 +08:00
|
|
|
position: relative;
|
2022-10-26 02:45:37 +08:00
|
|
|
max-width: var(--topic-body-width);
|
2019-04-04 04:49:57 +08:00
|
|
|
margin-top: 0.5em;
|
2023-03-02 23:40:53 +08:00
|
|
|
|
2023-06-02 02:55:27 +08:00
|
|
|
&.is-collapsed {
|
|
|
|
max-height: 50vh;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2023-03-02 23:40:53 +08:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2023-06-02 02:55:27 +08:00
|
|
|
left: 0;
|
2023-03-02 23:40:53 +08:00
|
|
|
bottom: 0;
|
2023-06-02 02:55:27 +08:00
|
|
|
height: 25%;
|
2023-03-02 23:40:53 +08:00
|
|
|
width: 100%;
|
2023-06-02 02:55:27 +08:00
|
|
|
background: linear-gradient(to bottom, transparent, var(--secondary));
|
|
|
|
}
|
|
|
|
|
|
|
|
+ .post-body__toggle-btn {
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
&__toggle-btn {
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
color: var(--primary-high);
|
|
|
|
font-size: var(--font-down-2);
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-dropdown);
|
2023-06-02 02:55:27 +08:00
|
|
|
margin-left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
color: var(--tertiary);
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
2023-03-02 23:40:53 +08:00
|
|
|
}
|
|
|
|
}
|
2019-04-04 04:49:57 +08:00
|
|
|
|
|
|
|
aside {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
|
2023-03-09 23:02:13 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2019-04-05 04:20:25 +08:00
|
|
|
pre,
|
|
|
|
code {
|
2019-04-04 04:49:57 +08:00
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.post-topic {
|
2019-04-03 01:50:47 +08:00
|
|
|
width: 100%;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-bottom: 0.75em;
|
2019-04-03 02:54:55 +08:00
|
|
|
.title-text {
|
2019-04-03 05:22:22 +08:00
|
|
|
font-weight: bold;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2019-04-03 01:50:47 +08:00
|
|
|
display: block;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-right: 0.75em;
|
|
|
|
}
|
2024-01-09 01:55:39 +08:00
|
|
|
.badge-category__wrapper {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
.discourse-tag {
|
|
|
|
vertical-align: bottom;
|
|
|
|
padding-left: 0.1em;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2023-03-02 23:40:53 +08:00
|
|
|
|
|
|
|
&__context-question {
|
|
|
|
margin-block: 1rem;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.editable-fields {
|
2019-04-16 03:11:34 +08:00
|
|
|
.editable-created-by {
|
|
|
|
display: flex;
|
|
|
|
.avatar {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
width: 100%;
|
|
|
|
.editable-field {
|
|
|
|
.mini-tag-chooser {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-input-text {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-input-textarea {
|
|
|
|
width: 100%;
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2019-04-13 10:26:24 +08:00
|
|
|
|
2020-10-16 01:48:52 +08:00
|
|
|
.flag-modal .modal-inner-container .select-kit.reviewable-action-dropdown {
|
|
|
|
width: initial;
|
|
|
|
}
|