90 lines
1.5 KiB
SCSS
90 lines
1.5 KiB
SCSS
.dropzone.dropzone-horizontal {
|
|
position: relative;
|
|
border: 2px dashed #ccc;
|
|
border-radius: 5px;
|
|
min-height: 150px;
|
|
|
|
.dz-message {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.dz-preview {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #ccc;
|
|
min-height: 20px;
|
|
|
|
.dz-image {
|
|
display: none;
|
|
}
|
|
|
|
.dz-details {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
padding: 0 10px;
|
|
|
|
.dz-size {
|
|
display: inline-block;
|
|
|
|
strong {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dz-progress {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
top: 0;
|
|
|
|
.dz-upload {
|
|
position: absolute;
|
|
height: 100%;
|
|
background-color: hsl(200deg 100% 90% / 50%);
|
|
transition: width 300ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
.dz-success-mark, .dz-error-mark {
|
|
display: none
|
|
}
|
|
|
|
&.dz-success, &.dz-error {
|
|
.dz-progress {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.dz-error {
|
|
.dz-error-message {
|
|
padding-left: 10px;
|
|
color: #c00000;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.dz-drag-hover {
|
|
background-color: #eff2f5;
|
|
|
|
.dz-message {
|
|
color: #000;
|
|
}
|
|
}
|
|
|
|
&.dz-started {
|
|
.dz-message {
|
|
display: none;
|
|
}
|
|
}
|
|
} |