summaryrefslogtreecommitdiff
path: root/web/src/app.css
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-17 23:12:38 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-17 23:12:38 +0100
commitd64cf3514e5ff1ddb1c7f3ddac9a769db3e7dde0 (patch)
tree781ec9f63220f3c15b309658e9b32ad7d9c70b3a /web/src/app.css
parent94e2850fb73005f3fb30af8489905e5cdfb6fac5 (diff)
Phase 5: campaign meta, notes, special rules (M5)
Web: - Note rows: create/edit menu (text, 12-swatch palette, player/monster link with per-standee selection, delete) with the reference's create-vs-edit commit semantics; row rendering with target-derived gradient colour, link indent + connector, standee N:/All: prefixes, tap-to-edit; whole-list drag-to-reorder (reorderList); quick per-figure note (setFigureNote) from the status menu - Special monsters: Ice Wraith "Switch Form" (deck == "Ice Wraith" gate), summon mark toggle (round-green/summon standee artwork, standee-nr badges, per-owner grayscale), character summon boxes + AddSummonMenu (class summons gated by level and standee cap, item summons from summons.json) - Ally deck show/hide in the main menu (shouldShowAlliesDeck gate); settings "clear unlocked" + Special Unlocks menu - AddSectionMenu parity: search filter, findNrFromScenarioName numeric ordering, added sections greyed + no-op, #Random Dungeon label - gameData.ts: SummonModel, ClassData.summons, summons() fetch Server: - unlock_special_command_test (last command without a test; ally-deck hide and remove-sanctuary were already covered) PLAN.md: Phase 5 boxes checked, M5 progress-log entry
Diffstat (limited to 'web/src/app.css')
-rw-r--r--web/src/app.css31
1 files changed, 25 insertions, 6 deletions
diff --git a/web/src/app.css b/web/src/app.css
index 90cc0c9..d7da597 100644
--- a/web/src/app.css
+++ b/web/src/app.css
@@ -411,6 +411,26 @@ button {
opacity: 0.6;
}
+/* A summon standee: blue frame (the reference `MonsterBoxBody`). */
+.monster__box--summon {
+ border: 1px solid #2196f3;
+}
+
+/* Summoned-this-round while the owner's turn is current. */
+.monster__box--grayed {
+ filter: grayscale(1);
+}
+
+.monster__box-nr {
+ position: absolute;
+ top: 1px;
+ left: 2px;
+ font-size: 10px;
+ font-weight: 700;
+ color: #fff;
+ text-shadow: 1px 1px 1px #000;
+}
+
.monster__box-hp {
position: absolute;
bottom: 1px;
@@ -420,12 +440,6 @@ button {
text-shadow: 1px 1px 1px #000;
}
-/* Note row */
-.note__text {
- padding: 4px 8px;
- font-size: 13px;
-}
-
.note__edit {
text-align: left;
padding: 0;
@@ -718,6 +732,11 @@ button {
opacity: 0.3;
}
+.stepbtn--on {
+ background: #1565c0;
+ color: #fff;
+}
+
.condgrid {
display: grid;
grid-template-columns: repeat(3, 1fr);