Files
Dreierpack-Manager/assets/modern/bank.rcss
T
MichaelandClaude Fable 5.2 fe4b034181 A number pad with soft keys and a column of function keys; no coloured left edges
The entry of a number shows its value in a display with the allowed range, proposals
as chips, the digits as soft keys and backspace, clear and maximum as a coloured
column. The first digit key replaces the offered value. Marked rows and the bank's
readings no longer carry a coloured bar at their left edge.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:00:05 +01:00

225 lines
18 KiB
Plaintext

/* SPDX-License-Identifier: GPL-3.0-only */
.bank-page {position:absolute;left:0;right:0;top:0;bottom:0;color:var(--text);}
.bank-scene {position:absolute;left:0;top:60dp;width:2612dp;height:1470.016746dp;border:2dp var(--border);border-radius:20dp;overflow:hidden;}
.bank-hotspots {position:absolute;left:0;right:0;top:0;bottom:0;}
.bank-hotspot,.bank-hotspot:hover {position:absolute;padding:0;border:0dp;border-radius:10dp;background-color:transparent;decorator:none;}
.bank-hotspot:focus-visible {border:4dp var(--accent);}
#bank-interaction-hint {position:absolute;left:40dp;right:40dp;bottom:25dp;min-height:90dp;display:flex;align-items:center;justify-content:center;text-align:center;font-size:32dp;line-height:46.4dp;}
.bank-overlay {position:absolute;left:0;right:0;top:0;bottom:0;border:2dp var(--border);border-radius:20dp;background-color:#243441f7;color:var(--text);font-size:34dp;}
.bank-overlay>h2 {position:absolute;left:50dp;right:50dp;top:40dp;text-align:center;font-size:40dp;line-height:45dp;font-weight:normal;}
.bank-actions {position:absolute;left:50dp;right:50dp;bottom:35dp;height:84dp;display:flex;gap:30dp;}
.bank-actions .bank-control {flex:1;min-width:0;height:84dp;padding:12dp 24dp;font-size:32dp;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
.savings-overlay {background-color:#1c2d3bba;}
.passbook {position:absolute;left:254dp;top:35dp;width:2100dp;height:1301.109375dp;color:#342c27;}
.passbook-left,.passbook-right {position:absolute;top:30dp;bottom:30dp;width:924dp;font-size:34dp;line-height:49.3dp;}
.passbook-left {left:63dp;}
.passbook-right {right:63dp;}
.passbook h2 {position:absolute;left:0;right:0;top:0;text-align:center;font-size:52dp;line-height:60dp;font-weight:normal;color:#8b3c32;}
.passbook h3 {position:absolute;left:0;right:0;top:90dp;font-size:46dp;line-height:54dp;font-weight:bold;text-transform:uppercase;color:#423628;}
.passbook-left p {position:absolute;left:0;right:0;}
.passbook-note-one {top:184dp;}
.passbook-note-two {top:273.296875dp;}
.passbook-note-three {top:411.890625dp;}
.passbook-right h2 {color:#5b4837;}
.passbook-right output {position:absolute;left:0;right:0;top:140dp;text-align:right;font-size:54dp;line-height:62dp;}
.property-row {position:absolute;left:50dp;right:50dp;height:650dp;display:flex;align-items:center;gap:50dp;}
.owned-property {top:115dp;}
.offered-property {top:765dp;}
.property-description {flex:1;min-width:0;font-size:34dp;line-height:47.6dp;}
.property-description h3 {font-size:34dp;font-weight:normal;line-height:44.2dp;margin:10dp 0 30dp;}
.property-description p {margin:20dp 0;}
.property-picture {width:1000dp;height:570dp;flex-shrink:0;padding:0;border:2dp var(--border);border-radius:16dp;background-color:#172431;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.property-empty {display:block;width:100%;height:100%;background-color:#242323;}
.stock-table {position:absolute;left:50dp;top:115dp;width:1718dp;height:1320dp;font-size:32dp;}
.stock-row {display:flex;align-items:center;height:103.333333dp;}
.stock-row.stock-head {height:80dp;}
.stock-row>div {width:399.333333dp;flex-shrink:0;text-align:right;color:#d8c892;}
.stock-row>div:first-child {width:520dp;text-align:left;}
.stock-head>div {color:var(--text);}
.stock-name {font-size:32dp;padding:8dp 15dp;border:0dp;border-radius:8dp;background-color:transparent;color:var(--text);}
.stock-name[aria-pressed=true] {background-color:var(--selected);color:var(--accent);}
.stock-chart {position:absolute;left:1818dp;top:115dp;width:740dp;height:1320dp;background-color:#172938;border-radius:16dp;overflow:hidden;}
.credit-portrait {position:absolute;left:50dp;top:135dp;width:620dp;height:515dp;border-radius:16dp;overflow:hidden;}
.credit-facts {position:absolute;left:740dp;top:195dp;width:1818dp;height:395dp;font-size:34dp;line-height:39dp;}
.credit-fact {position:absolute;left:0;right:0;height:63dp;display:flex;justify-content:space-between;}
.credit-fact>span,.credit-fact>strong {display:block;width:891.5dp;font-weight:normal;}
.credit-fact>strong {text-align:right;white-space:nowrap;color:#b9d8e2;}
#bank-term {width:190dp;height:63dp;padding:12dp 30dp 12dp 12dp;text-align:left;border:2dp var(--border);border-radius:10dp;background-color:#263744;color:var(--text);font-size:30dp;}
.credit-schedule {position:absolute;left:50dp;right:50dp;top:686dp;height:642.78125dp;border:2dp var(--border);border-radius:18dp;background-color:#1a303fe6;}
.credit-schedule-caption {position:absolute;left:36dp;right:36dp;top:28dp;height:106.390625dp;}
.credit-schedule-caption h3 {font-size:32dp;line-height:41.59375dp;font-weight:normal;color:var(--text);}
.credit-schedule-amount {position:absolute;left:0;top:51.59375dp;font-size:42dp;line-height:54.796875dp;color:var(--accent);}
.credit-schedule-amount>span {padding:0 16dp;color:var(--muted);}
.credit-schedule-context {position:absolute;right:0;top:0;text-align:right;}
.credit-schedule-context>span {display:inline-block;padding:10dp 22dp;border:2dp var(--border);border-radius:12dp;background-color:var(--soft);font-size:28dp;line-height:36.4dp;}
.credit-schedule-context>p {margin-top:14dp;font-size:28dp;line-height:33.8dp;color:var(--muted);}
.credit-chart {position:absolute;left:36dp;top:152.390625dp;width:2432dp;height:420dp;}
.credit-schedule-note {position:absolute;left:36dp;right:36dp;top:580.390625dp;font-size:28dp;line-height:36.390625dp;color:var(--muted);}
.bank-note {font-size:28dp;line-height:42dp;color:var(--muted);}
.credit-note {position:absolute;left:50dp;right:50dp;top:1346.78125dp;line-height:39.1875dp;}
.bank-overview {position:absolute;left:110dp;right:110dp;top:175dp;font-size:40dp;line-height:45dp;}
.bank-overview-row {height:113dp;display:flex;justify-content:space-between;gap:45dp;}
.bank-overview-row>span,.bank-overview-row>strong {display:block;width:50%;font-weight:normal;}
.bank-overview-row>strong {text-align:right;color:#b9d8e2;}
.bank-overview-total {height:90dp;border-top:5dp var(--border);padding-top:40dp;}
.overview-note {position:absolute;left:50dp;right:50dp;bottom:50dp;}
body.silver .bank-overlay {background-color:#eaf1f7fc;color:#233443;}
body.silver .savings-overlay {background-color:#f1f6fa80;}
body.silver .property-picture {background-color:#f1f6fa80;}
body.silver .stock-chart {background-color:#f1f6fa80;}
body.silver .stock-row>div {color:#805b18;}
body.silver .stock-head>div,body.silver .stock-name {color:#233443;}
body.silver .credit-fact>strong,body.silver .bank-overview-row>strong {color:#233443;}
body.silver #bank-term {background-color:#ffffffad;color:#233443;}
body.silver .credit-schedule {background-color:#f1f6fa80;}
body.silver .bank-actions .bank-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
body.matchday .bank-overlay {background-color:#2c2c32fc;color:#efeded;}
body.matchday .savings-overlay {background-color:#1d1e2466;}
body.matchday .property-picture,body.matchday .stock-chart {background-color:#1d1e2466;}
body.matchday .stock-row>div {color:#e1c68b;}
body.matchday .stock-head>div,body.matchday .stock-name {color:#efeded;}
body.matchday .credit-fact>strong,body.matchday .bank-overview-row>strong {color:#efeded;}
body.matchday #bank-term {background-color:#191a208a;color:#efeded;}
body.matchday .credit-schedule {background-color:#1d1e2466;}
body.matchday .bank-actions .bank-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
/* each service of the hall carries its name on a paper tag */
.bank-hotspot {display:flex;align-items:flex-end;justify-content:center;}
.bank-tag {display:block;flex-shrink:0;margin-bottom:10dp;padding:6dp 22dp;border:2dp #7b725f88;border-radius:6dp;background-color:#fbfaf6f0;color:#233443;font-family:Display;font-size:34dp;line-height:44dp;white-space:nowrap;}
.bank-hotspot:hover .bank-tag {background-color:#ffffff;border-color:#25617a;}
/* --- The bank's services: sheets of the house with a head, tabs, figures and charts. --- */
body {--bank-gold:#d9bd7c;--bank-panel:#ffffff0a;}
body.silver {--bank-gold:#9a7a3a;--bank-panel:#ffffff8c;}
.bank-overlay,body.silver .bank-overlay,body.matchday .bank-overlay {border:2dp var(--paper-edge);border-radius:10dp;background-color:transparent;decorator:linear-gradient(175deg,var(--paper-top),var(--paper-bottom));color:var(--text);}
.bank-head {position:absolute;left:0;right:0;top:0;height:150dp;display:flex;align-items:center;padding:0 60dp;border-bottom:4dp var(--bank-gold);}
.bank-brand {display:flex;flex-direction:column;flex-shrink:0;}
.bank-brand strong {display:block;font-family:Display;font-size:30dp;line-height:38dp;font-weight:normal;letter-spacing:3dp;color:var(--bank-gold);}
.bank-brand span {display:block;font-family:Display;font-size:60dp;line-height:68dp;}
.bank-tabs {display:flex;gap:14dp;margin-left:auto;}
.bank-tabs .bank-tab {height:72dp;padding:0 34dp;border:2dp var(--rule);border-radius:36dp;background-color:transparent;decorator:none;font-size:32dp;color:var(--text);}
.bank-tabs .bank-tab:hover {background-color:var(--hover);}
.bank-tabs .bank-tab.selected {border-color:var(--bank-gold);background-color:var(--bank-gold);color:#1d232a;}
.bank-insight {border:2dp var(--rule);border-radius:8dp;padding:16dp 30dp;background-color:var(--bank-panel);}
.bank-insight h4 {display:block;margin:0 0 6dp 0;font-family:Display;font-size:34dp;line-height:44dp;font-weight:bold;color:var(--bank-gold);}
.bank-insight p {margin:0;font-size:32dp;line-height:46dp;}
.bank-part-track {height:14dp;border-radius:7dp;background-color:var(--rule);overflow:hidden;}
.bank-part-track>div {height:14dp;border-radius:7dp;background-color:var(--bank-gold);}
/* overview */
.bank-ring {position:absolute;left:90dp;top:230dp;width:860dp;height:860dp;}
.bank-ring-centre {position:absolute;left:0;top:330dp;width:860dp;text-align:center;}
.bank-ring-centre span {display:block;font-size:34dp;line-height:44dp;color:var(--muted);}
.bank-ring-centre strong {display:block;font-family:Display;font-size:58dp;line-height:76dp;font-weight:bold;}
.bank-parts {position:absolute;left:1080dp;right:60dp;top:240dp;}
.bank-part {height:150dp;}
.bank-part.plain {height:92dp;border-top:2dp var(--rule);padding-top:22dp;}
.bank-part-line {display:flex;align-items:center;height:76dp;font-size:40dp;}
.bank-part-line span,.bank-part-line strong {display:block;flex-shrink:0;}
.bank-part-line .chip {width:30dp;height:30dp;border-radius:15dp;margin-right:24dp;}
.bank-part-line .chip.none {background-color:transparent;}
.bank-part-line .label {flex:1;}
.bank-part-line strong {font-family:Display;font-size:48dp;font-weight:bold;text-align:right;}
.bank-part-line .share {width:220dp;text-align:right;font-size:34dp;color:var(--muted);}
.overview-insight {position:absolute;left:90dp;right:60dp;top:1180dp;}
.overview-note {bottom:40dp;}
/* stocks */
.stock-table {left:60dp;top:190dp;width:1500dp;height:1340dp;font-size:32dp;}
.stock-row {height:98dp;border-bottom:2dp var(--rule);}
.stock-row.stock-head {height:70dp;color:var(--muted);}
.stock-row.chosen {background-color:var(--selected);}
.stock-row>div,body.silver .stock-row>div,body.matchday .stock-row>div {width:250dp;color:var(--text);}
.stock-row>div:first-child {width:460dp;}
.stock-row>div:nth-child(2) {width:290dp;display:flex;justify-content:flex-end;}
.stock-name[aria-pressed=true] {background-color:transparent;color:var(--text);font-weight:bold;}
.stock-move {display:inline-block;font-size:30dp;}
.stock-move.up {color:var(--win);}
.stock-move.down {color:var(--loss);}
.stock-move.flat {color:var(--muted);}
.stock-detail {position:absolute;left:1620dp;right:60dp;top:190dp;height:1340dp;}
.stock-detail h3 {display:block;margin:0;font-family:Display;font-size:54dp;line-height:64dp;font-weight:bold;}
.stock-quote {display:flex;align-items:baseline;gap:26dp;height:96dp;}
.stock-quote strong {display:block;font-family:Display;font-size:84dp;line-height:96dp;font-weight:bold;}
.stock-quote .stock-move {font-size:38dp;}
.stock-chart,body.silver .stock-chart,body.matchday .stock-chart {position:relative;left:0;top:0;width:920dp;height:500dp;margin-top:10dp;border:2dp var(--rule);border-radius:8dp;background-color:var(--bank-panel);}
.stock-legend {display:flex;align-items:center;height:56dp;margin:0;font-size:26dp;color:var(--muted);}
.stock-legend .key {display:block;width:36dp;height:8dp;border-radius:4dp;margin:0 12dp 0 26dp;}
.stock-legend .key.course {margin-left:0;background-color:#9ac7d8;}
body.silver .stock-legend .key.course {background-color:#25617a;}
.stock-legend .key.average {background-color:var(--bank-gold);}
.stock-legend .key.high {width:16dp;height:16dp;border-radius:8dp;background-color:var(--win);}
.stock-legend .key.low {width:16dp;height:16dp;border-radius:8dp;background-color:var(--loss);}
.stock-tiles {display:flex;flex-wrap:wrap;gap:14dp;width:932dp;}
.stock-tile {width:296dp;height:128dp;border:2dp var(--rule);border-radius:8dp;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--bank-panel);}
.stock-tile strong {display:block;font-family:Display;font-size:42dp;line-height:52dp;font-weight:bold;white-space:nowrap;}
.stock-tile span {display:block;font-size:26dp;line-height:34dp;color:var(--muted);}
.stock-tile.up strong {color:var(--win);}
.stock-tile.down strong {color:var(--loss);}
.stock-detail .bank-insight {margin-top:20dp;}
.stock-detail .bank-insight p {font-size:30dp;line-height:42dp;}
/* properties */
.property-card {position:absolute;top:200dp;width:1216dp;height:1330dp;border:2dp var(--rule);border-radius:10dp;background-color:var(--bank-panel);padding:28dp 32dp;}
.property-card.owned-property {left:60dp;}
.property-card.offered-property {left:1336dp;}
.property-card h3 {display:block;margin:0 0 18dp 0;font-size:30dp;line-height:40dp;font-weight:normal;letter-spacing:2dp;color:var(--bank-gold);}
.property-card h4 {display:block;margin:26dp 0 10dp 0;font-family:Display;font-size:54dp;line-height:66dp;font-weight:bold;}
.property-card .property-picture {width:1150dp;height:654dp;border:2dp var(--paper-edge);border-radius:8dp;}
.property-empty,body.silver .property-empty {display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:var(--rule);}
.property-empty span {display:block;font-size:34dp;color:var(--muted);}
.bank-fact {display:flex;align-items:center;justify-content:space-between;height:70dp;border-bottom:2dp var(--rule);font-size:34dp;}
.bank-fact span,.bank-fact strong {display:block;}
.bank-fact strong {font-family:Display;font-size:40dp;font-weight:bold;}
.property-hint {margin:22dp 0 0 0;font-size:28dp;color:var(--muted);}
/* savings: the passbook lies on the sheet */
.savings-overlay,body.silver .savings-overlay,body.matchday .savings-overlay {background-color:transparent;}
.passbook {left:256dp;top:210dp;border-radius:44dp;overflow:hidden;}
.passbook-cash {position:absolute;left:0;right:0;top:240dp;text-align:right;font-size:34dp;color:#5b4837;}
/* credit */
.credit-portrait {left:60dp;top:200dp;border:2dp var(--paper-edge);border-radius:8dp;}
.credit-facts.engine-credit {left:750dp;right:60dp;top:196dp;width:auto;height:520dp;}
.engine-credit .credit-fact {height:62dp;border-bottom:2dp var(--rule);align-items:center;font-size:32dp;}
.engine-credit .credit-fact>span {width:auto;}
.engine-credit .credit-fact>strong,body.silver .engine-credit .credit-fact>strong {width:auto;font-family:Display;font-size:36dp;font-weight:bold;color:var(--text);}
.engine-credit .credit-fact .bank-control {width:620dp;height:52dp;font-size:32dp;border:2dp var(--bank-gold);border-radius:8dp;}
.credit-schedule,body.silver .credit-schedule,body.matchday .credit-schedule {left:60dp;right:60dp;top:770dp;border:2dp var(--rule);border-radius:10dp;background-color:var(--bank-panel);}
.credit-schedule.engine-credit {height:620dp;}
.credit-schedule-caption h3 {font-family:Display;font-size:40dp;font-weight:bold;}
.credit-tiles {position:absolute;left:36dp;right:36dp;top:110dp;width:auto;}
.credit-tiles .stock-tile {width:780dp;height:170dp;}
.credit-tiles .stock-tile strong {font-size:54dp;line-height:66dp;}
.credit-progress {position:absolute;left:36dp;right:36dp;top:330dp;}
.credit-progress-label {display:flex;justify-content:space-between;height:60dp;font-size:32dp;}
.credit-progress-label span,.credit-progress-label strong {display:block;}
.credit-schedule.engine-credit .credit-schedule-note {top:auto;bottom:28dp;}
.bank-actions {left:60dp;right:60dp;}
/* second pass */
.stock-row {height:104dp;}
.stock-row>div,body.silver .stock-row>div,body.matchday .stock-row>div {flex:1;width:auto;}
.stock-row>div:first-child {flex:none;width:430dp;}
.stock-row>div:nth-child(2) {flex:none;width:300dp;}
.stock-row>div:last-child {padding-right:24dp;}
.stock-name,.stock-name.control-button {justify-content:flex-start;text-align:left;}
.stock-chart,body.silver .stock-chart,body.matchday .stock-chart {height:500dp;}
.stock-legend span {display:block;flex-shrink:0;}
.stock-tile {height:138dp;}
.bank-market {position:absolute;left:90dp;right:60dp;top:1370dp;height:400dp;}
.bank-market h4 {display:block;margin:0 0 8dp 0;font-family:Display;font-size:34dp;line-height:44dp;font-weight:bold;color:var(--bank-gold);}
.bank-market-bars {display:flex;height:340dp;}
.bank-market-column {flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;}
.bank-market-column .rise {height:150dp;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-bottom:2dp var(--rule);width:100%;}
.bank-market-column .fall {height:150dp;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;}
.bank-market-column .bar {width:64dp;border-radius:4dp;}
.bank-market-column .bar.up {background-color:var(--win);}
.bank-market-column .bar.down {background-color:var(--loss);}
.bank-market-column span {display:block;font-size:24dp;line-height:30dp;color:var(--muted);}
.bank-market-column strong {display:block;font-size:26dp;line-height:36dp;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.property-prices {margin-top:22dp;}
.property-prices h5 {display:block;margin:0 0 8dp 0;font-size:28dp;line-height:38dp;font-weight:normal;letter-spacing:2dp;color:var(--bank-gold);}
.property-price {display:flex;align-items:center;height:44dp;font-size:28dp;}
.property-price span {display:block;flex-shrink:0;}
.property-price .name {width:340dp;}
.property-price .bank-part-track {flex:1;}
.property-price .sum {width:300dp;text-align:right;}
.property-price.chosen .name,.property-price.chosen .sum {font-weight:bold;}
.property-price.chosen .bank-part-track>div {background-color:#25617a;}
.bank-market-column strong {width:100%;text-align:center;flex-shrink:0;height:36dp;}