From 5ad81c950618c03c62527bf05f95350b5f13f0bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 20 Oct 2010 13:58:53 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20color=20the=20separator=20dot.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/css/sone.css | 6 +++++- src/main/resources/static/javascript/sone.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 9fb33a8..3c4e321 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -144,11 +144,15 @@ #sone .post .show-reply-form { display: inline; +} + +#sone .post .show-reply-form span { color: rgb(28, 131, 191); cursor: pointer; + font: inherit; } -#sone .post .show-reply-form:hover { +#sone .post .show-reply-form span:hover { color: rgb(255, 172, 0); } diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 13d990d..502413a 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -25,7 +25,7 @@ function addCommentLinks() { $("#sone .post").each(function() { postId = $(this).attr("id"); commentElement = (function(postId) { - var commentElement = $("
Comment
").addClass("show-reply-form").click(function() { + var commentElement = $("
Comment
").addClass("show-reply-form").click(function() { replyElement = $("#sone .post#" + postId + " .create-reply"); replyElement.removeClass("hidden"); replyElement.removeClass("light"); -- 2.7.4