mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:14:20 +08:00
49 lines
740 B
SCSS
49 lines
740 B
SCSS
.uploaded-image-preview {
|
|
background: $primary center;
|
|
background-size: cover;
|
|
position: relative;
|
|
|
|
.image-upload-controls {
|
|
display: flex;
|
|
|
|
.btn {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.image-uploader-lightbox-btn {
|
|
background: none;
|
|
margin-right: 0;
|
|
margin-left: auto;
|
|
|
|
.d-icon {
|
|
color: $primary-low;
|
|
}
|
|
|
|
&:hover {
|
|
background: none;
|
|
|
|
.d-icon {
|
|
color: $primary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.image-uploader.no-repeat {
|
|
.uploaded-image-preview {
|
|
background-repeat: no-repeat;
|
|
}
|
|
}
|
|
|
|
.image-uploader.contain-image {
|
|
.uploaded-image-preview {
|
|
background-size: contain;
|
|
}
|
|
}
|
|
|
|
.hidden-upload-field {
|
|
visibility: hidden;
|
|
position: absolute;
|
|
}
|