Improve file upload UX

Fix incorrect highlight logic

Fix transition on fileupload highlight

Handle drag leave

Fix draghover

Minor style improvements
This commit is contained in:
Haocen Xu
2019-08-15 19:28:42 -04:00
parent 30ddcacca6
commit 3a9730f883
5 changed files with 168 additions and 28 deletions

View File

@@ -254,6 +254,13 @@ if ($DISCUSSION):
</div>
<?php
endif;
?>
<?php
if ($FILEUPLOAD):
?>
<div id="dropzone" class="hidden" tabindex="-1" aria-hidden="true"></div>
<?php
endif;
?>
<section class="container">
<div id="noscript" role="alert" class="nonworking alert alert-info noscript-hide"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">