search: per-leg colored polylines + transit whole-day toggle

This commit is contained in:
Arnaud Delcasse
2026-06-04 21:39:31 +02:00
parent 4547a80315
commit 89a0c490a8
3 changed files with 66 additions and 82 deletions
+35
View File
@@ -2481,6 +2481,41 @@ a {
gap: 1rem;
}
.transit-whole-day-toggle {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
width: 100%;
padding: 0.65rem 1rem;
background-color: #dcfce7;
color: #166534;
border: none;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
}
.transit-whole-day-toggle:hover {
background-color: #bbf7d0;
}
.transit-whole-day-toggle.is-active {
background-color: #f3f4f6;
color: #374151;
}
.transit-whole-day-toggle.is-active:hover {
background-color: #e5e7eb;
}
.transit-whole-day-toggle img {
width: 18px;
height: 18px;
}
.transit-journey {
background-color: #f9fafb;
border-radius: 10px;