feat: refine desktop layouts and data pages
This commit is contained in:
@@ -168,25 +168,25 @@
|
||||
.order-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 50px; padding: 8px 12px; border: 1px solid #2d3440; border-radius: 10px; background: #12161c; }
|
||||
.slot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #171019; background: #e98ab2; font-weight: 900; }
|
||||
.order-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.reduction { padding: 6px 8px; border-radius: 7px; color: #b9c1cd; background: #252c36; font-size: 11px; }
|
||||
.reduction { padding: 6px 8px; border-radius: 7px; color: #b9c1cd; background: #252c36; font-size: 13px; }
|
||||
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
|
||||
.score-summary { display: grid; gap: 7px; padding: 16px; border-radius: 10px; background: #22202a; }
|
||||
.score-summary span { color: #a9b1be; font-size: 12px; }
|
||||
.score-summary span { color: #a9b1be; font-size: 14px; }
|
||||
.score-summary strong { color: #f2a3c4; font-size: 20px; }
|
||||
.score-summary small { color: #90d8ae; font-size: 10px; font-weight: 800; }
|
||||
.score-summary small { color: #90d8ae; font-size: 12px; font-weight: 800; }
|
||||
.skill-timeline { margin-top: 22px; padding-top: 20px; border-top: 1px solid #2b313c; }
|
||||
.timeline-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
|
||||
.timeline-heading h3 { margin: 0; color: #e8ebf1; font-size: 16px; }
|
||||
.timeline-heading p { margin: 6px 0 0; color: #838d9d; font-size: 11px; }
|
||||
.timeline-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #99a2b1; font-size: 10px; }
|
||||
.timeline-heading p { margin: 6px 0 0; color: #838d9d; font-size: 13px; }
|
||||
.timeline-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #99a2b1; font-size: 12px; }
|
||||
.timeline-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
|
||||
.timeline-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
|
||||
.timeline-scroll { overflow-x: auto; border: 1px solid #2c3440; border-radius: 11px; background: #10141a; scrollbar-width: thin; }
|
||||
.timeline-canvas { min-width: 100%; padding: 12px 12px 8px 0; }
|
||||
.timeline-row { display: flex; min-height: 36px; }
|
||||
.timeline-row + .timeline-row { border-top: 1px solid rgb(255 255 255 / 5%); }
|
||||
.lane-label { position: sticky; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; flex: 0 0 144px; min-width: 144px; padding: 0 10px 0 12px; overflow: hidden; color: #bac2ce; background: #141920; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.lane-label small { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid color-mix(in srgb, var(--member-color) 65%, transparent); border-radius: 5px; color: var(--member-color); background: color-mix(in srgb, var(--member-color) 12%, transparent); font-size: 9px; }
|
||||
.lane-label { position: sticky; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; flex: 0 0 144px; min-width: 144px; padding: 0 10px 0 12px; overflow: hidden; color: #bac2ce; background: #141920; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.lane-label small { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid color-mix(in srgb, var(--member-color) 65%, transparent); border-radius: 5px; color: var(--member-color); background: color-mix(in srgb, var(--member-color) 12%, transparent); font-size: 11px; }
|
||||
.timeline-track { position: relative; flex: none; }
|
||||
.timeline-track::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 9%) 1px, transparent 1px); background-size: var(--time-grid-step, 10%) 100%; pointer-events: none; }
|
||||
.note-row { min-height: 68px; }
|
||||
@@ -202,7 +202,7 @@
|
||||
.axis-row { min-height: 24px; border-top: 1px solid #343c49 !important; }
|
||||
.time-axis { height: 24px; }
|
||||
.time-axis::before { display: none; }
|
||||
.time-axis span { position: absolute; top: 5px; color: #747f90; font-size: 9px; transform: translateX(-50%); white-space: nowrap; }
|
||||
.time-axis span { position: absolute; top: 5px; color: #747f90; font-size: 11px; transform: translateX(-50%); white-space: nowrap; }
|
||||
.time-axis span:first-child { transform: none; }
|
||||
.time-axis span:last-child { transform: translateX(-100%); }
|
||||
@media (max-width: 700px) {
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
<slot />
|
||||
|
||||
<style>
|
||||
:global(:root) {
|
||||
--page-max-width: 1520px;
|
||||
--page-gutter: clamp(40px, 5vw, 96px);
|
||||
}
|
||||
|
||||
:global(*) { box-sizing: border-box; }
|
||||
:global(body) { margin: 0; background: #101319; color: #e8ebf1; font-family: Pretendard, "Noto Sans KR", sans-serif; }
|
||||
|
||||
@@ -33,8 +38,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: min(1120px, calc(100% - 40px));
|
||||
min-height: 58px;
|
||||
width: min(var(--page-max-width), calc(100% - var(--page-gutter)));
|
||||
min-height: 62px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -62,8 +67,9 @@
|
||||
a:focus-visible { outline: 3px solid rgb(239 139 182 / 28%); outline-offset: 2px; }
|
||||
|
||||
@media (max-width: 560px) {
|
||||
:global(:root) { --page-gutter: 24px; }
|
||||
.nav-inner { width: calc(100% - 24px); min-height: 54px; }
|
||||
.brand { font-size: 15px; }
|
||||
nav a { padding: 7px 9px; font-size: 12px; }
|
||||
nav a { padding: 7px 9px; font-size: 14px; }
|
||||
}
|
||||
</style>
|
||||
|
||||
+19
-12
@@ -623,7 +623,7 @@
|
||||
}
|
||||
|
||||
main {
|
||||
width: min(1120px, calc(100% - 40px));
|
||||
width: min(var(--page-max-width), calc(100% - var(--page-gutter)));
|
||||
margin: 0 auto;
|
||||
padding: 36px 0 80px;
|
||||
}
|
||||
@@ -717,7 +717,7 @@
|
||||
color: #566074;
|
||||
background: #fff;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
|
||||
@@ -764,7 +764,7 @@
|
||||
margin-bottom: 10px;
|
||||
padding: 0;
|
||||
color: #737d90;
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
@@ -821,7 +821,7 @@
|
||||
border-radius: 6px;
|
||||
color: transparent;
|
||||
background: #fff;
|
||||
font-size: 11px;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
@@ -848,7 +848,7 @@
|
||||
.list-header,
|
||||
.card-summary {
|
||||
display: grid;
|
||||
grid-template-columns: 72px 84px 150px minmax(0, 1fr) 116px 36px;
|
||||
grid-template-columns: clamp(72px, 5vw, 88px) clamp(84px, 6vw, 104px) clamp(150px, 11vw, 184px) minmax(280px, 1fr) clamp(116px, 9vw, 144px) 40px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -978,7 +978,7 @@
|
||||
color: #7a8394;
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
font-size: 13px;
|
||||
font-weight: 750;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
@@ -1023,7 +1023,7 @@
|
||||
place-items: center;
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
@@ -1039,7 +1039,7 @@
|
||||
border-radius: 999px;
|
||||
color: #3165c9;
|
||||
background: #edf3ff;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
@@ -1097,7 +1097,7 @@
|
||||
|
||||
.skill-spec dt {
|
||||
color: #7b8495;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@@ -1133,7 +1133,7 @@
|
||||
.effect-label {
|
||||
margin: 0 0 4px;
|
||||
color: #8a93a4;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@@ -1311,7 +1311,7 @@
|
||||
border-radius: 999px;
|
||||
color: #287f91;
|
||||
background: #e8f8fb;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@@ -1589,6 +1589,13 @@
|
||||
color: #778193;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.list-header,
|
||||
.card-summary {
|
||||
grid-template-columns: 72px 84px 150px minmax(0, 1fr) 116px 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
main {
|
||||
width: min(100% - 24px, 1120px);
|
||||
@@ -1661,7 +1668,7 @@
|
||||
display: block;
|
||||
margin-bottom: 7px;
|
||||
color: #9299a8;
|
||||
font-size: 11px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
<header class="page-header">
|
||||
<div>
|
||||
<h1>배치 분석</h1>
|
||||
<p class="page-description">특정 악곡과 카드 조합에서 최고 점수를 낼 수 있는 멤버 배치 순서와 빈도 감소 조합을 찾습니다.</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -617,46 +618,47 @@
|
||||
</main>
|
||||
|
||||
<style>
|
||||
main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 80px; }
|
||||
main { width: min(var(--page-max-width), calc(100% - var(--page-gutter))); margin: 0 auto; padding: 46px 0 80px; }
|
||||
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
|
||||
h1 { margin: 0; color: #f3f5f8; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.045em; }
|
||||
.page-description { margin: 10px 0 0; color: #929cab; font-size: 14px; line-height: 1.6; }
|
||||
.panel { margin-top: 16px; padding: 24px; border: 1px solid #2a303a; border-radius: 16px; background: #171b22; }
|
||||
.section-title, .section-title > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
|
||||
.section-title > div { justify-content: flex-start; }
|
||||
.section-title span { color: #ef8cb6; font-size: 11px; font-weight: 900; }
|
||||
.section-title span { color: #ef8cb6; font-size: 13px; font-weight: 900; }
|
||||
h2 { margin: 0; font-size: 18px; }
|
||||
.section-title > strong { color: #aeb6c4; font-size: 12px; }
|
||||
label { display: grid; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.section-title > strong { color: #aeb6c4; font-size: 14px; }
|
||||
label { display: grid; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
select { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #343c49; border-radius: 9px; color: #e8ebf1; background: #11151b; font: inherit; }
|
||||
select:focus { border-color: #d86f9c; outline: 3px solid rgb(216 111 156 / 14%); }
|
||||
.song-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(110px, .55fr) minmax(140px, .7fr); align-items: end; gap: 12px; margin-top: 22px; }
|
||||
.song-fields { display: grid; grid-template-columns: minmax(0, 2fr) clamp(110px, 11vw, 170px) clamp(140px, 14vw, 220px); align-items: end; gap: 12px; margin-top: 22px; }
|
||||
.power-summary { display: grid; gap: 4px; min-height: 42px; padding: 7px 11px; border-radius: 9px; background: #22202a; }
|
||||
.power-summary span { color: #929cab; font-size: 10px; font-weight: 750; }
|
||||
.power-summary span { color: #929cab; font-size: 12px; font-weight: 750; }
|
||||
.power-summary strong { color: #f2a3c4; font-size: 16px; }
|
||||
.chart-meta { display: flex; gap: 8px; height: 42px; align-items: center; }
|
||||
.chart-meta span { padding: 7px 9px; border-radius: 7px; color: #adb5c2; background: #202631; font-size: 11px; white-space: nowrap; }
|
||||
.chart-meta span { padding: 7px 9px; border-radius: 7px; color: #adb5c2; background: #202631; font-size: 13px; white-space: nowrap; }
|
||||
.card-fields { display: grid; gap: 9px; margin-top: 18px; }
|
||||
.card-field { display: grid; grid-template-columns: minmax(0, 1fr) 130px 304px; gap: 9px; }
|
||||
.card-field { display: grid; grid-template-columns: minmax(320px, 1fr) clamp(130px, 12vw, 180px) clamp(304px, 27vw, 400px); gap: 9px; }
|
||||
.card-field > label { grid-template-columns: 74px minmax(0, 1fr); align-items: center; }
|
||||
.card-field > .awakening { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.card-field > .awakening { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
.awakening-stepper { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; align-items: center; height: 42px; overflow: hidden; border: 1px solid #343c49; border-radius: 9px; background: #11151b; }
|
||||
.awakening-stepper button { align-self: stretch; padding: 0; border: 0; color: #c1c8d3; background: #202630; font-size: 24px; line-height: 1; cursor: pointer; }
|
||||
.awakening-stepper button:hover:not(:disabled) { color: #f5afcc; background: #2d2530; }
|
||||
.awakening-stepper button:focus-visible { position: relative; z-index: 1; outline: 2px solid #df74a2; outline-offset: -2px; }
|
||||
.awakening-stepper button:disabled { color: #525b69; background: #171c24; cursor: default; }
|
||||
.awakening-stepper strong { color: #e8ebf1; font-size: 12px; text-align: center; white-space: nowrap; }
|
||||
.cooldown-lock { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.awakening-stepper strong { color: #e8ebf1; font-size: 14px; text-align: center; white-space: nowrap; }
|
||||
.cooldown-lock { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
.reduction-options { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); height: 42px; overflow: hidden; border: 1px solid #343c49; border-radius: 9px; background: #11151b; }
|
||||
.reduction-options button { min-width: 0; padding: 0 6px; border: 0; border-left: 1px solid #2d3440; color: #8f98a8; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
|
||||
.reduction-options button { min-width: 0; padding: 0 6px; border: 0; border-left: 1px solid #2d3440; color: #8f98a8; background: transparent; font-size: 13px; font-weight: 750; cursor: pointer; }
|
||||
.reduction-options button:first-child { border-left: 0; }
|
||||
.reduction-options button:hover { color: #e9edf3; background: #202630; }
|
||||
.reduction-options button.active { color: #171019; background: #ed8bb5; }
|
||||
.reduction-options button:focus-visible { position: relative; z-index: 1; outline: 2px solid #f1a0c2; outline-offset: -2px; }
|
||||
.leader-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
|
||||
.outfit-effect { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; margin-top: 9px; padding: 11px 13px; border: 1px solid #2d3440; border-radius: 9px; background: #12161c; }
|
||||
.outfit-effect span { color: #d993b1; font-size: 11px; font-weight: 850; }
|
||||
.outfit-effect p { margin: 0; color: #b9c1cd; font-size: 12px; line-height: 1.55; }
|
||||
.power-detail { margin: 10px 0 0; color: #858f9f; font-size: 11px; text-align: right; }
|
||||
.outfit-effect span { color: #d993b1; font-size: 13px; font-weight: 850; }
|
||||
.outfit-effect p { margin: 0; color: #b9c1cd; font-size: 14px; line-height: 1.55; }
|
||||
.power-detail { margin: 10px 0 0; color: #858f9f; font-size: 13px; text-align: right; }
|
||||
.analyze { width: 100%; height: 46px; margin-top: 20px; border: 0; border-radius: 10px; color: #171019; background: #ed8bb5; font-weight: 900; cursor: pointer; }
|
||||
.analyze:hover:not(:disabled) { background: #f2a0c2; }
|
||||
.analyze:disabled { opacity: .55; cursor: default; }
|
||||
@@ -666,25 +668,25 @@
|
||||
.order-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 50px; padding: 8px 12px; border: 1px solid #2d3440; border-radius: 10px; background: #12161c; }
|
||||
.slot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #171019; background: #e98ab2; font-weight: 900; }
|
||||
.order-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.reduction { padding: 6px 8px; border-radius: 7px; color: #b9c1cd; background: #252c36; font-size: 11px; }
|
||||
.reduction { padding: 6px 8px; border-radius: 7px; color: #b9c1cd; background: #252c36; font-size: 13px; }
|
||||
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
|
||||
.score-summary { display: grid; gap: 7px; padding: 16px; border-radius: 10px; background: #22202a; }
|
||||
.score-summary span { color: #a9b1be; font-size: 12px; }
|
||||
.score-summary span { color: #a9b1be; font-size: 14px; }
|
||||
.score-summary strong { color: #f2a3c4; font-size: 20px; }
|
||||
.empty { color: #858f9f; font-size: 12px; line-height: 1.65; }
|
||||
.empty { color: #858f9f; font-size: 14px; line-height: 1.65; }
|
||||
.skill-timeline { margin-top: 22px; padding-top: 20px; border-top: 1px solid #2b313c; }
|
||||
.timeline-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
|
||||
.timeline-heading h3 { margin: 0; color: #e8ebf1; font-size: 16px; }
|
||||
.timeline-heading p { margin: 6px 0 0; color: #838d9d; font-size: 11px; }
|
||||
.timeline-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #99a2b1; font-size: 10px; }
|
||||
.timeline-heading p { margin: 6px 0 0; color: #838d9d; font-size: 13px; }
|
||||
.timeline-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: #99a2b1; font-size: 12px; }
|
||||
.timeline-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
|
||||
.timeline-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
|
||||
.timeline-scroll { overflow-x: auto; border: 1px solid #2c3440; border-radius: 11px; background: #10141a; scrollbar-width: thin; }
|
||||
.timeline-canvas { min-width: 100%; padding: 12px 12px 8px 0; }
|
||||
.timeline-row { display: flex; min-height: 36px; }
|
||||
.timeline-row + .timeline-row { border-top: 1px solid rgb(255 255 255 / 5%); }
|
||||
.lane-label { position: sticky; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; flex: 0 0 144px; min-width: 144px; padding: 0 10px 0 12px; overflow: hidden; color: #bac2ce; background: #141920; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.lane-label small { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid color-mix(in srgb, var(--member-color) 65%, transparent); border-radius: 5px; color: var(--member-color); background: color-mix(in srgb, var(--member-color) 12%, transparent); font-size: 9px; }
|
||||
.lane-label { position: sticky; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; flex: 0 0 144px; min-width: 144px; padding: 0 10px 0 12px; overflow: hidden; color: #bac2ce; background: #141920; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.lane-label small { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid color-mix(in srgb, var(--member-color) 65%, transparent); border-radius: 5px; color: var(--member-color); background: color-mix(in srgb, var(--member-color) 12%, transparent); font-size: 11px; }
|
||||
.timeline-track { position: relative; flex: none; }
|
||||
.timeline-track::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 9%) 1px, transparent 1px); background-size: var(--time-grid-step, 10%) 100%; pointer-events: none; }
|
||||
.note-row { min-height: 68px; }
|
||||
@@ -698,13 +700,17 @@
|
||||
.effective-window { top: 9px; height: 18px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%); }
|
||||
.special-window { top: 11px; height: 14px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); }
|
||||
.axis-row { min-height: 24px; border-top: 1px solid #343c49 !important; }
|
||||
.axis-label { color: #778293; font-size: 10px; font-weight: 750; }
|
||||
.axis-label { color: #778293; font-size: 12px; font-weight: 750; }
|
||||
.time-axis { height: 24px; }
|
||||
.time-axis::before { display: none; }
|
||||
.time-axis span { position: absolute; top: 5px; color: #747f90; font-size: 9px; transform: translateX(-50%); white-space: nowrap; }
|
||||
.time-axis span { position: absolute; top: 5px; color: #747f90; font-size: 11px; transform: translateX(-50%); white-space: nowrap; }
|
||||
.time-axis span:first-child { transform: none; }
|
||||
.time-axis span:last-child { transform: translateX(-100%); }
|
||||
.empty { display: grid; place-items: center; min-height: 150px; margin-top: 18px; border: 1px dashed #303744; border-radius: 12px; padding: 28px; text-align: center; }
|
||||
@media (max-width: 1100px) {
|
||||
.card-field { grid-template-columns: minmax(0, 1fr) 130px 304px; }
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
main { width: calc(100% - 24px); padding-top: 28px; }
|
||||
.page-header { align-items: flex-start; }
|
||||
|
||||
@@ -639,7 +639,11 @@
|
||||
<svelte:head><title>조합 탐색 · 홀로도리</title></svelte:head>
|
||||
|
||||
<main>
|
||||
<header><h1>조합 탐색</h1></header>
|
||||
<header>
|
||||
<h1>조합 탐색</h1>
|
||||
<p class="page-description">악곡과 고정 멤버 조건을 바탕으로 빈자리에 들어갈 카드를 탐색해 최고 점수 조합을 찾습니다.</p>
|
||||
<p class="baseline-guide"><strong>기준 조합</strong>은 배치 분석 결과가 저장되어 있고, 저장된 악곡과 난이도가 현재 탐색 조건과 같을 때 표시됩니다.</p>
|
||||
</header>
|
||||
{#if baselineState && baselineMatchesConditions}
|
||||
<section class="panel baseline-panel" aria-labelledby="baseline-title">
|
||||
<div class="section-title">
|
||||
@@ -782,43 +786,46 @@
|
||||
</main>
|
||||
|
||||
<style>
|
||||
main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 80px; }
|
||||
main { width: min(var(--page-max-width), calc(100% - var(--page-gutter))); margin: 0 auto; padding: 46px 0 80px; }
|
||||
header { margin-bottom: 28px; }
|
||||
h1 { margin: 0; color: #f3f5f8; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.045em; }
|
||||
.page-description { margin: 10px 0 0; color: #929cab; font-size: 14px; line-height: 1.6; }
|
||||
.baseline-guide { width: fit-content; margin: 10px 0 0; padding: 8px 11px; border-radius: 8px; color: #8d96a5; background: #1b2029; font-size: 13px; line-height: 1.55; }
|
||||
.baseline-guide strong { color: #dba0b9; }
|
||||
.panel { margin-top: 16px; padding: 24px; border: 1px solid #2a303a; border-radius: 16px; background: #171b22; }
|
||||
.section-title, .section-title > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
|
||||
.section-title > div { justify-content: flex-start; }
|
||||
.section-title span { color: #ef8cb6; font-size: 11px; font-weight: 900; }
|
||||
.section-title span { color: #ef8cb6; font-size: 13px; font-weight: 900; }
|
||||
.section-title h2 { margin: 0; font-size: 18px; }
|
||||
.section-title > strong { color: #aeb6c4; font-size: 12px; }
|
||||
.section-title > strong { color: #aeb6c4; font-size: 14px; }
|
||||
.baseline-panel { border-color: #4a3a4b; background: #1c1920; }
|
||||
.baseline-condition { margin: 12px 0 0; color: #b8a8b4; font-size: 12px; }
|
||||
.baseline-condition { margin: 12px 0 0; color: #b8a8b4; font-size: 14px; }
|
||||
.baseline-members { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
|
||||
.baseline-members div { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 7px; min-height: 42px; padding: 7px 9px; border: 1px solid #37303a; border-radius: 9px; background: #141218; }
|
||||
.baseline-members span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #181118; background: #d987ac; font-size: 10px; font-weight: 900; }
|
||||
.baseline-members strong { overflow: hidden; color: #e8e1e7; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; }
|
||||
.baseline-status { margin: 15px 0 0; color: #9ba4b1; font-size: 12px; }
|
||||
label { display: grid; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.baseline-members span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #181118; background: #d987ac; font-size: 12px; font-weight: 900; }
|
||||
.baseline-members strong { overflow: hidden; color: #e8e1e7; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; }
|
||||
.baseline-status { margin: 15px 0 0; color: #9ba4b1; font-size: 14px; }
|
||||
label { display: grid; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
select, .number-input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #343c49; border-radius: 9px; color: #e8ebf1; background: #11151b; font: inherit; }
|
||||
select:focus, .number-input:focus, .generation-input:focus { border-color: #d86f9c; outline: 3px solid rgb(216 111 156 / 14%); }
|
||||
.song-fields { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 10px; margin-top: 22px; }
|
||||
.candidate-fields { display: grid; grid-template-columns: 130px minmax(220px, 320px); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #292f39; }
|
||||
.candidate-awakening { display: grid; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.candidate-guide { margin: 7px 0 0; color: #737d8d; font-size: 10px; line-height: 1.5; }
|
||||
.song-fields { display: grid; grid-template-columns: minmax(0, 1fr) clamp(130px, 11vw, 180px); gap: 10px; margin-top: 22px; }
|
||||
.candidate-fields { display: grid; grid-template-columns: clamp(130px, 11vw, 180px) clamp(260px, 24vw, 380px); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #292f39; }
|
||||
.candidate-awakening { display: grid; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
.candidate-guide { margin: 7px 0 0; color: #737d8d; font-size: 12px; line-height: 1.5; }
|
||||
.fixed-fields { display: grid; gap: 9px; margin-top: 16px; }
|
||||
.fixed-guide { margin: 8px 0 0; color: #737d8d; font-size: 10px; line-height: 1.5; }
|
||||
.fixed-column-headings { display: grid; grid-template-columns: minmax(0, 1fr) 120px 304px 180px; gap: 9px; margin-bottom: -3px; }
|
||||
.fixed-column-headings > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; color: #8f98a8; font-size: 10px; font-weight: 800; text-align: center; }
|
||||
.fixed-guide { margin: 8px 0 0; color: #737d8d; font-size: 12px; line-height: 1.5; }
|
||||
.fixed-column-headings { display: grid; grid-template-columns: minmax(320px, 1fr) clamp(120px, 11vw, 170px) clamp(304px, 26vw, 390px) clamp(180px, 16vw, 240px); gap: 9px; margin-bottom: -3px; }
|
||||
.fixed-column-headings > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; color: #8f98a8; font-size: 12px; font-weight: 800; text-align: center; }
|
||||
.generation-heading { line-height: 1.25; white-space: nowrap; }
|
||||
.fixed-field { display: grid; grid-template-columns: minmax(0, 1fr) 120px 304px 180px; gap: 9px; }
|
||||
.fixed-awakening, .fixed-reduction { display: grid; align-self: end; align-items: center; height: 42px; gap: 7px; color: #8f98a8; font-size: 12px; font-weight: 750; }
|
||||
.fixed-field { display: grid; grid-template-columns: minmax(320px, 1fr) clamp(120px, 11vw, 170px) clamp(304px, 26vw, 390px) clamp(180px, 16vw, 240px); gap: 9px; }
|
||||
.fixed-awakening, .fixed-reduction { display: grid; align-self: end; align-items: center; height: 42px; gap: 7px; color: #8f98a8; font-size: 14px; font-weight: 750; }
|
||||
.fixed-awakening { grid-template-columns: 32px minmax(0, 1fr); }
|
||||
.fixed-reduction { grid-template-columns: 88px minmax(0, 1fr); }
|
||||
.awakening-stepper { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; height: 42px; overflow: hidden; border: 1px solid #343c49; border-radius: 9px; background: #11151b; }
|
||||
.awakening-stepper button { align-self: stretch; padding: 0; border: 0; color: #c1c8d3; background: #202630; font-size: 22px; cursor: pointer; }
|
||||
.awakening-stepper strong { color: #e8ebf1; font-size: 12px; text-align: center; }
|
||||
.awakening-stepper strong { color: #e8ebf1; font-size: 14px; text-align: center; }
|
||||
.reduction-options { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); height: 42px; overflow: hidden; border: 1px solid #343c49; border-radius: 9px; background: #11151b; }
|
||||
.reduction-options button { min-width: 0; padding: 0 5px; border: 0; border-left: 1px solid #2d3440; color: #8f98a8; background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }
|
||||
.reduction-options button { min-width: 0; padding: 0 5px; border: 0; border-left: 1px solid #2d3440; color: #8f98a8; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
|
||||
.reduction-options button:first-child { border-left: 0; }
|
||||
.reduction-options button.active { color: #171019; background: #ed8bb5; }
|
||||
.fixed-overrides { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; align-self: end; height: 42px; }
|
||||
@@ -829,15 +836,15 @@
|
||||
.override-checkbox input:checked + span::after { content: '✓'; color: #171019; font-size: 14px; font-weight: 950; }
|
||||
.override-checkbox input:focus-visible + span { outline: 3px solid rgb(216 111 156 / 20%); }
|
||||
.override-checkbox input:disabled + span { opacity: .35; cursor: default; }
|
||||
.generation-input { align-self: center; width: 100%; min-width: 0; height: 32px; padding: 0 7px; border: 1px solid #414957; border-radius: 7px; color: #e8ebf1; background: #11151b; font-size: 10px; font-weight: 800; text-align: center; }
|
||||
.generation-input { align-self: center; width: 100%; min-width: 0; height: 32px; padding: 0 7px; border: 1px solid #414957; border-radius: 7px; color: #e8ebf1; background: #11151b; font-size: 12px; font-weight: 800; text-align: center; }
|
||||
.generation-input::placeholder { color: #68717f; opacity: 1; }
|
||||
.generation-input:disabled { opacity: .35; }
|
||||
.awakening-stepper button:disabled, .reduction-options button:disabled { opacity: .35; cursor: default; }
|
||||
.leader-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #303641; }
|
||||
.outfit-effect { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; margin-top: 9px; padding: 11px 13px; border: 1px solid #2d3440; border-radius: 9px; background: #12161c; }
|
||||
.outfit-effect span { color: #d993b1; font-size: 11px; font-weight: 850; }
|
||||
.outfit-effect p { margin: 0; color: #b9c1cd; font-size: 12px; line-height: 1.55; }
|
||||
.hint { margin: 13px 0 0; color: #858f9f; font-size: 11px; line-height: 1.6; }
|
||||
.outfit-effect span { color: #d993b1; font-size: 13px; font-weight: 850; }
|
||||
.outfit-effect p { margin: 0; color: #b9c1cd; font-size: 14px; line-height: 1.55; }
|
||||
.hint { margin: 13px 0 0; color: #858f9f; font-size: 13px; line-height: 1.6; }
|
||||
.error { margin: 14px 0 0; color: #ff9f9f; font-size: 13px; }
|
||||
.search { width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 10px; color: #171019; background: #ed8bb5; font-weight: 900; cursor: pointer; }
|
||||
.search:disabled { opacity: .55; cursor: default; }
|
||||
@@ -848,32 +855,37 @@
|
||||
.compute-option input:checked + span::after { content: '✓'; color: #171019; font-size: 13px; font-weight: 950; }
|
||||
.compute-option input:focus-visible + span { outline: 3px solid rgb(216 111 156 / 20%); }
|
||||
.compute-option input:disabled + span, .compute-option input:disabled ~ strong { opacity: .5; cursor: default; }
|
||||
.compute-option strong { color: #c9d0da; font-size: 12px; }
|
||||
.compute-warning { margin: 6px 0 0 29px; color: #a98686; font-size: 11px; line-height: 1.5; }
|
||||
.compute-option strong { color: #c9d0da; font-size: 14px; }
|
||||
.compute-warning { margin: 6px 0 0 29px; color: #a98686; font-size: 13px; line-height: 1.5; }
|
||||
progress { display: block; width: 100%; height: 4px; margin-top: 8px; accent-color: #ed8bb5; }
|
||||
.ranking-list { display: grid; gap: 10px; margin-top: 18px; }
|
||||
.ranking-card { overflow: hidden; border: 1px solid #303744; border-radius: 12px; background: #12161c; }
|
||||
.ranking-card[open] { border-color: #55404f; background: #15151b; }
|
||||
.ranking-card summary { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 170px; align-items: center; gap: 14px; min-height: 76px; padding: 12px 42px 12px 16px; cursor: pointer; list-style: none; }
|
||||
.ranking-card summary { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) clamp(170px, 15vw, 230px); align-items: center; gap: 18px; min-height: 80px; padding: 12px 46px 12px 18px; cursor: pointer; list-style: none; }
|
||||
.ranking-card summary::-webkit-details-marker { display: none; }
|
||||
.ranking-card summary::after { content: '⌄'; position: absolute; top: 50%; right: 15px; color: #858f9f; font-size: 16px; transform: translateY(-50%); transition: transform .15s; }
|
||||
.ranking-card[open] summary::after { transform: translateY(-50%) rotate(180deg); }
|
||||
.rank-number { display: grid; place-items: center; width: 48px; height: 34px; border-radius: 8px; color: #171019; background: #ed8bb5; font-size: 12px; font-weight: 900; }
|
||||
.rank-number { display: grid; place-items: center; width: 48px; height: 34px; border-radius: 8px; color: #171019; background: #ed8bb5; font-size: 14px; font-weight: 900; }
|
||||
.rank-members { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; color: #dce1e8; font-size: 13px; font-weight: 800; line-height: 1.55; }
|
||||
.rank-members > span { white-space: nowrap; }
|
||||
.rank-members > i { flex: 0 0 auto; color: #596270; font-style: normal; }
|
||||
.rank-members .added-member { color: #f3a5c6; }
|
||||
.rank-metric { display: grid; gap: 4px; }
|
||||
.rank-metric small { color: #9ca5b3; font-size: 11px; font-style: normal; font-weight: 750; }
|
||||
.rank-metric small { color: #9ca5b3; font-size: 13px; font-style: normal; font-weight: 750; }
|
||||
.rank-metric strong { color: #f0a0c2; font-size: 18px; line-height: 1.2; }
|
||||
.rank-metric i { color: #90d8ae; font-size: 10px; font-style: normal; font-weight: 800; }
|
||||
.rank-metric i { color: #90d8ae; font-size: 12px; font-style: normal; font-weight: 800; }
|
||||
.ranking-detail { padding: 0 16px 18px; border-top: 1px solid #2b313c; }
|
||||
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
|
||||
.scores div { display: grid; gap: 7px; padding: 15px; border-radius: 10px; background: #22202a; }
|
||||
.scores span { color: #a9b1be; font-size: 12px; }
|
||||
.scores span { color: #a9b1be; font-size: 14px; }
|
||||
.scores strong { color: #f2a3c4; font-size: 19px; }
|
||||
.baseline-scores { margin-top: 10px; }
|
||||
.empty { display: grid; place-items: center; min-height: 150px; margin-top: 18px; padding: 28px; border: 1px dashed #303744; border-radius: 12px; color: #858f9f; font-size: 12px; text-align: center; }
|
||||
.empty { display: grid; place-items: center; min-height: 150px; margin-top: 18px; padding: 28px; border: 1px dashed #303744; border-radius: 12px; color: #858f9f; font-size: 14px; text-align: center; }
|
||||
@media (max-width: 1100px) {
|
||||
.fixed-column-headings,
|
||||
.fixed-field { grid-template-columns: minmax(0, 1fr) 120px 304px 180px; }
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
main { width: calc(100% - 24px); padding-top: 28px; }
|
||||
.panel { padding: 17px; }
|
||||
|
||||
+185
-121
@@ -58,7 +58,6 @@
|
||||
}
|
||||
|
||||
let userData = createUserData(defaultPreferences());
|
||||
let ready = false;
|
||||
let message = '';
|
||||
let isError = false;
|
||||
let search = '';
|
||||
@@ -72,10 +71,11 @@
|
||||
let automaticPlacementSnapshot: BoardCardPlacements | null = null;
|
||||
|
||||
$: collectionCount = Object.values(userData.collection).filter((state) => state.owned).length;
|
||||
$: deckCount = userData.savedDecks.length;
|
||||
$: boardCount = Object.values(userData.memberBoards).filter((nodes) => nodes.length > 0).length;
|
||||
$: memoryPermil = memoryParameterPermil(userData.memoryCount, memorySummary.effects);
|
||||
$: filteredCards = managedCards.filter((card) => `${card.name} ${card.versionName}`.toLowerCase().includes(search.trim().toLowerCase()));
|
||||
$: filteredFiveStarCards = filteredCards.filter((card) => card.rarity === 5);
|
||||
$: filteredFourStarCards = filteredCards.filter((card) => card.rarity === 4);
|
||||
$: selectedBoardMember = boardMembers.find((member) => member.id === selectedMemberId) ?? null;
|
||||
$: selectedActiveBoardNodes = userData.memberBoards[selectedMemberId] ?? [];
|
||||
$: selectedActiveBoardNodeCount = new Set([centerNodeId(), ...selectedActiveBoardNodes].filter(Boolean)).size;
|
||||
@@ -91,18 +91,11 @@
|
||||
return !query || `${card.name} ${card.versionName}`.toLowerCase().includes(query);
|
||||
});
|
||||
$: dataView = $page.url.pathname.endsWith('/cards') ? 'cards' : $page.url.pathname.endsWith('/boards') ? 'boards' : 'home';
|
||||
$: updatedAt = ready
|
||||
? new Intl.DateTimeFormat('ko-KR', { dateStyle: 'medium', timeStyle: 'short' }).format(new Date(userData.updatedAt))
|
||||
: '확인 중';
|
||||
|
||||
onMount(() => {
|
||||
try {
|
||||
userData = loadBrowserData(defaultPreferences());
|
||||
} catch {
|
||||
showMessage('저장된 데이터를 읽을 수 없습니다. 백업 파일이 있다면 가져와 주세요.', true);
|
||||
} finally {
|
||||
ready = true;
|
||||
centerBoardViewport();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -111,11 +104,40 @@
|
||||
isError = error;
|
||||
}
|
||||
|
||||
async function centerBoardViewport() {
|
||||
function initializeBoardViewport(node: HTMLDivElement) {
|
||||
boardViewport = node;
|
||||
requestAnimationFrame(() => {
|
||||
if (boardViewport === node) void fitBoardViewport();
|
||||
});
|
||||
}
|
||||
|
||||
async function fitBoardViewport() {
|
||||
await tick();
|
||||
if (!boardViewport) return;
|
||||
boardViewport.scrollLeft = (boardViewport.scrollWidth - boardViewport.clientWidth) / 2;
|
||||
boardViewport.scrollTop = (boardViewport.scrollHeight - boardViewport.clientHeight) / 2;
|
||||
const member = boardMembers.find((item) => item.id === selectedMemberId);
|
||||
if (!boardViewport || !member) return;
|
||||
const focusPositions = boardModels[member.positionGroupId]
|
||||
.filter((position) => ['blue', 'green', 'yellow'].includes(boardColor(position.groupId)))
|
||||
.map(boardPixelPosition);
|
||||
if (focusPositions.length === 0) return;
|
||||
|
||||
const nodeMargin = 48;
|
||||
const minX = Math.min(...focusPositions.map((position) => position.x)) - nodeMargin;
|
||||
const maxX = Math.max(...focusPositions.map((position) => position.x)) + nodeMargin;
|
||||
const minY = Math.min(...focusPositions.map((position) => position.y)) - nodeMargin;
|
||||
const maxY = Math.max(...focusPositions.map((position) => position.y)) + nodeMargin;
|
||||
const viewportRect = boardViewport.getBoundingClientRect();
|
||||
const borderAllowance = 2;
|
||||
const scrollbarAllowance = 16;
|
||||
const contentPadding = 32;
|
||||
const availableWidth = Math.max(1, viewportRect.width - borderAllowance - scrollbarAllowance - contentPadding);
|
||||
const availableHeight = Math.max(1, viewportRect.height - borderAllowance - scrollbarAllowance - contentPadding);
|
||||
boardZoom = Math.max(0.4, Math.min(1, availableWidth / (maxX - minX), availableHeight / (maxY - minY)));
|
||||
|
||||
await tick();
|
||||
const focusCenterX = ((minX + maxX) / 2) * boardZoom;
|
||||
const focusCenterY = ((minY + maxY) / 2) * boardZoom;
|
||||
boardViewport.scrollLeft = 1748 * boardZoom <= boardViewport.clientWidth ? 0 : focusCenterX - boardViewport.clientWidth / 2;
|
||||
boardViewport.scrollTop = 1976 * boardZoom <= boardViewport.clientHeight ? 0 : focusCenterY - boardViewport.clientHeight / 2;
|
||||
}
|
||||
|
||||
async function zoomBoard(event: WheelEvent) {
|
||||
@@ -186,6 +208,11 @@
|
||||
updateCard(cardId, { awakening });
|
||||
}
|
||||
|
||||
function setMaxAwakening(cardId: string, awakened: boolean) {
|
||||
if (!cardState(cardId).owned) return;
|
||||
updateCard(cardId, { awakening: awakened ? 5 : 0 });
|
||||
}
|
||||
|
||||
function toggleCardFromRow(event: MouseEvent | KeyboardEvent, cardId: string) {
|
||||
if (event instanceof MouseEvent && (event.target as HTMLElement).closest('button, input, label, a')) return;
|
||||
if (event instanceof KeyboardEvent && event.key !== 'Enter' && event.key !== ' ') return;
|
||||
@@ -592,36 +619,27 @@
|
||||
<header>
|
||||
<p class="eyebrow">내 데이터</p>
|
||||
<h1>{dataView === 'cards' ? '카드 데이터' : dataView === 'boards' ? '보드 데이터' : '사용자 데이터'}</h1>
|
||||
<p class="description">{dataView === 'cards' ? '카드 보유 여부와 개화 단계를 관리합니다.' : dataView === 'boards' ? '멤버별 보드 활성화 상태를 관리합니다.' : '내 데이터를 한곳에서 확인하고 백업할 수 있습니다.'}</p>
|
||||
<p class="description">{dataView === 'cards' ? '카드 보유 여부와 개화 단계를 관리합니다.' : dataView === 'boards' ? '멤버별 보드 활성화 상태를 관리합니다.' : '공통 설정을 관리하고 사용자 데이터를 백업할 수 있습니다.'}</p>
|
||||
</header>
|
||||
|
||||
<nav class="data-nav" aria-label="사용자 데이터 메뉴">
|
||||
<a href="/data" aria-current={dataView === 'home' ? 'page' : undefined}>데이터 홈</a>
|
||||
<a href="/data/cards" aria-current={dataView === 'cards' ? 'page' : undefined}>카드 데이터</a>
|
||||
<a href="/data/boards" aria-current={dataView === 'boards' ? 'page' : undefined}>보드 데이터</a>
|
||||
<a href="/data" aria-current={dataView === 'home' ? 'page' : undefined}>일반</a>
|
||||
<a href="/data/cards" aria-current={dataView === 'cards' ? 'page' : undefined}>카드</a>
|
||||
<a href="/data/boards" aria-current={dataView === 'boards' ? 'page' : undefined}>보드</a>
|
||||
</nav>
|
||||
|
||||
{#if dataView === 'home'}
|
||||
<section class="summary" aria-label="저장 현황">
|
||||
<article><span>저장 위치</span><strong>이 브라우저</strong></article>
|
||||
<section class="summary" aria-label="사용자 데이터 현황">
|
||||
<article><span>보유 카드</span><strong>{collectionCount}장</strong></article>
|
||||
<article><span>보드 등록 멤버</span><strong>{boardCount}명</strong></article>
|
||||
<article><span>저장한 덱</span><strong>{deckCount}개</strong></article>
|
||||
<article><span>최근 저장</span><strong>{updatedAt}</strong></article>
|
||||
</section>
|
||||
|
||||
<section class="data-categories" aria-label="사용자 데이터 종류">
|
||||
<a href="/data/cards"><span>카드 데이터</span><strong>{collectionCount}장 보유</strong><small>보유 여부와 개화 단계 관리</small></a>
|
||||
<a href="/data/boards"><span>보드 데이터</span><strong>{boardCount}명 등록</strong><small>멤버별 활성 노드 관리</small></a>
|
||||
</section>
|
||||
|
||||
<section class="memory-panel" aria-labelledby="memory-title">
|
||||
<div>
|
||||
<p class="section-label">메모리</p>
|
||||
<h2 id="memory-title">보유 메모리 수</h2>
|
||||
<p>메모리 스탠드에서 수집한 포스터 수입니다. 편성 멤버 전원의 파라미터 보너스에 반영됩니다.</p>
|
||||
</div>
|
||||
<div class="bonus-inputs">
|
||||
<section class="settings-grid" aria-label="일반 데이터 설정">
|
||||
<article class="setting-panel" aria-labelledby="memory-title">
|
||||
<div>
|
||||
<h2 id="memory-title">보유 메모리 수</h2>
|
||||
<p>메모리 스탠드에서 수집한 포스터 수입니다. 편성 멤버 전원의 파라미터 보너스에 반영됩니다.</p>
|
||||
</div>
|
||||
<label class="memory-input">
|
||||
<span>보유 수</span>
|
||||
<input
|
||||
@@ -634,8 +652,15 @@
|
||||
/>
|
||||
<small>현재 +{(memoryPermil / 10).toLocaleString('ko-KR')}% · 최대 {memorySummary.maxCount}개</small>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
<article class="setting-panel" aria-labelledby="member-power-title">
|
||||
<div>
|
||||
<h2 id="member-power-title">멤버 강화 수치</h2>
|
||||
<p>보유 카드의 레벨을 통해 얻은 멤버 파라미터 강화율입니다.</p>
|
||||
</div>
|
||||
<label class="memory-input">
|
||||
<span>멤버 강화</span>
|
||||
<span>강화율</span>
|
||||
<input
|
||||
type="number"
|
||||
min="0"
|
||||
@@ -646,7 +671,7 @@
|
||||
/>
|
||||
<small>보유 카드 레벨로 얻은 강화율(%)</small>
|
||||
</label>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
@@ -664,11 +689,17 @@
|
||||
<input bind:value={search} type="search" placeholder="카드 이름 검색" />
|
||||
</label>
|
||||
|
||||
<div class="data-table card-table" role="table" aria-label="4성과 5성 카드 보유 및 개화 현황">
|
||||
<div class="table-head" role="row">
|
||||
<span>보유</span><span>등급</span><span>카드</span><span>개화</span>
|
||||
<div class="card-groups">
|
||||
<section class="card-group rarity-five-group" aria-labelledby="five-star-title">
|
||||
<div class="card-group-heading">
|
||||
<div><h3 id="five-star-title">5성 카드</h3><p>개화 단계를 0부터 5까지 정확하게 설정합니다.</p></div>
|
||||
<strong>{filteredFiveStarCards.length}장</strong>
|
||||
</div>
|
||||
{#each filteredCards as card (card.id)}
|
||||
<div class="data-table card-table" role="table" aria-label="5성 카드 보유 및 개화 현황">
|
||||
<div class="table-head" role="row">
|
||||
<span>보유</span><span>카드</span><span>개화</span>
|
||||
</div>
|
||||
{#each filteredFiveStarCards as card (card.id)}
|
||||
{@const state = userData.collection[card.id] ?? emptyCardState}
|
||||
<div
|
||||
class:owned={state.owned}
|
||||
@@ -683,12 +714,6 @@
|
||||
<input type="checkbox" checked={state.owned} on:change={(event) => updateCard(card.id, { owned: event.currentTarget.checked })} />
|
||||
<span></span>
|
||||
</label>
|
||||
<strong
|
||||
class:rarity-five={card.rarity === 5}
|
||||
class:rarity-four={card.rarity === 4}
|
||||
class="rarity-cell"
|
||||
aria-label={`${card.rarity}성`}
|
||||
>{card.rarity}★</strong>
|
||||
<div class="identity">
|
||||
<strong>{card.name}</strong>
|
||||
{#if card.versionName}<span class="version-badge">{card.versionName}</span>{/if}
|
||||
@@ -702,21 +727,71 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
{/each}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="card-group rarity-four-group" aria-labelledby="four-star-title">
|
||||
<div class="card-group-heading">
|
||||
<div><h3 id="four-star-title">4성 카드</h3><p>5개화 달성 여부만 설정합니다.</p></div>
|
||||
<strong>{filteredFourStarCards.length}장</strong>
|
||||
</div>
|
||||
<div class="data-table card-table" role="table" aria-label="4성 카드 보유 및 5개화 현황">
|
||||
<div class="table-head" role="row">
|
||||
<span>보유</span><span>카드</span><span>5개화</span>
|
||||
</div>
|
||||
{#each filteredFourStarCards as card (card.id)}
|
||||
{@const state = userData.collection[card.id] ?? emptyCardState}
|
||||
<div
|
||||
class:owned={state.owned}
|
||||
class="table-row card-row"
|
||||
role="row"
|
||||
tabindex="0"
|
||||
aria-label={`4성 ${card.name} ${state.owned ? '보유 중' : '미보유'}. 눌러서 보유 상태 변경`}
|
||||
on:click={(event) => toggleCardFromRow(event, card.id)}
|
||||
on:keydown={(event) => toggleCardFromRow(event, card.id)}
|
||||
>
|
||||
<label class="owned-check" aria-label={`4성 ${card.name} 보유`}>
|
||||
<input type="checkbox" checked={state.owned} on:change={(event) => updateCard(card.id, { owned: event.currentTarget.checked })} />
|
||||
<span></span>
|
||||
</label>
|
||||
<div class="identity">
|
||||
<strong>{card.name}</strong>
|
||||
{#if card.versionName}<span class="version-badge">{card.versionName}</span>{/if}
|
||||
</div>
|
||||
<label class:checked={state.awakening >= 5} class="max-awakening-check" aria-label={`4성 ${card.name} 5개화`}>
|
||||
<input type="checkbox" checked={state.awakening >= 5} disabled={!state.owned} on:change={(event) => setMaxAwakening(card.id, event.currentTarget.checked)} />
|
||||
<span></span>
|
||||
<strong>{state.awakening >= 5 ? '완료' : '미완료'}</strong>
|
||||
</label>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
{#if dataView === 'boards'}
|
||||
<section class="board-editor" aria-labelledby="board-title">
|
||||
<div class="board-heading">
|
||||
<section class="board-editor" aria-label="멤버 보드 설정">
|
||||
<aside class="board-guidance">
|
||||
정확한 분석을 위해 리더, 편성 멤버, 악곡의 가창자 보너스와 관련된 멤버 보드는 직접 설정하는 것을 권장합니다.
|
||||
</aside>
|
||||
<div class="automatic-placement">
|
||||
<div>
|
||||
<p class="section-label">멤버 보드</p>
|
||||
<h2 id="board-title">활성화한 보드 노드</h2>
|
||||
<strong>간편 설정</strong>
|
||||
<small>모든 멤버의 기본 초록 노드를 활성화하거나, 보유 카드를 중앙 연결 노드의 빈 슬롯에 자동 배치합니다.</small>
|
||||
</div>
|
||||
<div class="automatic-placement-actions">
|
||||
<button type="button" on:click={activateCommonGreenNodesForAllMembers}>모든 멤버 초록 3칸 활성화</button>
|
||||
{#if automaticPlacementSnapshot}<button type="button" class="undo" on:click={undoAutomaticPlacement}>방금 배치 취소</button>{/if}
|
||||
<button type="button" class="primary" on:click={optimizeEmptyGreenSlots}>중앙 연결 노드 자동 배치</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="board-heading">
|
||||
<label class="member-select">
|
||||
<span>멤버</span>
|
||||
<select bind:value={selectedMemberId} on:change={() => { selectedSocketGroupId = ''; centerBoardViewport(); }}>
|
||||
<span>멤버 선택</span>
|
||||
<select bind:value={selectedMemberId} on:change={() => { selectedSocketGroupId = ''; fitBoardViewport(); }}>
|
||||
{#each boardMembers as member}<option value={member.id}>{member.name}</option>{/each}
|
||||
</select>
|
||||
</label>
|
||||
@@ -725,22 +800,12 @@
|
||||
{#if selectedBoardMember}
|
||||
<div class="board-toolbar">
|
||||
<p><strong>{selectedActiveBoardNodeCount}</strong> / {boardModels[selectedBoardMember.positionGroupId].length}개 활성화</p>
|
||||
<div><button type="button" on:click={activateCommonGreenNodesForAllMembers}>모든 멤버 초록 3칸</button><button type="button" on:click={activateAllBlueNodes}>파란 노드 활성화</button><button type="button" on:click={() => setAllBoardNodes(true)}>모두 활성화</button><button type="button" on:click={() => setAllBoardNodes(false)}>모두 해제</button></div>
|
||||
</div>
|
||||
<div class="automatic-placement">
|
||||
<div>
|
||||
<strong>초록 슬롯 카드 자동 배치</strong>
|
||||
<small>기존 배치는 유지하고, 미배치 보유 카드를 한 번씩만 사용해 활성화된 초록 노드의 강화량이 가장 큰 조합을 찾습니다.</small>
|
||||
</div>
|
||||
<div class="automatic-placement-actions">
|
||||
{#if automaticPlacementSnapshot}<button type="button" class="undo" on:click={undoAutomaticPlacement}>방금 배치 취소</button>{/if}
|
||||
<button type="button" class="primary" on:click={optimizeEmptyGreenSlots}>빈 초록 슬롯 자동 배치</button>
|
||||
</div>
|
||||
<div><button type="button" on:click={activateAllBlueNodes}>모든 파란 노드 활성화</button><button type="button" on:click={() => setAllBoardNodes(true)}>모두 활성화</button><button type="button" on:click={() => setAllBoardNodes(false)}>모두 해제</button></div>
|
||||
</div>
|
||||
<div
|
||||
class="board-scroll"
|
||||
class:dragging={boardDragging}
|
||||
bind:this={boardViewport}
|
||||
use:initializeBoardViewport
|
||||
role="region"
|
||||
aria-label={`${selectedBoardMember.name} 보드 뷰어`}
|
||||
on:wheel|preventDefault={zoomBoard}
|
||||
@@ -796,10 +861,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="board-legend" aria-label="노드 종류">
|
||||
{#each [['red', '상단'], ['green', '하단'], ['blue', '파랑 영역'], ['yellow', '노랑 영역'], ['center', '중심']] as item}
|
||||
<span><i class={`board-${item[0]}`}></i>{item[1]}</span>
|
||||
{/each}
|
||||
<div class="board-legend" aria-label="카드 효과 표시">
|
||||
<span><i class="board-connect-range"></i>카드 범위</span>
|
||||
<span><i class="board-connect-applied"></i>효과 적용</span>
|
||||
</div>
|
||||
@@ -870,33 +932,27 @@
|
||||
:global(*) { box-sizing: border-box; }
|
||||
:global(body) { margin: 0; background: #101319; color: #e8ebf1; font-family: Pretendard, "Noto Sans KR", sans-serif; }
|
||||
:global(button), :global(input) { font: inherit; }
|
||||
main { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 80px; }
|
||||
main { width: min(var(--page-max-width), calc(100% - var(--page-gutter))); margin: 0 auto; padding: 36px 0 80px; }
|
||||
.data-nav { display: flex; gap: 5px; margin: 24px 0; padding: 5px; border: 1px solid #2c3441; border-radius: 12px; background: #171c24; }
|
||||
.data-nav a { flex: 1; padding: 9px 12px; border-radius: 8px; color: #929cad; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
|
||||
.data-nav a { flex: 1; padding: 9px 12px; border-radius: 8px; color: #929cad; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
|
||||
.data-nav a:hover { color: #dfe4eb; background: rgb(255 255 255 / 4%); }
|
||||
.data-nav a[aria-current='page'] { color: #f3a5c5; background: rgb(239 139 182 / 12%); }
|
||||
.data-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
|
||||
.data-categories a { display: grid; gap: 6px; padding: 20px; border: 1px solid #303746; border-radius: 14px; color: inherit; background: #1a202a; text-decoration: none; }
|
||||
.data-categories a:hover { border-color: #665061; background: #211e28; }
|
||||
.data-categories span { color: #f0a0c1; font-size: 11px; font-weight: 850; }
|
||||
.data-categories strong { color: #e5e9ef; font-size: 19px; }
|
||||
.data-categories small { color: #8791a1; font-size: 11px; }
|
||||
.memory-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 18px 0; padding: 22px 24px; border: 1px solid #303746; border-radius: 14px; background: #1a202a; }
|
||||
.memory-panel h2 { margin: 0; color: #e5e9ef; font-size: 19px; }
|
||||
.memory-panel > div > p:last-child { max-width: 520px; margin: 8px 0 0; color: #8791a1; font-size: 12px; line-height: 1.55; }
|
||||
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
|
||||
.setting-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 0; padding: 22px 24px; border: 1px solid #303746; border-radius: 14px; background: #1a202a; }
|
||||
.setting-panel h2 { margin: 0; color: #e5e9ef; font-size: 19px; }
|
||||
.setting-panel > div > p:last-child { max-width: 480px; margin: 8px 0 0; color: #8791a1; font-size: 14px; line-height: 1.55; }
|
||||
.memory-input { display: grid; grid-template-columns: 58px 88px; align-items: center; gap: 5px 10px; flex: none; }
|
||||
.bonus-inputs { display: grid; gap: 12px; flex: none; }
|
||||
.memory-input > span { color: #a5aebc; font-size: 12px; font-weight: 750; }
|
||||
.memory-input > span { color: #a5aebc; font-size: 14px; font-weight: 750; }
|
||||
.memory-input input { width: 88px; height: 40px; padding: 0 10px; border: 1px solid #434c5c; border-radius: 9px; color: #f1f3f7; background: #11161e; text-align: right; outline: none; }
|
||||
.memory-input input:focus { border-color: #d96b9a; box-shadow: 0 0 0 3px rgb(239 139 182 / 12%); }
|
||||
.memory-input small { grid-column: 1 / -1; color: #ef9fc0; font-size: 10px; text-align: right; }
|
||||
.memory-input small { grid-column: 1 / -1; color: #ef9fc0; font-size: 12px; text-align: right; }
|
||||
header { margin-bottom: 26px; }
|
||||
.eyebrow, .section-label { margin: 0 0 8px; color: #ee75aa; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
|
||||
.eyebrow, .section-label { margin: 0 0 8px; color: #ee75aa; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
|
||||
h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.04em; }
|
||||
.description { margin: 12px 0 0; color: #9ca6b7; line-height: 1.6; }
|
||||
.summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
|
||||
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 10px; margin-bottom: 18px; }
|
||||
.summary article { min-width: 0; padding: 18px; border: 1px solid #2b3240; border-radius: 14px; background: #181d26; }
|
||||
.summary span { display: block; margin-bottom: 9px; color: #8e98a9; font-size: 12px; }
|
||||
.summary span { display: block; margin-bottom: 9px; color: #8e98a9; font-size: 14px; }
|
||||
.summary strong { display: block; overflow: hidden; color: #f1f3f7; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.management { margin-bottom: 18px; padding: 26px; border: 1px solid #303746; border-radius: 18px; background: #1a202a; }
|
||||
.management-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
|
||||
@@ -904,28 +960,41 @@
|
||||
.search-field { display: block; margin: 20px 0 12px; }
|
||||
.search-field input { width: 100%; height: 40px; padding: 0 13px; border: 1px solid #343c4b; border-radius: 9px; color: #e8ebf1; background: #131821; outline: none; }
|
||||
.search-field input:focus { border-color: #d96b9a; box-shadow: 0 0 0 3px rgb(239 139 182 / 12%); }
|
||||
.card-groups { display: grid; gap: 24px; }
|
||||
.card-group { min-width: 0; }
|
||||
.card-group-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 2px 10px; }
|
||||
.card-group-heading h3 { margin: 0; font-size: 19px; }
|
||||
.card-group-heading p { margin: 5px 0 0; color: #858f9f; font-size: 13px; }
|
||||
.card-group-heading > strong { color: #8e98a9; font-size: 14px; }
|
||||
.rarity-five-group .card-group-heading h3 { color: #f3a0c4; }
|
||||
.rarity-four-group .card-group-heading h3 { color: #ad9cf4; }
|
||||
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
|
||||
.data-table { overflow: hidden; border: 1px solid #2d3543; border-radius: 12px; }
|
||||
.table-head, .table-row { display: grid; align-items: center; gap: 12px; }
|
||||
.card-table .table-head, .card-table .table-row { grid-template-columns: 46px 42px minmax(190px, 1fr) 86px; }
|
||||
.table-head { min-height: 38px; padding: 0 14px; color: #7f899b; background: #141922; font-size: 11px; font-weight: 800; }
|
||||
.card-table .table-head, .card-table .table-row { grid-template-columns: 58px minmax(320px, 1fr) 120px; }
|
||||
.table-head { min-height: 38px; padding: 0 14px; color: #7f899b; background: #141922; font-size: 13px; font-weight: 800; }
|
||||
.table-row { min-height: 58px; padding: 8px 14px; border-top: 1px solid #29313e; background: #191f29; }
|
||||
.table-row.owned { background: rgb(239 139 182 / 5%); }
|
||||
.card-row { cursor: pointer; }
|
||||
.card-row:hover { background: rgb(255 255 255 / 3%); }
|
||||
.card-row.owned:hover { background: rgb(239 139 182 / 8%); }
|
||||
.card-row:focus-visible { position: relative; z-index: 1; outline: 2px solid #df74a2; outline-offset: -2px; }
|
||||
.rarity-cell { font-size: 12px; font-weight: 900; text-align: center; }
|
||||
.rarity-cell.rarity-five { color: #f3a0c4; }
|
||||
.rarity-cell.rarity-four { color: #ad9cf4; }
|
||||
.identity { display: flex; align-items: center; gap: 7px; min-width: 0; }
|
||||
.identity strong { display: block; overflow: hidden; color: #dce1e9; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.version-badge { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; color: #65cedf; background: rgb(64 169 188 / 16%); font-size: 10px; font-weight: 800; }
|
||||
.version-badge { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; color: #65cedf; background: rgb(64 169 188 / 16%); font-size: 12px; font-weight: 800; }
|
||||
.owned-check { display: grid; place-items: center; cursor: pointer; }
|
||||
.owned-check input { position: absolute; opacity: 0; }
|
||||
.owned-check span { width: 20px; height: 20px; border: 1px solid #4a5363; border-radius: 6px; background: #11161e; }
|
||||
.owned-check input:checked + span { border-color: #ed80ae; background: #ed80ae; box-shadow: inset 0 0 0 4px #191f29; }
|
||||
.owned-check input:focus-visible + span { outline: 3px solid rgb(239 139 182 / 25%); outline-offset: 2px; }
|
||||
.max-awakening-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; color: #7f8999; cursor: pointer; }
|
||||
.max-awakening-check input { position: absolute; opacity: 0; }
|
||||
.max-awakening-check > span { width: 20px; height: 20px; border: 1px solid #4a5363; border-radius: 6px; background: #11161e; }
|
||||
.max-awakening-check > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.max-awakening-check.checked { color: #d9cfff; }
|
||||
.max-awakening-check.checked > span { border-color: #a996f0; background: #a996f0; box-shadow: inset 0 0 0 4px #191f29; }
|
||||
.max-awakening-check input:focus-visible + span { outline: 3px solid rgb(169 150 240 / 25%); outline-offset: 2px; }
|
||||
.max-awakening-check:has(input:disabled) { opacity: .38; cursor: default; }
|
||||
.field-with-label span { display: none; }
|
||||
.awakening-stepper { display: grid; grid-template-columns: 25px 1fr 25px; align-items: center; height: 34px; overflow: hidden; border: 1px solid #394252; border-radius: 7px; background: #12171f; }
|
||||
.awakening-stepper button { align-self: stretch; padding: 0; border: 0; color: #b9c1ce; background: #202733; font-size: 20px; line-height: 1; cursor: pointer; }
|
||||
@@ -935,28 +1004,28 @@
|
||||
.awakening-stepper strong { color: #e4e8ee; font-size: 13px; text-align: center; }
|
||||
.board-editor { margin-bottom: 18px; padding: 26px; border: 1px solid #303746; border-radius: 18px; background: #1a202a; }
|
||||
.board-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
|
||||
.board-heading h2 { margin: 0; color: #d9dee7; font-size: 22px; }
|
||||
.member-select { display: grid; gap: 5px; min-width: 190px; }
|
||||
.member-select span { color: #818b9c; font-size: 10px; font-weight: 750; }
|
||||
.board-guidance { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #4a3b46; border-radius: 10px; color: #c8b7c1; background: rgb(239 139 182 / 7%); font-size: 13px; line-height: 1.6; }
|
||||
.member-select { display: grid; gap: 5px; width: min(360px, 100%); }
|
||||
.member-select span { color: #818b9c; font-size: 12px; font-weight: 750; }
|
||||
.member-select select { height: 38px; padding: 0 10px; border: 1px solid #394252; border-radius: 8px; color: #dfe3ea; background: #12171f; }
|
||||
.board-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
|
||||
.board-toolbar p { margin: 0; color: #929cad; font-size: 12px; }
|
||||
.board-toolbar p { margin: 0; color: #929cad; font-size: 14px; }
|
||||
.board-toolbar p strong { color: #f0a1c2; font-size: 16px; }
|
||||
.board-toolbar div { display: flex; gap: 6px; }
|
||||
.board-toolbar button { padding: 6px 9px; border: 1px solid #394252; border-radius: 7px; color: #aeb7c5; background: #202630; font-size: 10px; font-weight: 750; cursor: pointer; }
|
||||
.automatic-placement { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #355044; border-radius: 10px; background: rgb(58 113 83 / 10%); }
|
||||
.board-toolbar button { padding: 6px 9px; border: 1px solid #394252; border-radius: 7px; color: #aeb7c5; background: #202630; font-size: 12px; font-weight: 750; cursor: pointer; }
|
||||
.automatic-placement { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #355044; border-radius: 10px; background: rgb(58 113 83 / 10%); }
|
||||
.automatic-placement > div:first-child { display: grid; gap: 4px; min-width: 0; }
|
||||
.automatic-placement strong { color: #b7dec7; font-size: 12px; }
|
||||
.automatic-placement small { color: #82988c; font-size: 10px; line-height: 1.45; }
|
||||
.automatic-placement strong { color: #b7dec7; font-size: 14px; }
|
||||
.automatic-placement small { color: #82988c; font-size: 12px; line-height: 1.45; }
|
||||
.automatic-placement-actions { display: flex; flex: 0 0 auto; gap: 7px; }
|
||||
.automatic-placement button { min-height: 34px; padding: 7px 11px; border: 1px solid #466151; border-radius: 8px; color: #b9d7c5; background: #202d26; font-size: 10px; font-weight: 800; cursor: pointer; }
|
||||
.automatic-placement button { min-height: 34px; padding: 7px 11px; border: 1px solid #466151; border-radius: 8px; color: #b9d7c5; background: #202d26; font-size: 12px; font-weight: 800; cursor: pointer; }
|
||||
.automatic-placement button.primary { border-color: #62aa7e; color: #101913; background: #78c493; }
|
||||
.automatic-placement button.undo { color: #c4ccd5; background: transparent; }
|
||||
.automatic-placement button:hover { filter: brightness(1.1); }
|
||||
.automatic-placement button:focus-visible { outline: 3px solid rgb(120 196 147 / 25%); outline-offset: 2px; }
|
||||
.board-scroll { height: min(62vh, 720px); overflow: auto; border: 1px solid #2b3340; border-radius: 12px; background: radial-gradient(circle, rgb(93 104 121 / 24%) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(180deg, #17151b, #10151c 45%, #131922); cursor: grab; scrollbar-width: thin; touch-action: none; }
|
||||
.board-scroll.dragging { cursor: grabbing; user-select: none; }
|
||||
.board-surface { position: relative; }
|
||||
.board-surface { position: relative; margin-inline: auto; }
|
||||
.board-layer { position: absolute; top: 0; left: 0; width: 1748px; height: 1976px; transform-origin: top left; }
|
||||
.board-lines { position: absolute; inset: 0; pointer-events: none; }
|
||||
.board-lines line { stroke: rgb(220 225 235 / 25%); stroke-width: 3; stroke-dasharray: 1 10; stroke-linecap: round; }
|
||||
@@ -975,41 +1044,36 @@
|
||||
.board-node.connect-affected::after { content: ''; position: absolute; z-index: 3; inset: -7px; border: 3px dashed #6ee7ff; border-radius: 50%; pointer-events: none; }
|
||||
.board-node.connect-applied::after { inset: -8px; border: 4px solid #fff; }
|
||||
.board-node.connect-applied::before { content: '+'; position: absolute; z-index: 4; top: -13px; right: -13px; display: grid; place-items: center; width: 19px; height: 19px; border: 2px solid #151a22; border-radius: 50%; color: #111820; background: #fff; font-size: 13px; font-weight: 950; line-height: 1; pointer-events: none; }
|
||||
.socket-card { position: absolute; inset: 19%; z-index: 2; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: #3b2d46; font-size: 10px; font-weight: 900; line-height: 1; pointer-events: none; }
|
||||
.socket-card { position: absolute; inset: 19%; z-index: 2; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: #3b2d46; font-size: 12px; font-weight: 900; line-height: 1; pointer-events: none; }
|
||||
.board-node:hover { z-index: 4; transform: translate(-50%, -50%) scale(1.1); }
|
||||
.board-node.center { cursor: default; }
|
||||
.board-node:focus-visible { z-index: 5; outline: 3px solid rgb(255 255 255 / 55%); outline-offset: 3px; border-radius: 50%; }
|
||||
.board-legend .board-red { background: #d9686f; }
|
||||
.board-legend .board-green { background: #65b690; }
|
||||
.board-legend .board-blue { background: #6595d1; }
|
||||
.board-legend .board-yellow { background: #dfb959; }
|
||||
.board-legend .board-center { background: #a17bcb; }
|
||||
.board-legend .board-connect-range { box-sizing: border-box; border: 2px dashed #6ee7ff; background: transparent; }
|
||||
.board-legend .board-connect-applied { box-sizing: border-box; border: 2px solid #fff; background: #fff; }
|
||||
.board-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #929cad; font-size: 10px; }
|
||||
.board-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #929cad; font-size: 12px; }
|
||||
.board-legend span { display: inline-flex; align-items: center; gap: 5px; }
|
||||
.board-legend i { width: 9px; height: 9px; border-radius: 50%; }
|
||||
.board-note { margin: 10px 0 0; color: #7f8999; font-size: 11px; line-height: 1.5; }
|
||||
.board-note { margin: 10px 0 0; color: #7f8999; font-size: 13px; line-height: 1.5; }
|
||||
.card-picker-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgb(5 8 12 / 72%); }
|
||||
.card-picker { width: min(620px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: hidden; border: 1px solid #3b4453; border-radius: 16px; background: #171c24; box-shadow: 0 20px 70px rgb(0 0 0 / 45%); }
|
||||
.card-picker-heading { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 10px; }
|
||||
.card-picker-heading h3 { margin: 2px 0 0; color: #edf0f5; font-size: 20px; }
|
||||
.card-picker-heading button { width: 34px; height: 34px; border: 1px solid #3b4453; border-radius: 9px; color: #c9d0da; background: #242b36; font-size: 22px; cursor: pointer; }
|
||||
.card-picker-note { margin: 0; padding: 0 20px; color: #8e98a8; font-size: 11px; line-height: 1.55; }
|
||||
.card-picker-note { margin: 0; padding: 0 20px; color: #8e98a8; font-size: 13px; line-height: 1.55; }
|
||||
.card-picker-search { box-sizing: border-box; width: calc(100% - 40px); height: 40px; margin: 14px 20px 10px; padding: 0 12px; border: 1px solid #36404e; border-radius: 9px; color: #e8ebf1; background: #10151c; }
|
||||
.current-placement { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0 20px 10px; padding: 9px 10px; border-radius: 9px; background: #24212a; }
|
||||
.current-placement span { color: #d990af; font-size: 10px; font-weight: 850; }
|
||||
.current-placement strong { overflow: hidden; color: #dce1e9; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.current-placement button { padding: 5px 8px; border: 1px solid #65404f; border-radius: 6px; color: #f0a8c5; background: transparent; font-size: 10px; cursor: pointer; }
|
||||
.current-placement span { color: #d990af; font-size: 12px; font-weight: 850; }
|
||||
.current-placement strong { overflow: hidden; color: #dce1e9; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.current-placement button { padding: 5px 8px; border: 1px solid #65404f; border-radius: 6px; color: #f0a8c5; background: transparent; font-size: 12px; cursor: pointer; }
|
||||
.connect-card-list { display: grid; gap: 6px; max-height: 520px; overflow-y: auto; padding: 0 20px 20px; scrollbar-width: thin; }
|
||||
.connect-card-list > button { display: grid; grid-template-columns: 38px minmax(0, 1fr) 54px auto; align-items: center; gap: 11px; min-height: 66px; padding: 8px 10px; border: 1px solid #303845; border-radius: 10px; color: inherit; background: #12171e; text-align: left; cursor: pointer; }
|
||||
.connect-card-list > button:hover, .connect-card-list > button.selected { border-color: #a95e7f; background: #211a23; }
|
||||
.connect-card-rarity { color: #f1a5c5; font-size: 11px; font-weight: 900; }
|
||||
.connect-card-rarity { color: #f1a5c5; font-size: 13px; font-weight: 900; }
|
||||
.connect-card-name, .connect-card-effect { display: grid; gap: 3px; min-width: 0; }
|
||||
.connect-card-name strong { overflow: hidden; color: #e4e8ee; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.connect-card-name small, .connect-card-effect small { color: #7f8999; font-size: 9px; }
|
||||
.connect-card-name strong { overflow: hidden; color: #e4e8ee; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.connect-card-name small, .connect-card-effect small { color: #7f8999; font-size: 11px; }
|
||||
.connect-card-effect { justify-items: end; }
|
||||
.connect-card-effect strong { color: #d993b1; font-size: 12px; }
|
||||
.connect-card-effect strong { color: #d993b1; font-size: 14px; }
|
||||
.connect-range-preview { position: relative; display: block; width: 50px; height: 50px; border: 1px solid #303845; border-radius: 8px; background-color: #0d1117; background-image: linear-gradient(#222a35 1px, transparent 1px), linear-gradient(90deg, #222a35 1px, transparent 1px); background-size: calc(100% / 7) calc(100% / 7); overflow: hidden; }
|
||||
.connect-range-preview i { position: absolute; box-sizing: border-box; left: calc((var(--range-x) + .5) * 100% / 7); top: calc((var(--range-y) + .5) * 100% / 7); width: 5px; height: 5px; border-radius: 50%; transform: translate(-50%, -50%); }
|
||||
.connect-range-preview .range-cell { background: #eef2f7; }
|
||||
@@ -1032,16 +1096,16 @@
|
||||
@media (max-width: 700px) {
|
||||
main { width: min(100% - 24px, 900px); padding-top: 24px; }
|
||||
.summary { grid-template-columns: repeat(2, 1fr); }
|
||||
.summary article:first-child { grid-column: 1 / -1; }
|
||||
.memory-panel { align-items: stretch; flex-direction: column; gap: 16px; }
|
||||
.settings-grid { grid-template-columns: 1fr; }
|
||||
.setting-panel { align-items: stretch; flex-direction: column; gap: 16px; }
|
||||
.memory-input { grid-template-columns: 1fr 100px; }
|
||||
.memory-input input { width: 100px; }
|
||||
.management, .panel { padding: 21px 18px; }
|
||||
.table-head { display: none; }
|
||||
.data-table { border: 0; border-radius: 0; }
|
||||
.card-table .table-row { margin-top: 8px; border: 1px solid #2d3543; border-radius: 10px; }
|
||||
.card-table .table-row { grid-template-columns: 34px 34px minmax(0, 1fr) 76px; gap: 7px; }
|
||||
.field-with-label span { display: block; margin-bottom: 4px; color: #747f91; font-size: 9px; }
|
||||
.card-table .table-row { grid-template-columns: 34px minmax(0, 1fr) 88px; gap: 7px; }
|
||||
.field-with-label span { display: block; margin-bottom: 4px; color: #747f91; font-size: 11px; }
|
||||
.board-editor { padding: 21px 18px; }
|
||||
.board-heading { align-items: stretch; flex-direction: column; }
|
||||
.member-select { width: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user