Allow uploading multiple files from your computer at once. The maximum limit is 100 files at once. There is still a 50MB size limit that applies to the whole upload. This limit is at the Nginx level. The upload widget no longer shows a thumbnail preview of the uploaded file. This is because there isn't room for it in a multi-file upload, and because the next page will show a preview anyway after the files are uploaded. Direct file uploads are processed synchronously, so they may be slow. API change: the `POST /uploads` endpoint now expects the param to be `upload[files][]`, not `upload[file]`.
39 lines
672 B
SCSS
39 lines
672 B
SCSS
.file-upload-component {
|
|
background-color: var(--file-upload-component-background-color);
|
|
|
|
form {
|
|
margin: 0;
|
|
}
|
|
|
|
progress {
|
|
height: 6px;
|
|
}
|
|
|
|
.dropzone-container {
|
|
background: var(--uploads-dropzone-background);
|
|
|
|
&.error {
|
|
background: var(--error-background-color);
|
|
}
|
|
|
|
&.success {
|
|
background: var(--success-background-color);
|
|
}
|
|
}
|
|
|
|
.dz-progress {
|
|
bottom: 0;
|
|
left: 0;
|
|
|
|
background-color: var(--uploads-dropzone-progress-bar-background-color);
|
|
|
|
.dz-upload {
|
|
background-color: var(--uploads-dropzone-progress-bar-foreground-color);
|
|
}
|
|
}
|
|
|
|
&.dz-error .dz-error-message {
|
|
display: block;
|
|
}
|
|
}
|