From da771af8ef985d8282a87c7ade6c856ca73d2fae Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 27 Jun 2024 10:17:30 +0100 Subject: [PATCH 01/39] scroll adjust works but ticks missing --- .../apps/core/templates/core/world_map.html | 53 ++++++++++++++----- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/seshat/apps/core/templates/core/world_map.html b/seshat/apps/core/templates/core/world_map.html index 19bf0f1ee..0a03bbadf 100644 --- a/seshat/apps/core/templates/core/world_map.html +++ b/seshat/apps/core/templates/core/world_map.html @@ -75,15 +75,26 @@ } #variableLegend { - position: absolute; - bottom: 75; - right: 0; - background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */ - padding: 10px; - border-radius: 5px; - max-width: 200px; - z-index: 999; -} + position: absolute; + bottom: 75; + right: 0; + background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */ + padding: 10px; + border-radius: 5px; + max-width: 200px; + z-index: 999; + } + + /* Hide scrollbar for WebKit browsers */ + #sliderdiv::-webkit-scrollbar { + display: none; + } + + /* Hide scrollbar for IE, Edge, and Firefox */ + #sliderdiv { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ + } @@ -190,13 +201,14 @@

Base Map

-
+
-
+
- +
@@ -207,6 +219,19 @@

Base Map

+ + {% block content %} {% if content.include_polity_map %}