feat(SW-1259): Enter details multiroom * refactor: remove per-step URLs * WIP: map multiroom data * fix: lint errors in details page * fix: made useEnterDetailsStore tests pass * fix: WIP refactor enter details store * fix: WIP enter details store update * fix: added room index to select correct room * fix: added logic for navigating between steps and rooms * fix: update summary to work with store changes * fix: added room and total price calculation * fix: removed unused code and added test for breakfast included * refactor: move store selectors into helpers * refactor: session storage state for multiroom booking * feat: update enter details accordion navigation * fix: added room index to each form component so they select correct room * fix: added unique id to input to handle case when multiple inputs have same name * fix: update payment step with store changes * fix: rebase issues * fix: now you should only be able to go to a step if previous room is completed * refactor: cleanup * fix: if no availability just skip that room for now * fix: add select-rate Summary and adjust typings Approved-by: Arvid Norlin
52 lines
793 B
CSS
52 lines
793 B
CSS
.paymentSection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x4);
|
|
}
|
|
|
|
.disabled {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.paymentContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x4);
|
|
max-width: 480px;
|
|
}
|
|
|
|
.section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
|
|
.paymentOptionContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
.submitButton {
|
|
display: none;
|
|
}
|
|
|
|
.paymentContainer .link {
|
|
font-weight: 500;
|
|
font-size: var(--Typography-Caption-Regular-fontSize);
|
|
}
|
|
|
|
.terms {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.submitButton {
|
|
display: flex;
|
|
align-self: flex-start;
|
|
}
|
|
}
|