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 @@ +