From 15604d72d064470db9d9a24d9ede10baa7f90ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20M=C3=A9hat?= Date: Tue, 9 Jun 2026 13:54:46 -0400 Subject: [PATCH] Add date slider, timeline playback, and voting popup support Refactor index.html with extracted marker helpers (addMarker, clearAll, showAll). Add play/pause button for animated timeline. Add date range slider (bottom-left) to filter protocols by activation date. Slider disables during playback and re-enables on stop. Testnet-only protocols only shown at max slider position. --- docs/index.html | 268 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 232 insertions(+), 36 deletions(-) diff --git a/docs/index.html b/docs/index.html index c05476a..31f8f97 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,20 +12,25 @@ body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } #title { height: 36px; display: flex; align-items: center; padding: 0 14px; background: #1a1a2e; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.3px; } #title span { opacity: 0.6; margin-left: 8px; font-weight: 400; } + #title a { margin-left: auto; display: flex; align-items: center; color: #fff; opacity: 0.6; transition: opacity 0.15s; } + #title a:hover { opacity: 1; } #map { height: calc(100vh - 36px); width: 100%; } .legend { background: white; padding: 8px 12px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.3); line-height: 1.6; font-size: 13px; } .legend i { width: 12px; height: 12px; display: inline-block; margin-right: 6px; border-radius: 50%; vertical-align: middle; } .legend .line { width: 20px; height: 0; border-top: 2px dashed #888; display: inline-block; margin-right: 6px; vertical-align: middle; } + .playback-control a { background: white; width: 34px; height: 34px; line-height: 34px; text-align: center; font-size: 18px; display: block; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.3); text-decoration: none; color: #333; } + .playback-control a:hover { background: #f4f4f4; } -
Tezos Protocol Cities
+
Tezos Protocol Cities