From 1687e0e790d869fe58f86046f5ee093981670c63 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Tue, 30 Jul 2024 21:02:13 -0700
Subject: Ok, hover and firing arc doesn't get stuck at all Not sure about
counters
---
public/assets/css/map.css | 7 +++----
public/assets/images/scenario_template.svg | 6 ++----
2 files changed, 5 insertions(+), 8 deletions(-)
(limited to 'public')
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index feda870..9c0c189 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -184,7 +184,6 @@ g.counter.selected {
g.counter use.primary-weapon {
r: inherit;
- pointer-events: none;
}
g.counter use.troop-number, g.counter use.squad-number {
@@ -480,7 +479,7 @@ text.elevation {
fill: black;
}
-.grid-top:hover use[href="#hex"] {
+[data-q][data-r][data-s][data-t].hover use[href="#hex"] {
opacity: 1;
fill: orange;
stroke: black;
@@ -502,12 +501,12 @@ g.counter use[class^="counter-"] {
--translateY: calc(var(--y) / 6 - 5px);
}
-.grid-top .container > g.counter ~ use[class^="counter-"] {
+.frontmost > g.counter ~ use[class^="counter-"] {
--translateX: calc(var(--x) * 2 - 5px);
--translateY: calc(var(--y) * 2 - 5px);
}
-.grid-top .container > use[class^="counter-"] {
+.frontmost > use[class^="counter-"] {
--translateX: calc(var(--x) * 1.5 - 5px);
--translateY: calc(var(--y) * 1.5 - 5px);
}
diff --git a/public/assets/images/scenario_template.svg b/public/assets/images/scenario_template.svg
index bc5b146..6e4ac14 100644
--- a/public/assets/images/scenario_template.svg
+++ b/public/assets/images/scenario_template.svg
@@ -70,10 +70,8 @@
-
-
-
-
+
+
--
cgit v1.2.3