2014-08-13 12:03:29 +08:00
|
|
|
.uploaded-image-preview {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-medium) center;
|
2014-08-13 12:03:29 +08:00
|
|
|
background-size: cover;
|
2019-02-20 13:55:55 +08:00
|
|
|
position: relative;
|
2024-03-01 03:39:00 +08:00
|
|
|
max-width: 400px;
|
|
|
|
width: 100%;
|
|
|
|
height: 150px;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-02-20 13:55:55 +08:00
|
|
|
|
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;
|
2024-03-01 03:39:00 +08:00
|
|
|
gap: 0.5em;
|
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
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
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;
|
|
|
|
}
|