Add local queued-action prototype and simplify research choice hint
This commit is contained in:
parent
b6b6bf8550
commit
4bdfc1e01a
11 changed files with 292 additions and 11 deletions
|
|
@ -17,6 +17,12 @@ Open http://127.0.0.1:8643. The preview binds to loopback and saves its disposab
|
|||
|
||||
The local preview does not modify production games, catalog records, or chat rooms.
|
||||
|
||||
## Action-queue prototype
|
||||
|
||||
Open `/async-preview.html` on the local dev server. This isolated replacement-settler scenario uses the real board and controls: Maya plans actions while Rome chooses a city. Switch seats with the preview toolbar. The queue reuses `predictMove`, revalidates actions after Rome responds, and stops on an invalid action. End turn can be queued last; the normal Undo button removes a queued action and its payment responses together.
|
||||
|
||||
This is a local, in-memory prototype, not production concurrency. Reloading resets it. It neither saves a server-side queue nor enables planning around other live-game reactions. The production viewer entry point does not import the prototype.
|
||||
|
||||
## Implemented controls
|
||||
|
||||
- Procedural 3D terrain, cities, settlers, tile selection, orbit/zoom, and a top-down view.
|
||||
|
|
|
|||
1
web-client/async-preview.html
Normal file
1
web-client/async-preview.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!doctype html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Clash · Concurrent choices preview</title></head><body><div id="app"></div><script type="module" src="/src/async-preview.ts"></script></body></html>
|
||||
1
web-client/scripts/async-preview-fixture.json
Normal file
1
web-client/scripts/async-preview-fixture.json
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -127,8 +127,9 @@
|
|||
import { sinceLastTurn } from './playback';
|
||||
import { ageCount, ageLabel } from './game-length';
|
||||
import { roundProgress, personalRoundLabel } from './round-progress';
|
||||
let { controller }: { controller: Controller } = $props();
|
||||
let { controller, concurrentPreview }: { controller: Controller; concurrentPreview?: { pending: boolean; waiting: boolean; seat: number; other: string; queued: number; ended: boolean; onUndo: () => void; onWait: () => void } } = $props();
|
||||
const session = $derived(controller.session);
|
||||
const planningQueue = $derived(!!concurrentPreview?.pending && concurrentPreview.seat === 0);
|
||||
let earlyPanel = $state<'cities' | 'abilities' | 'first' | null>(null);
|
||||
const earlyOffers = $derived(!$session.playback ? $session.view?.earlyChoices ?? [] : []);
|
||||
const earlyAdvance = $derived(earlyOffers.find(o => o.key.endsWith('/advance')));
|
||||
|
|
@ -265,7 +266,7 @@
|
|||
const activePlayers = $derived(
|
||||
$session.game?.state === 'Finished' || $session.playback
|
||||
? []
|
||||
: ($session.view?.activePlayers ?? ($session.view ? [$session.view.activePlayer] : [])),
|
||||
: concurrentPreview?.pending ? (concurrentPreview.waiting ? [1] : [0, 1]) : ($session.view?.activePlayers ?? ($session.view ? [$session.view.activePlayer] : [])),
|
||||
);
|
||||
const choosingPlayer = $derived(
|
||||
!!$session.view?.civilizationDraft || !!$session.game?.events?.length || ($session.game?.round ?? 0) > 3,
|
||||
|
|
@ -937,7 +938,7 @@
|
|||
<div class="player-list" aria-label="Civilizations in turn order">
|
||||
{#each playerTurns as { player, order, status }}
|
||||
{@const turnLabel = activePlayers.includes(player.index)
|
||||
? choosingPlayer
|
||||
? (concurrentPreview?.pending ? player.index === 1 : choosingPlayer)
|
||||
? 'Choosing'
|
||||
: player.index === $session.seat
|
||||
? 'Your turn'
|
||||
|
|
@ -1292,7 +1293,7 @@
|
|||
class="turn-light"
|
||||
></span>{/if}
|
||||
<div class="turn-copy">
|
||||
<strong>{actionTitle}</strong>
|
||||
<strong>{concurrentPreview?.pending && concurrentPreview.seat === 0 && !concurrentPreview.waiting ? 'Planning ahead' : actionTitle}</strong>
|
||||
{#if waiting}<span class="waiting-action"
|
||||
>{waiting.action}{waiting.source ? ` · ${printedCardName(waiting.source)}` : ''}</span
|
||||
>{/if}
|
||||
|
|
@ -1463,8 +1464,11 @@
|
|||
aria-hidden="true"
|
||||
/>{/if}</button
|
||||
>
|
||||
<UndoControl canUndo={!!$session.view?.canUndo || !!activeInfluence($session)} canRedo={!!$session.view?.canRedo}
|
||||
blocked={!!$session.playback || $session.pending} submit={action => controller.submit(action)}/>
|
||||
<UndoControl canUndo={planningQueue ? !!concurrentPreview?.queued : !!$session.view?.canUndo || !!activeInfluence($session)} canRedo={!planningQueue && !!$session.view?.canRedo}
|
||||
blocked={!!$session.playback || $session.pending} submit={action => {
|
||||
if (planningQueue && action === 'Undo') concurrentPreview!.onUndo();
|
||||
else controller.submit(action);
|
||||
}}/>
|
||||
<button
|
||||
class:active={confirmEnd}
|
||||
class:end-turn-ready={readyToEnd}
|
||||
|
|
@ -1480,6 +1484,12 @@
|
|||
}}><Flag size={19} /><span>End turn</span></button
|
||||
>
|
||||
</nav>
|
||||
{#if concurrentPreview?.pending && !concurrentPreview.waiting && concurrentPreview.seat === 0}
|
||||
<div class="concurrent-choice-row">
|
||||
<span>{concurrentPreview.other} · Placing a settler{#if concurrentPreview.queued}<br /><strong>{concurrentPreview.queued} queued{concurrentPreview.ended ? ' · End turn queued' : ''}</strong>{/if}</span>
|
||||
<button onclick={concurrentPreview.onWait}><Hourglass size={14} />Wait for choice</button>
|
||||
</div>
|
||||
{/if}
|
||||
{#if !$session.playback}<ContextualCards {controller} context="after-battle" />{/if}
|
||||
</div>
|
||||
<nav class="table-tools" aria-label="Table controls">
|
||||
|
|
|
|||
116
web-client/src/AsyncPreview.svelte
Normal file
116
web-client/src/AsyncPreview.svelte
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import App from './App.svelte';
|
||||
import { Controller } from './controller';
|
||||
import { loadTutorialEngine } from './bridge';
|
||||
import { mountLocalization } from './localization';
|
||||
import fixture from '../scripts/async-preview-fixture.json';
|
||||
import './style.css';
|
||||
import { ActionQueue } from './action-queue';
|
||||
let seat = $state(0);
|
||||
let pending = $state(true);
|
||||
let waiting = $state(false);
|
||||
let error = $state('');
|
||||
let ready = $state(false);
|
||||
let engine: Awaited<ReturnType<typeof loadTutorialEngine>>;
|
||||
let game: any;
|
||||
let queue: ActionQueue;
|
||||
let queued = $state(0);
|
||||
let ended = $state(false);
|
||||
let remaining = $state<unknown[]>([]);
|
||||
function describeAction(action: any): string {
|
||||
if(action?.Playing === 'EndTurn') return 'End turn';
|
||||
const playing=action?.Playing;
|
||||
if(playing?.Collect) return `Collect in ${playing.Collect.city_position}`;
|
||||
if(playing?.Advance) return `Research ${playing.Advance.advance}`;
|
||||
if(action?.Response) return 'Confirm action choice or payment';
|
||||
const key=Object.keys(playing ?? action ?? {})[0] ?? 'Action';
|
||||
return key.replace(/([a-z])([A-Z])/g,'$1 $2');
|
||||
}
|
||||
function syncQueue() {queued=queue.count;ended=queue.ended;}
|
||||
async function undoQueued() {queue.undo();syncQueue();await refresh();}
|
||||
|
||||
let controller = $state<Controller>();
|
||||
const names = fixture.players.slice(0,2).map(p => p.civilization);
|
||||
function snapshot() {
|
||||
if (pending && seat === 0 && !waiting) return JSON.parse(queue.projected);
|
||||
return pending ? {...game, events: structuredClone(fixture.events)} : game;
|
||||
}
|
||||
async function refresh() {
|
||||
controller!.setPlayer(seat);
|
||||
await controller!.load(engine.stripSecret(JSON.stringify(snapshot()),seat));
|
||||
}
|
||||
async function move(raw: string) {
|
||||
try {
|
||||
error='';
|
||||
if(pending && seat === 0) {
|
||||
if(waiting) throw Error('Waiting for the replacement settler.');
|
||||
const action=JSON.parse(raw);
|
||||
if(action==='Undo') {queue.undo();syncQueue();await refresh();return;}
|
||||
const result=queue.append(action);
|
||||
if(!result.ok) throw Error(result.reason);
|
||||
syncQueue();
|
||||
// End turn has no speculative state change to acknowledge.
|
||||
if(ended) controller!.moveResult({ok:false,error:''});
|
||||
await refresh();
|
||||
controller!.patch({error:''});
|
||||
return;
|
||||
}
|
||||
const result = JSON.parse(engine.tryMove(JSON.stringify(snapshot()),raw,seat));
|
||||
if(pending && seat === 1) {
|
||||
// The fixture's reaction resolves against the untouched authoritative board.
|
||||
game=result;
|
||||
pending=false; waiting=false;
|
||||
const replay=queue.replay(JSON.stringify(game));
|
||||
game=JSON.parse(replay.raw);
|
||||
remaining=replay.remaining;
|
||||
if(replay.error) error=`Queue stopped after ${replay.applied} actions. ${replay.error}`;
|
||||
queued=0;ended=false;
|
||||
} else game=result;
|
||||
await refresh();
|
||||
} catch(e) { error=String(e); controller!.moveResult({ok:false,error}); }
|
||||
}
|
||||
async function restart() {
|
||||
game=structuredClone(fixture);
|
||||
game.events=[]; game.state='Playing'; game.actions_left=3;
|
||||
for(const city of game.players[0].cities) {city.activations=0;city.mood_state='Happy';}
|
||||
game.players[0].resources.food=2;
|
||||
game.board_history={id:'async-queue-preview',frames:[]};
|
||||
queue=new ActionQueue(engine,0,JSON.stringify(game));
|
||||
syncQueue();remaining=[];
|
||||
pending=true; waiting=false; error=''; seat=0;
|
||||
await refresh();
|
||||
ready=true;
|
||||
}
|
||||
async function switchSeat(value:number) {seat=value;await refresh();controller!.patch({mode:'overview',error:''});}
|
||||
onMount(()=>{
|
||||
const localization=mountLocalization(document.body);
|
||||
controller=new Controller({
|
||||
move(raw){void move(raw);return true;},
|
||||
fetchState(){void refresh();return true;},
|
||||
updatePreference(name,value){controller!.setPreferences({mapView:'3d',[name]:value});return true;},
|
||||
updateSetting(){return true;},openPlayer(){return true;},hoverPlayer(){return true;},leavePlayer(){return true;},openBoardgame(){return true;},fetchLog(){return true;},addLog(){return true;},replaceLog(){return true;},setReplayInfo(){return true;},
|
||||
},new URL('/',location.href),{predict:false});
|
||||
controller.setPreferences({mapView:'3d',locale:'en',sound:false});
|
||||
void (async()=>{await localization.ready;engine=await loadTutorialEngine();await restart();})().catch(e=>error=String(e));
|
||||
return ()=>{controller?.destroy();localization.destroy();};
|
||||
});
|
||||
</script>
|
||||
<div class="prototype-tools">
|
||||
<span>Local prototype · Replacement settler</span>
|
||||
<div><button class:chosen={seat===0} onclick={()=>switchSeat(0)}>Play as {names[0]}</button><button class:chosen={seat===1} onclick={()=>switchSeat(1)}>Play as {names[1]}</button><button onclick={restart}>Restart</button></div>
|
||||
</div>
|
||||
{#if error}<div class="prototype-error">{error}<button onclick={()=>error=''} aria-label="Dismiss error">×</button></div>{/if}
|
||||
{#if remaining.length}<aside class="queue-review"><strong>{remaining.length} queued actions need review</strong>{#each remaining as action}<p>{describeAction(action)}</p>{/each}<button onclick={()=>remaining=[]}>Discard remaining queue</button></aside>{/if}
|
||||
<div class="real-game">
|
||||
{#if controller && ready}<App {controller} concurrentPreview={{pending,waiting,seat,other:names[1],queued,ended,onUndo:undoQueued,onWait:async()=>{waiting=true;await refresh();}}}/>{:else}<p>Loading the game…</p>{/if}
|
||||
</div>
|
||||
<style>
|
||||
:global(html),:global(body),:global(#app){margin:0;width:100%;height:100%;overflow:hidden;}
|
||||
.prototype-tools{height:46px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;background:#1c303b;color:#e5edf0;font:12px system-ui;}
|
||||
.prototype-tools div{display:flex;gap:5px;}.prototype-tools button{border:1px solid #708a92;border-radius:4px;padding:6px 10px;background:transparent;color:inherit;cursor:pointer;}.prototype-tools button.chosen{background:#306b75;border-color:#b3d4db;}
|
||||
.queue-review{position:fixed;z-index:10001;left:12px;bottom:60px;max-height:40vh;overflow:auto;background:#f5f8f9;color:#263c48;padding:16px;border-radius:6px;}
|
||||
.real-game :global(.game-shell){height:100%;min-height:0;}
|
||||
.real-game{position:relative;height:calc(100% - 46px);width:100%;}.prototype-error{position:fixed;z-index:10000;bottom:10px;left:10px;background:#642e29;color:white;padding:12px;}
|
||||
@media(max-width:600px){.prototype-tools{height:70px;flex-wrap:wrap;}.real-game{height:calc(100% - 70px);}}
|
||||
</style>
|
||||
|
|
@ -272,7 +272,7 @@
|
|||
? choice.description
|
||||
: 'Each advance scores ½ point. Branches unlock from their first advance.'}
|
||||
</p>
|
||||
{#if choice}<p class="research-choice-hint">Choose a highlighted advance.</p>{/if}{/if}
|
||||
{/if}
|
||||
{#if eventImminent}<p
|
||||
class="research-event-notice"
|
||||
id="research-event-notice"
|
||||
|
|
|
|||
54
web-client/src/action-queue.test.ts
Normal file
54
web-client/src/action-queue.test.ts
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createRequire } from 'node:module';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { ActionQueue } from './action-queue.ts';
|
||||
const engine = createRequire(import.meta.url)('../.engine/server.js');
|
||||
function fixture() {
|
||||
const g=JSON.parse(readFileSync(new URL('../scripts/async-preview-fixture.json',import.meta.url),'utf8'));
|
||||
g.events=[];g.state='Playing';g.actions_left=3;
|
||||
g.board_history={id:'queue-test',frames:[]};
|
||||
g.players[0].resources.food=2;
|
||||
for(const c of g.players[0].cities){c.activations=0;c.mood_state='Happy';}
|
||||
return JSON.stringify(g);
|
||||
}
|
||||
const collect={Playing:{Collect:{city_position:'A1',collections:[{position:'A1',pile:{food:1},times:1}],action_type:'Collect'}}};
|
||||
test('projects without mutating the base, then replays on the resolved board',()=>{
|
||||
const base=fixture(),q=new ActionQueue(engine,0,base);
|
||||
assert.equal(q.append(collect).ok,true);
|
||||
assert.equal(JSON.parse(base).players[0].resources.food,2);
|
||||
assert.equal(JSON.parse(q.projected).players[0].resources.food,3);
|
||||
const authoritative=JSON.parse(base);
|
||||
authoritative.events=JSON.parse(readFileSync(new URL('../scripts/async-preview-fixture.json',import.meta.url),'utf8')).events;
|
||||
const resolved=engine.tryMove(JSON.stringify(authoritative),JSON.stringify({Response:{SelectPositions:['B2']}}),1);
|
||||
const replay=q.replay(resolved);
|
||||
assert.equal(replay.applied,1);
|
||||
assert.equal(replay.remaining.length,0);
|
||||
assert.equal(JSON.parse(replay.raw).players[0].resources.food,3);
|
||||
assert.deepEqual(JSON.parse(replay.raw).players[1].units,JSON.parse(resolved).players[1].units);
|
||||
});
|
||||
test('invalid replay stops and retains its suffix, without ending the turn',()=>{
|
||||
const base=fixture(),q=new ActionQueue(engine,0,base);
|
||||
assert.equal(q.append(collect).ok,true);
|
||||
assert.equal(q.append({Playing:'EndTurn'}).ok,true);
|
||||
const changed=JSON.parse(base);changed.actions_left=0;
|
||||
const result=q.replay(JSON.stringify(changed));
|
||||
assert.equal(result.applied,0);assert.equal(result.remaining.length,2);
|
||||
assert.equal(engine.currentPlayer(result.raw),0);
|
||||
});
|
||||
test('end turn is terminal, undoable and executes only during replay',()=>{
|
||||
const base=fixture(),q=new ActionQueue(engine,0,base);
|
||||
assert.equal(q.append({Playing:'EndTurn'}).ok,true);
|
||||
assert.equal(q.append(collect).ok,false);
|
||||
assert.equal(engine.currentPlayer(q.projected),0);
|
||||
q.undo();assert.equal(q.ended,false);
|
||||
assert.equal(q.append(collect).ok,true);
|
||||
assert.equal(q.append({Playing:'EndTurn'}).ok,true);
|
||||
const result=q.replay(base);assert.equal(result.applied,2);
|
||||
assert.equal(engine.currentPlayer(result.raw),1);
|
||||
});
|
||||
test('invalid actions never enter the queue',()=>{
|
||||
const q=new ActionQueue(engine,0,fixture());
|
||||
assert.equal(q.append({Playing:{Collect:{...collect.Playing.Collect,collections:[{position:'Z9',pile:{food:1},times:1}]}}}).ok,false);
|
||||
assert.equal(q.entries.length,0);
|
||||
});
|
||||
68
web-client/src/action-queue.ts
Normal file
68
web-client/src/action-queue.ts
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
import { predictMove, type PredictionEngine } from './prediction.ts';
|
||||
|
||||
export interface QueueEngine extends PredictionEngine {
|
||||
currentPlayer(state: string): number;
|
||||
}
|
||||
export interface QueuedAction { move: unknown; before: string; after: string; endTurn: boolean; group: number }
|
||||
export type QueueResult = { ok: true } | { ok: false; reason: string };
|
||||
|
||||
/** Local planning only: never mutates the authoritative snapshot. */
|
||||
export class ActionQueue {
|
||||
entries: QueuedAction[] = [];
|
||||
projected: string;
|
||||
readonly engine: QueueEngine;
|
||||
readonly seat: number;
|
||||
constructor(engine: QueueEngine, seat: number, base: string) {
|
||||
this.engine=engine;this.seat=seat;
|
||||
this.projected = engine.stripSecret(base, seat);
|
||||
}
|
||||
get count() { return new Set(this.entries.map(e => e.group)).size; }
|
||||
get ended() { return this.entries.at(-1)?.endTurn ?? false; }
|
||||
append(move: unknown): QueueResult {
|
||||
if (this.ended) return { ok: false, reason: 'Undo the queued end turn before adding another action.' };
|
||||
if (move === 'Undo' || move === 'Redo') return { ok: false, reason: 'Use Undo queued action.' };
|
||||
const before = this.projected;
|
||||
const previous=this.entries.at(-1);
|
||||
const group=previous && JSON.parse(before).events?.length ? previous.group : (previous?.group ?? 0)+1;
|
||||
const endTurn = typeof move === 'object' && move !== null && (move as {Playing?: unknown}).Playing === 'EndTurn';
|
||||
if (endTurn) {
|
||||
// Terminal intent only. Never simulate turn-start effects or status-phase draws.
|
||||
if (JSON.parse(before).events?.length) return { ok: false, reason: 'Finish your current choice before queuing end turn.' };
|
||||
this.entries.push({ move: structuredClone(move), before, after: before, endTurn, group });
|
||||
return { ok: true };
|
||||
}
|
||||
const prediction = predictMove(this.engine, before, move, this.seat);
|
||||
if (!('raw' in prediction)) return { ok: false, reason: 'This action cannot be queued safely. Wait for the earlier choice.' };
|
||||
if (this.engine.currentPlayer(prediction.raw) !== this.seat)
|
||||
return { ok: false, reason: 'This action needs another player’s decision. Wait for the earlier choice.' };
|
||||
this.entries.push({ move: structuredClone(move), before, after: prediction.raw, endTurn, group });
|
||||
this.projected = prediction.raw;
|
||||
return { ok: true };
|
||||
}
|
||||
undo() {
|
||||
const removed = this.entries.pop();
|
||||
if (removed) {
|
||||
this.projected = removed.before;
|
||||
while(this.entries.at(-1)?.group === removed.group) this.projected=this.entries.pop()!.before;
|
||||
}
|
||||
}
|
||||
/** Replay only the valid prefix, preserving the failed action and suffix for review. */
|
||||
replay(authoritative: string): { raw: string; applied: number; remaining: unknown[]; error?: string } {
|
||||
let raw = authoritative, applied = 0;
|
||||
for (const entry of this.entries) {
|
||||
try {
|
||||
if (this.engine.currentPlayer(raw) !== this.seat) throw Error('Another choice must resolve first.');
|
||||
if (!entry.endTurn) {
|
||||
const check = predictMove(this.engine, this.engine.stripSecret(raw, this.seat), entry.move, this.seat);
|
||||
if (!('raw' in check) || this.engine.currentPlayer(check.raw) !== this.seat)
|
||||
throw Error('The queued action is no longer safe or legal.');
|
||||
}
|
||||
raw = this.engine.tryMove(raw, JSON.stringify(entry.move), this.seat);
|
||||
applied++;
|
||||
} catch (error) {
|
||||
return { raw, applied, remaining: this.entries.slice(applied).map(e => e.move), error: String(error) };
|
||||
}
|
||||
}
|
||||
return { raw, applied, remaining: [] };
|
||||
}
|
||||
}
|
||||
3
web-client/src/async-preview.ts
Normal file
3
web-client/src/async-preview.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { mount } from 'svelte';
|
||||
import AsyncPreview from './AsyncPreview.svelte';
|
||||
mount(AsyncPreview, {target: document.getElementById('app')!});
|
||||
|
|
@ -207,10 +207,6 @@
|
|||
.research-node.choice-unavailable:not(.selected) {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.research-header .research-choice-hint {
|
||||
font-weight: 700;
|
||||
color: var(--gold);
|
||||
}
|
||||
.research-node.selected {
|
||||
outline: 2px solid #a67e3d;
|
||||
outline-offset: 2px;
|
||||
|
|
|
|||
|
|
@ -6368,3 +6368,29 @@ small {
|
|||
|
||||
.queue-first-player { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 5px; background: var(--paper); color: var(--ink); font-size: 11px; }
|
||||
.queue-first-player.saved { color: var(--green); }
|
||||
|
||||
.concurrent-choice-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
font-size: 12px;
|
||||
}
|
||||
.concurrent-choice-row > span { flex: 1; min-width: 0; color: var(--muted); }
|
||||
.concurrent-choice-row > button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
flex-shrink: 0;
|
||||
padding: 9px 12px;
|
||||
min-height: 36px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 5px;
|
||||
background: var(--paper2);
|
||||
color: var(--ink);
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
.concurrent-choice-row > button:hover { border-color: var(--green); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue