diff --git a/.gitignore b/.gitignore index f3f466f..7ef0b14 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,6 @@ /build/ # Web related -lib/generated_plugin_registrant.dart # Symbolication related app.*.symbols @@ -46,4 +45,4 @@ app.*.map.json /android/app/release *.properties -.gradle \ No newline at end of file +.gradle diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml index 0b99953..78e7ad1 100644 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -1,6 +1,6 @@ - + - \ No newline at end of file + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml index 0b99953..78e7ad1 100644 --- a/android/app/src/main/res/drawable/launch_background.xml +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -1,6 +1,6 @@ - + - \ No newline at end of file + diff --git a/android/app/src/main/res/values-v31/styles.xml b/android/app/src/main/res/values-v31/styles.xml deleted file mode 100644 index 4332edb..0000000 --- a/android/app/src/main/res/values-v31/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 8e13a40..1da777c 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -7,6 +7,8 @@ @drawable/launch_background false true + true + shortEdges - + bistro - + @@ -103,5 +101,5 @@ loadMainDartJs(); } - - \ No newline at end of file + + \ No newline at end of file diff --git a/web/splash/splash.js b/web/splash/splash.js index 898c454..3b6ed11 100644 --- a/web/splash/splash.js +++ b/web/splash/splash.js @@ -1,7 +1,5 @@ function removeSplashFromWeb() { - const elem = document.getElementById("splash"); - if (elem) { - elem.remove(); - } + document.getElementById("splash")?.remove(); + document.getElementById("splash-branding")?.remove(); document.body.style.background = "transparent"; } diff --git a/web/splash/style.css b/web/splash/style.css index deae8fc..c65db93 100644 --- a/web/splash/style.css +++ b/web/splash/style.css @@ -1,7 +1,11 @@ +html { + height: 100% +} + body { - margin:0; - height:100%; - background: #000000; + margin: 0; + min-height: 100%; + background-color: #ffffff; background-image: url("img/light-background.png"); background-size: 100% 100%; } @@ -32,12 +36,22 @@ body { object-fit: cover; } -@media (prefers-color-scheme: dark) { - body { - margin:0; - height:100%; - background: #000000; - background-image: url("img/dark-background.png"); - background-size: 100% 100%; - } +.bottom { + position: absolute; + bottom: 0; + left: 50%; + -ms-transform: translate(-50%, 0); + transform: translate(-50%, 0); +} + +.bottomLeft { + position: absolute; + bottom: 0; + left: 0; +} + +.bottomRight { + position: absolute; + bottom: 0; + right: 0; }