From 27ca851851fc35dd7931b0a6d1f4eda28b9c3b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick=20Madore?= <93156843+fmadore@users.noreply.github.com> Date: Fri, 15 Nov 2024 07:07:34 +0100 Subject: [PATCH] Update items_country_treemap.html --- .../Items_country/items_country_treemap.html | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/Visualisations/Overview/Items_country/items_country_treemap.html b/Visualisations/Overview/Items_country/items_country_treemap.html index 7129a19..c26508b 100644 --- a/Visualisations/Overview/Items_country/items_country_treemap.html +++ b/Visualisations/Overview/Items_country/items_country_treemap.html @@ -36,6 +36,7 @@ .node { stroke: #fff; stroke-width: 1px; + cursor: pointer; } .label { @@ -127,6 +128,25 @@ fill: rgba(255, 255, 255, 0.9); text-shadow: 1px 1px 2px rgba(0,0,0,0.5); } + + #resetZoom { + position: absolute; + top: 10px; + right: 10px; + padding: 8px 16px; + font-size: 14px; + border: none; + border-radius: 4px; + background-color: rgba(76, 175, 80, 0.8); + color: white; + cursor: pointer; + display: none; + transition: background-color 0.3s; + } + + #resetZoom:hover { + background-color: rgba(76, 175, 80, 1); + } @@ -137,6 +157,7 @@

+