diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-10 14:34:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | 8d9c651b9fbaae3bbc448c1a53f6b63bbc198b8c (patch) | |
tree | 88b87ca9b20efe742cce4205525bd94770be1d49 /play.html | |
parent | 882b952e33518eac4d432ac1b9aa84209d35172a (diff) | |
download | rommel-in-the-desert-8d9c651b9fbaae3bbc448c1a53f6b63bbc198b8c.tar.gz |
Add icon badge for moved units.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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; } |