refactor(web): split dashboard into combat stats and reference stats
Hull and Armor current are always editable with steppers at the top of the dashboard — these are the values that change every combat round. All other stats (AC, Con, Speed, Class, Size, Max values, Crew, Hardpoints, Cargo) are shown in a compact read-only reference grid with an Edit button to toggle into editable mode when needed. Removes separate MobilitySection and CrewSection in favor of a unified ShipStatsSection that combines all reference stats in one place. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -321,10 +321,17 @@ button:disabled {
|
||||
padding-bottom: var(--spacing-xs);
|
||||
}
|
||||
|
||||
.dashboard-toolbar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: var(--spacing-md);
|
||||
.combat-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
.combat-stat {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.stat-grid {
|
||||
|
||||
Reference in New Issue
Block a user