From 22972d7c274e7941b9e18b794dfdb73afef3492a Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 11 Jan 2024 18:07:19 +0100 Subject: =?UTF-8?q?Add=20a=20simple=20dialog=20to=20switch=20between=20?= =?UTF-8?q?=E2=80=98topowebb=E2=80=99=20and=20=E2=80=98topowebb=5Fnedtonad?= =?UTF-8?q?=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'style.css') 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; + } +} -- cgit v1.2.3