fix: improve accessibility and styling for vehicle selection and review buttons

This commit is contained in:
Lago
2026-05-09 23:45:30 +02:00
parent 926950bd62
commit aca60696ae
2 changed files with 31 additions and 8 deletions
+2 -2
View File
@@ -251,8 +251,8 @@
<h3 class="bpf-panel-title">🚗 <span data-i18n="stepVehicleTime">Fahrzeug & Zeitraum</span></h3>
<div class="bpf-field">
<label data-i18n="bpfVehicle">Fahrzeug</label>
<select id="bpfCar">
<label for="bpfCar" id="bpfCarLabel" data-i18n="bpfVehicle">Fahrzeug</label>
<select id="bpfCar" aria-labelledby="bpfCarLabel">
<option value="" data-i18n="bpfSelectVehicle">Fahrzeug wählen</option>
</select>
</div>
+27 -4
View File
@@ -562,12 +562,32 @@ select:focus, input:focus, textarea:focus {
}
.review-dots button {
width: 10px; height: 10px; border-radius: 50%;
border: none; background: var(--line); cursor: pointer;
transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, width 0.3s ease;
width: 44px;
height: 44px;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
outline-offset: 4px;
}
.review-dots button::before {
content: "";
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--line);
transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}
.review-dots button:hover {
transform: scale(1.04);
}
.review-dots button:hover::before {
background: rgba(196, 138, 66, 0.5);
transform: scale(1.2);
}
@@ -575,10 +595,13 @@ select:focus, input:focus, textarea:focus {
outline: 2px solid var(--accent);
}
.review-dots button.active {
transform: scale(1);
}
.review-dots button.active::before {
background: var(--accent);
width: 32px;
border-radius: 6px;
transform: scale(1);
}
/* ---------------- Booking ---------------- */