first commit

This commit is contained in:
Lionel
2020-11-08 15:07:01 +01:00
commit 4ee46c5f35
13 changed files with 817 additions and 0 deletions

1
style/imagepreview.min.css vendored Normal file
View File

@ -0,0 +1 @@
body{margin:0;padding:40px;background:#fff;font:80% Arial,Helvetica,sans-serif;color:#555;line-height:180%}h1{font-size:180%;font-weight:400;color:#555}h2{clear:both;font-size:160%;font-weight:400;color:#555;margin:0;padding:.5em 0}a{text-decoration:none;color:#f30}p{clear:both;margin:0;padding:.5em 0}pre{display:block;font:100% "Courier New",Courier,monospace;padding:10px;border:1px solid #bae2f0;background:#e3f4f9;margin:.5em 0;overflow:auto;width:800px}img{border:none;max-width: 300px;}ul,li{margin:0;padding:0}li{list-style:none;float:left;display:inline;margin-right:10px}#preview{position:absolute;border:1px solid #ccc;background:#333;padding:5px;display:none;color:#fff}

123
style/style.css Normal file
View File

@ -0,0 +1,123 @@
body {
font-family: Roboto, sans-serif;
color: #0f3c4b;
background-color: #e5edf1;
padding: 5rem 1.25rem; /* 80 20 */
}
.type {
font-size: 22px;
vertical-align: middle;
}
.transfer {
display: flex;
}
.list {
width: 50%;
}
.del, .delall {
cursor: pointer;
}
.progress {
display: flex;
justify-content: flex-end;
width: 50%;
border: solid;
border-width: 2px;
border-radius: 10px;
margin: 10px auto;
padding: 10px 20px;
vertical-align: middle;
}
.progress > * {
display: inline-block;
white-space: nowrap;
margin: 0 5px;
vertical-align: middle;
font-size: 18px;
}
.progress > .name {
max-width: 40%;
white-space: nowrap;
overflow: hidden;
margin-right: auto;
}
.progress > .speed {
text-align: center;
white-space: nowrap;
width: 300px;
}
a.button {
background-color: #c8dadf;
cursor: pointer;
display: inline-block;
text-align: center;
//border: 2px solid;
border-radius: 5px;
font-weight: bold;
margin: 5px;
color: #10a2ff;
padding: 1em 1.5em;
text-decoration: none;
}
a.del {
color: black;
cursor: pointer;
display: inline-block;
text-decoration: none;
}
#drop-area {
border: 2px dashed #ccc;
border-radius: 20px;
width: 640px;
min-height: 480px;
font-family: sans-serif;
margin: auto;
margin-top: 0;
padding: 20px;
}
#drop-area.highlight {
border-color: purple;
}
p {
margin-top: 0;
}
.my-form {
margin-bottom: 10px;
}
#gallery {
margin-top: 10px;
}
#gallery img {
width: 150px;
margin-bottom: 10px;
margin-right: 10px;
vertical-align: middle;
}
.button {
display: inline-block;
padding: 10px;
background: #ccc;
cursor: pointer;
border-radius: 5px;
border: 1px solid #ccc;
}
.button:hover {
background: #ddd;
}
#fileElem {
display: none;
}