fade out downvoted comments less dramatically
This commit is contained in:
parent
9554423d4f
commit
416a5de6e4
|
@ -448,16 +448,15 @@ li div.details {
|
|||
}
|
||||
|
||||
.negative {
|
||||
opacity: 0.7;
|
||||
color: gray !important;
|
||||
}
|
||||
.negative_1 {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.negative_3 {
|
||||
opacity: 0.4;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.negative_5 {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.negative_7 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
|
|||
"upvoted" : "downvoted") : "" %>
|
||||
<%= comment.highlighted ? "highlighted" : "" %>
|
||||
<%= comment.score <= 0 ? "negative" : "" %>
|
||||
<%= comment.score <= -1 ? "negative_1" : "" %>
|
||||
<%= comment.score <= -3 ? "negative_3" : "" %>
|
||||
<%= comment.score <= -5 ? "negative_5" : "" %>
|
||||
<%= comment.score <= -7 ? "negative_7" : "" %>">
|
||||
<%= comment.score <= -5 ? "negative_5" : "" %>">
|
||||
<% if !comment.is_gone? %>
|
||||
<div class="voters">
|
||||
<% if @user %>
|
||||
|
|
Loading…
Reference in a new issue