32 lines
524 B
SCSS
32 lines
524 B
SCSS
article.comment {
|
|
flex: 1;
|
|
|
|
&[data-is-sticky="true"] {
|
|
background: var(--comment-sticky-background-color);
|
|
}
|
|
|
|
&[data-is-reported="true"] {
|
|
border: var(--moderation-report-border);
|
|
}
|
|
|
|
&[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;
|
|
}
|
|
}
|
|
}
|