summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-07-31 13:32:52 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:26 +0100
commit3e2b722afd1fc09cc242ea8aaa59f75f7a6a8605 (patch)
treed1f517fdb579fb4e04b9d6cf3c90b7fce7008982 /play.html
parent23882805614d548df2d4c5aecfbcb40438868207 (diff)
downloadrommel-in-the-desert-3e2b722afd1fc09cc242ea8aaa59f75f7a6a8605.tar.gz
Show active/assault battle hexes.
Diffstat (limited to 'play.html')
-rw-r--r--play.html22
1 files changed, 20 insertions, 2 deletions
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); }