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.
36 lines
619 B
Plaintext
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 %>
|
|
}
|
|
}
|