diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-08-06 23:27:09 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:26 +0100 |
commit | b57602113bf61be7dea9ff66b84cd5a58a227b65 (patch) | |
tree | 7dc57d5f57711f8ab06a3e8f067be3f9dbd97367 /play.html | |
parent | 347e11ad3d63a4240972588bdd079c3e8e699657 (diff) | |
download | rommel-in-the-desert-b57602113bf61be7dea9ff66b84cd5a58a227b65.tar.gz |
Highlight to/from hexes with higher priority than hex control.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 48 |
1 files changed, 25 insertions, 23 deletions
@@ -287,16 +287,6 @@ svg .hex { stroke-width: 2; } -svg .hex.action { - stroke: ivory; - stroke-dasharray: 2 2; - stroke-dashoffset: 1; -} - -svg .hex.action.forced_march { - stroke: crimson; -} - svg .hex.exit { fill: black; fill-opacity: 0.125; @@ -306,23 +296,18 @@ svg .hex.refit.action { stroke: lightskyblue; } -svg .hex.selected { - stroke: yellow; -} - -svg .hex.from { - fill: gold; - fill-opacity: 0.2; +svg .hex.action { + stroke: ivory; + stroke-dasharray: 2 2; + stroke-dashoffset: 1; } -svg .hex.to { - fill: plum; - fill-opacity: 0.2; +svg .hex.action.forced_march { + stroke: crimson; } -svg .hex.tip { - stroke: white; - stroke-dasharray: 4 4; +svg .hex.selected { + stroke: yellow; } /* HEX CONTROL */ @@ -354,6 +339,23 @@ 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: white; + stroke-dasharray: 4 4; +} + /* SUPPLY LINES */ svg .hex.axis_supply { |