Files
planet/frontend/public/earth/css/earth-stats.css
rayd1o c4ea918fac fix: refine earth hud structure and bun startup flow
- refactor the /earth HUD into class-first CSS layers with dedicated base, hud, and toolbar responsibilities
- clean up Earth markup and runtime DOM hooks so shared panel, toolbar, tooltip, and status classes stay consistent after dynamic updates
- keep HUD scaling configurable through extracted constants and remove leftover legacy panel/toolbar styling paths
- make planet.sh self-bootstrap Bun and uv by prepending local runtime bins to PATH and auto-installing missing tools in fresh environments
- document Bun as the frontend package manager of record and sync repository version metadata to 0.24.1
2026-04-09 02:12:22 +08:00

16 lines
331 B
CSS

/* earth-stats */
.hud-panel-stats {
bottom: var(--hud-offset);
right: var(--hud-offset);
border-radius: var(--hud-radius);
padding: var(--hud-panel-padding);
width: calc(250px * var(--hud-scale));
z-index: 10;
font-size: var(--hud-font-size);
}
.hud-panel-stats .stats-item {
margin-bottom: var(--hud-gap-sm);
}