Files
danbooru/app/javascript/src/styles/specific/mod_queue.scss.erb
evazion 85f1674618 modqueue: highlight bad tags instead of entire post.
Change it so that when a post contains bad tags, the tags themselves are
highlighted rather than the entire post.

This also adds a data-tag-name attribute to tags in tag lists.
2020-03-03 03:25:51 -06:00

36 lines
619 B
Plaintext

@import "../base/000_vars.scss";
div#c-modqueue {
div.post {
padding: 1em;
overflow: hidden;
aside.column {
@media (min-width: 660px) {
padding-right: 1em;
}
}
section.column {
span.info {
margin-right: 1.5em;
}
.quick-mod {
display: inline-block;
margin-bottom: 1em;
}
.post-flags-row {
margin-top: 1em;
}
}
<% Danbooru.config.modqueue_warning_tags.each do |tag| %>
li[data-tag-name="<%= tag %>"] {
background-color: var(--modqueue-tag-warning-color);
}
<% end %>
}
}