Paper windows, a display serif and chalk hand, a symmetric tactics board, the match day as a stage

- Material: menu windows are sheets of paper (warm surface, edge, two sheets beneath,
  serif headings) that slide in once when their menu opens; the desk stays glass.
  Source Serif 4 and Cabin Sketch ship in assets/modern/fonts (SIL OFL, see
  THIRD_PARTY_NOTICES.md); system fonts remain the fallback.
- Tactics board: 320 x 200 units mirrored about its middle - the pitch of the
  attitude on the left, six equal tiles for the play settings on the right with
  their names in chalk, the commitment with a scale across the foot.
- Live match: a 4:3 sheet like the menus (same window zoom) on the darkened stadium.
  One score board per match of a human manager - a full-width card for one match,
  two side by side, a 2 x 2 grid for three or four - with crests, a score plate in
  the clubs' colours (read from the crests), a clock ring, a pressure bar, and a
  time line of goals, cards and injuries. Compact ticker rows with a mark per kind,
  a goal banner on the card, a horizontal speed control, and optional halts at half
  time and when falling behind.
- QA: script command demo-start begins a demo career with 1-4 managers.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 16:15:11 +01:00
1 parent 54fef90a5b
commit 9b5d448fb6
21 files changed
+887 -125

No files matched your search

+25
View File
@@ -162,3 +162,28 @@ label,input[type=checkbox],input[type=radio],input[type=range] {cursor:arrow;}
/* Native SDL names: game controls use arrow, editing retains the I-beam. */
input[type=text],input[type=search],input[type=number],input[type=password],textarea {cursor:text;}
a[href] {cursor:pointer;}
/* --- Material: paper. Menu windows are sheets of paper lying on the desk: a warm surface,
an edge, two more sheets underneath, headings set in the display serif. The desk itself
stays glass. Spacing follows steps of 8dp: 8 16 24 32 48 64. --- */
body {--paper-top:#2b3644;--paper-bottom:#1f2935;--paper-edge:#0a1018a0;--paper-under:#253040;--paper-shadow:#000000a0;--rule:#dfeaf52e;
--win:#8fd3ad;--draw:#c9cfd6;--loss:#f0a6a7;--club:#a5e2cf;--club-ink:#152a3a;}
body.silver {--paper-top:#fbfaf6;--paper-bottom:#f1eee6;--paper-edge:#7b725f55;--paper-under:#e9e5db;--paper-shadow:#2a231680;--rule:#4a433438;
--win:#3f7d63;--draw:#6c7780;--loss:#a23f45;--club:#25617a;--club-ink:#f7fcff;}
body.matchday {--paper-top:#333237;--paper-bottom:#252428;--paper-edge:#00000090;--paper-under:#2c2b30;--paper-shadow:#000000a8;--rule:#f0e2e42a;
--win:#9fd0a8;--draw:#c8c4c8;--loss:#f0a6a7;--club:#efb2aa;--club-ink:#2a2022;}
body.silver .window {--text:#262b31;--muted:#666d74;--border:#7d76664d;--soft:#5c513a0d;--panel:#ffffff70;--input:#ffffffd0;--hover:#8ea9bd30;--selected:#9fbfd655;--strong:#f6f3ecfc;}
.window {border:2dp var(--paper-edge);border-radius:10dp;decorator:linear-gradient(175deg,var(--paper-top),var(--paper-bottom));backdrop-filter:none;box-shadow:0dp 18dp 54dp var(--paper-shadow);}
.sheet-under {position:absolute;left:560dp;top:60dp;width:2720dp;height:2040dp;border:2dp var(--paper-edge);border-radius:10dp;background-color:var(--paper-under);box-shadow:0dp 10dp 30dp var(--paper-shadow);}
.sheet-under.first {transform:rotate(-0.7deg) translate(-14dp,10dp);}
.sheet-under.second {transform:rotate(0.55deg) translate(16dp,14dp);}
.titlebar {height:108dp;padding:0 28dp 0 20dp;border-bottom:2dp var(--rule);background-color:transparent;}
.titlebar h1 {flex:1;text-align:left;margin:0 0 0 20dp;font-family:Display;font-size:54dp;font-weight:normal;}
.window h2 {font-family:Display;}
body.silver .titlebar {border-bottom-color:#4a433438;}
@keyframes window-in {from {opacity:0;transform:translateY(28dp) scale(0.985);} to {opacity:1;transform:translateY(0dp) scale(1);}}
@keyframes sheet-in {from {opacity:0;} to {opacity:1;}}
.window.window-in {animation:0.18s cubic-out window-in;}
.sheet-under.window-in {animation:0.3s cubic-out sheet-in;}
body.calm .window.window-in,body.calm .sheet-under.window-in {animation:none;}
button {transition:background-color border-color 0.12s cubic-out;}
.desktop-button img,.desktop-card {transition:transform 0.14s cubic-out;}