Achievements page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-25 20:01:33 +00:00
parent f6951b0f12
commit a05530b802
5 changed files with 152 additions and 4 deletions

View file

@ -799,3 +799,17 @@ button.swatch { width: 36px; height: 36px; }
.swatch.on { border-color: var(--text); }
.look-preview { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.favour-option .bar { margin-top: 4px; }
/* --- achievements ----------------------------------------------------- */
.ach-count { color: var(--gold); font-variant-numeric: tabular-nums; margin-left: 6px; }
.ach-card.full { border-color: var(--gold); }
.ach-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ach { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 8px;
background: var(--panel-2); border: 2px solid transparent; cursor: pointer; }
.ach .gi { width: 26px; height: 26px; }
.ach .swatch { width: 22px; height: 22px; border-radius: 4px; }
.ach:not(.done) > * { opacity: .25; filter: grayscale(1); }
.ach.done { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.ach.held { border: 2px dashed var(--gold); }
.ach.on { border-color: var(--text); }
.ach-line { margin: 10px 0 0; }