Changeset 969

Show
Ignore:
Timestamp:
07/28/10 20:52:50 (6 weeks ago)
Author:
deniart
Message:

fix developer

Location:
trunk/templates/skin/developer
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/skin/developer/css/style.css

    r941 r969  
    212212.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; } 
    213213.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; } 
    215215.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; } 
    216216.topic .content ul { list-style-type: disc; margin-left: 17px; } 
    217217.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; } 
    218220 
    219221/* Tags */ 
     
    334336.comment .info.new              { background: #fbfba8 !important; } 
    335337.comment .info.del              { background: #c5c5c5 !important; } 
    336 .comment .info.view     { background: #cdf5a6 !important; } 
     338.comment .info.view     { background: #a5e7fa !important; } 
    337339 
    338340/* Comment List */ 
  • trunk/templates/skin/developer/js/comments.js

    r923 r969  
    132132                        var aDivComments=$$('.comment'); 
    133133                        aDivComments.each(function(item,index){ 
    134                                 var divContent=item.getChildren('div.content')[0]; 
     134                                var divContent=item.getChildren('div.comment-inner').getChildren('ul.info')[0]; 
    135135                                if (divContent) { 
    136136                                        divContent.removeClass('new'); 
     
    235235                this.docScroller.start(0,cmt.getPosition().y+deltaY); 
    236236                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'); 
    238238                }                                
    239                 $('comment_content_id_'+idComment).addClass('view'); 
     239                $('comment_content_id_'+idComment).getParent('div.comment-inner').getChildren('ul.info')[0].addClass('view'); 
    240240                this.iCommentIdLastView=idComment; 
    241241        },