Refine homepage journey form layout
This commit is contained in:
parent
13c4341f3a
commit
ed8a5626a4
4 changed files with 74 additions and 38 deletions
|
|
@ -95,6 +95,10 @@
|
|||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.destination-grid--eurostar {
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.destination-option {
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -110,7 +114,7 @@
|
|||
.destination-option label {
|
||||
display: block;
|
||||
min-height: 100%;
|
||||
padding: 0.95rem 1rem;
|
||||
padding: 0.8rem 0.85rem;
|
||||
border: 1px solid #cbd5e0;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
|
||||
|
|
@ -121,7 +125,7 @@
|
|||
.destination-option label strong {
|
||||
display: block;
|
||||
color: #0f172a;
|
||||
font-size: 1rem;
|
||||
font-size: 0.98rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
|
|
@ -184,6 +188,10 @@
|
|||
@media (max-width: 640px) {
|
||||
.card { padding: 1.25rem; }
|
||||
|
||||
.destination-grid--eurostar {
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
}
|
||||
|
||||
/* Convert results table to a 2-column card layout per row */
|
||||
.results-table, .results-table tbody { display: block; }
|
||||
.results-table thead { display: none; }
|
||||
|
|
@ -233,6 +241,21 @@
|
|||
/* Form groups */
|
||||
.form-group { margin-bottom: 1.2rem; }
|
||||
.form-group-lg { margin-bottom: 1.5rem; }
|
||||
.form-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.form-row .form-group,
|
||||
.form-row .form-group-lg {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.form-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
#return-date-group:has(input:disabled) { cursor: pointer; }
|
||||
|
||||
/* Buttons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue