Files
ssessesse-ki-battle/src/client/lobby-features.css
T

83 lines
5.9 KiB
CSS

.lobby-tools { display: flex; gap: 10px; margin-top: 16px; }
.ranked-queue-actions { display: flex; justify-content: center; gap: 12px; }
.ranked-queue .accept-time { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
body.player-app[data-screen=ranked-queue] main { padding: 0; }
body.player-app .ranked-queue {
display: grid;
grid-template-rows: minmax(180px, 1fr) auto minmax(180px, 1fr);
flex: 1;
margin: 0 auto;
padding: 32px 0 16px;
}
.ranked-queue::before { content: ''; }
.ranked-queue .queue-fighter { width: min(260px, 26svh, 65vw); }
.ranked-queue .queue-details { display: grid; grid-template-rows: 36px 24px 36px 52px; gap: 8px; padding-top: 8px; }
.ranked-queue .queue-details > :is(h1, p) { margin: 0; align-self: center; }
.ranked-queue .queue-details > p[hidden] { display: block !important; visibility: hidden; }
.lobby-tools button { flex: 1; min-width: 0; min-height: 48px; padding: 10px; font-size: 17px; }
#home .home-actions > button:not(.primary) { min-height: 64px; font-size: 26px; }
#home .home-actions .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#home .home-actions .split button { min-height: 62px; font-size: 22px; padding-inline: 16px; }
#home .home-actions .split svg { flex-basis: 22px; width: 22px; height: 22px; }
#home .home-actions .split button span { white-space: nowrap; }
.home .home-actions { gap: 12px; }
.queue-fighter { width: min(300px, 75vw); margin: 0 auto; }
#appearance-dialog { max-width: 920px; max-height: calc(100svh - 32px); }
#appearance-dialog h3 { margin: 0; font-size: 16px; }
.appearance-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 24px; margin-top: 24px; align-items: center; }
.appearance-preview { overflow: hidden; background: #ffb139; border: 2px solid #242526; }
.appearance-preview .fighter-art { aspect-ratio: 260 / 300; }
.skin-options { display: flex; gap: 10px; margin: 12px 0 24px; }
.skin-options button { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; font-size: 16px; }
.skin-swatch { flex-shrink: 0; width: 22px; height: 22px; border: 1px solid currentColor; background: var(--swatch); }
.color-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
body.player-app .color-options button { min-width: 0; padding: 8px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px; background: #fff; color: #242526; box-shadow: 3px 3px 0 #24252630; }
.color-swatch { display: block; width: 100%; height: 46px; border: 1px solid #24252660; background: var(--swatch); }
.color-name { font-size: 14px; }
body.player-app .color-requirement { font-family: var(--ui-body); font-size: 13px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.color-lock { position: absolute; top: 4px; right: 4px; width: 25px; height: 25px; padding: 3px; background: #242526; color: #fff; }
.color-lock svg { display: block; width: 100%; height: 100%; }
body.player-app :is(.skin-options, .color-options, .hair-options, .equipment-options, .eyewear-options) button[aria-pressed=true] { background: #ffdfb5; color: #242526; box-shadow: inset 0 0 0 2px #ff912b, 3px 3px 0 #242526; }
.hair-options { display: flex; gap: 10px; margin: 12px 0 24px; }
.hair-options button { flex: 1; min-width: 0; padding: 10px 6px; font-size: 15px; word-break: keep-all; }
.equipment-options, .eyewear-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
body.player-app :is(.equipment-options, .eyewear-options) button { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; padding: 26px 6px 12px; background: #fff; color: #242526; font-size: 15px; }
#appearance-dialog .eyewear-heading { margin-top: 24px; }
.equipment-state { font-family: var(--ui-body); font-size: 12px; }
.appearance-options .equip { margin-top: 16px; width: 100%; }
.color-condition, .profile-notice { min-height: 24px; }
body.player-app #appearance-dialog .color-condition { color: #242526; font-weight: 700; }
.profile-notice:empty { display: none; }
#leaderboard-dialog { max-width: 680px; }
.leaderboard-content { overflow-x: auto; }
.leaderboard-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.leaderboard-content th, .leaderboard-content td { padding: 12px 6px; text-align: right; border-bottom: 1px solid #d2cec4; font-variant-numeric: tabular-nums; }
.leaderboard-content th:nth-child(2), .leaderboard-content td:nth-child(2) { text-align: left; overflow-wrap: anywhere; }
.leaderboard-content .self-ranking { background: #ffdfae; }
body[data-screen=ranked-queue] .app { min-height: 100svh; }
.match-introduction { min-height: calc(100svh - 80px); }
.rematch-status.opponent-left { color: #dc2626; }
@media(max-width:760px) {
#home .home-actions > button:not(.primary) { min-height: 54px; font-size: 23px; }
#home .home-actions .split button { min-height: 54px; font-size: 20px; padding-inline: 12px; }
.lobby-tools { margin-top: 12px; }
.lobby-tools button { font-size: 16px; }
}
@media(max-width:520px) {
#home .home-actions .split button { font-size: 18px; gap: 6px; padding-inline: 10px; }
#home .home-actions .split svg { flex-basis: 18px; width: 18px; height: 18px; }
.skin-options button { font-size: 14px; }
.hair-options { gap: 6px; }
.hair-options button { font-size: 13px; }
.appearance-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.appearance-preview { width: 140px; margin: auto; }
.appearance-preview .fighter-art { max-height: 160px; }
.color-options { gap: 6px; }
body.player-app .color-options button { padding: 6px 3px 8px; gap: 6px; }
.color-swatch { height: 34px; }
.color-lock { width: 21px; height: 21px; top: 2px; right: 2px; }
.color-name { font-size: 12px; }
body.player-app .color-requirement { font-size: 11px; }
.leaderboard-content th, .leaderboard-content td { font-size: 12px; padding: 10px 4px; }
}