Dropzone styling improvements (#15291) (#15374)

* Dropzone styling improvements

- Move all dropzone styles to separate file
- Fix white background in arc-green
- Fix rendering of non-square images and previews

* increase thumbnail quality, set contain in js, replace blur effect with opacity

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwind 2021-04-10 01:43:36 +02:00 committed by GitHub
parent 53c2136a9a
commit e861dcbbaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 57 additions and 37 deletions

View file

@ -426,14 +426,6 @@ td.blob-hunk {
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.ui.form .dropzone .dz-button {
color: rgba(158, 158, 158, .8);
}
.ui.form .dropzone:hover .dz-button {
color: rgba(158, 158, 158, 1);
}
.ui.list .list > .item .header,
.ui.list > .item .header {
color: #dedede;