diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-03 13:51:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | a9edc45cec9971475f236f064c6e35fab6a44b80 (patch) | |
tree | 70f8b6e1d9f328910038051d790d7a23b6a60a14 /play.html | |
parent | 064a1f0ec4d7859a378b36c7f6b5cdb05d4a1982 (diff) | |
download | rommel-in-the-desert-a9edc45cec9971475f236f064c6e35fab6a44b80.tar.gz |
Hatch pattern for showing battle control.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 41 |
1 files changed, 15 insertions, 26 deletions
@@ -301,12 +301,22 @@ svg .hex.refit.action { stroke: lightskyblue; } +svg .hex.to { + stroke: blue; + stroke-dasharray: 4 4; +} + svg .hex.action { stroke: ivory; stroke-dasharray: 2 2; stroke-dashoffset: 1; } +svg .hex.from { + stroke: yellow; + stroke-dasharray: 8 4; +} + svg .hex.action.forced_march { stroke: crimson; } @@ -315,17 +325,13 @@ svg .hex.selected { stroke: yellow; } -/* HEX CONTROL */ - -svg .hex.axis_control { - fill: seagreen; - fill-opacity: 0.2; +svg .hex.tip { + stroke: yellow; + stroke-width: 3; + stroke-dasharray: 4 4; } -svg .hex.allied_control { - fill: firebrick; - fill-opacity: 0.2; -} +/* HEX CONTROL */ svg .side.axis_control { stroke: seagreen; @@ -344,23 +350,6 @@ body.Allied svg .side.allied_control { stroke: none; } body.Axis svg .side.axis_control { stroke: none; } body.Axis svg .side.allied_control { stroke: black; } -/* HEX HIGHLIGHT */ - -svg .hex.from { - fill: gold; - fill-opacity: 0.2; -} - -svg .hex.to { - fill: plum; - fill-opacity: 0.2; -} - -svg .hex.tip { - stroke: yellow; - stroke-dasharray: 4 4; -} - /* SUPPLY LINES */ svg .hex.axis_supply { |