seperate component for file drop and upload

correct save position of uploaded files
then parse video file
This commit is contained in:
2021-09-23 17:38:20 +02:00
parent d3bd810a1a
commit a92ce73806
6 changed files with 173 additions and 77 deletions

View File

@ -0,0 +1,57 @@
.container {
}
.dropArea {
border: 2px dashed #ccc;
border-radius: 20px;
width: 480px;
font-family: sans-serif;
margin: 100px auto;
padding: 20px;
background-color: grey;
}
.dropArea:hover{
cursor: pointer;
}
.dropArea.highlight {
border-color: purple;
}
p {
margin-top: 0;
}
.myForm {
margin-bottom: 10px;
}
.gallery {
margin-top: 10px;
}
.gallery img {
width: 150px;
margin-bottom: 10px;
margin-right: 10px;
vertical-align: middle;
}
.button {
display: inline-block;
padding: 10px;
background: #ccc;
cursor: pointer;
border-radius: 5px;
border: 1px solid #ccc;
}
.button:hover {
background: #ddd;
}
.fileElem {
display: none;
}