discourse/app/assets/stylesheets/common/base/upload.scss
2018-10-15 09:43:31 +08:00

22 lines
349 B
SCSS

.uploaded-image-preview {
background: $primary center;
background-size: cover;
}
.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;
}