Add building height labels
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user