seperate component for file drop and upload
correct save position of uploaded files then parse video file
This commit is contained in:
57
src/elements/DropZone/DropZone.module.css
Normal file
57
src/elements/DropZone/DropZone.module.css
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user