comments: tweak styling of vote buttons.
* Tweak hover colors for vote buttons. * Tweak sizes to avoid the vote buttons shifting when the score changes.
This commit is contained in:
@@ -9,18 +9,6 @@ article.comment {
|
||||
background-color: var(--moderation-report-background-color);
|
||||
}
|
||||
|
||||
&[data-is-upvoted="true"] {
|
||||
a.comment-upvote-link {
|
||||
color: var(--link-color);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-is-downvoted="true"] {
|
||||
a.comment-downvote-link {
|
||||
color: var(--link-color);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-is-dimmed="true"] {
|
||||
opacity: 0.3;
|
||||
|
||||
@@ -42,12 +30,16 @@ article.comment {
|
||||
.comment-votes {
|
||||
color: var(--muted-text-color);
|
||||
|
||||
a {
|
||||
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;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: var(--link-color);
|
||||
}
|
||||
.icon {
|
||||
width: 1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user