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";
|
2017-08-05 14:46:02 +09:00
|
|
|
|
width: 250px;
|
2017-03-28 12:07:01 +09:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #ccc;
|
2017-08-05 14:46:02 +09:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-05 14:46:02 +09:00
|
|
|
|
.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;
|
2017-08-05 14:46:02 +09:00
|
|
|
|
justify-content: center;
|
2017-03-28 12:07:01 +09:00
|
|
|
|
align-items: center;
|
2018-04-14 17:21:10 +09:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.upload-disabled{
|
|
|
|
|
.dropzone-base{
|
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cccccc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.upload-image-error{
|
|
|
|
|
.upload-image-contents{
|
|
|
|
|
position: relative;
|
|
|
|
|
&:after{
|
|
|
|
|
content: " ";
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-28 12:07:01 +09:00
|
|
|
|
}
|