Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-30 21:02:13 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-30 21:08:00 -0700
commit1687e0e790d869fe58f86046f5ee093981670c63 (patch)
tree212e0c3127483ec29774ac237c07e00b26f05086 /public/assets/css
parent48e7675eb0583e420dac52be341e505331c05b4b (diff)
Ok, hover and firing arc doesn't get stuck at all
Not sure about counters
Diffstat (limited to 'public/assets/css')
-rw-r--r--public/assets/css/map.css7
1 files changed, 3 insertions, 4 deletions
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);
}