Don’t color the separator dot.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 11:58:53 +0000 (13:58 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 11:58:53 +0000 (13:58 +0200)
src/main/resources/static/css/sone.css
src/main/resources/static/javascript/sone.js

index 9fb33a8..3c4e321 100644 (file)
 
 #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);
 }
 
index 13d990d..502413a 100644 (file)
@@ -25,7 +25,7 @@ function addCommentLinks() {
        $("#sone .post").each(function() {
                postId = $(this).attr("id");
                commentElement = (function(postId) {
-                       var commentElement = $("<div>Comment</div>").addClass("show-reply-form").click(function() {
+                       var commentElement = $("<div><span>Comment</span></div>").addClass("show-reply-form").click(function() {
                                replyElement = $("#sone .post#" + postId + " .create-reply");
                                replyElement.removeClass("hidden");
                                replyElement.removeClass("light");