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;
|
|
|
|
|
|
|
|
.image-uploader-info {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
background: $primary;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $secondary;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-upload-controls {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-uploader-info-btn {
|
|
|
|
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;
|
|
|
|
}
|