diff options
author | silverwind <me@silverwind.io> | 2021-04-09 18:51:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 00:51:27 +0800 |
commit | afa781bf20e365dc3f524b2555767ca34fe37f7e (patch) | |
tree | fd6e250f5750368733a932acaabbf059998c121d /web_src/less/_repository.less | |
parent | 3dc099773d6d9ebb747db18f0b69fdd09e8b018d (diff) | |
download | gitea-afa781bf20e365dc3f524b2555767ca34fe37f7e.tar.gz gitea-afa781bf20e365dc3f524b2555767ca34fe37f7e.zip |
Dropzone styling improvements (#15291)
* 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
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 14d2f3ddd4..71a9cbcdd0 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -1021,11 +1021,6 @@ color: var(--color-text-light-2); font-style: italic; } - - .dropzone-attachments .thumbnails .ui.image { - max-height: 150px; - } - } .ui.form { @@ -2483,29 +2478,6 @@ padding-top: 15px; } -.ui.form { - .dropzone { - border: 2px dashed var(--color-secondary); - background: none; - box-shadow: none !important; - padding: 0; - min-height: 5rem; - border-radius: 4px; - - .dz-button { - color: rgba(0, 0, 0, .6); - } - - &:hover .dz-button { - color: rgba(0, 0, 0, .8); - } - - .dz-error-message { - top: 140px; - } - } -} - .settings { .content { margin-top: 2px; |