Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-25 10:59:06 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-25 10:59:06 -0700
commit792e4f1eb28aba54e045e5ca79377c22edc57767 (patch)
treeb34f06b7ffa93cf33cb8fe712e254e9351f9c6e1 /public/assets/css/radial.css
parentdd9e937094e2375ea77ce757e3073bd10b40f0aa (diff)
WIP: hide exits and windows when viewing basement levels
Diffstat (limited to 'public/assets/css/radial.css')
-rw-r--r--public/assets/css/radial.css18
1 files changed, 14 insertions, 4 deletions
diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css
index b00df20..9bb0126 100644
--- a/public/assets/css/radial.css
+++ b/public/assets/css/radial.css
@@ -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;
}