2015-06-23 10:16:53 +02:00
|
|
|
.file-drag-and-drop {
|
2015-06-29 13:41:37 +02:00
|
|
|
display: block;
|
2015-06-23 10:16:53 +02:00
|
|
|
outline: 1px dashed #616161;
|
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
2015-06-29 14:36:55 +02:00
|
|
|
height: auto;
|
2015-06-23 10:16:53 +02:00
|
|
|
background-color: #FAFAFA;
|
2015-06-29 14:36:55 +02:00
|
|
|
overflow: auto;
|
2015-06-29 13:41:37 +02:00
|
|
|
margin-top: 1em;
|
2015-06-29 14:36:55 +02:00
|
|
|
|
|
|
|
padding: 3em;
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|
|
|
|
|
2015-06-25 11:12:40 +02:00
|
|
|
.inactive-dropzone {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inactive-dropzone:hover {
|
|
|
|
background-color: #FAFAFA !important;
|
|
|
|
}
|
|
|
|
|
2015-06-23 10:16:53 +02:00
|
|
|
.file-drag-and-drop:hover {
|
|
|
|
background-color: rgba(72, 218, 203, 0.2);
|
|
|
|
}
|
|
|
|
|
2015-06-29 13:41:37 +02:00
|
|
|
.file-drag-and-drop .file-drag-and-drop-dialog {
|
|
|
|
font-size: 1.25em !important;
|
|
|
|
|
2015-06-29 14:36:55 +02:00
|
|
|
margin-top: 1em;
|
|
|
|
|
2015-06-29 13:41:37 +02:00
|
|
|
&:before {
|
|
|
|
content: ' ';
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle; /* vertical alignment of the inline element */
|
|
|
|
height: 100%;
|
|
|
|
}
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-files {
|
|
|
|
text-align: left;
|
2015-06-29 14:36:55 +02:00
|
|
|
padding: 4% 0 0 0;
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-position {
|
|
|
|
display: inline-block;
|
2015-06-29 14:36:55 +02:00
|
|
|
margin: 0 0 4% 4%;
|
2015-06-23 10:16:53 +02:00
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview-table-wrapper {
|
|
|
|
display: table;
|
2015-06-29 14:36:55 +02:00
|
|
|
height:64px;
|
|
|
|
width:74px;
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview {
|
|
|
|
overflow:hidden;
|
|
|
|
cursor: default;
|
|
|
|
background-color: #EEEEEE;
|
|
|
|
border: 1px solid #616161;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview-image {
|
|
|
|
display: table;
|
2015-06-29 14:36:55 +02:00
|
|
|
height:74px;
|
|
|
|
width:74px;
|
2015-06-23 10:16:53 +02:00
|
|
|
overflow:hidden;
|
|
|
|
border: 1px solid #616161;
|
2015-06-25 13:28:49 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview-image .delete-file {
|
2015-06-29 14:36:55 +02:00
|
|
|
font-size: 2.5em;
|
2015-06-29 13:41:37 +02:00
|
|
|
margin-top: .3em;
|
2015-06-25 13:28:49 +02:00
|
|
|
color: white;
|
|
|
|
text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #d9534f;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview-other .delete-file {
|
|
|
|
position: relative;
|
2015-06-29 14:36:55 +02:00
|
|
|
top: .3em;
|
2015-06-25 13:28:49 +02:00
|
|
|
margin-top: 0;
|
2015-06-29 14:36:55 +02:00
|
|
|
font-size: 2.5em;
|
2015-06-25 13:28:49 +02:00
|
|
|
color: white;
|
|
|
|
text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #d9534f;
|
|
|
|
}
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag-and-drop-preview-other {
|
|
|
|
display: table-cell;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-25 13:28:49 +02:00
|
|
|
.file-drag-and-drop-preview-other span:not(:first-child) {
|
2015-06-23 10:16:53 +02:00
|
|
|
display: block;
|
2015-06-29 14:36:55 +02:00
|
|
|
margin-top: .5em;
|
2015-06-23 10:16:53 +02:00
|
|
|
}
|