Move uploading logic to dedicated FileService

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-06-13 18:57:26 +02:00
parent 7b230d567e
commit 8229fbacea
6 changed files with 134 additions and 55 deletions

View File

@@ -143,6 +143,10 @@ input.input-inline {
.card {
opacity: 1;
&.file-drop {
}
}
&.card-selected {
@@ -657,16 +661,16 @@ input.input-inline {
.drop-indicator {
display: none;
}
.file-drop .drop-indicator {
.card .nv-file-over,
.drop-indicator.nv-file-over {
display: block;
position: absolute;
width: 100%;
height: calc(100% - 40px);
height: 100%;
background-color: #fff;
z-index: 100;
opacity: 0.9;
text-align: center;
margin-top: 40px;
p {
width: calc(100% - 20px);
@@ -679,6 +683,7 @@ input.input-inline {
}
}
#card-meta { // TODO: use .card-block instead?
height: 100%;
display: flex;