From 3bce4a6ed62277a4c3a53541ceb0b0ac273b717a Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Wed, 3 Jul 2024 11:10:46 -0700
Subject: Add building height labels
---
public/assets/css/map.css | 3 ++-
public/assets/css/radial.css | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'public/assets/css')
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index 24b6e31..d1386ab 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -443,11 +443,12 @@ g[data-y="76"] { --i: 76; }
fill-opacity: 0.2;
}
-.elevation {
+text.elevation {
font-family: sans-serif;
font-weight: bold;
font-size: 6pt;
text-anchor: middle;
user-select: none;
pointer-events: none;
+ fill: black;
}
diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css
index d9636de..b7fd145 100644
--- a/public/assets/css/radial.css
+++ b/public/assets/css/radial.css
@@ -59,7 +59,7 @@ use[href="#hex"] {
stroke-linecap: square;
}
-.building [class*="elevation"] {
+.building [class*="elevation-"] {
display: none;
}
@@ -76,7 +76,8 @@ use[href="#hex"] {
fill: #999;
}
-[data-view-elevation="-1"] .building .elevation-basement {
+[data-view-elevation="-1"] .building .elevation-basement,
+[data-view-elevation="-1"] .elevation-basement + text.elevation {
display: inline;
}
--
cgit v1.2.3