Migrate assets to use Webpacker
This commit is contained in:
60
app/javascript/src/styles/specific/mod_queue.scss.erb
Normal file
60
app/javascript/src/styles/specific/mod_queue.scss.erb
Normal file
@@ -0,0 +1,60 @@
|
||||
@import "../common/000_vars.scss";
|
||||
|
||||
div#c-moderator-post-queues {
|
||||
div.post {
|
||||
margin-bottom: 4em;
|
||||
overflow: hidden;
|
||||
|
||||
&.post-pos-score {
|
||||
background: rgb(230, 255, 230);
|
||||
}
|
||||
|
||||
&.post-neg-score {
|
||||
background: rgb(255, 230, 230);
|
||||
}
|
||||
|
||||
aside {
|
||||
float: left;
|
||||
width: 220px;
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
section {
|
||||
float: left;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
<% Danbooru.config.modqueue_quality_warning_tags.each do |tag| %>
|
||||
&[data-tags~="<%= tag %>"] {
|
||||
background-color: $preview_quality_warning_color;
|
||||
}
|
||||
<% end %>
|
||||
|
||||
<% Danbooru.config.modqueue_sample_warning_tags.each do |tag| %>
|
||||
&[data-tags~="<%= tag %>"] {
|
||||
background-color: $preview_sample_warning_color;
|
||||
}
|
||||
<% end %>
|
||||
|
||||
&[data-tags~=animated], &[data-file-ext=swf], &[data-file-ext=webm], &[data-file-ext=zip], &[data-file-ext=mp4] {
|
||||
aside:before {
|
||||
@include animated-icon;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-has-sound=true] {
|
||||
aside:before {
|
||||
@include sound-icon;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#moderation-guideline {
|
||||
width: 900px;
|
||||
|
||||
h1 {
|
||||
font-size: $h2_size;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user