comments: show "undo vote" link by default on voted comments (fix #4143).
This commit is contained in:
@@ -15,6 +15,26 @@ div.comments-for-post {
|
||||
background: $menu_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.0;
|
||||
}
|
||||
}
|
||||
|
||||
div.author {
|
||||
width: 12em;
|
||||
float: left;
|
||||
@@ -38,14 +58,6 @@ div.comments-for-post {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
article.comment.below-threshold:not([data-is-sticky="true"]) {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
article.comment.below-threshold:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user