The balance shows its sums as numerals and every position with its share. A calculation with sliders for ticket price, crowd and home matches ahead draws where the cash goes; it is arithmetic on the booked figures, not a forecast. The squad read carries goals, assists and matches of the running season from the almanac, and the line-up shows them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
94 lines
7.6 KiB
Plaintext
94 lines
7.6 KiB
Plaintext
/* SPDX-License-Identifier: GPL-3.0-only */
|
|
.balance-native {position:absolute;left:0;top:0;right:0;bottom:0;}
|
|
.balance-panel {position:absolute;top:0;width:1290dp;height:1404dp;padding:24dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);}
|
|
.balance-panel h2 {font-size:36dp;line-height:42dp;font-weight:normal;text-align:center;margin:8dp 0;color:var(--text);}
|
|
.balance-table {position:absolute;left:24dp;right:24dp;top:104dp;bottom:22dp;overflow-y:auto;overflow-x:hidden;}
|
|
.balance-row {display:flex;align-items:stretch;width:100%;height:70dp;font-size:31dp;color:var(--text);}
|
|
.balance-row.striped {background-color:var(--soft);}
|
|
.balance-row>span {display:block;width:65%;max-width:65%;padding:8dp 10dp;line-height:54dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
.balance-row>span:last-child {width:35%;max-width:35%;text-align:right;}
|
|
.balance-head {font-size:28dp;color:var(--muted);border-bottom:2dp var(--border);}
|
|
.balance-summary-item {position:absolute;margin:0;font-size:33dp;line-height:38dp;color:var(--text);}
|
|
.balance-summary-item.balance-net {color:var(--accent);}
|
|
.balance-toggle {position:absolute;left:0;bottom:0;width:2612dp;height:94dp;display:flex;align-items:center;justify-content:center;}
|
|
.balance-cycle {position:absolute;right:32dp;top:26dp;width:28dp;height:38dp;}
|
|
.balance-cycle>span {display:block;position:absolute;}
|
|
.cycle-line {left:3dp;width:22dp;height:0;border-bottom:2dp var(--muted);}
|
|
.cycle-top {top:13dp;}
|
|
.cycle-bottom {top:24dp;}
|
|
.cycle-head {width:0;height:0;border-top:5dp transparent;border-bottom:5dp transparent;}
|
|
.cycle-right {right:0;top:9dp;border-left:6dp var(--muted);}
|
|
.cycle-left {left:0;top:20dp;border-right:6dp var(--muted);}
|
|
.balance-plan {position:absolute;left:0;top:0;right:0;bottom:234dp;padding:28dp 36dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);overflow-y:auto;overflow-x:hidden;}
|
|
.balance-plan h2 {font-size:36dp;line-height:42dp;font-weight:normal;margin:0 0 22dp;color:var(--text);text-align:center;}
|
|
.balance-plan-rows {width:100%;}
|
|
.balance-plan-row {width:100%;height:112dp;display:flex;align-items:center;justify-content:space-between;padding:12dp 26dp;border-bottom:2dp var(--border);font-size:34dp;}
|
|
.balance-plan-row>span {display:block;width:80%;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
.balance-plan-value {display:flex;align-items:center;justify-content:flex-end;width:430dp;height:68dp;flex-shrink:0;padding:12dp 20dp;border:2dp var(--border);border-radius:10dp;background-color:var(--input);font-size:34dp;font-weight:normal;line-height:40dp;}
|
|
.balance-plan-total {position:absolute;left:26dp;right:26dp;bottom:144dp;display:flex;justify-content:space-between;margin:0;font-size:34dp;line-height:40dp;color:var(--accent);}
|
|
body.midnight .balance-panel,body.midnight .balance-plan {background-color:#101d2826;border-color:#c5d9e71f;}
|
|
body.midnight .balance-row.striped {background-color:#e3edf605;}
|
|
body.midnight .balance-row {color:#d8e0e8;}
|
|
body.midnight .balance-head {color:#a0aebc;border-color:#d5e3ed26;}
|
|
body.midnight .balance-panel h2,body.midnight .balance-plan h2 {color:#dce5ee;}
|
|
body.midnight .balance-summary-item {color:#c4d0da;}
|
|
body.midnight .balance-summary-item.balance-net,body.midnight .balance-plan-total {color:#a9dccb;}
|
|
body.midnight .balance-plan-value {background-color:#111f2a80;border-color:#c5d9e738;color:#dce5ee;}
|
|
|
|
/* Balances use semantic money colours in every skin. */
|
|
body .balance-native .balance-summary-item.money-amount {color:var(--money);}
|
|
body .balance-native .balance-summary-item.money-amount.is-negative {color:var(--danger);}
|
|
|
|
/* the balance: sums as numerals, every position with its share */
|
|
.balance-tile {position:absolute;border:2dp var(--rule);border-radius:10dp;background-color:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;}
|
|
.balance-tile strong {display:block;font-family:Display;font-size:58dp;line-height:72dp;font-weight:bold;white-space:nowrap;}
|
|
.balance-tile span {display:block;font-size:32dp;line-height:42dp;color:var(--muted);}
|
|
.balance-tile.loss strong {color:var(--loss);}
|
|
.balance-tile.gain strong {color:var(--win);}
|
|
.balance-scale {position:absolute;left:0;top:224dp;width:2612dp;height:60dp;display:flex;border-radius:8dp;overflow:hidden;}
|
|
.balance-scale>div {display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;}
|
|
.balance-scale span {display:block;font-size:28dp;white-space:nowrap;color:#ffffff;}
|
|
.balance-scale .in {background-color:#3f8a63;}
|
|
.balance-scale .out {background-color:#b24a4f;}
|
|
.balance-panel {top:308dp;height:1330dp;background-color:var(--panel);border-color:var(--rule);border-radius:10dp;}
|
|
.balance-panel h2 {font-family:Display;font-size:44dp;line-height:54dp;font-weight:bold;text-align:left;margin:0 0 0 10dp;}
|
|
.balance-table {top:96dp;}
|
|
.balance-row {align-items:center;height:92dp;border-bottom:2dp var(--rule);font-size:34dp;}
|
|
.balance-row>span,.balance-row>span:last-child {width:auto;max-width:none;padding:0 10dp;line-height:44dp;flex-shrink:0;}
|
|
.balance-row .name {width:420dp;}
|
|
.balance-bar {flex:1;height:22dp;border-radius:11dp;background-color:var(--rule);overflow:hidden;}
|
|
.balance-bar>div {height:22dp;border-radius:11dp;background-color:#3f8a63;}
|
|
.balance-panel.costs .balance-bar>div {background-color:#b24a4f;}
|
|
.balance-row .share {width:110dp;text-align:right;font-size:28dp;color:var(--muted);}
|
|
.balance-row .sum {width:330dp;text-align:right;font-family:Display;font-weight:bold;font-size:36dp;}
|
|
.balance-row.none {color:var(--muted);}
|
|
.balance-row.none .sum {font-weight:normal;}
|
|
.balance-games {position:absolute;left:10dp;top:1656dp;width:2592dp;height:44dp;margin:0;line-height:44dp;font-size:30dp;color:var(--muted);}
|
|
.balance-row {font-size:40dp;}
|
|
.balance-row .name {width:520dp;}
|
|
.balance-row .sum {width:400dp;font-size:44dp;}
|
|
.balance-row .share {width:130dp;font-size:32dp;}
|
|
.balance-bar,.balance-bar>div {height:28dp;border-radius:14dp;}
|
|
.balance-tile strong {font-size:66dp;line-height:80dp;}
|
|
.balance-tile span {font-size:36dp;}
|
|
.balance-games {font-size:34dp;}
|
|
|
|
/* the what-if calculation */
|
|
.balance-toggle {left:560dp;width:2052dp;}
|
|
.balance-sim-button {position:absolute;left:0;bottom:0;width:536dp;height:94dp;display:flex;align-items:center;justify-content:center;}
|
|
.balance-sim {position:absolute;left:0;top:0;right:0;bottom:120dp;}
|
|
.balance-sim-controls {position:absolute;left:0;top:0;width:2612dp;height:210dp;display:flex;gap:30dp;}
|
|
.balance-sim-control {flex:1;border:2dp var(--rule);border-radius:10dp;background-color:var(--panel);padding:22dp 36dp;}
|
|
.balance-sim-label {display:flex;align-items:baseline;justify-content:space-between;height:76dp;font-size:36dp;}
|
|
.balance-sim-label span,.balance-sim-label strong {display:block;}
|
|
.balance-sim-label strong {font-family:Display;font-size:60dp;font-weight:bold;}
|
|
.balance-sim-control input {display:block;width:100%;height:60dp;margin-top:16dp;}
|
|
.balance-sim-out {position:absolute;left:0;top:240dp;width:2612dp;height:1480dp;}
|
|
.balance-sim-graph {position:absolute;left:0;top:226dp;width:2612dp;height:880dp;border:2dp var(--rule);border-radius:10dp;background-color:var(--panel);padding:18dp 14dp;}
|
|
.balance-sim-legend {position:absolute;left:10dp;top:1126dp;height:44dp;display:flex;align-items:center;font-size:32dp;color:var(--muted);}
|
|
.balance-sim-legend span {display:block;flex-shrink:0;}
|
|
.balance-sim-legend .key {width:60dp;height:12dp;border-radius:6dp;margin:0 14dp 0 0;}
|
|
.balance-sim-legend .key.sim {background-color:#25617a;}
|
|
.balance-sim-legend .key.now {background-color:#9a7a3a;margin-left:50dp;}
|
|
.balance-sim-reading {position:absolute;left:10dp;top:1190dp;width:2592dp;margin:0;font-size:36dp;line-height:50dp;}
|