- remove old admin interface

- introduce 404 page
- fix chrome display bug
- fixed about not showing version
- removed unused dependecies
- removed dead code from interface.js
- moved layout to dedicated page
This commit is contained in:
2022-03-27 13:50:24 +02:00
parent 469fa5048c
commit a7b5980a89
15 changed files with 521 additions and 226 deletions

View File

@ -0,0 +1,86 @@
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
.container {
height: 100%;
width: 100%;
background-color: #0B161E;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'Segoe UI';
text-align: center;
}
.color-foreground {
color: #474849 !important;
}
.text-shadow {
text-shadow: 1px 1px 2px;
}
.rainbow {
-webkit-animation:rainbow 16s infinite;
-ms-animation:rainbow 16s infinite;
-o-animation:rainbow 16s infinite;
animation:rainbow 16s infinite;
}
@-webkit-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@-ms-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@-o-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}

View File

@ -0,0 +1,62 @@
.glitch-wrapper {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.glitch {
@offset1: 2px;
@offset2: -2px;
@highlight1: #49FC00;
@highlight2: spin(@highlight1, 180);
color: white;
font-size: 150px;
text-transform: upercase;
position: relative;
display: inline-block;
&::before,
&::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #0B161E;
}
&::before {
left: @offset1;
text-shadow: -2px 0 @highlight1;
clip: rect(24px, 550px, 90px, 0);
animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
&::after {
left: @offset2;
text-shadow: -2px 0 @highlight2;
clip: rect(85px, 550px, 140px, 0);
animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
}
.glitch-frames (@n: 20, @index: 0) when (@index <= @n) {
@keyframeSel: percentage(@index/@n);
@rand1: unit(round(`Math.random()*150`),px);
@rand2: unit(round(`Math.random()*150`), px);
@{keyframeSel} {
clip: rect(@rand1, 9999px, @rand2, 0);
}
.glitch-frames(@n, (@index + 1));
}
@keyframes glitch-anim {
.glitch-frames(24);
}
@keyframes glitch-anim-2 {
.glitch-frames(30,2);
}

View File

@ -10,7 +10,7 @@ body {
main {
display: flex;
flex-wrap: nowrap;
height: 100vh;
height: 100vh !important;
height: -webkit-fill-available;
max-height: 100vh;
overflow-x: auto;