WIP: hide exits and windows when viewing basement levels
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user