Changeset 969
- Timestamp:
- 07/28/10 20:52:50 (6 weeks ago)
- Location:
- trunk/templates/skin/developer
- Files:
-
- 2 modified
-
css/style.css (modified) (2 diffs)
-
js/comments.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/skin/developer/css/style.css
r941 r969 212 212 .topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; } 213 213 .topic .content p { margin-bottom: 18px; } 214 .topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; }214 .topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; } 215 215 .topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; } 216 216 .topic .content ul { list-style-type: disc; margin-left: 17px; } 217 217 .topic .content ol { list-style-type: decimal; margin-left: 22px; } 218 .topic .content img[align="right"] { margin: 4px 0 5px 15px; } 219 .topic .content img[align="left"] { margin: 4px 15px 10px 0; } 218 220 219 221 /* Tags */ … … 334 336 .comment .info.new { background: #fbfba8 !important; } 335 337 .comment .info.del { background: #c5c5c5 !important; } 336 .comment .info.view { background: # cdf5a6!important; }338 .comment .info.view { background: #a5e7fa !important; } 337 339 338 340 /* Comment List */ -
trunk/templates/skin/developer/js/comments.js
r923 r969 132 132 var aDivComments=$$('.comment'); 133 133 aDivComments.each(function(item,index){ 134 var divContent=item.getChildren('div.co ntent')[0];134 var divContent=item.getChildren('div.comment-inner').getChildren('ul.info')[0]; 135 135 if (divContent) { 136 136 divContent.removeClass('new'); … … 235 235 this.docScroller.start(0,cmt.getPosition().y+deltaY); 236 236 if (this.iCommentIdLastView) { 237 $('comment_content_id_'+this.iCommentIdLastView). removeClass('view');237 $('comment_content_id_'+this.iCommentIdLastView).getParent('div.comment-inner').getChildren('ul.info')[0].removeClass('view'); 238 238 } 239 $('comment_content_id_'+idComment). addClass('view');239 $('comment_content_id_'+idComment).getParent('div.comment-inner').getChildren('ul.info')[0].addClass('view'); 240 240 this.iCommentIdLastView=idComment; 241 241 },
