Enlarged the stack group tick to fill its row

This commit is contained in:
2026-09-28 10:22:00 +02:00
parent a98cde4e48
commit 575f08b64e
2 changed files with 10 additions and 9 deletions
+4 -3
View File
@@ -1200,10 +1200,11 @@ input:focus, select:focus { border-color: var(--accent); }
/* The tri-state group tick: selects or excludes the whole type in one click and /* The tri-state group tick: selects or excludes the whole type in one click and
doubles as the group's readout (all / some / none). */ doubles as the group's readout (all / some / none). */
.stack-group-check { .stack-group-check {
width: 16px; height: 16px; flex: 0 0 auto; padding: 0; width: 42px; height: 42px;
flex: 0 0 auto; padding: 0; box-sizing: border-box;
display: flex; align-items: center; justify-content: center; display: flex; align-items: center; justify-content: center;
border: 1px solid #46566e; border-radius: 4px; background: #101720; border: 1px solid #46566e; border-radius: 6px; background: #101720;
color: #eaf2fc; font-size: 11px; line-height: 1; cursor: pointer; color: #eaf2fc; font-size: 26px; line-height: 1; cursor: pointer;
} }
.stack-group-check:hover { border-color: #6eafff; } .stack-group-check:hover { border-color: #6eafff; }
.stack-group-check.all { background: #3f6fa8; border-color: #6eafff; } .stack-group-check.all { background: #3f6fa8; border-color: #6eafff; }
+6 -6
View File
@@ -1,6 +1,12 @@
// Generated by scripts/generate-devlog.js from `git log`; do not edit. // Generated by scripts/generate-devlog.js from `git log`; do not edit.
// The pre-commit hook refreshes it so the main menu shows the latest commits. // The pre-commit hook refreshes it so the main menu shows the latest commits.
export const DEVLOG = [ export const DEVLOG = [
{
"hash": "a98cde4",
"date": "2026-09-28",
"subject": "Replaced the placeholder submarine icon",
"body": ""
},
{ {
"hash": "da11e1d", "hash": "da11e1d",
"date": "2026-09-28", "date": "2026-09-28",
@@ -54,11 +60,5 @@ export const DEVLOG = [
"date": "2026-09-25", "date": "2026-09-25",
"subject": "Showed the nation's resource pool in the simple economy's top panel", "subject": "Showed the nation's resource pool in the simple economy's top panel",
"body": "The top bar now carries a two-by-two grid of the four storable goods, each a big icon, the grouped pool and an arrow reading production against consumption (purchases excluded); hovering a chip names both daily figures. The quantity column reserves room for 99 999 999 999 so the layout never shifts as stocks grow.\n\nformatResourceAmount paired each prefix with a divisor a thousand times too large, so a million tonnes printed as 1 kt; the steps now move together as kt, Mt, Gt and Tt." "body": "The top bar now carries a two-by-two grid of the four storable goods, each a big icon, the grouped pool and an arrow reading production against consumption (purchases excluded); hovering a chip names both daily figures. The quantity column reserves room for 99 999 999 999 so the layout never shifts as stocks grow.\n\nformatResourceAmount paired each prefix with a divisor a thousand times too large, so a million tonnes printed as 1 kt; the steps now move together as kt, Mt, Gt and Tt."
},
{
"hash": "d5305da",
"date": "2026-09-25",
"subject": "Gave the world a simple economy: one pool per nation and a global market",
"body": "The simple economy is now the default and the old simulation is frozen as the hard model, selectable per game. A nation keeps one resource pool available in every region, fed by public production works rather than private per-region stores, and construction and training begin at once, paced by the region's spare power instead of gathering materials over days.\n\nMoney is euro only: a per-inhabitant daily tax funds a treasury spent in a global market, where buy and sell lots trade against the world stock and move its price. The hard economy keeps its per-nation currencies, central banks and exchange rates.\n\nSimple games skip the price-settling warmup and economic migration; the snapshot carries the economy model, the market and the pool figures the client draws. Added the matching test suites and the design briefs under docs/simple_economy."
} }
]; ];