blacklists: refactor blacklist html+css.

* Consolidate blacklist css in one file.
* blacklist box: fix tag colors not dimming on hover.
* blacklist box: allow middle clicking on tags to open in new tab.
* /wiki_pages: move blacklist controls to top of tag sidebar.
* /wiki_pages: fix missing "disable all" / "re-enable all" buttons.
This commit is contained in:
evazion
2018-08-16 12:06:01 -05:00
parent d26d450c09
commit 6ccf4ed9c0
7 changed files with 36 additions and 64 deletions

View File

@@ -123,10 +123,6 @@ div#c-comments {
}
}
}
div.post.blacklisted.blacklisted-active {
display: none;
}
}
}

View File

@@ -51,14 +51,6 @@ article.post-preview {
margin-top: 1em;
}
a.blacklisted-active {
text-decoration: line-through;
}
.post-preview.blacklisted-active, #image-container.blacklisted-active {
display: none;
}
#excerpt p.links {
margin-top: 1em;
}
@@ -499,33 +491,6 @@ div#c-explore-posts {
}
}
#blacklist-box {
display: none;
}
#blacklist-box.inline-blacklist {
margin-bottom: 1em;
#blacklist-list {
display: inline;
}
#blacklist-list li {
display: inline;
margin-right: 1em;
a {
color: $link_color;
cursor: pointer;
}
span.count {
color: #AAA;
margin-left: 0;
}
}
}
div#unapprove-dialog {
p {
margin-bottom: 1em;