Vulcan/packages/vulcan-forms-upload/lib/Upload.scss

74 lines
No EOL
1.1 KiB
SCSS
Executable file
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.upload-field {
display: flex;
align-items: center;
justify-content: flex-start;
}
.dropzone-base {
border: 4px dashed #ccc;
padding: 30px;
transition: "all 0.5s";
width: 250px;
cursor: pointer;
color: #ccc;
margin-right: 10px;
position: relative;
}
.upload-uploading{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(255,255,255,0.8);
display: flex;
justify-content: center;
align-items: center;
span{
display: block;
font-size: 1.5rem;
}
}
.dropzone-active {
border: #4FC47F 4px solid;
}
.dropzone-reject {
border: #DD3A0A 4px solid;
}
.upload-images{
display: flex;
flex-direction: row;
flex-wrap: wrap;
// justify-content: space-between;
// align-items: center;
}
.upload-image{
margin-right: 10px;
a, img{
display: block;
text-align: center;
}
a{
font-size: 0.8rem;
}
}
.upload-image-contents{
position: relative;
}
.upload-loading{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(255,255,255,0.8);
display: flex;
justify-content: center;
align-items: center;
}