From 640a08c277a697cff38ff9e2784fab889098ca09 Mon Sep 17 00:00:00 2001 From: Byron Date: Tue, 13 Dec 2011 23:00:48 -0600 Subject: Space in edit link of comments --- askbot/skins/default/media/style/style.css | 6 +++--- askbot/skins/default/media/style/style.less | 7 ++++++- askbot/skins/default/templates/macros.html | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 6c346c48..0f56e2fd 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -275,7 +275,7 @@ span.delete-icon:hover{background:url(../images/close-small-dark.png) top no-rep .question-page .comments span.delete-icon:hover{border:#BC564B 2px solid;border-radius:10px;-ms-border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-khtml-border-radius:10px;} .question-page .comments .content{margin-bottom:7px;} .question-page .comments .comment-votes{float:left;width:37px;line-height:130%;padding:6px 5px 6px 3px;} -.question-page .comments .comment-body{line-height:1.3;margin:3px 26px 0 46px;padding:5px 3px;color:#666;font-size:13px;} +.question-page .comments .comment-body{line-height:1.3;margin:3px 26px 0 46px;padding:5px 3px;color:#666;font-size:13px;}.question-page .comments .comment-body .edit{padding-left:6px;} .question-page .comments .comment-body p{font-size:13px;line-height:1.3;margin-bottom:3px;padding:0;} .question-page .comments .comment-delete{float:right;width:14px;line-height:130%;padding:8px 6px;} .question-page .comments .upvote{margin:0px;padding-right:17px;padding-top:2px;text-align:right;height:20px;font-size:13px;font-weight:bold;color:#777;} @@ -286,14 +286,14 @@ span.delete-icon:hover{background:url(../images/close-small-dark.png) top no-rep .question-page #questionTools{font-size:22px;margin-top:11px;text-align:left;} .question-page .question-status{margin-top:10px;margin-bottom:15px;padding:20px;background-color:#fef7cc;text-align:center;border:#e1c04a 1px solid;} .question-page .question-status h3{font-size:20px;color:#707070;font-weight:normal;} -.question-page .vote-buttons{float:left;text-align:center;padding-top:2px;margin:3px 10px 0px 3px;} +.question-page .vote-buttons{float:left;text-align:center;padding-top:2px;margin:10px 10px 0px 3px;} .question-page .vote-buttons IMG{cursor:pointer;} .question-page .vote-number{font-family:'Yanone Kaffeesatz',sans-serif;padding:0px 0 5px 0;font-size:25px;font-weight:bold;color:#777;} .question-page .vote-buttons .notify-sidebar{text-align:left;width:120px;} .question-page .vote-buttons .notify-sidebar label{vertical-align:top;} .question-page .tabBar-answer{margin-bottom:15px;padding-left:7px;width:723px;margin-top:10px;} .question-page .answer .vote-buttons{float:left;} -.question-page .accepted-answer{background-color:#f7fecc;border-bottom-color:#9BD59B;}.question-page .accepted-answer .vote-buttons{width:27px;margin-right:10px;} +.question-page .accepted-answer{background-color:#f7fecc;border-bottom-color:#9BD59B;}.question-page .accepted-answer .vote-buttons{width:27px;margin-right:10px;margin-top:10px;} .question-page .answer .post-update-info a{color:#444444;} .question-page .answered{background:#CCC;color:#999;} .question-page .answered-accepted{background:#DCDCDC;color:#763333;}.question-page .answered-accepted strong{color:#E1E818;} diff --git a/askbot/skins/default/media/style/style.less b/askbot/skins/default/media/style/style.less index eaa708af..ba2e5c15 100644 --- a/askbot/skins/default/media/style/style.less +++ b/askbot/skins/default/media/style/style.less @@ -1865,6 +1865,10 @@ span.delete-icon:hover { padding: 5px 3px; color: #666; font-size:13px; + + .edit{ + padding-left:6px; + } } .comment-body p{ @@ -1940,7 +1944,7 @@ span.delete-icon:hover { float: left; text-align: center; padding-top: 2px; - margin:3px 10px 0px 3px; + margin:10px 10px 0px 3px; } .vote-buttons IMG { @@ -1981,6 +1985,7 @@ span.delete-icon:hover { .vote-buttons { width:27px; margin-right:10px; + margin-top:10px; } } diff --git a/askbot/skins/default/templates/macros.html b/askbot/skins/default/templates/macros.html index 22272e9f..582980f4 100644 --- a/askbot/skins/default/templates/macros.html +++ b/askbot/skins/default/templates/macros.html @@ -286,7 +286,7 @@ for the purposes of the AJAX comment editor #} >{{comment.user.username}}  ({{comment.added_at|diff_date}}) {% if user|can_edit_comment(comment) %} -  {% trans %}edit{% endtrans %} + {% trans %}edit{% endtrans %} {% endif %} -- cgit v1.2.3-1-g7c22