Plausible fix for internal server error when requesting the css
This commit is contained in:
parent
79c6195d42
commit
ee627b7dfa
10 changed files with 46 additions and 19 deletions
|
@ -156,7 +156,7 @@ def add_template_filters(app: Flask) -> None:
|
|||
minutes, seconds = divmod(remainder, 60)
|
||||
time = "%02d:%02d:%02d" % (hours, minutes, seconds)
|
||||
if show_text:
|
||||
return "closes in " + time
|
||||
return time + " left"
|
||||
return time
|
||||
|
||||
@app.template_filter("year")
|
||||
|
|
|
@ -71,6 +71,11 @@ body {
|
|||
background: var(--dGray4);
|
||||
}
|
||||
|
||||
.time_data{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@media(min-width: 768px) and (max-width: 991px){
|
||||
/* Make sure the small map in the location page has the same with as the block above */
|
||||
.sm-no-side-padding {
|
||||
|
|
|
@ -232,6 +232,9 @@ footer > hr {
|
|||
.order_overview, .order_order, .order_items, .order_ordered, .order_depts {
|
||||
padding: 1rem 5rem 3rem 5rem; }
|
||||
|
||||
.order_overview {
|
||||
width: 100%; }
|
||||
|
||||
.order_depts {
|
||||
width: 100%;
|
||||
margin-bottom: 10rem; }
|
||||
|
@ -429,7 +432,7 @@ footer > hr {
|
|||
width: 1rem;
|
||||
height: 1rem;
|
||||
filter: blur(1.5px);
|
||||
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;
|
||||
box-shadow: 38.2vw 91.6vh 0 -0.36rem#fff,13.3vw 49.8vh 0 -0.34rem#fff,71.3vw 93.9vh 0 -0.5rem#fff,35.9vw 26.4vh 0 -0.29rem#fff,73.9vw 55.6vh 0 -0.17rem#fff,80.4vw 74.2vh 0 -0.03rem#fff,80vw 93.1vh 0 -0.49rem#fff,3vw 77.6vh 0 -0.21rem#fff,54.9vw 51.3vh 0 -0.01rem#fff,27.4vw 17vh 0 -0.15rem#fff,13.8vw 4.4vh 0 -0.4rem#fff,10.8vw 3.6vh 0 -0.04rem#fff,62.5vw 83.8vh 0 -0.48rem#fff,49vw 14.5vh 0 -0.3rem#fff,2.5vw 25.5vh 0 -0.18rem#fff,60.9vw 19.6vh 0 -0.23rem#fff,81.7vw 33.7vh 0 -0.32rem#fff,39.2vw 26.8vh 0 -0.41rem#fff,51.1vw 40.1vh 0 -0.21rem#fff,75.3vw 85.2vh 0 -0.43rem#fff,56vw 32.3vh 0 -0.01rem#fff,48vw 38.9vh 0 -0.41rem#fff,22.7vw 25.2vh 0 -0.5rem#fff,81vw 32.5vh 0 -0.09rem#fff,85.7vw 41.8vh 0 -0.44rem#fff,47.6vw 84vh 0 -0.17rem#fff,17.7vw 31.2vh 0 -0.23rem#fff,25.4vw 46.5vh 0 -0.33rem#fff,38.7vw 81.4vh 0 -0.39rem#fff,18.2vw 42.7vh 0 -0.47rem#fff,69.8vw 89vh 0 -0.44rem#fff,57.2vw 78.3vh 0 -0.08rem#fff,13.1vw 28.9vh 0 -0.09rem#fff,1.4vw 88.1vh 0 -0.02rem#fff,81.5vw 87.5vh 0 -0.09rem#fff,71.2vw 82vh 0 -0.29rem#fff,51.8vw 17.8vh 0 -0.04rem#fff,83.5vw 50vh 0 -0.42rem#fff,93.3vw 50.6vh 0 -0.06rem#fff,18vw 95.6vh 0 -0.36rem#fff,95.8vw 13.5vh 0 -0.45rem#fff,77.4vw 48.9vh 0 -0.45rem#fff,6.3vw 72.2vh 0 -0.14rem#fff,29.6vw 68.4vh 0 -0.36rem#fff,23.7vw 70.7vh 0 -0.1rem#fff,32.2vw 97.4vh 0 -0.2rem#fff,12.1vw 6.5vh 0 -0.25rem#fff,35.7vw 83.9vh 0 -0.2rem#fff,32.5vw 52.4vh 0 -0.13rem#fff,51.8vw 79.6vh 0 -0.39rem#fff,71.1vw 54.4vh 0 -0.32rem#fff,56.6vw 13.5vh 0 -0.3rem#fff,33.8vw 76.6vh 0 -0.1rem#fff,38.3vw 32.6vh 0 -0.32rem#fff,67.3vw 88.6vh 0 -0.08rem#fff,32.7vw 64.3vh 0 -0.01rem#fff,66vw 51.7vh 0 -0.15rem#fff,90.5vw 29.5vh 0 -0.32rem#fff,69.5vw 31.3vh 0 -0.13rem#fff,65.9vw 6.4vh 0 -0.45rem#fff,98.9vw 95.8vh 0 -0.47rem#fff,72.2vw 90.7vh 0 -0.16rem#fff,72.7vw 79.8vh 0 -0.35rem#fff,32.1vw 40.6vh 0 -0.05rem#fff,83.8vw 96.5vh 0 -0.26rem#fff,91.8vw 37.7vh 0 -0.23rem#fff,23.4vw 0.5vh 0 -0.21rem#fff,86.8vw 13.7vh 0 -0.2rem#fff,89.5vw 12.6vh 0 -0.4rem#fff,89.7vw 66.5vh 0 -0.24rem#fff,87.9vw 7.3vh 0 -0.39rem#fff,1.7vw 47.7vh 0 -0.3rem#fff,99.7vw 74.9vh 0 -0.37rem#fff,99.9vw 95vh 0 -0.22rem#fff,9.6vw 94.6vh 0 -0.36rem#fff,7.9vw 21.2vh 0 -0.03rem#fff,61.3vw 61.1vh 0 -0.31rem#fff,100vw 73.8vh 0 -0.26rem#fff,18.5vw 40.2vh 0 -0.32rem#fff,61.4vw 78.1vh 0 -0.23rem#fff,47.6vw 7vh 0 -0.19rem#fff,14.2vw 51.6vh 0 -0.28rem#fff,14.7vw 62.5vh 0 -0.06rem#fff,57.6vw 26.8vh 0 -0.13rem#fff,41.1vw 22.3vh 0 -0.09rem#fff,49.2vw 58.9vh 0 -0.16rem#fff,36.5vw 22.9vh 0 -0.48rem#fff,36.3vw 32vh 0 -0.08rem#fff,73.1vw 97.2vh 0 -0.24rem#fff,8.6vw 73.7vh 0 -0.47rem#fff,79.6vw 91.3vh 0 -0.28rem#fff,44.8vw 12.3vh 0 -0.5rem#fff,27.8vw 98.9vh 0 -0.27rem#fff,92.4vw 99.2vh 0 -0.13rem#fff,75.4vw 3.8vh 0 -0.21rem#fff,49.6vw 93.1vh 0 -0.28rem#fff,47.4vw 61.2vh 0 -0.48rem#fff,73.2vw 2.6vh 0 -0.37rem#fff,36.8vw 40.6vh 0 -0.26rem#fff,74.6vw 50.7vh 0 -0.43rem#fff;
|
||||
animation-duration: 18s; }
|
||||
|
||||
.layer1.a {
|
||||
|
@ -439,7 +442,7 @@ footer > hr {
|
|||
width: 0.8rem;
|
||||
height: 0.8rem;
|
||||
filter: blur(3px);
|
||||
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;
|
||||
box-shadow: 13.9vw 80vh 0 -0.04rem#fff,87.2vw 89.7vh 0 -0.08rem#fff,19.5vw 42.1vh 0 -0.05rem#fff,94.7vw 89.6vh 0 -0.25rem#fff,71.2vw 46.8vh 0 -0.32rem#fff,9.6vw 75.5vh 0 -0.03rem#fff,77.5vw 29.5vh 0 -0.08rem#fff,92.3vw 3.1vh 0 -0.4rem#fff,95.9vw 87.5vh 0 -0.4rem#fff,54.6vw 23.2vh 0 -0.22rem#fff,33.4vw 22.3vh 0 -0.43rem#fff,63.3vw 97.4vh 0 -0.49rem#fff,58.5vw 76.8vh 0 -0.03rem#fff,17.8vw 11vh 0 -0.08rem#fff,70.3vw 30.3vh 0 -0.17rem#fff,41.2vw 89.4vh 0 -0.26rem#fff,82.8vw 56.1vh 0 -0.22rem#fff,0.5vw 34.9vh 0 -0.47rem#fff,41.1vw 48.5vh 0 -0.2rem#fff,74vw 69.3vh 0 -0.04rem#fff,60.1vw 66.5vh 0 -0.44rem#fff,44vw 42.7vh 0 -0.44rem#fff,21vw 38.2vh 0 -0.2rem#fff,4.5vw 71.9vh 0 -0.26rem#fff,86.5vw 10vh 0 -0.31rem#fff,26.4vw 15.7vh 0 -0.41rem#fff,36.3vw 50.3vh 0 -0.5rem#fff,45.8vw 30.2vh 0 -0.04rem#fff,49.5vw 51.4vh 0 -0.14rem#fff,25vw 68.9vh 0 -0.13rem#fff,97vw 38.4vh 0 -0.36rem#fff,57.4vw 7vh 0 -0.07rem#fff,1.5vw 68.2vh 0 -0.34rem#fff,28.8vw 19.4vh 0 -0.05rem#fff,84vw 67vh 0 -0.5rem#fff,58.3vw 74.3vh 0 -0.03rem#fff,68.3vw 47.9vh 0 -0.34rem#fff,24.6vw 84.2vh 0 -0.23rem#fff,52.5vw 51.1vh 0 -0.4rem#fff,69.5vw 45.5vh 0 -0.04rem#fff,32.3vw 71.8vh 0 -0.31rem#fff,49.5vw 85.1vh 0 -0.15rem#fff,74.9vw 41.7vh 0 -0.5rem#fff,36.2vw 25.5vh 0 -0.3rem#fff,28.7vw 93.6vh 0 -0.5rem#fff,3.6vw 12.5vh 0 -0.35rem#fff,69.1vw 47vh 0 -0.22rem#fff,54.8vw 89.9vh 0 -0.47rem#fff,26.1vw 60vh 0 -0.04rem#fff,33.2vw 47.7vh 0 -0.44rem#fff,70.9vw 48.4vh 0 -0.18rem#fff,6.9vw 80.7vh 0 -0.48rem#fff,7.9vw 42.3vh 0 -0.09rem#fff,91.3vw 39.6vh 0 -0.35rem#fff,63.5vw 52vh 0 -0.32rem#fff,72vw 7.8vh 0 -0.23rem#fff,54.9vw 67.1vh 0 -0.3rem#fff,27.7vw 37.1vh 0 -0.42rem#fff,66.1vw 53.6vh 0 -0.24rem#fff,28.6vw 71.9vh 0 -0.1rem#fff,59.3vw 52.7vh 0 -0.48rem#fff,29.8vw 43.4vh 0 -0.4rem#fff,34.3vw 70vh 0 -0.28rem#fff,55.2vw 68.8vh 0 -0.25rem#fff,87.4vw 56.6vh 0 -0.45rem#fff,13vw 9.3vh 0 -0.44rem#fff,17.9vw 43.8vh 0 -0.49rem#fff,57.2vw 97.9vh 0 -0.07rem#fff,32.7vw 76.5vh 0 -0.46rem#fff,89.7vw 40.6vh 0 -0.4rem#fff,25.1vw 2.8vh 0 -0.27rem#fff,90.9vw 49.8vh 0 -0.29rem#fff,74.4vw 55.4vh 0 -0.09rem#fff,38.1vw 48vh 0 -0.23rem#fff,82.8vw 87.1vh 0 -0.33rem#fff,84.5vw 81.1vh 0 -0.2rem#fff,86.5vw 33.1vh 0 -0.39rem#fff,21.7vw 66.7vh 0 -0.16rem#fff,43.4vw 35.2vh 0 -0.13rem#fff,92.3vw 13.4vh 0 -0.44rem#fff,41.3vw 33.7vh 0 -0.33rem#fff,5.3vw 11.3vh 0 -0.12rem#fff,37.5vw 22.7vh 0 -0.48rem#fff,19.4vw 96.2vh 0 -0.41rem#fff,83.9vw 65vh 0 -0.23rem#fff,56.4vw 55.2vh 0 -0.42rem#fff,75.6vw 34.7vh 0 -0.2rem#fff,85vw 57.6vh 0 -0.25rem#fff,80vw 85.4vh 0 -0.01rem#fff,9vw 33.9vh 0 -0.1rem#fff,98.4vw 40.4vh 0 -0.3rem#fff,81vw 67.4vh 0 -0.15rem#fff,84vw 51.5vh 0 -0.32rem#fff,88.1vw 2.6vh 0 -0.08rem#fff,77.9vw 63.2vh 0 -0.41rem#fff,72.5vw 14.5vh 0 -0.4rem#fff,70.2vw 16vh 0 -0.03rem#fff,86.8vw 30.3vh 0 -0.29rem#fff,66.1vw 3.1vh 0 -0.01rem#fff,57.4vw 89.1vh 0 -0.3rem#fff;
|
||||
animation-duration: 24s; }
|
||||
|
||||
.layer2.a {
|
||||
|
@ -449,7 +452,7 @@ footer > hr {
|
|||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
filter: blur(6px);
|
||||
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;
|
||||
box-shadow: 82.4vw 67.5vh 0 -0.21rem#fff,79.2vw 19.8vh 0 -0.01rem#fff,32.9vw 18.2vh 0 -0.4rem#fff,63.8vw 2.2vh 0 -0.25rem#fff,46.7vw 93.6vh 0 -0.21rem#fff,17.9vw 10vh 0 -0.28rem#fff,17.9vw 22vh 0 -0.23rem#fff,31.1vw 3.9vh 0 -0.48rem#fff,44.5vw 53.2vh 0 -0.4rem#fff,26.8vw 38vh 0 -0.34rem#fff,95.9vw 17.7vh 0 -0.07rem#fff,5.6vw 78.9vh 0 -0.46rem#fff,65.4vw 26.3vh 0 -0.29rem#fff,52.3vw 51vh 0 -0.15rem#fff,97.9vw 89.7vh 0 -0.16rem#fff,36vw 8vh 0 -0.23rem#fff,62.5vw 31.1vh 0 -0.4rem#fff,81.3vw 91.2vh 0 -0.27rem#fff,67.6vw 38.9vh 0 -0.39rem#fff,69.3vw 32vh 0 -0.34rem#fff,37.4vw 13.4vh 0 -0.17rem#fff,12.7vw 63.5vh 0 -0.01rem#fff,81vw 62.6vh 0 -0.41rem#fff,52.3vw 39.7vh 0 -0.42rem#fff,40.9vw 73.9vh 0 -0.19rem#fff,37.6vw 48.9vh 0 -0.32rem#fff,68.5vw 19.4vh 0 -0.16rem#fff,51.3vw 60.4vh 0 -0.03rem#fff,65.8vw 72.8vh 0 -0.28rem#fff,36.1vw 90.2vh 0 -0.15rem#fff,22.9vw 70vh 0 -0.38rem#fff,30.4vw 76.8vh 0 -0.39rem#fff,3.9vw 80.9vh 0 -0.28rem#fff,33.8vw 52.1vh 0 -0.27rem#fff,23.4vw 24.7vh 0 -0.41rem#fff,48vw 20.1vh 0 -0.3rem#fff,98.4vw 25.4vh 0 -0.06rem#fff,88.6vw 19.5vh 0 -0.3rem#fff,30.7vw 56.5vh 0 -0.26rem#fff,31.1vw 76.8vh 0 -0.37rem#fff,34.5vw 87.3vh 0 -0.26rem#fff,73.3vw 2.7vh 0 -0.26rem#fff,4.9vw 64.5vh 0 -0.26rem#fff,37.3vw 53.9vh 0 -0.42rem#fff,62.7vw 52.9vh 0 -0.06rem#fff,85.5vw 20vh 0 -0.42rem#fff,37.3vw 52.3vh 0 -0.4rem#fff,51vw 61.3vh 0 -0.2rem#fff,17.1vw 88.7vh 0 -0.17rem#fff,2.2vw 4.6vh 0 -0.09rem#fff,86.9vw 76.2vh 0 -0.43rem#fff,52.4vw 31.4vh 0 -0.39rem#fff,27.7vw 11.5vh 0 -0.09rem#fff,59.2vw 72.9vh 0 -0.06rem#fff,49.3vw 74.6vh 0 -0.13rem#fff,41.3vw 58.6vh 0 -0.35rem#fff,45.7vw 97vh 0 -0.2rem#fff,53vw 57.1vh 0 -0.28rem#fff,46.5vw 97.1vh 0 -0.12rem#fff,60.1vw 22.6vh 0 -0.33rem#fff,35.4vw 77vh 0 -0.43rem#fff,92.5vw 87vh 0 -0.38rem#fff,99.6vw 46.1vh 0 -0.31rem#fff,81vw 43.3vh 0 -0.03rem#fff,84.1vw 70.2vh 0 -0.01rem#fff,46.9vw 72vh 0 -0.16rem#fff,0.4vw 53.7vh 0 -0.04rem#fff,34.7vw 70.9vh 0 -0.18rem#fff,83.5vw 1.5vh 0 -0.4rem#fff,73.4vw 59.2vh 0 -0.25rem#fff,84.7vw 1.6vh 0 -0.32rem#fff,94.6vw 31.8vh 0 -0.09rem#fff,77.6vw 98.4vh 0 -0.18rem#fff,11.1vw 64.7vh 0 -0.38rem#fff,84.4vw 50.2vh 0 -0.11rem#fff,28.8vw 37.1vh 0 -0.21rem#fff,0.9vw 79.1vh 0 -0.29rem#fff,19.6vw 50.9vh 0 -0.24rem#fff,53.6vw 80vh 0 -0.4rem#fff,100vw 62.4vh 0 -0.49rem#fff,75.3vw 92.9vh 0 -0.09rem#fff,65.2vw 43.9vh 0 -0.31rem#fff,99.2vw 20.1vh 0 -0.24rem#fff,54.7vw 20vh 0 -0.45rem#fff,34.7vw 82.8vh 0 -0.25rem#fff,9.6vw 54.4vh 0 -0.46rem#fff,73.6vw 37.4vh 0 -0.13rem#fff,71.3vw 34.4vh 0 -0.31rem#fff,87.5vw 2.3vh 0 -0.21rem#fff,27.6vw 12.7vh 0 -0.21rem#fff,42.9vw 64.9vh 0 -0.06rem#fff,13.7vw 14.8vh 0 -0.02rem#fff,48.9vw 91.2vh 0 -0.3rem#fff,34.4vw 67.9vh 0 -0.11rem#fff,16.4vw 44.3vh 0 -0.32rem#fff,65.5vw 4.3vh 0 -0.38rem#fff,80.4vw 10.7vh 0 -0.02rem#fff,28.1vw 93.8vh 0 -0.27rem#fff,51.1vw 5.6vh 0 -0.09rem#fff,59.5vw 38.3vh 0 -0.4rem#fff;
|
||||
animation-duration: 30s; }
|
||||
|
||||
.layer3.a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -271,6 +271,10 @@ footer>hr{
|
|||
padding: 1rem 5rem 3rem 5rem;
|
||||
}
|
||||
|
||||
.order_overview{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.order_depts {
|
||||
width: 100%;
|
||||
margin-bottom: 10rem;
|
||||
|
|
|
@ -228,6 +228,9 @@ footer > hr {
|
|||
.order_overview, .order_order, .order_items, .order_ordered, .order_depts {
|
||||
padding: 1rem 5rem 3rem 5rem; }
|
||||
|
||||
.order_overview {
|
||||
width: 90%; }
|
||||
|
||||
.order_depts {
|
||||
width: 100%;
|
||||
margin-bottom: 10rem; }
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -268,6 +268,10 @@ footer>hr{
|
|||
padding: 1rem 5rem 3rem 5rem;
|
||||
}
|
||||
|
||||
.order_overview{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.order_depts {
|
||||
width: 100%;
|
||||
margin-bottom: 10rem;
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
$.ready(function(){
|
||||
$('.time').each(function() {
|
||||
var timeEl = $( this );
|
||||
var time = timeEl.text().split(' ').slice(-1)[0].split(':');
|
||||
var time = timeEl.text().split(' ')[0].split(':');
|
||||
|
||||
if (timeEl.text().indexOf('closed') < 0) {
|
||||
window.setInterval(function () {
|
||||
time = my_tick(time);
|
||||
if (time !== "closed") {
|
||||
timeS = "closes in " + ("0" + time[0]).slice(-2) + ":" + ("0" + time[1]).slice(-2) + ":" + ("0" + time[2]).slice(-2);
|
||||
timeS = ("0" + time[0]).slice(-2) + ":" + ("0" + time[1]).slice(-2) + ":" + ("0" + time[2]).slice(-2) + " left";
|
||||
} else {
|
||||
timeS = "closed"
|
||||
}
|
||||
|
|
|
@ -34,16 +34,18 @@ def home() -> str:
|
|||
def css():
|
||||
"Generate the css"
|
||||
if (request.cookies.get('performance') and request.cookies.get('performance') == 'highPerformance'):
|
||||
cssPath = 'app/static/css/themes/highPerformance/'
|
||||
cssPath = 'static/css/themes/highPerformance/'
|
||||
else:
|
||||
cssPath = 'app/static/css/themes/lowPerformance/'
|
||||
cssPath = 'static/css/themes/lowPerformance/'
|
||||
|
||||
if request.cookies.get('theme'):
|
||||
if request.cookies['theme'] == 'customTheme':
|
||||
#TODO: The custom theme is hardcoded :(. Make the server auto select a custom team.
|
||||
# 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:
|
||||
path = os.path.join(str(app.root_path), "views/themes.yml")
|
||||
with open(path, 'r') as stream:
|
||||
data = yaml.safe_load(stream)
|
||||
# Build a dictionary from the YAML file with all the themes and there attributes.
|
||||
themes = {}
|
||||
|
@ -79,17 +81,23 @@ def css():
|
|||
if (((end_month == current_month) and
|
||||
(end_day >= current_day)) or
|
||||
(end_month > current_month)):
|
||||
|
||||
f = open(cssPath+theme['file'])
|
||||
path = os.path.join(str(app.root_path), cssPath, theme['file'])
|
||||
break
|
||||
else:
|
||||
if request.cookies['theme'] == 'darkmode' :
|
||||
path = os.path.join(str(app.root_path), "static/css/themes/lowPerformance/darkmode.css")
|
||||
else:
|
||||
path = os.path.join(str(app.root_path), "static/css/themes/lowPerformance/lightmode.css")
|
||||
|
||||
# Tijdelijk ongebruikt tot bewezen dat het veilig is
|
||||
#try:
|
||||
# path = os.path.join(str(app.root_path), "static/css/themes/lowPerformance/", request.cookies['theme']+".css")
|
||||
# f = open(path)
|
||||
#except IOError:
|
||||
# f = open(cssPath+"lightmode.css")
|
||||
else:
|
||||
try:
|
||||
f = open(cssPath+request.cookies['theme']+".css")
|
||||
except IOError:
|
||||
f = open(cssPath+"lightmode.css")
|
||||
else:
|
||||
f = open(cssPath+"lightmode.css")
|
||||
path = os.path.join(str(app.root_path), "static/css/themes/lowPerformance/lightmode.css")
|
||||
f = open(path)
|
||||
response = make_response(f.read())
|
||||
response.headers['Content-Type'] = 'text/css'
|
||||
f.close()
|
||||
|
|
Loading…
Reference in a new issue