Commit 682ee0162f7839d0df89fbbdcf4d2d823605795d
1 parent
32e196f0
Exists in
master
update css plugin
Showing
2 changed files
with
38 additions
and
4 deletions
Show diff stats
public/comment_paragraph_macro.js
... | ... | @@ -82,7 +82,7 @@ jQuery(document).ready(function($) { |
82 | 82 | $('label[for|=comment_title]').hide(); |
83 | 83 | $('label[for|=comment_body]').css({top: -30, left: +20, position:'relative'}); |
84 | 84 | $('.comment_form p').hide(); |
85 | - $('.comments_list_toggle_paragraph_' + paragraphId).width('350px'); | |
85 | + $('.comments_list_toggle_paragraph_' + paragraphId).width('250px'); | |
86 | 86 | $('.required-field').removeClass("required-field"); |
87 | 87 | } |
88 | 88 | |
... | ... | @@ -224,4 +224,4 @@ function loadCompleted(paragraph) { |
224 | 224 | jQuery.scrollTo(jQuery(comment_paragraph_anchor)); |
225 | 225 | comment_paragraph_anchor = null; |
226 | 226 | } |
227 | -} | |
228 | 227 | \ No newline at end of file |
228 | +} | ... | ... |
public/style.css
1 | + | |
2 | +#article .article-comments-list, | |
3 | +#article .article-comments-list ul, | |
4 | +#article .article-comments-list li { | |
5 | + margin: 10px 0 10px 0; | |
6 | +} | |
7 | + | |
1 | 8 | div.article-comments-list-more{ |
2 | 9 | width: 100%; |
3 | 10 | height: 30px; |
... | ... | @@ -102,7 +109,15 @@ display: block; |
102 | 109 | width: 0; |
103 | 110 | }*/ |
104 | 111 | |
105 | - | |
112 | +.comment-picture {width: 50px;} | |
113 | +.comment-text {display: inline-block;} | |
114 | +.comment-replies .comment-text {display: inline-block;} | |
115 | +.comment-from-owner .comment-created-at { | |
116 | + display: block; | |
117 | + width: 100%;} | |
118 | +.comment-replies .comment-text {display: block;} | |
119 | +#article .article-comment .comment-details h4 {display: none;} | |
120 | +#article .article-comments-list .comment-replies {padding-left: 20px;} | |
106 | 121 | #comment_title{ |
107 | 122 | display: none; |
108 | 123 | } |
... | ... | @@ -110,9 +125,10 @@ width: 0; |
110 | 125 | div[class^='comments_list_toggle_paragraph_'] { |
111 | 126 | border-style: solid; |
112 | 127 | border-width: 1px; |
113 | - border-color: black; | |
128 | + border-color: #ccc; | |
114 | 129 | padding: 5px; |
115 | 130 | background-color: whitesmoke; |
131 | + width: 250px; | |
116 | 132 | } |
117 | 133 | |
118 | 134 | div[class^='comment-paragraph-loading-'] { |
... | ... | @@ -122,16 +138,34 @@ div[class^='comment-paragraph-loading-'] { |
122 | 138 | padding: 5px;*/ |
123 | 139 | background-color: whitesmoke; |
124 | 140 | z-index: 99; |
141 | + right: -230px; | |
142 | +} | |
143 | + | |
144 | +#content .comment-balloon div[class^='comment-wrapper-']{ | |
145 | + background: none; | |
125 | 146 | } |
126 | 147 | |
148 | +.article-comment-inner {border-bottom: 1px solid #ddd;} | |
149 | + | |
127 | 150 | /*label[for="comment_title"]{ |
128 | 151 | display: none; |
129 | 152 | }*/ |
130 | 153 | |
154 | +#article .comment-replies .article-comment{background: white; border: 0px; border-top: 1px solid #ddd;} | |
155 | +.comment-replies .comment-from-owner.comment-content {background: none;} | |
156 | + | |
131 | 157 | #comments_list{ |
132 | 158 | display: none; |
133 | 159 | } |
134 | 160 | |
161 | +.article-comment .comment-details {margin-bottom: 10px;} | |
162 | + | |
163 | +#content .comment-actions .menu-submenu ul { | |
164 | + right: 100%; | |
165 | + position: absolute; | |
166 | +} | |
167 | + | |
168 | + | |
135 | 169 | /* Hides old style counter*/ |
136 | 170 | /*.comment-count{ |
137 | 171 | display: none; | ... | ... |