Feat/SW-459 payment flow ui ux * feat(SW-431): List payment methods and handle booking status and redirection * feat(SW-431): small fix * fix(SW-431): Added intl string and sorted dictionaries * fix(SW-431): add todo comments * feat(SW-459): Added payment method icons * feat(SW-459): refactored into new component and added form * feat(SW-459): Localized strings * feat(SW-459): added checkbox * feat(SW-459): Refactored payment options and updated payment form * feat(SW-459): update input bg color * feat(SW-459): add current web links and style fixes * fix(SW-459): fix issue with booking confirmation not being accessible * feat(SW-459): style changes * feat(SW-459): update max width of payment container * feat(SW-459): update create booking schema * feat(SW-459): fixes from PR Approved-by: Arvid Norlin
78 lines
1.5 KiB
CSS
78 lines
1.5 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x3);
|
|
|
|
padding-top: var(--Spacing-x3);
|
|
}
|
|
|
|
.wrapper:not(:last-child)::after {
|
|
position: absolute;
|
|
left: 12px;
|
|
bottom: 0;
|
|
top: var(--Spacing-x5);
|
|
height: 100%;
|
|
content: "";
|
|
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
}
|
|
|
|
.wrapper:last-child .main {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x3);
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.headerContainer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.selection {
|
|
font-weight: 450;
|
|
font-size: var(--typography-Title-4-fontSize);
|
|
}
|
|
|
|
.iconWrapper {
|
|
position: relative;
|
|
top: var(--Spacing-x1);
|
|
z-index: 2;
|
|
}
|
|
|
|
.circle {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 100px;
|
|
transition: background-color 0.4s;
|
|
border: 2px solid var(--Base-Border-Inverted);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.circle[data-checked="true"] {
|
|
background-color: var(--UI-Input-Controls-Fill-Selected);
|
|
}
|
|
|
|
.wrapper[data-open="true"] .circle[data-checked="false"] {
|
|
background-color: var(--UI-Text-Placeholder);
|
|
}
|
|
|
|
.wrapper[data-open="false"] .circle[data-checked="false"] {
|
|
background-color: var(--Base-Surface-Subtle-Hover);
|
|
}
|
|
|
|
.content {
|
|
overflow: hidden;
|
|
transition: max-height 0.4s ease-out;
|
|
max-height: 0;
|
|
}
|