From 9312e71e684edc0835761a5f45e049b2f889f1f4 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Wed, 8 Feb 2012 12:49:33 -0500 Subject: [PATCH] Fixed the upvote class in the Javascript and the vote count rotation issue --- sass/_discussion-answers.scss | 2 +- sass/_question-view.scss | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/sass/_discussion-answers.scss b/sass/_discussion-answers.scss index bb57f91789..c313320c5a 100644 --- a/sass/_discussion-answers.scss +++ b/sass/_discussion-answers.scss @@ -44,7 +44,7 @@ div.answer-block { } div.answered-by-owner { - color: darken($mit-red, 10%); + color: darken($mit-red, 20%); } } diff --git a/sass/_question-view.scss b/sass/_question-view.scss index 1334c21a58..bf7413cabb 100644 --- a/sass/_question-view.scss +++ b/sass/_question-view.scss @@ -213,14 +213,29 @@ div.question-header { } div.comment-votes { - @include transform(rotate(-90deg)); width: 16px; a.upvote { + background: url(../images/askbot/comment-vote-up.png) no-repeat 5px; cursor: pointer; - font-size: 25px; - text-decoration: none; color: green; + display: block; + margin-bottom: 6px; + margin-top: 5px; + overflow: hidden; + text-decoration: none; + text-indent: -9999px; + width: 20px; + } + + a.upvoted { + @include border-radius(3px); + background: #D1E3A8; + color: green; + font-weight: bold; + margin-top: 10px; + padding: 2px; + text-indent: 0px; } }