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

@@ -0,0 +1,31 @@
@import "../base/000_vars.scss";
#blacklist-box {
display: none;
a.blacklisted-active {
text-decoration: line-through;
}
&.sidebar-blacklist ul li {
list-style-type: disc;
list-style-position: inside;
}
&.inline-blacklist {
margin-bottom: 1em;
#blacklist-list {
display: inline;
li {
display: inline;
margin-right: 1em;
}
}
}
}
.post-preview.blacklisted-active, #image-container.blacklisted-active, #c-comments .post.blacklisted-active {
display: none;
}

View File

@@ -65,23 +65,6 @@ div#page {
margin-bottom: 1em;
}
aside#sidebar > section#blacklist-box ul {
margin-left: 1em;
li {
list-style-type: disc;
}
a {
color: $link_color;
cursor: pointer;
}
span {
color: #AAA;
}
}
section#content {
overflow: visible;
margin-left: 15em;