2024-05-03 20:08:52 +02:00
|
|
|
form .field {
|
|
|
|
display: flex;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
margin-bottom: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-06-12 20:50:46 +02:00
|
|
|
form .field:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-03 23:17:19 +02:00
|
|
|
form .form--two-column {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: grid;
|
|
|
|
grid: inherit;
|
|
|
|
grid-template-columns: 1 / -1;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-05-20 22:30:41 +02:00
|
|
|
form .form--two-column > .field,
|
|
|
|
form .form--two-column > li {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-05-07 19:33:56 +02:00
|
|
|
form .form--three-items {
|
|
|
|
display: grid;
|
|
|
|
grid: inherit;
|
|
|
|
grid-template-columns: 1 / -1;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
|
|
|
form .form--three-items > .field {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
grid-template-rows: 1fr auto;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
|
|
|
form .form--three-items > .field > *:nth-child(1) {
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
form .form--three-items > .field > *:nth-child(2) {
|
|
|
|
grid-area: 1 / 2 / 2 / 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
form .form--three-items > .field > *:nth-child(3) {
|
|
|
|
grid-area: 2 / 1 / 3 / 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
form .form--three-items select {
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
2024-05-03 23:17:19 +02:00
|
|
|
form .with-error {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
form label {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
align-self: center;
|
|
|
|
}
|