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;
|
2018-11-09 01:44:59 +01:00
|
|
|
user-select: none;
|
2018-06-01 23:53:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone:hover, .dropzone--active {
|
|
|
|
border: 2px dashed #4156C5;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone-dropit-display, .dropzone-instructions-display {
|
|
|
|
padding: 1em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
.dropzone-dropit-display
|
|
|
|
{
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
2018-11-09 01:44:59 +01:00
|
|
|
|
|
|
|
.dropzone-instructions-display__chooser-label {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|