summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-08-06 23:27:09 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:26 +0100
commitb57602113bf61be7dea9ff66b84cd5a58a227b65 (patch)
tree7dc57d5f57711f8ab06a3e8f067be3f9dbd97367 /play.html
parent347e11ad3d63a4240972588bdd079c3e8e699657 (diff)
downloadrommel-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.html48
1 files changed, 25 insertions, 23 deletions
diff --git a/play.html b/play.html
index ae183d7..24acbc8 100644
--- a/play.html
+++ b/play.html
@@ -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 {