From 3e2b722afd1fc09cc242ea8aaa59f75f7a6a8605 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 31 Jul 2022 13:32:52 +0200 Subject: Show active/assault battle hexes. --- play.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index 16c303e..fcaf728 100644 --- a/play.html +++ b/play.html @@ -327,6 +327,24 @@ svg .hex.refit.action { stroke: lightskyblue; } +svg .hex.battle:not(.action) { + stroke: black; + stroke-width: 4; + stroke-opacity: 0.25; +} + +svg .hex.assault:not(.action) { + stroke: black; + stroke-width: 4; + stroke-opacity: 0.5; +} + +svg .hex.current:not(.action) { + stroke: yellow; + stroke-width: 4; + stroke-opacity: 0.5; +} + svg .hex.from { fill: gold; fill-opacity: 0.2; @@ -449,11 +467,11 @@ svg .hex.tip { } .unit.disrupted { - border-color: crimson; + border-color: dimgray; } .unit.unsupplied { - border-color: green; + border-color: brown; } .unit.r0 { transform: rotate(0deg); } -- cgit v1.2.3