merged + added scss cache to gitignore

This commit is contained in:
kindtanton 2019-12-05 20:38:07 +01:00
commit d34369df11
11 changed files with 92 additions and 19 deletions

3
.gitignore vendored
View file

@ -67,3 +67,6 @@ app/config.py
*.db
tmp/
# Do not add scss cache
*.sass-cache

View file

@ -1,6 +1,6 @@
@charset "UTF-8";
/*
¡¡¡ OPGELED !!!
¡¡¡ OPGELET !!!
Deze css bevat lelijke code.
Dit komt doordat bootstrap lelijk en oud is.
Ik zal later proberen de css te verbeteren en bootstrap weg te gooien.
@ -9,7 +9,7 @@ Enige discretie is aangeraden.
---=§[ Arnhoudt ]§=---
*/
/*lightmode*/
/*high performance kerstmis*/
:root {
/*Darkmode colors*/
--dGray0:#F28705;
@ -429,7 +429,7 @@ footer > hr {
width: 1rem;
height: 1rem;
filter: blur(1.5px);
box-shadow: 7vw 73.2vh 0 -0.13rem#fff,84.2vw 37vh 0 -0.31rem#fff,96.8vw 43.9vh 0 -0.49rem#fff,68.6vw 22.2vh 0 -0.44rem#fff,9.3vw 28.3vh 0 -0.09rem#fff,76.6vw 33.4vh 0 -0.27rem#fff,7.7vw 24.1vh 0 -0.4rem#fff,56.5vw 46.4vh 0 -0.49rem#fff,64.3vw 84.4vh 0 -0.17rem#fff,58vw 10.3vh 0 -0.37rem#fff,77.7vw 5.2vh 0 -0.17rem#fff,13.8vw 72.2vh 0 -0.12rem#fff,19.3vw 6.1vh 0 -0.37rem#fff,4vw 12.5vh 0 -0.4rem#fff,60.3vw 66.8vh 0 -0.42rem#fff,37.7vw 73.8vh 0 -0.04rem#fff,53.4vw 24.5vh 0 -0.49rem#fff,92.2vw 61.9vh 0 -0.31rem#fff,16vw 29.5vh 0 -0.32rem#fff,33.3vw 57.2vh 0 -0.49rem#fff,14.1vw 6.3vh 0 -0.04rem#fff,2.6vw 33vh 0 -0.49rem#fff,28vw 33vh 0 -0.5rem#fff,24.5vw 31.7vh 0 -0.14rem#fff,14.4vw 94.8vh 0 -0.09rem#fff,60.9vw 74.9vh 0 -0.15rem#fff,13.8vw 81.3vh 0 -0.38rem#fff,20vw 90.4vh 0 -0.23rem#fff,15.9vw 88.7vh 0 -0.36rem#fff,97.1vw 52.8vh 0 -0.46rem#fff,28.5vw 51.4vh 0 -0.17rem#fff,10.6vw 0.7vh 0 -0.1rem#fff,79.7vw 5vh 0 -0.5rem#fff,3.3vw 50.2vh 0 -0.14rem#fff,69.6vw 66vh 0 -0.44rem#fff,62.8vw 97.3vh 0 -0.02rem#fff,88.5vw 70.1vh 0 -0.02rem#fff,62.5vw 35.2vh 0 -0.33rem#fff,67vw 73.4vh 0 -0.1rem#fff,42.2vw 11.5vh 0 -0.24rem#fff,60.1vw 28.1vh 0 -0.45rem#fff,72.8vw 12vh 0 -0.12rem#fff,60.6vw 33.3vh 0 -0.05rem#fff,79.9vw 60vh 0 -0.34rem#fff,48.2vw 35.7vh 0 -0.35rem#fff,67.2vw 66.6vh 0 -0.34rem#fff,97.4vw 20.4vh 0 -0.3rem#fff,99.4vw 14.6vh 0 -0.12rem#fff,70.5vw 49.2vh 0 -0.34rem#fff,36.3vw 21.3vh 0 -0.48rem#fff,86.9vw 13.3vh 0 -0.47rem#fff,43vw 17.7vh 0 -0.41rem#fff,19.3vw 20.3vh 0 -0.12rem#fff,72.6vw 22vh 0 -0.1rem#fff,16.4vw 69vh 0 -0.03rem#fff,21.7vw 85.7vh 0 -0.24rem#fff,92.6vw 59vh 0 -0.5rem#fff,52.1vw 68.8vh 0 -0.11rem#fff,18.3vw 36.6vh 0 -0.1rem#fff,60vw 16.5vh 0 -0.29rem#fff,68.7vw 96.4vh 0 -0.32rem#fff,8.5vw 91.5vh 0 -0.22rem#fff,39vw 62.7vh 0 -0.23rem#fff,63vw 72.4vh 0 -0.41rem#fff,22.1vw 0.6vh 0 -0.28rem#fff,63.5vw 56.9vh 0 -0.15rem#fff,82.1vw 11.9vh 0 -0.13rem#fff,79.6vw 71.2vh 0 -0.05rem#fff,61.5vw 87.6vh 0 -0.07rem#fff,9.5vw 27vh 0 -0.19rem#fff,83.7vw 46.7vh 0 -0.33rem#fff,90.3vw 74.9vh 0 -0.3rem#fff,76.6vw 1.6vh 0 -0.4rem#fff,91.6vw 0.1vh 0 -0.37rem#fff,24.4vw 38.1vh 0 -0.16rem#fff,80.8vw 35.9vh 0 -0.12rem#fff,6.2vw 72.8vh 0 -0.14rem#fff,75.9vw 27.4vh 0 -0.22rem#fff,75.5vw 13.9vh 0 -0.02rem#fff,64.7vw 82vh 0 -0.08rem#fff,59.8vw 57.5vh 0 -0.04rem#fff,38.7vw 41vh 0 -0.11rem#fff,29.7vw 22.8vh 0 -0.07rem#fff,4.4vw 6.1vh 0 -0.36rem#fff,63.3vw 51.4vh 0 -0.02rem#fff,77.9vw 18.5vh 0 -0.49rem#fff,56.6vw 45.6vh 0 -0.08rem#fff,2.8vw 67.1vh 0 -0.4rem#fff,33vw 8.6vh 0 -0.31rem#fff,98.9vw 38.4vh 0 -0.5rem#fff,16.6vw 76.8vh 0 -0.43rem#fff,9.3vw 28.4vh 0 -0.13rem#fff,91.6vw 6.9vh 0 -0.16rem#fff,34.3vw 4.9vh 0 -0.05rem#fff,44.1vw 79vh 0 -0.1rem#fff,30.7vw 76.2vh 0 -0.09rem#fff,70.4vw 29.8vh 0 -0.31rem#fff,10.8vw 57.7vh 0 -0.04rem#fff,91.1vw 57vh 0 -0.09rem#fff,70.2vw 25.7vh 0 -0.11rem#fff;
box-shadow: 69.7vw 89.6vh 0 -0.44rem#fff,84.1vw 71.7vh 0 -0.35rem#fff,88.1vw 41.9vh 0 -0.49rem#fff,38.3vw 65.2vh 0 -0.37rem#fff,15.8vw 9vh 0 -0.13rem#fff,89.1vw 80vh 0 -0.28rem#fff,49.9vw 58.2vh 0 -0.42rem#fff,86.3vw 22.7vh 0 -0.11rem#fff,82.6vw 12.3vh 0 -0.42rem#fff,84.8vw 26.8vh 0 -0.44rem#fff,88.4vw 8.9vh 0 -0.26rem#fff,73.9vw 89.7vh 0 -0.11rem#fff,45.7vw 41.6vh 0 -0.34rem#fff,42.1vw 26.9vh 0 -0.22rem#fff,51.3vw 12.4vh 0 -0.07rem#fff,18.3vw 97vh 0 -0.38rem#fff,60.6vw 33.7vh 0 -0.22rem#fff,98.6vw 8.2vh 0 -0.2rem#fff,69.4vw 82.4vh 0 -0.45rem#fff,32.5vw 19vh 0 -0.18rem#fff,1.2vw 2.2vh 0 -0.44rem#fff,92.6vw 63.1vh 0 -0.06rem#fff,35.2vw 73.6vh 0 -0.31rem#fff,79vw 43.3vh 0 -0.25rem#fff,43.5vw 34.8vh 0 -0.18rem#fff,22.7vw 18.8vh 0 -0.43rem#fff,13.7vw 77.4vh 0 -0.15rem#fff,19.4vw 74.1vh 0 -0.2rem#fff,35vw 16vh 0 -0.5rem#fff,44.8vw 55.3vh 0 -0.43rem#fff,26.7vw 26.5vh 0 -0.02rem#fff,80.7vw 14.1vh 0 -0.29rem#fff,65.8vw 94.2vh 0 -0.27rem#fff,79.8vw 9.2vh 0 -0.13rem#fff,88.1vw 46.3vh 0 -0.19rem#fff,38.2vw 22.1vh 0 -0.14rem#fff,66.1vw 94.9vh 0 -0.48rem#fff,63.1vw 37.1vh 0 -0.5rem#fff,3.3vw 82.9vh 0 -0.13rem#fff,54.1vw 24.2vh 0 -0.38rem#fff,51.6vw 38.3vh 0 -0.3rem#fff,44vw 52.6vh 0 -0.5rem#fff,96.4vw 68.9vh 0 -0.12rem#fff,76.2vw 23.7vh 0 -0.19rem#fff,54vw 40.3vh 0 -0.47rem#fff,2.5vw 41.9vh 0 -0.17rem#fff,0.5vw 30.5vh 0 -0.26rem#fff,31.9vw 32vh 0 -0.28rem#fff,4.8vw 84.7vh 0 -0.1rem#fff,3vw 26.9vh 0 -0.41rem#fff,67.6vw 54.7vh 0 -0.27rem#fff,83.5vw 45.2vh 0 -0.28rem#fff,88.4vw 83.4vh 0 -0.02rem#fff,44.4vw 96vh 0 -0.09rem#fff,25.1vw 18.7vh 0 -0.49rem#fff,59.6vw 9.5vh 0 -0.46rem#fff,32.4vw 1.6vh 0 -0.42rem#fff,98.7vw 77.2vh 0 -0.06rem#fff,27vw 39.7vh 0 -0.41rem#fff,70.1vw 50.8vh 0 -0.04rem#fff,37.2vw 26.9vh 0 -0.08rem#fff,87.3vw 97.8vh 0 -0.16rem#fff,51.1vw 89.7vh 0 -0.31rem#fff,74.2vw 2.7vh 0 -0.23rem#fff,16.5vw 12.1vh 0 -0.13rem#fff,21.8vw 94.1vh 0 -0.13rem#fff,94.9vw 37.1vh 0 -0.48rem#fff,32.9vw 92vh 0 -0.04rem#fff,59.7vw 11.1vh 0 -0.42rem#fff,23.6vw 41.7vh 0 -0.44rem#fff,99.9vw 17.1vh 0 -0.5rem#fff,62.6vw 76.7vh 0 -0.19rem#fff,41.7vw 60.2vh 0 -0.14rem#fff,14.6vw 95.3vh 0 -0.16rem#fff,44.4vw 61.6vh 0 -0.28rem#fff,57.1vw 51vh 0 -0.42rem#fff,10.7vw 79.2vh 0 -0.2rem#fff,52.6vw 59.4vh 0 -0.29rem#fff,60.1vw 53.5vh 0 -0.36rem#fff,66.9vw 37.1vh 0 -0.11rem#fff,0.8vw 68.5vh 0 -0.36rem#fff,21.8vw 45.7vh 0 -0.13rem#fff,50.9vw 70.5vh 0 -0.19rem#fff,38.6vw 17.1vh 0 -0.47rem#fff,15.9vw 79.6vh 0 -0.11rem#fff,76.2vw 61.8vh 0 -0.3rem#fff,61.2vw 66vh 0 -0.41rem#fff,97.2vw 5vh 0 -0.31rem#fff,28.8vw 40.3vh 0 -0.49rem#fff,71.4vw 52.7vh 0 -0.42rem#fff,19.3vw 36.1vh 0 -0.48rem#fff,82.3vw 20.8vh 0 -0.43rem#fff,59vw 33.2vh 0 -0.41rem#fff,15.7vw 82.8vh 0 -0.28rem#fff,93.2vw 54.1vh 0 -0.02rem#fff,50.9vw 69.1vh 0 -0.15rem#fff,61.7vw 97.6vh 0 -0.31rem#fff,95.9vw 35.6vh 0 -0.34rem#fff,35.2vw 69.9vh 0 -0.4rem#fff,30.7vw 44.6vh 0 -0.46rem#fff;
animation-duration: 18s; }
.layer1.a {
@ -439,7 +439,7 @@ footer > hr {
width: 0.8rem;
height: 0.8rem;
filter: blur(3px);
box-shadow: 20.6vw 25vh 0 -0.05rem#fff,47.9vw 46.9vh 0 -0.37rem#fff,81.4vw 49vh 0 -0.46rem#fff,75.7vw 17.7vh 0 -0.49rem#fff,14.3vw 37.3vh 0 -0.27rem#fff,39.4vw 44.9vh 0 -0.13rem#fff,6.3vw 62.4vh 0 -0.27rem#fff,24.5vw 7.4vh 0 -0.36rem#fff,78.2vw 27.9vh 0 -0.32rem#fff,4.3vw 72.2vh 0 -0.05rem#fff,87.4vw 48.2vh 0 -0.48rem#fff,67.7vw 22vh 0 -0.28rem#fff,38vw 79.7vh 0 -0.33rem#fff,59.1vw 22.2vh 0 -0.02rem#fff,23.6vw 75.9vh 0 -0.34rem#fff,18.7vw 89.4vh 0 -0.38rem#fff,93.2vw 9.8vh 0 -0.5rem#fff,17.8vw 74.6vh 0 -0.5rem#fff,83.4vw 51.8vh 0 -0.1rem#fff,49.9vw 96.5vh 0 -0.03rem#fff,79.1vw 39.1vh 0 -0.06rem#fff,76.8vw 63.5vh 0 -0.03rem#fff,7.3vw 10.9vh 0 -0.47rem#fff,56.2vw 55.8vh 0 -0.27rem#fff,23.8vw 30.7vh 0 -0.2rem#fff,96.7vw 69.9vh 0 -0.37rem#fff,38vw 26.3vh 0 -0.38rem#fff,27.9vw 70.9vh 0 -0.15rem#fff,3.8vw 44.1vh 0 -0.22rem#fff,3.9vw 52.4vh 0 -0.06rem#fff,5.2vw 15.6vh 0 -0.06rem#fff,4.1vw 69.7vh 0 -0.14rem#fff,91.1vw 43.4vh 0 -0.29rem#fff,34.2vw 9vh 0 -0.41rem#fff,75.2vw 54.5vh 0 -0.01rem#fff,87.4vw 30.1vh 0 -0.18rem#fff,9.3vw 68.6vh 0 -0.3rem#fff,80.6vw 49.8vh 0 -0.46rem#fff,58.5vw 66.6vh 0 -0.09rem#fff,56.1vw 39.5vh 0 -0.04rem#fff,93.5vw 94.9vh 0 -0.34rem#fff,52.4vw 62.7vh 0 -0.5rem#fff,91.2vw 24.3vh 0 -0.24rem#fff,72.1vw 51.6vh 0 -0.45rem#fff,86.5vw 13.8vh 0 -0.47rem#fff,21.9vw 61.2vh 0 -0.3rem#fff,5.6vw 44.1vh 0 -0.19rem#fff,87.2vw 14.7vh 0 -0.32rem#fff,0.4vw 18.6vh 0 -0.23rem#fff,13.9vw 71.1vh 0 -0.42rem#fff,15.3vw 56.6vh 0 -0.06rem#fff,56.1vw 54vh 0 -0.23rem#fff,69.3vw 79.2vh 0 -0.15rem#fff,92.4vw 73.8vh 0 -0.41rem#fff,84.9vw 83.5vh 0 -0.13rem#fff,61.5vw 76.4vh 0 -0.09rem#fff,51.4vw 90.8vh 0 -0.11rem#fff,41.4vw 51.6vh 0 -0.31rem#fff,87.8vw 51.1vh 0 -0.25rem#fff,18.4vw 62vh 0 -0.47rem#fff,92.4vw 86.7vh 0 -0.39rem#fff,89.5vw 65.6vh 0 -0.39rem#fff,82.7vw 12.5vh 0 -0.07rem#fff,50.5vw 34.8vh 0 -0.04rem#fff,53.9vw 79.4vh 0 -0.09rem#fff,62.4vw 73.2vh 0 -0.04rem#fff,25.3vw 37.1vh 0 -0.43rem#fff,73.7vw 50.6vh 0 -0.03rem#fff,66.8vw 85.3vh 0 -0.12rem#fff,3vw 42vh 0 -0.15rem#fff,9.4vw 0.2vh 0 -0.07rem#fff,41.7vw 95vh 0 -0.09rem#fff,4.5vw 43.7vh 0 -0.4rem#fff,86.8vw 55.2vh 0 -0.36rem#fff,4.5vw 71.2vh 0 -0.28rem#fff,44vw 35.5vh 0 -0.13rem#fff,15.2vw 53.9vh 0 -0.34rem#fff,10.8vw 54.1vh 0 -0.07rem#fff,69.2vw 25.2vh 0 -0.31rem#fff,60.3vw 13.6vh 0 -0.29rem#fff,35.9vw 4vh 0 -0.47rem#fff,30.2vw 60.5vh 0 -0.13rem#fff,80.3vw 35.5vh 0 -0.38rem#fff,63vw 32.7vh 0 -0.43rem#fff,70.9vw 23vh 0 -0.12rem#fff,71.8vw 55.3vh 0 -0.12rem#fff,95.5vw 24.6vh 0 -0.14rem#fff,46.3vw 93.4vh 0 -0.13rem#fff,83.7vw 98.5vh 0 -0.09rem#fff,80vw 76vh 0 -0.17rem#fff,58vw 45.5vh 0 -0.29rem#fff,16.6vw 58.8vh 0 -0.1rem#fff,20.3vw 79.4vh 0 -0.49rem#fff,96.4vw 13.3vh 0 -0.11rem#fff,87.1vw 58.7vh 0 -0.1rem#fff,84.5vw 2.8vh 0 -0.27rem#fff,92.9vw 22.8vh 0 -0.39rem#fff,79.7vw 19.6vh 0 -0.03rem#fff,68.2vw 96.6vh 0 -0.45rem#fff,55vw 16.5vh 0 -0.36rem#fff;
box-shadow: 39.5vw 44.4vh 0 -0.01rem#fff,14vw 36.8vh 0 -0.19rem#fff,48vw 32.2vh 0 -0.5rem#fff,71.5vw 66.8vh 0 -0.03rem#fff,89.1vw 40.9vh 0 -0.33rem#fff,16.8vw 7.1vh 0 -0.47rem#fff,77.1vw 20.9vh 0 -0.1rem#fff,21.7vw 66.7vh 0 -0.33rem#fff,49.7vw 89.7vh 0 -0.15rem#fff,80.4vw 55vh 0 -0.17rem#fff,3.2vw 33.1vh 0 -0.12rem#fff,46.5vw 5vh 0 -0.33rem#fff,7.9vw 54.2vh 0 -0.41rem#fff,74.7vw 43.9vh 0 -0.03rem#fff,82vw 24.4vh 0 -0.5rem#fff,50vw 35.8vh 0 -0.15rem#fff,89.7vw 0.7vh 0 -0.26rem#fff,33.3vw 98.3vh 0 -0.41rem#fff,75.7vw 45.3vh 0 -0.47rem#fff,21.8vw 58.2vh 0 -0.32rem#fff,4.6vw 84.3vh 0 -0.11rem#fff,50.9vw 7.1vh 0 -0.31rem#fff,11vw 72.6vh 0 -0.32rem#fff,40.1vw 53.9vh 0 -0.11rem#fff,26.2vw 28.5vh 0 -0.17rem#fff,8vw 46.5vh 0 -0.23rem#fff,91.5vw 84.5vh 0 -0.19rem#fff,92.9vw 60.2vh 0 -0.19rem#fff,25.8vw 82.7vh 0 -0.48rem#fff,82.6vw 51.9vh 0 -0.33rem#fff,98.2vw 50vh 0 -0.3rem#fff,96.6vw 66.6vh 0 -0.43rem#fff,36.9vw 8.4vh 0 -0.16rem#fff,62.6vw 24.4vh 0 -0.21rem#fff,24.6vw 46.3vh 0 -0.47rem#fff,30.1vw 83.8vh 0 -0.07rem#fff,50.3vw 33.8vh 0 -0.31rem#fff,4vw 86.4vh 0 -0.25rem#fff,70.6vw 32.8vh 0 -0.06rem#fff,87.4vw 42.9vh 0 -0.24rem#fff,75.7vw 30.6vh 0 -0.22rem#fff,17.7vw 54.6vh 0 -0.13rem#fff,30.2vw 67.1vh 0 -0.28rem#fff,90.8vw 86vh 0 -0.25rem#fff,98.8vw 22.3vh 0 -0.04rem#fff,56vw 48.7vh 0 -0.26rem#fff,68.3vw 45.2vh 0 -0.09rem#fff,39.1vw 14.6vh 0 -0.46rem#fff,39.5vw 1.8vh 0 -0.04rem#fff,68.3vw 62.2vh 0 -0.33rem#fff,29.7vw 42.7vh 0 -0.4rem#fff,78vw 22.6vh 0 -0.48rem#fff,62.5vw 61.4vh 0 -0.47rem#fff,87.2vw 3.1vh 0 -0.21rem#fff,14.2vw 20.6vh 0 -0.08rem#fff,63.2vw 36.3vh 0 -0.46rem#fff,34.5vw 67.1vh 0 -0.33rem#fff,59.8vw 12.5vh 0 -0.48rem#fff,65.1vw 43vh 0 -0.34rem#fff,22.9vw 19.9vh 0 -0.06rem#fff,90.3vw 4.3vh 0 -0.36rem#fff,91.8vw 58.2vh 0 -0.19rem#fff,76vw 66.3vh 0 -0.09rem#fff,91vw 10vh 0 -0.25rem#fff,36.5vw 98vh 0 -0.1rem#fff,29.4vw 73.9vh 0 -0.32rem#fff,6.4vw 75.5vh 0 -0.26rem#fff,33.2vw 17vh 0 -0.17rem#fff,11.1vw 50.6vh 0 -0.11rem#fff,63.2vw 98.1vh 0 -0.1rem#fff,67.7vw 17.2vh 0 -0.31rem#fff,51.6vw 71.7vh 0 -0.05rem#fff,39.1vw 92.2vh 0 -0.31rem#fff,57.7vw 67.7vh 0 -0.19rem#fff,30.4vw 98.6vh 0 -0.07rem#fff,13.9vw 18.6vh 0 -0.38rem#fff,66.7vw 26.1vh 0 -0.31rem#fff,61.9vw 53.1vh 0 -0.3rem#fff,80.7vw 78.5vh 0 -0.38rem#fff,32.8vw 9.4vh 0 -0.05rem#fff,89.5vw 82.6vh 0 -0.07rem#fff,92.8vw 70.1vh 0 -0.33rem#fff,32.6vw 74.9vh 0 -0.39rem#fff,72.5vw 23vh 0 -0.44rem#fff,13.9vw 54.7vh 0 -0.5rem#fff,38.5vw 67.2vh 0 -0.48rem#fff,10.8vw 95vh 0 -0.35rem#fff,6vw 65.7vh 0 -0.11rem#fff,63.6vw 22vh 0 -0.37rem#fff,93vw 53.6vh 0 -0.43rem#fff,24.8vw 73.9vh 0 -0.32rem#fff,23.4vw 7.9vh 0 -0.37rem#fff,69.8vw 84.4vh 0 -0.24rem#fff,42.1vw 39.7vh 0 -0.05rem#fff,48.4vw 87.5vh 0 -0.06rem#fff,94.7vw 80.6vh 0 -0.35rem#fff,88.8vw 19.4vh 0 -0.23rem#fff,74.1vw 5.3vh 0 -0.48rem#fff,41.5vw 29.8vh 0 -0.14rem#fff,61.4vw 59.9vh 0 -0.21rem#fff;
animation-duration: 24s; }
.layer2.a {
@ -449,7 +449,7 @@ footer > hr {
width: 0.6rem;
height: 0.6rem;
filter: blur(6px);
box-shadow: 57.5vw 20vh 0 -0.39rem#fff,89.3vw 7vh 0 -0.3rem#fff,46.8vw 98.1vh 0 -0.46rem#fff,31.2vw 59.6vh 0 -0.22rem#fff,62.9vw 48vh 0 -0.16rem#fff,23.6vw 11.3vh 0 -0.44rem#fff,49.1vw 23.5vh 0 -0.2rem#fff,51vw 79.5vh 0 -0.08rem#fff,45.1vw 2.4vh 0 -0.15rem#fff,67.1vw 21.2vh 0 -0.07rem#fff,46.5vw 61.7vh 0 -0.38rem#fff,94.8vw 10.9vh 0 -0.22rem#fff,51.1vw 28.2vh 0 -0.46rem#fff,93vw 19.9vh 0 -0.43rem#fff,67.2vw 76.2vh 0 -0.39rem#fff,36.6vw 95.6vh 0 -0.05rem#fff,42.8vw 14.7vh 0 -0.05rem#fff,74.4vw 97.9vh 0 -0.14rem#fff,0.7vw 86.4vh 0 -0.5rem#fff,93.5vw 29.4vh 0 -0.02rem#fff,81.3vw 90.2vh 0 -0.29rem#fff,36.9vw 34.1vh 0 -0.1rem#fff,41.2vw 18.6vh 0 -0.46rem#fff,18vw 37.3vh 0 -0.45rem#fff,44.4vw 8.4vh 0 -0.38rem#fff,61.7vw 93.4vh 0 -0.22rem#fff,66.7vw 83.8vh 0 -0.33rem#fff,77.2vw 32.8vh 0 -0.14rem#fff,97vw 19.8vh 0 -0.5rem#fff,38.5vw 49.3vh 0 -0.38rem#fff,8.4vw 76.1vh 0 -0.43rem#fff,89.6vw 19.7vh 0 -0.18rem#fff,55vw 61.4vh 0 -0.45rem#fff,54vw 12.5vh 0 -0.35rem#fff,18.1vw 73.3vh 0 -0.42rem#fff,47.8vw 60.2vh 0 -0.48rem#fff,97.7vw 82.8vh 0 -0.07rem#fff,71.7vw 35.3vh 0 -0.38rem#fff,9.6vw 61.5vh 0 -0.23rem#fff,86.4vw 1.1vh 0 -0.02rem#fff,58.8vw 32.3vh 0 -0.14rem#fff,57.4vw 44.9vh 0 -0.15rem#fff,64.9vw 60.2vh 0 -0.3rem#fff,20.1vw 31.7vh 0 -0.45rem#fff,97.3vw 41.2vh 0 -0.35rem#fff,97.7vw 18.8vh 0 -0.12rem#fff,35.6vw 55.4vh 0 -0.33rem#fff,37.6vw 31.5vh 0 -0.38rem#fff,24.3vw 20.7vh 0 -0.28rem#fff,85.1vw 40vh 0 -0.5rem#fff,43.1vw 77.6vh 0 -0.34rem#fff,54.4vw 18.6vh 0 -0.26rem#fff,39.8vw 20.3vh 0 -0.48rem#fff,64.1vw 8.3vh 0 -0.35rem#fff,43.6vw 42.2vh 0 -0.2rem#fff,93vw 88.8vh 0 -0.3rem#fff,40.2vw 68.5vh 0 -0.22rem#fff,4.4vw 62.1vh 0 -0.22rem#fff,80.9vw 85vh 0 -0.3rem#fff,40.9vw 14.5vh 0 -0.2rem#fff,13.7vw 42.4vh 0 -0.34rem#fff,33vw 53.6vh 0 -0.19rem#fff,60.9vw 34.3vh 0 -0.03rem#fff,69.5vw 48.9vh 0 -0.4rem#fff,10.9vw 55.1vh 0 -0.35rem#fff,5.1vw 58.6vh 0 -0.12rem#fff,95.4vw 55vh 0 -0.5rem#fff,70.2vw 94.5vh 0 -0.33rem#fff,24.3vw 21.3vh 0 -0.35rem#fff,85.3vw 12vh 0 -0.04rem#fff,79.5vw 57.1vh 0 -0.34rem#fff,45.5vw 0.8vh 0 -0.38rem#fff,71.9vw 28.6vh 0 -0.21rem#fff,96.7vw 6.2vh 0 -0.09rem#fff,24.3vw 31.4vh 0 -0.03rem#fff,18vw 7.1vh 0 -0.44rem#fff,17.2vw 72vh 0 -0.26rem#fff,80.6vw 8.7vh 0 -0.01rem#fff,0.2vw 82.9vh 0 -0.2rem#fff,69.7vw 71.3vh 0 -0.26rem#fff,50.1vw 55.3vh 0 -0.21rem#fff,26.5vw 83.1vh 0 -0.26rem#fff,17.7vw 51.4vh 0 -0.37rem#fff,62.3vw 86.3vh 0 -0.14rem#fff,86.7vw 0.5vh 0 -0.38rem#fff,6.7vw 3.7vh 0 -0.03rem#fff,11.5vw 98.5vh 0 -0.31rem#fff,1.8vw 5.6vh 0 -0.13rem#fff,29.1vw 91.4vh 0 -0.13rem#fff,50.9vw 91.3vh 0 -0.05rem#fff,11.8vw 25.4vh 0 -0.27rem#fff,63.8vw 68.5vh 0 -0.34rem#fff,5.3vw 10.9vh 0 -0.03rem#fff,82.6vw 9.5vh 0 -0.29rem#fff,26.7vw 9.8vh 0 -0.39rem#fff,29vw 70.8vh 0 -0.16rem#fff,89.1vw 25.2vh 0 -0.38rem#fff,80.3vw 16.1vh 0 -0.14rem#fff,53.3vw 54.8vh 0 -0.42rem#fff,86.4vw 54vh 0 -0.29rem#fff;
box-shadow: 21.9vw 92.3vh 0 -0.13rem#fff,26vw 81.6vh 0 -0.36rem#fff,92.5vw 95.3vh 0 -0.05rem#fff,5.6vw 11.6vh 0 -0.11rem#fff,82vw 5.7vh 0 -0.08rem#fff,73.4vw 44.8vh 0 -0.4rem#fff,67.3vw 74.2vh 0 -0.09rem#fff,19.5vw 84.9vh 0 -0.17rem#fff,89.9vw 93.7vh 0 -0.12rem#fff,80.2vw 86.2vh 0 -0.13rem#fff,59.6vw 80.8vh 0 -0.19rem#fff,18.9vw 64.3vh 0 -0.43rem#fff,40.7vw 7.3vh 0 -0.36rem#fff,13.7vw 47.9vh 0 -0.31rem#fff,40vw 73.3vh 0 -0.14rem#fff,68.6vw 16vh 0 -0.38rem#fff,38.3vw 93.2vh 0 -0.48rem#fff,97.2vw 71.7vh 0 -0.04rem#fff,67.7vw 62.8vh 0 -0.43rem#fff,41.8vw 34.6vh 0 -0.13rem#fff,65.9vw 78.1vh 0 -0.16rem#fff,61.8vw 92.1vh 0 -0.25rem#fff,59.5vw 54.6vh 0 -0.22rem#fff,25.1vw 64vh 0 -0.42rem#fff,92vw 23.1vh 0 -0.16rem#fff,20.3vw 2.5vh 0 -0.4rem#fff,84.5vw 55.3vh 0 -0.13rem#fff,55.1vw 67.5vh 0 -0.37rem#fff,89.7vw 50.4vh 0 -0.43rem#fff,83.4vw 13.1vh 0 -0.07rem#fff,61.1vw 25.6vh 0 -0.45rem#fff,82.2vw 8.7vh 0 -0.26rem#fff,98vw 40vh 0 -0.02rem#fff,77.1vw 61.5vh 0 -0.44rem#fff,26.7vw 87.3vh 0 -0.41rem#fff,27.5vw 15.4vh 0 -0.14rem#fff,34.2vw 15.8vh 0 -0.09rem#fff,0.3vw 33.1vh 0 -0.4rem#fff,58.4vw 29vh 0 -0.3rem#fff,51.3vw 98.5vh 0 -0.31rem#fff,32.3vw 39.4vh 0 -0.39rem#fff,29.5vw 18.1vh 0 -0.25rem#fff,84.1vw 10.4vh 0 -0.19rem#fff,20.3vw 50.8vh 0 -0.2rem#fff,78.7vw 47vh 0 -0.12rem#fff,26.6vw 72.7vh 0 -0.04rem#fff,15.5vw 69.1vh 0 -0.49rem#fff,78.7vw 6vh 0 -0.25rem#fff,54.5vw 2vh 0 -0.08rem#fff,11.3vw 2.5vh 0 -0.36rem#fff,54.4vw 27.9vh 0 -0.47rem#fff,58.1vw 78.7vh 0 -0.22rem#fff,50.4vw 23vh 0 -0.19rem#fff,10.6vw 10.5vh 0 -0.41rem#fff,68vw 49.5vh 0 -0.18rem#fff,71.8vw 27.5vh 0 -0.03rem#fff,98vw 67.7vh 0 -0.48rem#fff,53.9vw 9.5vh 0 -0.04rem#fff,32.8vw 22.9vh 0 -0.21rem#fff,41.5vw 4.3vh 0 -0.25rem#fff,0.9vw 72.4vh 0 -0.06rem#fff,33.1vw 39.7vh 0 -0.31rem#fff,94.4vw 33.3vh 0 -0.2rem#fff,6.9vw 8.8vh 0 -0.01rem#fff,4.3vw 64.9vh 0 -0.37rem#fff,12.5vw 54.7vh 0 -0.37rem#fff,13.3vw 22.2vh 0 -0.45rem#fff,63.2vw 23.3vh 0 -0.07rem#fff,83.9vw 10.4vh 0 -0.09rem#fff,64.9vw 97.4vh 0 -0.22rem#fff,51.3vw 85.3vh 0 -0.25rem#fff,5.3vw 54.4vh 0 -0.46rem#fff,79.3vw 16.8vh 0 -0.26rem#fff,73.1vw 22.8vh 0 -0.47rem#fff,38vw 18.3vh 0 -0.04rem#fff,1.4vw 70.3vh 0 -0.06rem#fff,88.8vw 55.5vh 0 -0.17rem#fff,8.2vw 96.9vh 0 -0.24rem#fff,69.7vw 45.1vh 0 -0.4rem#fff,31.8vw 33vh 0 -0.27rem#fff,55.7vw 25vh 0 -0.28rem#fff,99.6vw 70.6vh 0 -0.14rem#fff,8.8vw 77vh 0 -0.2rem#fff,34.9vw 17.9vh 0 -0.47rem#fff,94.4vw 7.8vh 0 -0.34rem#fff,16.9vw 18.9vh 0 -0.12rem#fff,66.6vw 1.3vh 0 -0.34rem#fff,20.7vw 3.1vh 0 -0.38rem#fff,32.6vw 20.3vh 0 -0.03rem#fff,32.5vw 96.2vh 0 -0.26rem#fff,45.3vw 67.3vh 0 -0.04rem#fff,33vw 46.8vh 0 -0.29rem#fff,68.9vw 97.9vh 0 -0.33rem#fff,19.3vw 43.7vh 0 -0.33rem#fff,57.9vw 88.6vh 0 -0.01rem#fff,25.4vw 22.6vh 0 -0.36rem#fff,7.1vw 83.9vh 0 -0.43rem#fff,23.7vw 1.4vh 0 -0.09rem#fff,23.1vw 51.1vh 0 -0.1rem#fff,14.7vw 99.9vh 0 -0.12rem#fff;
animation-duration: 30s; }
.layer3.a {

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*
¡¡¡ OPGELED !!!
¡¡¡ OPGELET !!!
Deze css bevat lelijke code.
Dit komt doordat bootstrap lelijk en oud is.
Ik zal later proberen de css te verbeteren en bootstrap weg te gooien.
@ -10,7 +10,7 @@ Enige discretie is aangeraden.
*/
/*lightmode*/
/*high performance kerstmis*/
:root {
/*Darkmode colors*/
--dGray0:#F28705;

View file

@ -1,6 +1,6 @@
@charset "UTF-8";
/*
¡¡¡ OPGELED !!!
¡¡¡ OPGELET !!!
Deze css bevat lelijke code.
Dit komt doordat bootstrap lelijk en oud is.
Ik zal later proberen de css te verbeteren en bootstrap weg te gooien.
@ -9,7 +9,7 @@ Enige discretie is aangeraden.
---=§[ Arnhoudt ]§=---
*/
/*lightmode*/
/*low performance kerstmis*/
:root {
/*Darkmode colors*/
--dGray0:#F28705;

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
/*
¡¡¡ OPGELED !!!
¡¡¡ OPGELET !!!
Deze css bevat lelijke code.
Dit komt doordat bootstrap lelijk en oud is.
Ik zal later proberen de css te verbeteren en bootstrap weg te gooien.
@ -10,7 +10,7 @@ Enige discretie is aangeraden.
*/
/*lightmode*/
/*low performance kerstmis*/
:root {
/*Darkmode colors*/
--dGray0:#F28705;
@ -155,7 +155,7 @@ Enige discretie is aangeraden.
background-color: #B62937;
border-radius: 2rem;
}
.order_row {
background: transparent;
}

View file

@ -6,7 +6,8 @@
document.querySelector(".toggleDarkmode").innerHTML = "<a>Enter lightmode</a>"
document.querySelector(".toggleDarkmode").id = "lightmode";
}
if(cookie.split("=")[0] == "theme" && cookie.split("=")[1] == "kerstmis"){
if(cookie.split("=")[0] == "theme" && cookie.split("=")[1] == "customTheme"){
document.querySelector(".background").innerHTML = '<div class="background_wrapper"><div class="christmas_background"></div><div class="snow layer1 a"></div><div class="snow layer1"></div> <div class="snow layer2 a"></div><div class="snow layer2"></div><div class="snow layer3 a"></div><div class="snow layer3"></div><div class="snowman_wrapper"><div class="snowman_head"></div><div class="snowman_body"></div></div><div class="train_wrapper"><div class="whole_train"><div class="mc_wagon"><div class="wheel_big wheel1"></div><div class="wheel_big wheel2"></div><div class="wheel_big wheel3"></div></div><div class="zeus_wagon"><div class="wheel_big wheel1"></div><div class="wheel_big wheel2"></div><div class="wheel_big wheel3"></div></div><div class="train"><div class="wheel_big wheel1"></div><div class="wheel_big wheel2"></div><div class="wheel_big wheel3"></div><div class="wheel_small wheel4"></div><div class="wheel_small wheel5"></div></div></div></div><input type="checkbox" class="train_button"><div class="merry_christmas"></div><div class="sled_wrapper"><div class="sled"></div></div></div>';
}
if(cookie.split("=")[0] == "performance" && cookie.split("=")[1] == "highPerformance" && document.querySelector(".changePerformance")){

View file

@ -6,9 +6,11 @@ from flask import Flask, render_template, make_response
from flask import request
from flask import Blueprint, abort
from flask import current_app as app
from flask import render_template, send_from_directory, url_for
from flask import send_from_directory, url_for
from flask_login import login_required
import yaml
from models import Location, Order
# import views
from views.order import get_orders
@ -27,6 +29,7 @@ def home() -> str:
"home.html", orders=get_orders(), recently_closed=recently_closed
)
@general_bp.route("/css")
def css():
"Generate the css"
@ -37,7 +40,49 @@ def css():
if request.cookies.get('theme'):
if request.cookies['theme'] == 'customTheme':
#TODO: The custom theme is hardcoded :(. Make the server auto select a custom team.
f = open(cssPath+"sinterklaas.css")
# Here seasonal themes will be returned; matching the current date.
# Open the YAML file with all the themes.
with open('app/views/themes.yml', 'r') as stream:
data = yaml.safe_load(stream)
# Build a dictionary from the YAML file with all the themes and there attributes.
themes = {}
for item in data:
key = list(item.keys())[0]
themes[key] = item[key]
# Get the current date.
current_day = datetime.now().day
current_month = datetime.now().month
# Check each theme in the dictionary and return the first one that is "correct"
for theme in themes.values():
if theme['type'] == 'static-date':
start_day, start_month = theme['start'].split('/')
start_day = int(start_day)
start_month = int(start_month)
end_day, end_month = theme['end'].split('/')
end_day = int(end_day)
end_month = int(end_month)
if end_month < start_month:
# Hacky (werkt nu maar kan beter)
end_month += 12
if theme['type'] == 'static-date':
if (((start_month == current_month) and
(start_day <= current_day)) or
(start_month <= current_month)):
if (((end_month == current_month) and
(end_day >= current_day)) or
(end_month > current_month)):
f = open(cssPath+theme['file'])
break
else:
try:
f = open(cssPath+request.cookies['theme']+".css")
@ -47,6 +92,7 @@ def css():
f = open(cssPath+"lightmode.css")
response = make_response(f.read())
response.headers['Content-Type'] = 'text/css'
f.close()
return response

22
app/views/themes.yml Normal file
View file

@ -0,0 +1,22 @@
# Seasonal themes for Haldis
- lightmode:
file: lightmode.css
type: default
- darkmode:
file: darkmode.css
type: default
- halloween:
file: halloween.css
type: static-date
start: 21/10
end: 10/11
- sinterklaas:
file: sinterklaas.css
type: static-date
start: 28/11
end: 5/12
- kerstmis:
file: kerstmis.css
type: static-date
start: 6/12
end: 06/01

View file

@ -33,6 +33,7 @@ oauthlib==2.1.0 # via flask-oauthlib, requests-oauthlib
pymysql==0.9.3
python-dateutil==2.8.0 # via alembic
python-editor==1.0.4 # via alembic
PyYaml==5.1.2
requests-oauthlib==1.1.0 # via flask-oauthlib
requests==2.21.0 # via airbrake, requests-oauthlib
six==1.12.0 # via python-dateutil