fade out downvoted comments less dramatically

This commit is contained in:
joshua stein 2014-06-30 17:13:07 -05:00
parent 9554423d4f
commit 416a5de6e4
2 changed files with 6 additions and 7 deletions

View file

@ -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;
}

View file

@ -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 %>