minigame 4 colour question

This commit is contained in:
2026-04-27 07:45:39 +00:00
parent 8597578a28
commit 9745d91016
14 changed files with 990 additions and 46 deletions
+67
View File
@@ -1466,6 +1466,73 @@ code {
}
}
/* —— Quiz carry: map panel theme (color + alpha) —— */
.quiz-carry-theme-grid {
display: flex;
flex-direction: column;
gap: 0.85rem;
margin-top: 0.25rem;
}
.quiz-carry-theme-row {
display: grid;
grid-template-columns: minmax(7.5rem, 10rem) 1fr;
gap: 0.65rem 1rem;
align-items: center;
}
.quiz-carry-theme-row--narrow {
grid-template-columns: 1fr;
max-width: 12rem;
}
.quiz-carry-theme-label {
font-size: 0.88rem;
font-weight: 600;
color: var(--text);
}
.quiz-carry-color-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.65rem 1rem;
}
.quiz-carry-color-controls input[type='color'] {
width: 44px;
height: 36px;
padding: 2px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--card);
cursor: pointer;
}
.quiz-carry-alpha-label {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem 0.5rem;
font-size: 0.8rem;
color: var(--muted);
flex: 1;
min-width: min(100%, 220px);
}
.quiz-carry-alpha-label input[type='range'] {
flex: 1;
min-width: 120px;
max-width: 280px;
accent-color: var(--accent);
}
.quiz-carry-alpha-out {
font-variant-numeric: tabular-nums;
min-width: 2.75rem;
font-size: 0.8rem;
color: var(--text);
}
.quiz-carry-theme-code {
font-size: 0.72rem;
color: var(--muted);
word-break: break-all;
max-width: 100%;
flex-basis: 100%;
}
/* —— Quiz Battle admin (โดม + ป๊อปอัป cyber) —— */
.tab-panel-quiz-battle {
--qb-cyan: #00f2ff;