Use a download button instead of downloading a file automatically

This commit is contained in:
yflory
2017-05-22 11:43:45 +02:00
parent 0c2f84058b
commit c45f08f147
7 changed files with 63 additions and 39 deletions

View File

@@ -9,7 +9,7 @@ html, body {
padding: 0px;
display: inline-block;
}
#file {
#file, #dl {
display: block;
height: 100%;
width: 100%;
@@ -25,7 +25,7 @@ html, body {
z-index: -1;
}
#upload-form {
#upload-form, #download-form {
padding: 0px;
margin: 0px;
@@ -35,17 +35,16 @@ html, body {
display: block;
margin: 50px auto;
max-width: 80vw;
label {
line-height: 50vh;
text-align: center;
position: relative;
padding: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
#upload-form label {
line-height: 50vh;
text-align: center;
position: relative;
padding: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.hovering {
background-color: rgba(255, 0, 115, 0.5) !important;
}