From 83df17669db8cbfca3b185dfecbd9121698f0a8b Mon Sep 17 00:00:00 2001 From: leosw Date: Mon, 18 Aug 2025 18:56:59 +0200 Subject: [PATCH] Ajout d'un avertissement sur la page carte --- views/css/d.map.css | 41 +++++++++++++++++++++++++++++++++++++++++ views/d.map.html | 2 ++ 2 files changed, 43 insertions(+) diff --git a/views/css/d.map.css b/views/css/d.map.css index 542137a..1105fbf 100755 --- a/views/css/d.map.css +++ b/views/css/d.map.css @@ -16,6 +16,47 @@ footer { z-index: 10000; } +#advert { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + z-index: 9999; + background: rgba(50,50,50,0.8); + color: #ddd; + padding: 20px; + border-bottom: 6px solid blue; + text-align: center; +} +#advert a{ + color: white; +} +#advert .dots span { + opacity: 0; + animation: appear 1.5s infinite; +} + +#advert .dots span:nth-child(1) { + animation-delay: 0s; +} + +#advert .dots span:nth-child(2) { + animation-delay: 0.3s; +} + +#advert .dots span:nth-child(3) { + animation-delay: 0.6s; +} + +@keyframes appear { + 0%, 80%, 100% { + opacity: 0; + } + 40% { + opacity: 1; + } +} + /***************************************** Controls of the map *****************************************/ diff --git a/views/d.map.html b/views/d.map.html index 30b9501..7eb7eb7 100755 --- a/views/d.map.html +++ b/views/d.map.html @@ -7,6 +7,8 @@ + +