Files
danbooru/app/components/comment_component/comment_component.scss
evazion a45e6b5cfe Fix #4931: Add popup voter list for comments.
Show the comment's upvote and downvote count when you hover over a
comment's score. For mods, show the list of voters as well.
2021-11-24 22:18:48 -06:00

52 lines
896 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-dimmed="true"] {
opacity: 0.3;
&:hover {
opacity: 1;
}
}
.unhide-comment-link {
margin-bottom: 1em;
display: block;
}
.moderation-report-notice {
font-weight: bold;
color: var(--moderation-report-text-color);
}
.comment-votes {
color: var(--muted-text-color);
// Fix it so that the vote buttons don't move when the score changes width.
.comment-score {
display: inline-block;
text-align: center;
min-width: 1.25em;
white-space: nowrap;
vertical-align: middle;
}
.icon {
width: 1.25em;
}
}
.popup-menu {
width: 1.5em;
height: 1.5em;
}
}