Web Dev Solutions

Catalin Mititiuc

From 792e4f1eb28aba54e045e5ca79377c22edc57767 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 25 Jun 2024 10:59:06 -0700 Subject: WIP: hide exits and windows when viewing basement levels --- public/assets/css/radial.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'public/assets') 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; } -- cgit v1.2.3