summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-18 17:31:11 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit62f94aa3b8333930cb5007ba9e1425e9787d2346 (patch)
tree2431be87550dc72c47a718a1248dab05ff6a71d2
parent0046b05221e91324ec3dacaf49fa8b8dbf6ca625 (diff)
downloadnevsky-62f94aa3b8333930cb5007ba9e1425e9787d2346.tar.gz
Highlight action cards.
-rw-r--r--play.html6
-rw-r--r--play.js2
-rw-r--r--rules.js1
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!