-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add readonly class - add highlight class for drag adn drop - hide long filename overflow with ellipsis
- Loading branch information
Showing
4 changed files
with
99 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div class="_e_upload _e_upload_readonly"> | ||
<div class="_e_upload__label">ID Scans or Pictures</div> | ||
<label class="_e_upload__input"> | ||
<input class="_e_upload__control" type="file"> | ||
<div class="_e_upload__action">Choose files or drop them here</div> | ||
<div class="_e_upload__hint">PNG or JPG images, maximum 3 Mb per image</div> | ||
</label> | ||
<div class="_e_upload__error">You have to upload minimum 5 files.</div> | ||
<section class="_e_upload-file"> | ||
<div class="_e_upload-file__box"> | ||
<span class="_e_upload-file__name">file_with_a_really_long_name_that_does_not_fit</span> | ||
<span class="_e_upload-file__extension">.png</span> | ||
<span class="_e_upload-file__size">414 Kb</span> | ||
<div class="_e_upload-file__remove"> | ||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M17.3 6.70999C17.1131 6.52273 16.8595 6.4175 16.595 6.4175C16.3305 6.4175 16.0768 6.52273 15.89 6.70999L12 10.59L8.10997 6.69999C7.92314 6.51273 7.66949 6.4075 7.40497 6.4075C7.14045 6.4075 6.8868 6.51273 6.69997 6.69999C6.30997 7.08999 6.30997 7.71999 6.69997 8.10999L10.59 12L6.69997 15.89C6.30997 16.28 6.30997 16.91 6.69997 17.3C7.08997 17.69 7.71997 17.69 8.10997 17.3L12 13.41L15.89 17.3C16.28 17.69 16.91 17.69 17.3 17.3C17.69 16.91 17.69 16.28 17.3 15.89L13.41 12L17.3 8.10999C17.68 7.72999 17.68 7.08999 17.3 6.70999Z" /> | ||
</svg> | ||
</div> | ||
</div> | ||
</section> | ||
<section class="_e_upload-file _e_upload-file_error"> | ||
<div class="_e_upload-file__box"> | ||
<span class="_e_upload-file__name">file</span> | ||
<span class="_e_upload-file__extension">.png</span> | ||
<span class="_e_upload-file__size">6.2 Mb</span> | ||
<div class="_e_upload-file__remove"> | ||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M17.3 6.70999C17.1131 6.52273 16.8595 6.4175 16.595 6.4175C16.3305 6.4175 16.0768 6.52273 15.89 6.70999L12 10.59L8.10997 6.69999C7.92314 6.51273 7.66949 6.4075 7.40497 6.4075C7.14045 6.4075 6.8868 6.51273 6.69997 6.69999C6.30997 7.08999 6.30997 7.71999 6.69997 8.10999L10.59 12L6.69997 15.89C6.30997 16.28 6.30997 16.91 6.69997 17.3C7.08997 17.69 7.71997 17.69 8.10997 17.3L12 13.41L15.89 17.3C16.28 17.69 16.91 17.69 17.3 17.3C17.69 16.91 17.69 16.28 17.3 15.89L13.41 12L17.3 8.10999C17.68 7.72999 17.68 7.08999 17.3 6.70999Z" /> | ||
</svg> | ||
</div> | ||
</div> | ||
<div class="_e_upload-file__error">Maximum upload file size is 5 Mb.</div> | ||
</section> | ||
<section class="_e_upload-file"> | ||
<div class="_e_upload-file__box"> | ||
<span class="_e_upload-file__name">file</span> | ||
<span class="_e_upload-file__extension">.png</span> | ||
<span class="_e_upload-file__size">414 Kb</span> | ||
<div class="_e_upload-file__remove"> | ||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M17.3 6.70999C17.1131 6.52273 16.8595 6.4175 16.595 6.4175C16.3305 6.4175 16.0768 6.52273 15.89 6.70999L12 10.59L8.10997 6.69999C7.92314 6.51273 7.66949 6.4075 7.40497 6.4075C7.14045 6.4075 6.8868 6.51273 6.69997 6.69999C6.30997 7.08999 6.30997 7.71999 6.69997 8.10999L10.59 12L6.69997 15.89C6.30997 16.28 6.30997 16.91 6.69997 17.3C7.08997 17.69 7.71997 17.69 8.10997 17.3L12 13.41L15.89 17.3C16.28 17.69 16.91 17.69 17.3 17.3C17.69 16.91 17.69 16.28 17.3 15.89L13.41 12L17.3 8.10999C17.68 7.72999 17.68 7.08999 17.3 6.70999Z" /> | ||
</svg> | ||
</div> | ||
</div> | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters