mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-06 00:14:25 +03:00
fix developer
This commit is contained in:
parent
7836a16e7d
commit
bbf44a9a05
|
@ -211,10 +211,12 @@ p { margin-bottom: 18px; }
|
||||||
/* Content */
|
/* Content */
|
||||||
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; }
|
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; }
|
||||||
.topic .content p { margin-bottom: 18px; }
|
.topic .content p { margin-bottom: 18px; }
|
||||||
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; }
|
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; }
|
||||||
.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
|
.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
|
||||||
.topic .content ul { list-style-type: disc; margin-left: 17px; }
|
.topic .content ul { list-style-type: disc; margin-left: 17px; }
|
||||||
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
|
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
|
||||||
|
.topic .content img[align="right"] { margin: 4px 0 5px 15px; }
|
||||||
|
.topic .content img[align="left"] { margin: 4px 15px 10px 0; }
|
||||||
|
|
||||||
/* Tags */
|
/* Tags */
|
||||||
.topic .tags { margin: 0 0 6px; padding-left: 23px; background: url(../images/tag.png) no-repeat 0 2px; }
|
.topic .tags { margin: 0 0 6px; padding-left: 23px; background: url(../images/tag.png) no-repeat 0 2px; }
|
||||||
|
@ -333,7 +335,7 @@ p { margin-bottom: 18px; }
|
||||||
.comment .info.self { background: #faf8f4 !important; }
|
.comment .info.self { background: #faf8f4 !important; }
|
||||||
.comment .info.new { background: #fbfba8 !important; }
|
.comment .info.new { background: #fbfba8 !important; }
|
||||||
.comment .info.del { background: #c5c5c5 !important; }
|
.comment .info.del { background: #c5c5c5 !important; }
|
||||||
.comment .info.view { background: #cdf5a6 !important; }
|
.comment .info.view { background: #a5e7fa !important; }
|
||||||
|
|
||||||
/* Comment List */
|
/* Comment List */
|
||||||
.comments.comment-list .path { padding-bottom: 3px; }
|
.comments.comment-list .path { padding-bottom: 3px; }
|
||||||
|
|
|
@ -131,7 +131,7 @@ var lsCmtTreeClass = new Class({
|
||||||
if (!bNotFlushNew) {
|
if (!bNotFlushNew) {
|
||||||
var aDivComments=$$('.comment');
|
var aDivComments=$$('.comment');
|
||||||
aDivComments.each(function(item,index){
|
aDivComments.each(function(item,index){
|
||||||
var divContent=item.getChildren('div.content')[0];
|
var divContent=item.getChildren('div.comment-inner').getChildren('ul.info')[0];
|
||||||
if (divContent) {
|
if (divContent) {
|
||||||
divContent.removeClass('new');
|
divContent.removeClass('new');
|
||||||
divContent.removeClass('view');
|
divContent.removeClass('view');
|
||||||
|
@ -234,9 +234,9 @@ var lsCmtTreeClass = new Class({
|
||||||
}
|
}
|
||||||
this.docScroller.start(0,cmt.getPosition().y+deltaY);
|
this.docScroller.start(0,cmt.getPosition().y+deltaY);
|
||||||
if (this.iCommentIdLastView) {
|
if (this.iCommentIdLastView) {
|
||||||
$('comment_content_id_'+this.iCommentIdLastView).removeClass('view');
|
$('comment_content_id_'+this.iCommentIdLastView).getParent('div.comment-inner').getChildren('ul.info')[0].removeClass('view');
|
||||||
}
|
}
|
||||||
$('comment_content_id_'+idComment).addClass('view');
|
$('comment_content_id_'+idComment).getParent('div.comment-inner').getChildren('ul.info')[0].addClass('view');
|
||||||
this.iCommentIdLastView=idComment;
|
this.iCommentIdLastView=idComment;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue