Feat/SW-1076 no room availability * fix: update booking error codes * feat(SW-1076): handle no room availabilty on enter-details * fix: parse to json in api mutation instead of expecting json * fix: remove 'isComplete' state from sectionAccordion because it was not needed Approved-by: Simon.Emanuelsson
106 lines
1.7 KiB
CSS
106 lines
1.7 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
.wrapper[data-available="false"] .title,
|
|
.wrapper[data-available="false"] .description,
|
|
.wrapper[data-available="false"] .details {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.main {
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.headerContainer {
|
|
display: grid;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
grid-template-areas:
|
|
"title title"
|
|
"description button";
|
|
}
|
|
|
|
.title {
|
|
grid-area: title;
|
|
}
|
|
|
|
.description {
|
|
grid-area: description;
|
|
}
|
|
|
|
.button {
|
|
grid-area: button;
|
|
justify-self: flex-end;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.iconWrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.circle {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 100px;
|
|
border: 2px solid var(--Base-Border-Inverted);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.circle {
|
|
background-color: var(--UI-Input-Controls-Fill-Selected);
|
|
}
|
|
|
|
.wrapper[data-available="false"] .circle {
|
|
background-color: var(--Base-Surface-Subtle-Hover);
|
|
}
|
|
|
|
.rate {
|
|
color: var(--UI-Text-Placeholder);
|
|
display: block;
|
|
}
|
|
|
|
.details {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.wrapper {
|
|
gap: var(--Spacing-x3);
|
|
}
|
|
|
|
.iconWrapper {
|
|
top: var(--Spacing-x1);
|
|
}
|
|
|
|
.rate {
|
|
display: inline;
|
|
}
|
|
|
|
.rate::before {
|
|
content: "(";
|
|
}
|
|
.rate::after {
|
|
content: ")";
|
|
}
|
|
|
|
.wrapper:not(:last-child)::after {
|
|
position: absolute;
|
|
left: 12px;
|
|
bottom: 0;
|
|
top: var(--Spacing-x7);
|
|
height: 100%;
|
|
content: "";
|
|
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
}
|
|
}
|