From 3cb27d4ea6f56a4d4d3789fa5c314ac684235a88 Mon Sep 17 00:00:00 2001 From: Alexander Roidl Date: Sat, 19 Nov 2022 13:30:13 +0100 Subject: [PATCH] styling --- README.md | 14 ++++++++ app/static/css/style.css | 72 +++++++++++++++++++++++++++++-------- app/templates/addaudio.html | 4 +-- app/templates/home.html | 28 ++++++++++----- 4 files changed, 93 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index e69de29..3603789 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,14 @@ +# actually a fork of XPPL for geolocation + +## installation + +Install the required dependencies: + + $ pip3 install -r requirements.txt + +## run in docker +first install docker, then: + + $ sh build_docker.sh + + diff --git a/app/static/css/style.css b/app/static/css/style.css index 2e2c4a9..685de6a 100755 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -7,7 +7,8 @@ body{ background-color: #f1f1f1; font-size: clamp(12px, 1.2vw, 25px); box-sizing: border-box; - + margin: 0; + padding: 0; } p{ @@ -88,20 +89,7 @@ audio{ } -/* HOME PUPOP */ -.locations_popup .row{ - position: fixed; - bottom: 0; - background-color: black; - color: white; - border-radius: 2em 2em 0 0; - width: 100%; - box-sizing: border-box; - margin: 0; - padding: 1em; - left: 0; - display: none; -} + /* FROM */ @@ -219,4 +207,58 @@ margin: 4em 0; .redo_btn{ display: none; +} + +/* POPUP ON FRONTSCREEN */ +.close{ + float:right; + font-size: 2em; + padding: 0; + cursor: pointer; +} + +.locations_popup .row div:nth-of-type(2){ + margin-bottom: 2em; + font-size: 2em; +} + +.locations_popup .row{ + position: fixed; + bottom: 0; + background-color: black; + color: white; + border-radius: 2em 2em 0 0; + width: 100%; + box-sizing: border-box; + margin: 0; + padding: 1em; + left: 0; + display: none; + padding-bottom: 2em; +} + +#position{ + position: fixed; + display: inline-block; + top: 0; + font-size: 1em; + font-family: 'Courier New', Courier, monospace; + margin: 1em; +} + +#button_group{ + position: fixed; + display: inline-block; + bottom: 0; + font-size: 1em; + padding: 1em; + box-sizing: border-box; +} + +#button_group button, #button_group select{ + background-color: black; + color: white; + border: 1px solid white; + border-radius: 2em; + padding: 0.8em; } \ No newline at end of file diff --git a/app/templates/addaudio.html b/app/templates/addaudio.html index 675240d..631eb88 100755 --- a/app/templates/addaudio.html +++ b/app/templates/addaudio.html @@ -53,7 +53,7 @@