From a5d53cc99be9fa16839dfdd0132e70a5b655a6ad Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 23 Jan 2023 14:39:39 +0100 Subject: Fix ELR marker. --- images/marker_enemy_lords_removed_russian.png | Bin 7635 -> 7434 bytes images/marker_enemy_lords_removed_teutonic.png | Bin 7434 -> 7635 bytes play.html | 2 +- play.js | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/marker_enemy_lords_removed_russian.png b/images/marker_enemy_lords_removed_russian.png index 04dcd5c..a62e5dc 100644 Binary files a/images/marker_enemy_lords_removed_russian.png and b/images/marker_enemy_lords_removed_russian.png differ diff --git a/images/marker_enemy_lords_removed_teutonic.png b/images/marker_enemy_lords_removed_teutonic.png index a62e5dc..04dcd5c 100644 Binary files a/images/marker_enemy_lords_removed_teutonic.png and b/images/marker_enemy_lords_removed_teutonic.png differ diff --git a/play.html b/play.html index cb02569..f5bc61a 100644 --- a/play.html +++ b/play.html @@ -1065,7 +1065,7 @@ body.shift .mustered_vassals { .marker.teutonic.victory { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; } .marker.teutonic.siege { background-color: #a39382; border-color: #c3b2a0 #857565 #857565 #c3b2a0; box-shadow: 0 0 0 1px #312416, 1px 2px 4px #0008; } .marker.russian.conquered { background-color: #649655; border-color: #82b573 #477838 #477838 #82b573; box-shadow: 0 0 0 1px #002500, 1px 2px 4px #0008; } -.marker.russian.enemy_lords_removed { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; } +.marker.teutonic.enemy_lords_removed { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; } .marker.russian.victory { background-color: #2d8b47; border-color: #4faa64 #006d2a #006d2a #4faa64; box-shadow: 0 0 0 1px #001a00, 1px 2px 4px #0008; } .marker.walls { background-color: #e3dedc; border-color: #fffefc #c3bebc #c3bebc #fffefc; box-shadow: 0 0 0 1px #686362, 1px 2px 4px #0008; } .marker.russian.number { background-color: #c6992f; border-color: #e7b954 #a67a00 #a67a00 #e7b954; box-shadow: 0 0 0 1px #4d2400, 1px 2px 4px #0008; } diff --git a/play.js b/play.js index e366273..f217cf6 100644 --- a/play.js +++ b/play.js @@ -1708,11 +1708,11 @@ function on_update() { } if (view.pieces.elr1) - ui.elr1.classList = `marker circle enemy_lords_removed teutonic ${view.pieces.elr1}` + ui.elr1.classList = `marker circle enemy_lords_removed teutonic v${view.pieces.elr1}` else ui.elr1.classList = `marker circle enemy_lords_removed teutonic hide` if (view.pieces.elr2) - ui.elr2.classList = `marker circle enemy_lords_removed russian ${view.pieces.elr2}` + ui.elr2.classList = `marker circle enemy_lords_removed russian v${view.pieces.elr2}` else ui.elr2.classList = `marker circle enemy_lords_removed russian hide` -- cgit v1.2.3