Files
Dreierpack-Manager/assets/modern/sports.rcss
T
MichaelandClaude Fable 5.2 9b5d448fb6 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>
2026-11-14 16:15:11 +01:00

58 lines
4.6 KiB
Plaintext

/* SPDX-License-Identifier: GPL-3.0-only */
.training-skills {position:absolute;left:0;top:0;width:1060dp;height:1008dp;}
.training-skill {height:112dp;display:flex;align-items:center;gap:14dp;font-size:36dp;}
.training-skill>div,.training-skill>span {flex-shrink:0;}
.training-balls {display:flex;align-items:center;justify-content:flex-start;}
.training-ball {display:flex;align-items:center;justify-content:center;padding:0;border:0dp;background-color:transparent;flex-shrink:0;}
.training-ball:hover,.training-ball:disabled {background-color:transparent;}
.training-ball.is-empty {opacity:.18;filter:grayscale(1);}
.training-ball.overtraining {filter:sepia(1) saturate(9) hue-rotate(310deg);}
.training-pitch {position:absolute;left:0;top:1040dp;width:570dp;height:390dp;border:3dp var(--border);border-radius:12dp;overflow:hidden;box-shadow:0dp 0dp 0dp 3dp #244c38;}
.training-midline {position:absolute;left:50%;top:0;width:2dp;height:100%;background-color:#d5efd2;}
.training-circle {position:absolute;left:50%;top:50%;width:110dp;height:110dp;margin-left:-55dp;margin-top:-55dp;border:3dp #d5efd2;border-radius:55dp;}
.training-box {position:absolute;top:22%;width:19%;height:56%;border:3dp #d5efd2;}
.left-box {left:-4dp;}.right-box {right:-4dp;}
.training-type-cell {position:absolute;width:227dp;height:156dp;display:flex;align-items:center;justify-content:center;}
.training-auto {font-size:32dp;}
.training-auto.auto-players {font-size:29dp;}
.training-budget {position:absolute;left:604dp;top:1338dp;width:440dp;font-size:28dp;line-height:1.5;color:var(--muted);}
.training-roster {position:absolute;left:1120dp;right:0;top:0;bottom:80dp;overflow-y:auto;overflow-x:hidden;}
.training-row {display:flex;align-items:center;height:99dp;border-bottom:2dp var(--border);font-size:34dp;}
.training-row>div {flex-shrink:0;}
.training-header {height:62dp;font-size:31dp;color:var(--muted);border-bottom:2dp var(--border);}
.training-position {font-size:30dp;color:var(--muted);}
.training-player-heading {padding-left:20dp;}
.training-name-text {display:block;width:720dp;margin-left:20dp;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.training-row.striped {background-color:var(--soft);}
.training-roster select {display:block;width:310dp;height:62dp;padding:10dp 12dp;border:2dp var(--border);border-radius:8dp;font-size:32dp;}
.training-roster select selectbox {width:310dp;max-height:480dp;margin-top:8dp;padding:10dp;border-radius:16dp;}
.training-roster select option {min-height:72dp;padding:10dp 14dp;line-height:52dp;}
.tactics-board {position:absolute;left:28dp;top:0;width:2560dp;height:100%;}
.tactics-surface {position:absolute;left:0;right:0;top:0;bottom:100dp;}
.tactic-hotspot {padding:0;border:0dp;background-color:transparent;}
.tactic-hotspot:hover,.tactic-hotspot:active {background-color:transparent;}
.tactic-hotspot:focus-visible {border:3dp var(--accent);}
.tactic-effort {position:absolute;left:160dp;top:1112dp;width:2240dp;height:300dp;color:#f1efe2;}
.tactic-effort-label {display:flex;align-items:baseline;gap:18dp;font-family:Chalk;font-weight:bold;font-size:56dp;line-height:1.2;letter-spacing:4dp;}
.tactic-chalk-name {display:flex;align-items:center;justify-content:center;font-family:Chalk;font-weight:bold;font-size:38dp;letter-spacing:2dp;color:#f1efe2;pointer-events:none;white-space:nowrap;}
.tactic-chalk-name.off {color:#f1efe2b0;}
.tactic-chalk-name span {display:block;}
.tactic-effort-ends {position:absolute;left:0;right:90dp;top:216dp;display:flex;justify-content:space-between;font-family:Chalk;font-size:34dp;letter-spacing:2dp;color:#f1efe2c0;}
.tactic-effort-ends span {display:block;}
.tactic-effort-marks {font-size:52dp;letter-spacing:1dp;line-height:1.2;}
.tactic-effort input {position:absolute;left:2dp;top:96dp;width:96%;height:20dp;}
.tactic-effort input slidertrack {margin:8dp 0;height:4dp;}
.tactic-effort input slidertrack {background-color:#f1efe240;}
.tactic-effort input sliderprogress {height:6dp;background-color:#f1efe2;border-radius:3dp;}
.tactic-effort input sliderbar {width:30dp;height:30dp;margin-top:-5dp;border:0dp;border-radius:15dp;background-color:#f3d977;}
.tactic-hint {position:absolute;left:0;right:0;top:1584dp;height:96dp;text-align:center;font-size:34dp;color:var(--text);}
.tactic-hint strong {display:block;font-weight:normal;}
.tactic-hint span {display:block;font-size:28dp;line-height:1.4;color:var(--muted);}
body.midnight .training-skill {color:#c6d6df;}
body.midnight .training-row {color:#d8e3eb;}
body.midnight .training-header,body.midnight .training-position {color:#9fb2c3;}
body.midnight .training-budget {color:#9fb6c6;}
body.midnight .training-pitch {border-color:#9eb9a5;}
body.midnight .tactic-hint {color:#b8cddc;}