2014-08-13 12:03:29 +08:00
|
|
|
.uploaded-image-preview {
|
2015-10-22 13:53:40 +08:00
|
|
|
background: $primary center;
|
2014-08-13 12:03:29 +08:00
|
|
|
background-size: cover;
|
2019-02-20 13:55:55 +08:00
|
|
|
position: relative;
|
|
|
|
|
2019-05-01 21:44:45 +08:00
|
|
|
.placeholder-overlay {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
2019-02-20 13:55:55 +08:00
|
|
|
.image-upload-controls {
|
2019-05-01 21:44:45 +08:00
|
|
|
position: relative;
|
2019-02-20 13:55:55 +08:00
|
|
|
display: flex;
|
2019-07-18 23:36:24 +08:00
|
|
|
padding: 10px;
|
2019-02-20 13:55:55 +08:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-right: 5px;
|
2019-07-18 23:36:24 +08:00
|
|
|
padding: 7px 10px;
|
2019-02-20 13:55:55 +08:00
|
|
|
}
|
|
|
|
|
2019-02-21 10:13:37 +08:00
|
|
|
.image-uploader-lightbox-btn {
|
2019-02-20 13:55:55 +08:00
|
|
|
background: none;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: $primary-low;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-13 12:03:29 +08:00
|
|
|
}
|
2015-09-23 23:34:23 +08:00
|
|
|
|
|
|
|
.image-uploader.no-repeat {
|
|
|
|
.uploaded-image-preview {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
2017-03-15 05:11:51 +08:00
|
|
|
|
|
|
|
.image-uploader.contain-image {
|
|
|
|
.uploaded-image-preview {
|
|
|
|
background-size: contain;
|
|
|
|
}
|
|
|
|
}
|
2018-10-15 09:43:31 +08:00
|
|
|
|
|
|
|
.hidden-upload-field {
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|