補上歷史戰績列表與 NAS 部署說明

This commit is contained in:
2026-04-15 23:04:16 +08:00
parent 7fc8e2698b
commit b0908b4d3c
8 changed files with 472 additions and 72 deletions

View File

@@ -323,6 +323,18 @@
color: var(--panel-soft);
}
.history-card-button {
width: 100%;
border: 0;
cursor: pointer;
text-align: left;
font: inherit;
}
.history-card-button:hover {
box-shadow: 0 12px 28px rgba(8, 47, 73, 0.08);
}
.scoreboard-screen {
display: grid;
grid-template-columns: minmax(0, 1fr) 160px;
@@ -871,6 +883,94 @@
gap: 12px;
}
.history-modal-overlay {
position: fixed;
inset: 0;
z-index: 70;
display: grid;
place-items: center;
padding: 18px;
background: rgba(0, 0, 0, 0.56);
backdrop-filter: blur(6px);
}
.history-modal {
width: min(680px, 100%);
display: grid;
gap: 16px;
padding: 22px 20px;
border-radius: 24px;
background: linear-gradient(180deg, #fff8e8, #ffe5ad);
box-shadow:
0 0 0 4px rgba(255, 255, 255, 0.18),
inset 0 0 0 2px rgba(200, 140, 46, 0.45);
}
.history-modal-score {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
gap: 12px;
align-items: center;
padding: 16px;
border-radius: 18px;
background: rgba(255, 249, 238, 0.94);
}
.history-modal-score div {
display: grid;
gap: 6px;
justify-items: center;
text-align: center;
}
.history-modal-score strong {
font-family: var(--mono);
font-size: 2.5rem;
line-height: 1;
color: #16342f;
}
.history-modal-score span {
color: #5f4a35;
}
.history-modal-score-divider {
font-family: var(--mono);
font-size: 1.8rem;
color: #70543c;
}
.history-modal-summary {
display: flex;
flex-wrap: wrap;
gap: 10px;
color: #5f4a35;
}
.history-replay-list {
display: grid;
gap: 10px;
max-height: min(50vh, 480px);
overflow: auto;
}
.history-replay-row {
display: grid;
grid-template-columns: 108px 92px 92px minmax(0, 1fr);
gap: 10px;
align-items: center;
padding: 12px 14px;
border-radius: 14px;
background: rgba(255, 249, 238, 0.92);
}
.history-replay-empty {
padding: 12px 14px;
border-radius: 14px;
color: #5f4a35;
background: rgba(255, 249, 238, 0.92);
}
.inline-link {
display: inline-flex;
width: fit-content;
@@ -1050,6 +1150,11 @@
border-radius: 18px;
}
.history-modal {
padding: 18px 14px;
border-radius: 18px;
}
.finish-dialog-close {
width: 40px;
height: 40px;
@@ -1068,6 +1173,19 @@
grid-template-columns: 1fr;
}
.history-modal-score {
grid-template-columns: 1fr;
}
.history-modal-score-divider {
display: none;
}
.history-replay-row {
grid-template-columns: 1fr;
gap: 4px;
}
.team-picker-ribbon {
left: 18px;
right: 90px;