index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'public/assets/css/map.css')
-rw-r--r-- | public/assets/css/map.css | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css index 7e74efb..dfdc08b 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -265,9 +265,7 @@ g[data-y]:nth-child(odd) { transform: scale(var(--scale)); } -[data-x]:hover use[href="#hex"], -[data-q][data-r][data-s][data-t]:hover use[href="#hex"], -[data-q][data-r][data-s][data-t].hover use[href="#hex"] { +.grid-top:hover use[href="#hex"] { opacity: 1; fill: orange; stroke: black; @@ -512,21 +510,21 @@ g.counter use[class^="counter-"] { } [data-q][data-r][data-s][data-t] > use[class^="counter-"], -.grid-top > use[class^="counter-"] { +.grid-top .container > use[class^="counter-"] { --translateX: calc(var(--x) / 6 - 5px); --translateY: calc(var(--y) / 6 - 5px); } [data-q][data-r][data-s][data-t]:hover > g.counter ~ use[class^="counter-"], [data-q][data-r][data-s][data-t].hover > g.counter ~ use[class^="counter-"], -.grid-top > g.counter ~ use[class^="counter-"] { +.grid-top .container > g.counter ~ use[class^="counter-"] { --translateX: calc(var(--x) * 2 - 5px); --translateY: calc(var(--y) * 2 - 5px); } [data-q][data-r][data-s][data-t]:hover > use[class^="counter-"], [data-q][data-r][data-s][data-t].hover > use[class^="counter-"], -.grid-top > use[class^="counter-"] { +.grid-top .container > use[class^="counter-"] { --translateX: calc(var(--x) * 1.5 - 5px); --translateY: calc(var(--y) * 1.5 - 5px); } |