refactor iqdb query support
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
// Place all the styles related to the ForumPostVotesController controller here.
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
41
app/assets/stylesheets/specific/dropzone.scss
Normal file
41
app/assets/stylesheets/specific/dropzone.scss
Normal file
@@ -0,0 +1,41 @@
|
||||
#filedropzone {
|
||||
border: 4px dashed #DDD;
|
||||
padding: 0;
|
||||
min-height: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
|
||||
.placeholder {
|
||||
font-style: italic;
|
||||
color: #333;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&.error {
|
||||
border-color: darken(#f2dede, 30%);
|
||||
background-color: #f2dede;
|
||||
}
|
||||
|
||||
&.success {
|
||||
border-color: darken(#dff0d8, 30%);
|
||||
background-color: #dff0d8;
|
||||
}
|
||||
}
|
||||
|
||||
.dz-preview {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.dz-progress {
|
||||
height: 20px;
|
||||
width: 300px;
|
||||
border: 1px solid #CCC;
|
||||
|
||||
.dz-upload {
|
||||
background-color: #F5F5FF;
|
||||
display: block;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
@@ -9,5 +9,9 @@ div#c-iqdb-queries {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#filedropzone {
|
||||
margin: 1em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,48 +34,6 @@ div#c-uploads {
|
||||
div.field_with_errors {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#filedropzone {
|
||||
border: 4px dashed #DDD;
|
||||
padding: 0;
|
||||
min-height: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
|
||||
.placeholder {
|
||||
font-style: italic;
|
||||
color: #333;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&.error {
|
||||
border-color: darken(#f2dede, 30%);
|
||||
background-color: #f2dede;
|
||||
}
|
||||
|
||||
&.success {
|
||||
border-color: darken(#dff0d8, 30%);
|
||||
background-color: #dff0d8;
|
||||
}
|
||||
}
|
||||
|
||||
.dz-preview {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.dz-progress {
|
||||
height: 20px;
|
||||
width: 300px;
|
||||
border: 1px solid #CCC;
|
||||
|
||||
.dz-upload {
|
||||
background-color: #F5F5FF;
|
||||
display: block;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#a-index {
|
||||
|
||||
Reference in New Issue
Block a user