From 62f94aa3b8333930cb5007ba9e1425e9787d2346 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 18 Dec 2022 17:31:11 +0100 Subject: Highlight action cards. --- play.html | 6 ++++-- play.js | 2 -- rules.js | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/play.html b/play.html index 9695576..bf14955 100644 --- a/play.html +++ b/play.html @@ -164,7 +164,6 @@ body.Teutons #plan_actions .russian { display: none } } .mat .capabilities { - pointer-events: none; position: absolute; width: 372px; height: 260px; @@ -519,9 +518,12 @@ body.shift .mustered_vassals { } .card.disabled { - filter: grayscale(100%) brightness(66%); + filter: brightness(80%); } +.card.action.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px white; } +.card.action.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px white; } + .card.selected.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px yellow; } .card.selected.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px yellow; } diff --git a/play.js b/play.js index b616156..6d8829f 100644 --- a/play.js +++ b/play.js @@ -4,8 +4,6 @@ // fealty rating and starting assets + forces on calendar // current assets and forces on map -// TODO: held events, this_turn events - // inactive command cylinder color - other color outline // moved/fought lord coloring - blue outline? diff --git a/rules.js b/rules.js index 136d94c..86f4156 100644 --- a/rules.js +++ b/rules.js @@ -1,5 +1,6 @@ "use strict" +// TODO: skip pay step of first levy? // TODO: delay pay step if there is no feed or disband to be done // TODO: Lodya capability during supply! -- cgit v1.2.3