WIP: split hexes and building structure into different layers

This commit is contained in:
2024-07-01 16:30:15 -07:00
parent e199c0d75a
commit ce6cd0be50
7 changed files with 74 additions and 53 deletions

View File

@@ -15,7 +15,7 @@ text {
}
use[href="#hex"] {
opacity: 0.25;
opacity: 0;
fill: transparent;
fill-opacity: 0.5;
stroke-width: 0.5px;

View File

@@ -47,7 +47,7 @@ use[href="#hex"] {
display: inline;
opacity: 1;
fill: #ffffff;
fill-opacity: 0.5;
/* fill-opacity: 0.5; */
/* fill: url(#asterisk); */
stroke: none;
}
@@ -72,6 +72,14 @@ use[href="#hex"] {
display: none;
}
[data-view-elevation="-1"] [class*="elevation"] {
display: none;
}
[data-view-elevation="-1"] #background {
fill: #333;
}
[data-view-elevation="-1"] .building .elevation-basement {
display: inline;
}
@@ -84,14 +92,21 @@ use[href="#hex"] {
display: inline;
}
[data-view-elevation="2"] .building .elevation-2 {
[data-view-elevation="2"] .building .elevation-2,
[data-view-elevation="2"] .building .elevation-1:last-child {
display: inline;
}
[data-view-elevation="3"] .building .elevation-3 {
[data-view-elevation="3"] .building .elevation-3,
[data-view-elevation="3"] .building .elevation-1:last-child,
[data-view-elevation="3"] .building .elevation-2:last-child {
display: inline;
}
#dots {
pointer-events: none;
}
/*
[data-view-elevation="-1"] .building > *,
[data-view-elevation="-1"] .building > .structure > * {