|
| 1 | +.dropzone { |
| 2 | + border: 2px dashed var(--color-secondary) !important; |
| 3 | + background: none !important; |
| 4 | + box-shadow: none !important; |
| 5 | + padding: 0 !important; |
| 6 | + min-height: 5rem !important; |
| 7 | + border-radius: 4px !important; |
| 8 | +} |
| 9 | + |
| 10 | +.dropzone .dz-button { |
| 11 | + color: var(--color-text-light) !important; |
| 12 | +} |
| 13 | + |
| 14 | +.dropzone:hover .dz-button { |
| 15 | + color: var(--color-text) !important; |
| 16 | +} |
| 17 | + |
| 18 | +.dropzone .dz-error-message { |
| 19 | + top: 120px !important; |
| 20 | +} |
| 21 | + |
| 22 | +.dropzone .dz-image { |
| 23 | + display: flex !important; |
| 24 | + align-items: center !important; |
| 25 | + justify-content: center !important; |
| 26 | + border-radius: 0 !important; |
| 27 | +} |
| 28 | + |
| 29 | +.dropzone .dz-image img { |
| 30 | + max-width: 100% !important; |
| 31 | + max-height: 100% !important; |
| 32 | + object-fit: contain !important; |
| 33 | +} |
| 34 | + |
| 35 | +.dropzone .dz-preview.dz-image-preview, |
| 36 | +.dropzone-attachments .thumbnails img { |
| 37 | + background: transparent !important; |
| 38 | +} |
| 39 | + |
| 40 | +.dropzone-attachments .thumbnails img { |
| 41 | + height: 120px !important; |
| 42 | + width: 120px !important; |
| 43 | + object-fit: contain !important; |
| 44 | + margin-bottom: 0 !important; |
| 45 | +} |
| 46 | + |
| 47 | +.dropzone .dz-preview:hover .dz-image img { |
| 48 | + filter: opacity(.5) !important; |
| 49 | +} |
0 commit comments