From 8d9c651b9fbaae3bbc448c1a53f6b63bbc198b8c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 10 Sep 2022 14:34:24 +0200 Subject: Add icon badge for moved units. --- play.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'play.html') 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; } -- cgit v1.2.3