Open-source Xbox-inspired desktop launcher for Xodus on Linux
TypeScript
.game-achievements { margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.game-achievements > header, .achievements-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.game-achievements h2 { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
.game-achievements h2 > svg { width: 19px; height: 19px; color: #b5cba9; }
.game-achievements > header p { color: #b9c4b2; font-size: 12px; margin: 0; }
.achievements-preview, .achievements-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.achievements-preview { grid-template-columns: repeat(3,minmax(0,1fr)); }
.achievement-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; min-width: 0; background: #242a30; border: 1px solid #3c454e; border-radius: 6px; }
.achievement-card.unlocked { border-color: #53634d; }
.achievement-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 5px; overflow: hidden; background: #1a2025; color: #a8b59e; }
.achievement-icon img { width: 100%; height: 100%; object-fit: cover; }
.achievement-icon > svg { width: 25px; height: 25px; }
.achievement-copy { min-width: 0; flex: 1; }
.achievement-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.achievement-title h3 { margin: 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.achievement-title > span { flex-shrink: 0; font-size: 11px; color: #c4d2b9; }
.achievement-copy p { margin: 5px 0 8px; color: #b0bac4; font-size: 11px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.achievement-copy small { display: flex; gap: 4px; align-items: center; color: #aab99f; font-size: 10px; }
.achievement-copy small svg { width: 12px; height: 12px; }
.achievement-progress { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 10px; color: #b5cba9; }
.achievement-progress progress { width: 100%; min-width: 0; height: 6px; accent-color: #77a65b; }
.achievements-empty { color: #a6b0bb; font-size: 12px; line-height: 1.6; margin: 16px 0 0; }
.achievements-warning { color: #e3bd69; font-size: 11px; line-height: 1.6; }
.achievements-footnote { color: #8a949f; font-size: 10px; line-height: 1.6; margin: 14px 0 0; }
.achievements-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #080b0fe8; padding: 20px; }
.achievements-dialog { width: min(780px,100%); max-height: 100%; overflow-y: auto; padding: 24px; background: #1e242b; border: 1px solid #4a545f; border-radius: 7px; }
.achievements-dialog > header h2 { font-size: 22px; margin: 0 0 5px; }
.achievements-dialog > header p { margin: 0; font-size: 12px; color: #aeb9c5; }
.achievements-filter { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 12px; color: #b6c1cd; }
.achievements-filter select { min-height: 38px; max-width: 100%; padding: 7px 12px; border: 1px solid #55616c; background: #29323b; color: #edf1f5; border-radius: 5px; }
.achievements-dialog .achievement-title h3 { font-size: 14px; }
.achievements-dialog .achievement-copy p { font-size: 12px; }
@media (max-width:1280px) { .achievements-preview { grid-template-columns: minmax(0,1fr); } }
@media (max-width:820px) { .achievements-backdrop { padding: 12px; } .achievements-dialog { padding: 18px; } .achievement-card { padding: 12px; } }