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

74 lines
1.1 KiB
SCSS
Raw Normal View History

2017-03-28 12:07:01 +09:00
.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;
2017-03-28 12:07:01 +09:00
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;
}
2017-03-28 12:07:01 +09:00
}
.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);
2017-03-28 12:07:01 +09:00
display: flex;
justify-content: center;
2017-03-28 12:07:01 +09:00
align-items: center;
}