forked from Blaster4385/file-share
feat: show information aboout uploaded files
This commit is contained in:
parent
d9e1d525a5
commit
430b0cdae9
2 changed files with 18 additions and 1 deletions
|
@ -71,6 +71,11 @@ body {
|
|||
bottom: 5%;
|
||||
}
|
||||
|
||||
.upload__info {
|
||||
font-size: 0.8rem;
|
||||
color: #454545;
|
||||
}
|
||||
|
||||
.upload__input {
|
||||
color: #282828;
|
||||
border: 2px solid #282828;
|
||||
|
@ -101,6 +106,10 @@ body {
|
|||
min-width: 300px;
|
||||
}
|
||||
|
||||
.upload__input__overlay__text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.upload__result {
|
||||
opacity: 0;
|
||||
padding: 1rem;
|
||||
|
@ -150,6 +159,14 @@ a {
|
|||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.upload__input__overlay__text {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.upload__info {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
.upload__button,
|
||||
.download__button {
|
||||
font-size: 1.2rem;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div class="upload__container">
|
||||
<div class="upload__input__overlay">
|
||||
<p class="upload__input__overlay__text">
|
||||
Choose a file or drag it here
|
||||
Choose a file or drag it here<br><span class="upload__info">(It will be deleted after 24 hours.)</span>
|
||||
</p>
|
||||
</div>
|
||||
<input type="file" class="upload__input" name="file" />
|
||||
|
|
Loading…
Reference in a new issue