Achievements and high score as pages: the seasons as bars side by side, the career as a table on a note

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 17:40:56 +01:00
1 parent 0089c2378c
commit 98fb61dddf
4 files changed
+83 -142

No files matched your search

+1 -83
View File
@@ -1,84 +1,2 @@
/* SPDX-License-Identifier: GPL-3.0-only */
.career-achievements,.career-highscore {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:var(--text);}
.career-achievements-heading {position:absolute;left:0;top:0;width:2612dp;height:118dp;display:flex;align-items:center;justify-content:space-between;}
.career-heading-copy {height:86dp;}
.career-heading-copy h2 {height:44dp;line-height:44dp;margin:0;font-size:38dp;font-weight:normal;}
.career-heading-copy p {height:30dp;line-height:30dp;margin:12dp 0 0;font-size:28dp;color:var(--muted);}
.career-range {display:block;height:39dp;line-height:39dp;white-space:nowrap;font-size:34dp;color:#abc5d6;}
.career-chart {position:absolute;border:2dp #c5d9e726;border-radius:18dp;background-color:#12243140;}
.career-chart>header {position:absolute;left:30dp;top:24dp;width:2548dp;height:54dp;display:flex;align-items:center;justify-content:space-between;}
.career-chart h2 {margin:0;font-size:33dp;font-weight:normal;white-space:nowrap;color:#dbe7ef;}
.career-chart-summary {display:flex;align-items:baseline;justify-content:flex-end;}
.career-chart-summary>span {display:block;white-space:nowrap;}
.career-chart-year {font-size:28dp;color:#92adc0;}
.career-chart-result {font-size:30dp;margin-left:20dp;color:#c4dce9;}
.career-chart-art {position:absolute;left:30dp;top:78dp;width:2548dp;height:403.333333dp;pointer-events:none;}
.career-report-actions {position:absolute;left:0;top:1770dp;width:2612dp;height:94dp;display:flex;}
.career-report-actions .career-action {width:854.666667dp;height:94dp;margin-right:24dp;padding:12dp 24dp;font-size:30dp;flex-shrink:0;}
.career-report-actions .career-action:last-child {margin-right:0;}
.career-action {border:2dp #d4e0ec29;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);color:#e0e6ec;font-weight:normal;}
.career-action .control-label {display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.career-action:hover {decorator:none;background-color:var(--hover);}
.career-action:focus-visible {border-color:var(--accent);}
.career-report-empty {margin:0;padding:40dp;font-size:30dp;color:var(--muted);}
.career-achievements>.career-report-empty {position:absolute;left:0;top:150dp;}
.career-history-layer {position:absolute;left:0;top:0;width:2612dp;height:1864dp;z-index:20;background-color:#08101980;}
.career-history-dialog {position:absolute;left:64dp;top:314dp;width:2484dp;height:1236dp;border:2dp #e1ecf429;border-radius:22dp;background-color:#283542f5;color:#d7e5cf;}
.career-history-dialog h2 {position:absolute;left:52dp;top:40dp;width:2376dp;height:48dp;line-height:48dp;margin:0;font-size:42dp;font-weight:bold;letter-spacing:-0.4dp;text-align:center;color:#e3ecf3;}
.career-history-club {position:absolute;left:52dp;top:123dp;width:2376dp;height:45dp;display:flex;align-items:center;justify-content:space-between;font-size:30dp;}
.career-history-club>.report-club-button {max-width:1120dp;padding:0;font-size:30dp;}
.career-history-club>.report-club-button .report-club-name {width:1058dp;}
.career-history-club>span {display:block;white-space:nowrap;font-size:28dp;color:#98b2c5;}
.career-history-table {position:absolute;left:52dp;top:198dp;width:2376dp;height:884dp;overflow-x:hidden;overflow-y:auto;}
.career-history-row {display:flex;width:2376dp;height:68dp;align-items:center;font-size:30dp;}
.career-history-row.striped {background-color:#38706b19;}
.career-history-head {font-size:28dp;color:#9fb8ca;border-bottom:4dp #4e8b7b;}
.career-cell {display:flex;align-items:center;justify-content:center;min-width:0;flex-shrink:0;overflow:hidden;}
.career-cell>span {display:block;width:100%;max-width:100%;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.history-season {width:380.16dp;height:68dp;padding:6dp 16dp;}
.history-result {width:665.28dp;height:68dp;padding:6dp 16dp;}
.history-heading-season>span {text-align:left;}
.career-title {color:#a9dccb;}
.career-history-actions {position:absolute;left:52dp;top:1127dp;width:2376dp;height:65dp;display:flex;}
.career-history-actions .career-action {width:2376dp;height:65dp;padding:12dp 24dp;font-size:32dp;}
.career-highscore-art {position:absolute;left:636dp;top:10dp;width:1180dp;height:393.333333dp;pointer-events:none;}
.career-highscore-table {position:absolute;left:0;top:440dp;width:2612dp;height:1424dp;border:2dp #c5d9e720;border-radius:18dp;background-color:#13263526;overflow-x:hidden;overflow-y:auto;}
.career-highscore-row {display:flex;width:2608dp;height:118dp;align-items:center;font-size:32dp;color:#d4e0e9;}
.career-highscore-head {font-size:28dp;color:#a8bdcc;border-bottom:2dp #c5d9e72b;}
.career-highscore-row.striped {background-color:#e3edf605;}
.career-highscore-row>.career-cell {height:118dp;padding:14dp 24dp;}
.highscore-col-0 {width:560dp;justify-content:flex-start;}
.highscore-col-0>span {text-align:left;}
.highscore-col-1 {width:680dp;justify-content:flex-start;}
.highscore-col-2 {width:350dp;color:#c7ded7;}
.highscore-col-3,.highscore-col-4,.highscore-col-5 {width:339.333333dp;}
.career-highscore .report-club-button {width:100%;max-width:100%;padding:0;font-size:32dp;color:#d4e0e9;}
.career-highscore .report-club-name {width:570dp;max-width:100%;}
body.silver .career-range,body.matchday .career-range,body.silver .career-chart h2,body.matchday .career-chart h2,body.silver .career-chart-result,body.matchday .career-chart-result {color:var(--text);}
body.silver .career-chart-year,body.matchday .career-chart-year,body.silver .career-history-club>span,body.matchday .career-history-club>span {color:var(--muted);}
body.silver .career-chart,body.matchday .career-chart {border-color:var(--border);background-color:var(--panel);}
body.silver .career-action,body.matchday .career-action {border-color:var(--border);color:var(--text);}
body.silver .career-action {decorator:linear-gradient(180deg,#ffffffd8,#e9e1cf99);}
body.matchday .career-action {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
body.silver .career-history-dialog {border-color:var(--border);background-color:#f7f3e9fc;color:var(--text);}
body.matchday .career-history-dialog {border-color:var(--border);background-color:#2c2c32fc;color:var(--text);}
body.silver .career-history-dialog h2,body.matchday .career-history-dialog h2 {color:var(--text);}
body.silver .career-history-head,body.matchday .career-history-head {color:var(--muted);border-color:var(--border);}
body.silver .career-history-row.striped {background-color:#6b552a0c;}
body.matchday .career-history-row.striped {background-color:#f8e7e00a;}
body.silver .career-title,body.matchday .career-title {color:var(--accent);}
body.silver .career-highscore-table,body.matchday .career-highscore-table {border-color:var(--border);background-color:var(--soft);}
body.silver .career-highscore-row,body.matchday .career-highscore-row,body.silver .career-highscore .report-club-button,body.matchday .career-highscore .report-club-button {color:var(--text);}
body.silver .career-highscore-head,body.matchday .career-highscore-head {color:var(--muted);border-color:var(--border);}
body.silver .highscore-col-2,body.matchday .highscore-col-2 {color:var(--accent);}
body.silver .career-highscore-row.striped {background-color:#6b552a0c;}
body.matchday .career-highscore-row.striped {background-color:#f8e7e00a;}
/* Gold uses plain club labels: retain profile behaviour without centring or accenting names. */
.highscore-col-1>span {text-align:left;}
.career-highscore .report-club-name,.career-history-club .report-club-name {text-align:left;}
.career-highscore .report-club-button.current,.career-highscore .report-club-name {color:#d4e0e9;}
.career-history-club .report-club-button.current,.career-history-club .report-club-name {color:#bed3e1;}
body.silver .career-highscore .report-club-button.current,body.matchday .career-highscore .report-club-button.current,
body.silver .career-highscore .report-club-name,body.matchday .career-highscore .report-club-name,
body.silver .career-history-club .report-club-button.current,body.matchday .career-history-club .report-club-button.current,
body.silver .career-history-club .report-club-name,body.matchday .career-history-club .report-club-name {color:var(--text);}
/* Achievements and high score are pages of the notebook; their styles are in pages.rcss. */
+18
View File
@@ -222,3 +222,21 @@ body .pg-btn.pg-go:hover {decorator:none;background-color:var(--p-a6);border-col
.balance-loss {color:var(--p-a7);}
.balance-sim-control input {display:block;width:100%;height:54dp;margin-top:9dp;}
.balance-sim-graph {display:flex;flex:1;align-items:center;justify-content:center;min-height:0;}
/* --- achievements: the seasons as bars --- */
.career-plot {display:block;position:relative;flex:none;margin-top:36dp;}
.career-band {position:absolute;left:0;right:0;border-top:2dp var(--p-n5);padding:8dp 0 0 9dp;}
.career-band.tint {background-color:var(--p-s1);}
.career-band.line {border-top:2dp var(--p-n4);}
.career-bars {position:absolute;left:0;right:0;top:0;display:flex;align-items:flex-end;gap:18dp;padding:0 9dp 0 280dp;}
.career-bar {display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;}
.career-bar strong {display:block;margin-bottom:5dp;font-size:25dp;line-height:32dp;white-space:nowrap;}
.career-bar div {width:70%;border-radius:18dp 18dp 0 0;background-color:var(--p-a6);}
.career-bar div.running {background-color:var(--p-a3);border:5dp var(--p-a5);border-bottom-width:0dp;}
.career-bar small {display:block;position:absolute;left:-20dp;right:-20dp;bottom:-48dp;text-align:center;font-size:22dp;line-height:30dp;color:var(--p-n7);white-space:nowrap;}
.career-bar {max-width:220dp;}
.pg-dlg .pg-t {flex:none;}
.pg-dlg .pg-tbody {flex:none;max-height:1170dp;}
.pg-root .pg-btn,.pg-ov .pg-btn {font-family:Display;font-size:31dp;}
.pg-root .pg-tabs button,.pg-ov .pg-tabs button {font-family:Display;font-size:34dp;}
.pg-root .pg-btn.round {font-size:44dp;}