aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-11 18:07:19 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-12 05:00:33 +0100
commit22972d7c274e7941b9e18b794dfdb73afef3492a (patch)
tree329fdc40b7ef3577373141ee1523255ba2bc6c60 /style.css
parentfe21d9d8ead10d6541382b55a237b9a4e3e7eb91 (diff)
Add a simple dialog to switch between ‘topowebb’ and ‘topowebb_nedtonad’.
Diffstat (limited to 'style.css')
-rw-r--r--style.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/style.css b/style.css
index be58089..d66db40 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,5 @@
+@import "~bootstrap/dist/css/bootstrap.css";
+@import "~bootstrap-icons/font/bootstrap-icons.css";
@import "~ol/ol.css";
html, body {
@@ -10,3 +12,22 @@ html, body {
bottom: 0;
width: 100%;
}
+#layer-selection-btn {
+ right: .5em;
+ top: .5em;
+}
+.map-dialog-hidden {
+ display: none;
+}
+.map-dialog {
+ top: .5em;
+ right: calc(.5em + 1.375em + 2px + .2em);
+ background: var(--ol-partial-background-color);
+ border: 1px solid var(--ol-subtle-background-color);
+ padding: 1ex;
+}
+@media screen and (max-width: 500px) {
+ #layer-selection-btn {
+ display: none;
+ }
+}