You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
2.3 KiB
121 lines
2.3 KiB
.file-upload {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 25px 0;
|
|
border: 1px dashed #ccc;
|
|
padding: 0px;
|
|
position: relative;
|
|
border-radius: 2px;
|
|
overflow: hidden
|
|
}
|
|
|
|
.file-upload .uploadbutton {
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 3;
|
|
cursor: pointer;
|
|
width: 100%
|
|
}
|
|
|
|
.file-upload > span {
|
|
max-width: 100%;
|
|
z-index: 1;
|
|
background: #fff;
|
|
}
|
|
|
|
.file-upload > span img {
|
|
max-width: 200px
|
|
}
|
|
|
|
.file-upload > span {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
padding: 5px;
|
|
padding: 5px 5px;
|
|
left: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
.loading-img {
|
|
display: none
|
|
}
|
|
.img-sample {
|
|
display: block;
|
|
margin: 10px 0;
|
|
position: relative;
|
|
font-size: 11px
|
|
}
|
|
|
|
.img-sample label {
|
|
display: block
|
|
}
|
|
|
|
.img-sample img {
|
|
max-width: 200px
|
|
}
|
|
|
|
.img-sample .enlarge {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 0
|
|
}
|
|
|
|
.img-sample .samp-control {
|
|
display: inline-block;
|
|
cursor: pointer
|
|
}
|
|
|
|
.img-sample .samp-control:hover .enlarge {
|
|
display: block;
|
|
background: #f4f8fb;
|
|
padding: 5px;
|
|
border-radius: 2px
|
|
}
|
|
|
|
.img-sample .samp-control:hover .enlarge img {
|
|
max-height: 150px
|
|
}
|
|
|
|
.img-sample .samp-control-2 {
|
|
display: inline-block;
|
|
cursor: pointer
|
|
}
|
|
|
|
.img-sample .samp-control-2:hover .enlarge {
|
|
display: block;
|
|
background: #f4f8fb;
|
|
padding: 5px;
|
|
border-radius: 2px
|
|
}
|
|
|
|
.img-sample .samp-control-2:hover .enlarge img {
|
|
max-height: 300px
|
|
}
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
.stepwizard .stepwizard-row li a span {
|
|
display: none
|
|
}
|
|
|
|
.wizard button {
|
|
min-width: auto
|
|
}
|
|
|
|
.samp-control:hover .enlarge {
|
|
display: none
|
|
}
|
|
}
|
|
|
|
.file-upload {
|
|
width: 100%
|
|
}
|
|
|
|
.primary-c {
|
|
color: #ED1C24
|
|
}
|