From 682ee0162f7839d0df89fbbdcf4d2d823605795d Mon Sep 17 00:00:00 2001 From: Gustavo Cruz Date: Mon, 8 Sep 2014 16:52:58 -0300 Subject: [PATCH] update css plugin --- public/comment_paragraph_macro.js | 4 ++-- public/style.css | 38 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/public/comment_paragraph_macro.js b/public/comment_paragraph_macro.js index 0dc17c0..b86864f 100644 --- a/public/comment_paragraph_macro.js +++ b/public/comment_paragraph_macro.js @@ -82,7 +82,7 @@ jQuery(document).ready(function($) { $('label[for|=comment_title]').hide(); $('label[for|=comment_body]').css({top: -30, left: +20, position:'relative'}); $('.comment_form p').hide(); - $('.comments_list_toggle_paragraph_' + paragraphId).width('350px'); + $('.comments_list_toggle_paragraph_' + paragraphId).width('250px'); $('.required-field').removeClass("required-field"); } @@ -224,4 +224,4 @@ function loadCompleted(paragraph) { jQuery.scrollTo(jQuery(comment_paragraph_anchor)); comment_paragraph_anchor = null; } -} \ No newline at end of file +} diff --git a/public/style.css b/public/style.css index 27fd11a..723d2f8 100644 --- a/public/style.css +++ b/public/style.css @@ -1,3 +1,10 @@ + +#article .article-comments-list, +#article .article-comments-list ul, +#article .article-comments-list li { + margin: 10px 0 10px 0; +} + div.article-comments-list-more{ width: 100%; height: 30px; @@ -102,7 +109,15 @@ display: block; width: 0; }*/ - +.comment-picture {width: 50px;} +.comment-text {display: inline-block;} +.comment-replies .comment-text {display: inline-block;} +.comment-from-owner .comment-created-at { + display: block; + width: 100%;} +.comment-replies .comment-text {display: block;} +#article .article-comment .comment-details h4 {display: none;} +#article .article-comments-list .comment-replies {padding-left: 20px;} #comment_title{ display: none; } @@ -110,9 +125,10 @@ width: 0; div[class^='comments_list_toggle_paragraph_'] { border-style: solid; border-width: 1px; - border-color: black; + border-color: #ccc; padding: 5px; background-color: whitesmoke; + width: 250px; } div[class^='comment-paragraph-loading-'] { @@ -122,16 +138,34 @@ div[class^='comment-paragraph-loading-'] { padding: 5px;*/ background-color: whitesmoke; z-index: 99; + right: -230px; +} + +#content .comment-balloon div[class^='comment-wrapper-']{ + background: none; } +.article-comment-inner {border-bottom: 1px solid #ddd;} + /*label[for="comment_title"]{ display: none; }*/ +#article .comment-replies .article-comment{background: white; border: 0px; border-top: 1px solid #ddd;} +.comment-replies .comment-from-owner.comment-content {background: none;} + #comments_list{ display: none; } +.article-comment .comment-details {margin-bottom: 10px;} + +#content .comment-actions .menu-submenu ul { + right: 100%; + position: absolute; +} + + /* Hides old style counter*/ /*.comment-count{ display: none; -- libgit2 0.21.2