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

@@ -1,7 +1,7 @@
<section id="blacklist-box">
<div id="blacklist-box" class="sidebar-blacklist">
<h1>Blacklisted (<%= link_to "Help", wiki_pages_path(:title => "help:blacklists") %>)</h1>
<ul id="blacklist-list">
</ul>
<%= link_to "Disable all", "#", :id => "disable-all-blacklists", :style => "display: none;" %>
<%= link_to "Re-enable all", "#", :id => "re-enable-all-blacklists", :style => "display: none;" %>
</section>
</div>