2023-03-14 21:20:19 -05:00
|
|
|
.ui .field .dropzone {
|
|
|
|
border: 2px dashed var(--color-secondary);
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 0;
|
2023-08-28 14:43:59 -05:00
|
|
|
border-radius: var(--border-radius-medium);
|
2023-03-14 21:20:19 -05:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui .field .dropzone .dz-message {
|
|
|
|
margin: 10px 0;
|
2021-04-09 11:51:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-button {
|
|
|
|
color: var(--color-text-light) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone:hover .dz-button {
|
|
|
|
color: var(--color-text) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-error-message {
|
2021-05-01 16:33:21 -05:00
|
|
|
top: 145px !important;
|
2021-04-09 11:51:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-image {
|
|
|
|
display: flex !important;
|
|
|
|
align-items: center !important;
|
|
|
|
justify-content: center !important;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-image img {
|
|
|
|
max-width: 100% !important;
|
|
|
|
max-height: 100% !important;
|
|
|
|
object-fit: contain !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-preview.dz-image-preview,
|
|
|
|
.dropzone-attachments .thumbnails img {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone-attachments .thumbnails img {
|
|
|
|
height: 120px !important;
|
|
|
|
width: 120px !important;
|
|
|
|
object-fit: contain !important;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-preview:hover .dz-image img {
|
2023-03-14 21:20:19 -05:00
|
|
|
filter: opacity(0.5) !important;
|
2021-04-09 11:51:27 -05:00
|
|
|
}
|
2023-08-14 09:36:53 -05:00
|
|
|
|
|
|
|
.ui .field .dropzone .dz-preview .dz-progress {
|
|
|
|
/* by default the progress-bar is vertically centered (top: 50%), it's better to put it after the "details (size, filename)",
|
|
|
|
then the layout from top to bottom is: size, filename, progress */
|
|
|
|
top: 7em;
|
|
|
|
}
|