summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-10 14:34:24 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commit8d9c651b9fbaae3bbc448c1a53f6b63bbc198b8c (patch)
tree88b87ca9b20efe742cce4205525bd94770be1d49 /play.html
parent882b952e33518eac4d432ac1b9aa84209d35172a (diff)
downloadrommel-in-the-desert-8d9c651b9fbaae3bbc448c1a53f6b63bbc198b8c.tar.gz
Add icon badge for moved units.
Diffstat (limited to 'play.html')
-rw-r--r--play.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/play.html b/play.html
index 054dda9..ee7b8f8 100644
--- a/play.html
+++ b/play.html
@@ -431,10 +431,12 @@ svg #lines line.axis_supply.allied_supply {
box-shadow: 0 0 2px 1px hsl(80, 20%, 20%);
}
+.unit.axis.fired,
.unit.axis.moved:not(.disrupted):not(.unsupplied) {
border-color: hsl(80, 20%, 40%);
}
+.unit.axis.fired:not(.revealed),
.unit.axis.moved:not(.revealed) {
background-color: hsl(80, 20%, 50%);
}
@@ -445,14 +447,22 @@ svg #lines line.axis_supply.allied_supply {
box-shadow: 0 0 2px 1px hsl(30, 40%, 20%);
}
+.unit.allied.fired,
.unit.allied.moved:not(.disrupted):not(.unsupplied) {
border-color: hsl(35, 40%, 40%);
}
+.unit.allied.fired:not(.revealed),
.unit.allied.moved:not(.revealed) {
background-color: hsl(35, 40%, 50%);
}
+.unit.moved:not(.revealed) {
+ background-image: url(moved.svg);
+ background-size: 75%;
+ background-position: center bottom;
+}
+
.unit.axis.revealed {
background-color: #abba8e;
}