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/map.css | 2 +-
public/assets/css/radial.css | 21 ++++++++++++++++++---
public/assets/images/radial.svg | 3 +++
public/assets/images/scenario_template.svg | 6 +++---
4 files changed, 25 insertions(+), 7 deletions(-)
(limited to 'public')
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index 535e5b4..4c3c9a2 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -15,7 +15,7 @@ text {
}
use[href="#hex"] {
- opacity: 0.25;
+ opacity: 0;
fill: transparent;
fill-opacity: 0.5;
stroke-width: 0.5px;
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 > * {
diff --git a/public/assets/images/radial.svg b/public/assets/images/radial.svg
index f2abd15..775f0f2 100644
--- a/public/assets/images/radial.svg
+++ b/public/assets/images/radial.svg
@@ -23,6 +23,9 @@
+
+
+
diff --git a/public/assets/images/scenario_template.svg b/public/assets/images/scenario_template.svg
index 20798a9..1b14c39 100644
--- a/public/assets/images/scenario_template.svg
+++ b/public/assets/images/scenario_template.svg
@@ -47,9 +47,9 @@
-
+
-
+
@@ -57,6 +57,6 @@
-
+
--
cgit v1.2.3