Web Dev Solutions

Catalin Mititiuc

From ce6cd0be50975f565e52454cfb37e142eac51fc9 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Mon, 1 Jul 2024 16:30:15 -0700 Subject: WIP: split hexes and building structure into different layers --- public/assets/css/radial.css | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'public/assets/css/radial.css') diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index 2f03cb2..9b84d8a 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -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 > * { -- cgit v1.2.3