diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2017-08-16 21:52:09 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2017-08-16 21:52:09 +0200 |
commit | 24b1a9886be5632730b8f020c358a5d8915f1dbb (patch) | |
tree | 5dee52566737ae8daca970198a26af14986da9e6 /fbin/static | |
parent | d9a5bc806e53a602f9afd7febd24c1acf3b93d28 (diff) |
Added drag and drop support to the upload form.
Diffstat (limited to 'fbin/static')
-rw-r--r-- | fbin/static/css/style.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fbin/static/css/style.css b/fbin/static/css/style.css index 8989c22..2f3ed86 100644 --- a/fbin/static/css/style.css +++ b/fbin/static/css/style.css @@ -16,3 +16,17 @@ transform: rotate(359deg); } } +#dropzone { + border-radius: 5px; + border: 2px dashed #f0f0f0; +} +#dropzone.drop-active { + border: 2px dashed #808080; +} +#dropzone.drop-invalid { + border: 2px dashed #e00000; +} +/* Fix form group spilling outside the dropzone. */ +#dropzone .form-group { + margin: 5px; +} |