refactor: Update Race To step UI and logic
- Renames 'Offen' to 'Endlos' and moves it to a separate line. - Extends quick-pick buttons to include 1-9. - Removes 'Custom' button and makes numeric input always visible. - Updates placeholder text for the custom input. - Closes #10
This commit is contained in:
@@ -215,4 +215,63 @@
|
||||
.game-type-btn.selected {
|
||||
background: #4a4a4a;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.race-to-selection {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.race-to-btn {
|
||||
background: #2a2a2a;
|
||||
border: 2px solid #333;
|
||||
color: #fff;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 600;
|
||||
padding: 16px 8px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
transition: background 0.2s, border-color 0.2s;
|
||||
min-height: 70px;
|
||||
}
|
||||
|
||||
.race-to-btn:hover {
|
||||
background: #333;
|
||||
border-color: #555;
|
||||
}
|
||||
|
||||
.race-to-btn.selected {
|
||||
background: #4a4a4a;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.custom-race-to {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 24px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.custom-race-to input {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.custom-race-to .arrow-btn {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
font-size: 32px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.endlos-container {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.endlos-btn {
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user