Files
commander-ai-lab/unity-client/Assets/UI/TrainingPanel.uss
T
KoalaTrapLord 18beb9192e feat(unity-ui): add UXML+USS layouts for all 5 GUI screens
- CollectionTracker.uxml  — card grid, filter sidebar, detail panel
- CoachPanel.uxml         — chat bubbles, analytics, mana curve chart
- DeckGenerator.uxml      — 4-step wizard (commander → strategy → generate → result)
- SimulationPanel.uxml    — 4-player config, progress bar, results table
- TrainingPanel.uxml      — stats, start/stop, live charts, log, model history

- CommanderLabShared.uss  — dark MTG theme shared across all screens
- CollectionTracker.uss
- CoachPanel.uss
- DeckGenerator.uss
- SimulationPanel.uss
- TrainingPanel.uss
2026-03-19 03:55:13 -04:00

145 lines
3.0 KiB
Plaintext

/* TrainingPanel.uss */
.training-body {
flex-direction: row;
flex-grow: 1;
overflow: hidden;
padding: 12px;
}
/* ── Left Column ── */
.train-left {
width: 340px;
min-width: 260px;
flex-shrink: 0;
flex-direction: column;
margin-right: 12px;
}
.stats-panel { margin-bottom: 12px; }
.stats-grid {
flex-direction: row;
flex-wrap: wrap;
margin-top: 6px;
}
.stat-cell {
width: 48%;
background-color: rgb(24, 20, 40);
border-radius: 7px;
padding: 8px 10px;
margin: 3px;
border-width: 1px;
border-color: rgb(60, 48, 95);
}
.train-status {
font-size: 13px;
color: rgb(160, 230, 160);
margin-bottom: 8px;
}
.control-row {
flex-direction: row;
flex-wrap: wrap;
}
.controls-panel { margin-bottom: 12px; }
.charts-panel { flex-grow: 1; }
.train-chart {
background-color: rgb(16, 14, 26);
border-radius: 6px;
border-width: 1px;
border-color: rgb(55, 42, 90);
height: 80px;
margin: 4px 0 10px 0;
position: relative;
overflow: hidden;
}
.accuracy-chart { border-color: rgb(40, 110, 55); }
.loss-chart { border-color: rgb(110, 35, 40); }
/* ── Right Column ── */
.train-right {
flex-grow: 1;
flex-direction: column;
overflow: hidden;
}
.feature-panel { flex-grow: 0; margin-bottom: 12px; }
.feature-scroll { max-height: 160px; }
.feature-bar-list { flex-direction: column; padding: 4px; }
/* Feature bar row — prefab reference */
.feature-bar-row {
flex-direction: row;
align-items: center;
margin-bottom: 5px;
}
.feature-bar-label {
width: 100px;
font-size: 11px;
color: rgb(180, 170, 200);
margin-right: 6px;
}
.feature-bar-track {
flex-grow: 1;
height: 10px;
background-color: rgb(30, 25, 50);
border-radius: 5px;
overflow: hidden;
}
.feature-bar-fill {
height: 10px;
background-color: rgb(100, 70, 200);
border-radius: 5px;
}
.feature-bar-value {
width: 44px;
font-size: 10px;
color: rgb(140, 130, 170);
margin-left: 6px;
-unity-text-align: middle-right;
}
/* History */
.history-panel { flex-grow: 0; margin-bottom: 12px; }
.history-scroll { max-height: 160px; }
.history-list { flex-direction: column; }
.history-row {
flex-direction: row;
padding: 6px 10px;
border-bottom-width: 1px;
border-bottom-color: rgb(40, 32, 65);
}
.history-row:hover { background-color: rgb(28, 22, 46); }
.history-header { background-color: rgb(22, 18, 38); }
.history-header Label { color: rgb(130, 115, 185); -unity-font-style: bold; font-size: 12px; }
.h-ver { width: 70px; font-size: 13px; color: rgb(200, 180, 255); }
.h-acc { flex-grow: 1; font-size: 13px; color: rgb(140, 200, 140); }
.h-date { width: 140px; font-size: 11px; color: rgb(130, 120, 160); }
/* Log */
.log-panel { flex-grow: 1; }
.log-scroll { flex-grow: 1; min-height: 80px; }
.log-text {
font-size: 11px;
color: rgb(150, 195, 150);
white-space: normal;
padding: 6px;
font-family: monospace;
}