fix(v2): aligned stat grid + correct icons + action buttons
- Stats now use a 3-column CSS Grid so values align across rows - Fixed icons: ☠️ for deaths (was 💀), prismatic-taper-icon.png for tapers (was wrong emoji 🔮), 🕐 for time (was 🕑) - Added action buttons row (Chat, Stats, Inv, Char, Radar) matching v1's button bar — accent-colored for primary actions - Buttons are present but not wired to windows yet (Phase 3) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7890ab477f
commit
53bb1ba9cf
5 changed files with 90 additions and 49 deletions
|
|
@ -210,42 +210,77 @@
|
|||
transition: width 0.3s ease-out;
|
||||
}
|
||||
|
||||
/* ── Stats row ────────────────────────────────────────── */
|
||||
.ml-pr-stats {
|
||||
/* ── Stats grid (3 columns aligned) ───────────────────── */
|
||||
.ml-pr-header {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 0.68rem;
|
||||
color: #aaa;
|
||||
margin-bottom: 2px;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ml-stat {
|
||||
.ml-pr-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 1px 8px;
|
||||
font-size: 0.68rem;
|
||||
color: #aaa;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.ml-gs {
|
||||
font-variant-numeric: tabular-nums;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.ml-icon {
|
||||
font-size: 0.7rem;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ml-suffix {
|
||||
font-size: 0.58rem;
|
||||
color: #888;
|
||||
color: #666;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.ml-taper-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 2px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.ml-meta-pill {
|
||||
font-size: 0.6rem;
|
||||
padding: 0 6px;
|
||||
border-radius: 3px;
|
||||
background: #333;
|
||||
color: #888;
|
||||
margin-left: auto;
|
||||
text-align: center;
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
/* ── Action buttons ───────────────────────────────────── */
|
||||
.ml-pr-buttons {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.ml-btn {
|
||||
padding: 1px 6px;
|
||||
font-size: 0.63rem;
|
||||
border: 1px solid #555;
|
||||
border-radius: 3px;
|
||||
background: #333;
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ml-btn:hover { background: #444; color: #eee; }
|
||||
.ml-btn.accent { background: #88f; color: #111; border-color: #88f; }
|
||||
.ml-btn.accent:hover { background: #99f; }
|
||||
.ml-meta-pill.active { background: rgba(68, 204, 68, 0.15); color: #4c4; }
|
||||
|
||||
/* ── Map container ────────────────────────────────────── */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue