2018-06-01 23:53:12 +02:00
|
|
|
.dropzone-wrapper {
|
|
|
|
// fill the parent flex container
|
|
|
|
flex: 1 0 auto;
|
|
|
|
// be a flex container for children
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone {
|
|
|
|
border: 2px dashed #9b9b9b;
|
|
|
|
// fill the parent flex container
|
|
|
|
flex: 1 0 auto;
|
|
|
|
// be a flex container for children
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone:hover, .dropzone--active {
|
|
|
|
border: 2px dashed #4156C5;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone-dropit-display, .dropzone-instructions-display {
|
|
|
|
padding: 1em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-06-02 00:15:48 +02:00
|
|
|
.dropzone-preview-wrapper {
|
|
|
|
position: relative;
|
2018-06-05 23:24:54 +02:00
|
|
|
width: 100%;
|
2018-06-02 00:15:48 +02:00
|
|
|
.dropzone-preview-overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-03 05:58:54 +02:00
|
|
|
.dropzone-preview-image {
|
|
|
|
display: block;
|
|
|
|
padding: 1em;
|
|
|
|
width: calc(100% - 2em);
|
|
|
|
}
|