WIP: hide exits and windows when viewing basement levels

This commit is contained in:
2024-06-25 10:59:06 -07:00
parent dd9e937094
commit 792e4f1eb2
3 changed files with 31 additions and 15 deletions

View File

@@ -29,13 +29,18 @@ use[href="#hex"] {
display: inline;
fill: none;
fill-opacity: 1;
stroke: #ff9900;
stroke-width: 2.5;
stroke: white;
stroke-width: 2.25;
stroke-linecap: square;
stroke-dasharray: none;
stroke-opacity: 1;
}
.building .door-edges, .building .windows {
stroke: #ff9900;
stroke-width: 2.25;
}
.building .floor,
.terrain .floor {
opacity: 1;
@@ -138,12 +143,17 @@ use[href="#hex"] {
display: none;
}
[data-view-elevation="-1"] .building > * {
[data-view-elevation="-1"] .building > *,
[data-view-elevation="-1"] .building > .structure > * {
display: none;
}
[data-view-elevation="-1"] .building > .elevation-basement,
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure {
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure,
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure [class*="wall"],
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .floor,
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .doors:not(.exits),
[data-view-elevation="-1"] .building > .elevation-basement ~ .structure .door-edges:not(.exits) {
display: inline;
}