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.
This commit is contained in:
@@ -26,15 +26,9 @@ div#c-modqueue {
|
||||
}
|
||||
}
|
||||
|
||||
<% Danbooru.config.modqueue_quality_warning_tags.each do |tag| %>
|
||||
&[data-tags~="<%= tag %>"] {
|
||||
background-color: var(--modqueue-quality-warning-color);
|
||||
}
|
||||
<% end %>
|
||||
|
||||
<% Danbooru.config.modqueue_sample_warning_tags.each do |tag| %>
|
||||
&[data-tags~="<%= tag %>"] {
|
||||
background-color: var(--modqueue-sample-warning-color);
|
||||
<% Danbooru.config.modqueue_warning_tags.each do |tag| %>
|
||||
li[data-tag-name="<%= tag %>"] {
|
||||
background-color: var(--modqueue-tag-warning-color);
|
||||
}
|
||||
<% end %>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user