68cd061c6d
Feature/select rate vertical data flow * add fix from SW-2666 * use translations for room packages * move types to it's own file * Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow * merge * feature/select-rate: double rate for campaing rates * revert NODE_ENV check in Cookiebot script * revert testing values * fix(SW-3171): fix all filter selected in price details * fix(SW-3166): multiroom anchoring when changing filter * fix(SW-3172): check hotelType, show correct breakfast message * Merge branch 'feature/select-rate-vertical-data-flow' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow * fix: show special needs icons for subsequent roomTypes SW-3167 * fix: Display strike through text when logged in SW-3168 * fix: Reinstate the scrollToView behaviour when selecting a rate SW-3169 * merge * . * PR fixes * fix: don't return notFound() * . * always include defaults for room packages * merge * merge * merge * Remove floating h1 for new select-rate Approved-by: Anton Gunnarsson
109 lines
2.0 KiB
CSS
109 lines
2.0 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 0fr auto;
|
|
transition: all 0.5s ease-in-out;
|
|
border-top: 1px solid var(--Base-Border-Subtle);
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
align-content: end;
|
|
z-index: var(--default-modal-z-index);
|
|
|
|
&[data-open="true"] {
|
|
grid-template-rows: 1fr auto;
|
|
|
|
.bottomSheet {
|
|
grid-template-columns: 0fr auto;
|
|
}
|
|
|
|
.priceDetailsButton {
|
|
opacity: 0;
|
|
height: 0;
|
|
}
|
|
}
|
|
|
|
&[data-open="false"] .priceDetailsButton {
|
|
opacity: 1;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.signupPromoWrapper {
|
|
position: relative;
|
|
z-index: var(--default-modal-z-index);
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--Overlay-40);
|
|
z-index: var(--default-modal-overlay-z-index);
|
|
}
|
|
|
|
.bottomSheet {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
padding: var(--Space-x2) var(--Space-x3) var(--Space-x5);
|
|
align-items: flex-start;
|
|
transition: all 0.5s ease-in-out;
|
|
width: 100vw;
|
|
}
|
|
|
|
.priceDetailsButton {
|
|
border-width: 0;
|
|
background-color: transparent;
|
|
text-align: start;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
display: grid;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.content {
|
|
max-height: 50dvh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.summaryAccordion {
|
|
background-color: var(--Main-Grey-White);
|
|
border-color: var(--Primary-Light-On-Surface-Divider-subtle);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-bottom: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
.priceLabel {
|
|
color: var(--Text-Default);
|
|
}
|
|
|
|
.price {
|
|
color: var(--Text-Default);
|
|
|
|
&.discounted {
|
|
color: var(--Text-Accent-Primary);
|
|
}
|
|
}
|
|
|
|
.strikeThroughRate {
|
|
text-decoration: line-through;
|
|
color: var(--Text-Secondary);
|
|
}
|
|
|
|
.seeDetails {
|
|
margin-top: var(--Space-x15);
|
|
display: flex;
|
|
gap: var(--Space-x1);
|
|
align-items: center;
|
|
color: var(--Component-Button-Brand-Secondary-On-fill-Default);
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.bottomSheet {
|
|
padding: var(--Space-x2) 0 var(--Space-x7);
|
|
}
|
|
}
|