From 1eff37ad10dd3d94ad782a5822d0c02a6d8f4ed5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 26 Jul 2022 14:21:48 +0200 Subject: Supply lines and disrupted units and battle hexes. --- play.html | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index ea2057c..c22f700 100644 --- a/play.html +++ b/play.html @@ -219,6 +219,22 @@ svg .side { stroke-width: 8px; } +svg .side.axis_control { + stroke: green; + stroke-width: 8px; + stroke-opacity: 0.8; + stroke-dasharray: 54 100; + stroke-dashoffset: -8; +} + +svg .side.allied_control { + stroke: brown; + stroke-width: 8px; + stroke-opacity: 0.8; + stroke-dasharray: 54 100; + stroke-dashoffset: -8; +} + svg .side.axis_supply { stroke-width: 64px; stroke-linecap: butt; @@ -241,22 +257,6 @@ svg .side.allied_supply.axis_supply { stroke: yellow; } -svg .side.axis_control { - stroke: green; - stroke-width: 8px; - stroke-opacity: 0.8; - stroke-dasharray: 54 100; - stroke-dashoffset: -8; -} - -svg .side.allied_control { - stroke: brown; - stroke-width: 8px; - stroke-opacity: 0.8; - stroke-dasharray: 54 100; - stroke-dashoffset: -8; -} - svg .hex.action { stroke: white; stroke-width: 2; @@ -272,6 +272,16 @@ svg .hex.to { fill-opacity: 0.2; } +svg .hex.axis_control { + fill: green; + fill-opacity: 0.2; +} + +svg .hex.allied_control { + fill: brown; + fill-opacity: 0.2; +} + svg .hex.axis_supply { fill: green; fill-opacity: 0.3; @@ -287,16 +297,6 @@ svg .hex.axis_supply.allied_supply { fill-opacity: 0.3; } -svg .hex.axis_control { - fill: green; - fill-opacity: 0.2; -} - -svg .hex.allied_control { - fill: brown; - fill-opacity: 0.2; -} - svg .hex.tip { fill: black; fill-opacity: 0.6; -- cgit v1.2.3