Simplify race setup with wizard and preset-aware basic mode
This commit is contained in:
222
src/styles.css
222
src/styles.css
@@ -252,6 +252,10 @@ body {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.panel-header-with-pill {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.panel-header h3 {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
@@ -346,6 +350,217 @@ body {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.btn.is-active {
|
||||
border-color: #d30702;
|
||||
box-shadow: inset 0 0 0 1px rgba(242, 13, 7, 0.25);
|
||||
}
|
||||
|
||||
.race-wizard-steps,
|
||||
.manage-step-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.wizard-step,
|
||||
.manage-step-card {
|
||||
padding: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.025);
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.wizard-step span {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 999px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 1px solid var(--line);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.wizard-step strong,
|
||||
.manage-step-card strong {
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.wizard-step-active {
|
||||
border-color: rgba(225, 6, 0, 0.55);
|
||||
background: rgba(225, 6, 0, 0.08);
|
||||
}
|
||||
|
||||
.wizard-step-complete span,
|
||||
.wizard-step-active span {
|
||||
border-color: #d30702;
|
||||
background: rgba(225, 6, 0, 0.16);
|
||||
}
|
||||
|
||||
.manage-step-card p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.race-wizard-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.wizard-summary-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.wizard-summary-item-wide {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.race-stage-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.race-setup-shell {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.95fr);
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.race-setup-main,
|
||||
.race-format-sections,
|
||||
.race-summary-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.race-setup-modebar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.race-setup-toggle {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.race-format-section,
|
||||
.race-summary-card,
|
||||
.race-actions-panel {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.025);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.race-format-section .panel-header,
|
||||
.race-summary-card .panel-header,
|
||||
.race-actions-panel .panel-header {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
|
||||
.race-format-grid {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.race-preset-actions-card,
|
||||
.race-format-note-card,
|
||||
.race-format-context-card {
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.race-format-context-card {
|
||||
grid-column: span 2;
|
||||
border-color: rgba(225, 6, 0, 0.22);
|
||||
background: rgba(225, 6, 0, 0.06);
|
||||
}
|
||||
|
||||
.race-preset-actions-card-compact .actions-inline {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.race-format-save-row {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.race-summary-item {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.race-summary-item span {
|
||||
color: var(--muted);
|
||||
font-size: 0.76rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.race-summary-item strong {
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.panel-header-inline {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.guide-overview-grid,
|
||||
.guide-section-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.guide-overview-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.guide-overview-card {
|
||||
padding: 14px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.guide-overview-card strong {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.guide-overview-card p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.guide-list {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.guide-list li {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
input,
|
||||
select {
|
||||
width: 100%;
|
||||
@@ -1424,6 +1639,13 @@ select:focus {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.race-setup-modebar,
|
||||
.race-format-save-row,
|
||||
.race-wizard-footer {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user