diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 3b6343e..b4d58f5 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -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; } diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 5d80c9f..18d21f7 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -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? %>
<% if @user %>