Added ux to vanilla client, rebuild server side

This commit is contained in:
gltron
2020-03-31 20:32:50 +02:00
parent c7466e6e51
commit 60ff817711
46 changed files with 284 additions and 13660 deletions

120
client/ressources/style.css Normal file
View File

@@ -0,0 +1,120 @@
:root {
--main-bg-color: coral;
--main-color: #f1b70e;
--main-color-hover: #af8813;
--secondary-color: coral;
}
@font-face {
font-family: lobster;
src: url(../fonts/Lobster.otf);
}
body {
color: #ffffff;
background-color: #23232e;
font: 14px normal Arial, Helvetica, sans-serif;
z-index: -4;
margin: auto;
}
h1 {
text-align: center;
font-size: 100px;
font-family: lobster;
}
div {
display: none;
margin: auto;
padding: 20px;
text-align: center;
}
video {
width: 50%;
}
button {
background-color: var(--main-color);
border-radius: 4px;
border: 1px solid var(--main-color);
display: inline-block;
cursor: pointer;
color: #ffffff;
font-family: Arial;
font-size: 15px;
font-weight: bold;
padding: 7px 15px;
text-decoration: none;
}
button:hover {
background-color: var(--main-color-hover);
border: 1px solid var(--main-color-hover);
}
button:active {
position: relative;
top:1px;
}
label {
background-color: var(--main-color);
border-radius: 4px;
border: 1px solid var(--main-color);
display: inline-block;
cursor: pointer;
color: #ffffff;
font-family: Arial;
font-size: 15px;
font-weight: bold;
padding: 7px 15px;
text-decoration: none;
}
label:hover {
background-color: var(--main-color-hover);
border: 1px solid var(--main-color-hover);
}
input[type=file] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
width: 0;
height: 0;
}
#loadDiv {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.loader {
margin: auto;
padding: 20px;
border: 16px solid #f3f3f3;
border-top: 16px solid #3498db;
border-bottom: 16px solid violet;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 0.5s ease-in-out infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}