Files
danbooru/app/components/comment_component/comment_component.scss

37 lines
650 B
SCSS

article.comment {
flex: 1;
&[data-is-sticky="true"] {
background: var(--comment-sticky-background-color);
}
&[data-is-reported="true"] {
background-color: var(--moderation-report-background-color);
}
&[data-is-voted="true"] {
.comment-vote-up-link, .comment-vote-down-link {
display: none;
}
}
&[data-is-voted="false"] {
.comment-unvote-link {
display: none;
}
}
&[data-below-threshold="true"][data-is-sticky="false"] {
opacity: 0.3;
&:hover {
opacity: 1;
}
}
.moderation-report-notice {
font-weight: bold;
color: var(--moderation-report-text-color);
}
}