PostHider: added opacity
This commit is contained in:
parent
53a2544218
commit
ba1a4fc182
@ -21,8 +21,8 @@ function phPostHandle(element) {
|
|||||||
var pbody = element.children("div.post.op").children("div.body");
|
var pbody = element.children("div.post.op").children("div.body");
|
||||||
var pimage = element.children("a:first").children("img");
|
var pimage = element.children("a:first").children("img");
|
||||||
var pbutton = element.children("div.post.op").children("p.intro").children("a.posthider");
|
var pbutton = element.children("div.post.op").children("p.intro").children("a.posthider");
|
||||||
if(phPostHidden(id)) { element.addClass("post-hidden"); preplies.hide(); pbody.hide(); pimage.hide(); pbutton.text("[+]"); }
|
if(phPostHidden(id)) { element.addClass("thread-hidden"); preplies.hide(); pbody.hide(); pimage.hide(); pbutton.text("[+]"); }
|
||||||
else { element.removeClass("post-hidden"); preplies.show(); pbody.show(); pimage.show(); pbutton.text("[-]"); }
|
else { element.removeClass("thread-hidden"); preplies.show(); pbody.show(); pimage.show(); pbutton.text("[-]"); }
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
@ -453,3 +453,6 @@ table.mod.config-editor input[type="text"] {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
.thread-hidden {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user