Distributed cache * cache deleteKey now uses an options object instead of a lonely argument variable fuzzy * merge * remove debug logs and cleanup * cleanup * add fault handling * add fault handling * add pid when logging redis client creation * add identifier when logging redis client creation * cleanup * feat: add redis-api as it's own app * feature: use http wrapper for redis * feat: add the possibility to fallback to unstable_cache * Add error handling if redis cache is unresponsive * add logging for unstable_cache * merge * don't cache errors * fix: metadatabase on branchdeploys * Handle when /en/destinations throws add ErrorBoundary * Add sentry-logging when ErrorBoundary catches exception * Fix error handling for distributed cache * cleanup code * Added Application Insights back * Update generateApiKeys script and remove duplicate * Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis * merge Approved-by: Linus Flood
308 lines
5.4 KiB
CSS
308 lines
5.4 KiB
CSS
.room {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
background-color: var(--Base-Background-Primary-Normal);
|
|
padding: var(--Spacing-x3) 0;
|
|
}
|
|
|
|
.bookingCode {
|
|
display: flex;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.room {
|
|
background-color: transparent;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.roomHeader {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: var(--max-width-content);
|
|
margin: 0 auto;
|
|
align-items: flex-start;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.roomHeader {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
}
|
|
}
|
|
|
|
.booking {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
position: relative;
|
|
width: var(--max-width-content);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.booking {
|
|
border-radius: var(--Corner-radius-Large);
|
|
background-color: var(--Base-Background-Primary-Normal);
|
|
padding: var(--Spacing-x2);
|
|
}
|
|
}
|
|
|
|
.chipContainer {
|
|
position: absolute;
|
|
top: 300px;
|
|
left: 25px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
.chip {
|
|
background-color: var(--Main-Grey-White);
|
|
padding: var(--Spacing-x-half) var(--Spacing-x1);
|
|
border-radius: var(--Corner-radius-Small);
|
|
}
|
|
|
|
.images {
|
|
display: grid;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
grid-template-columns: 1fr;
|
|
height: 210px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.images {
|
|
height: 320px;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.image {
|
|
border-radius: var(--Corner-radius-Medium);
|
|
width: 100%;
|
|
height: 210px;
|
|
aspect-ratio: 16/9;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.image:last-child {
|
|
display: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.image {
|
|
height: 100%;
|
|
}
|
|
.image:last-child {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.imagePlaceholder {
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
background-image:
|
|
linear-gradient(45deg, #000000 25%, transparent 25%),
|
|
linear-gradient(-45deg, #000000 25%, transparent 25%),
|
|
linear-gradient(45deg, transparent 75%, #000000 75%),
|
|
linear-gradient(-45deg, transparent 75%, #000000 75%);
|
|
background-size: 120px 120px;
|
|
background-position:
|
|
0 0,
|
|
0 60px,
|
|
60px -60px,
|
|
-60px 0;
|
|
}
|
|
|
|
.roomDetails {
|
|
display: grid;
|
|
gap: var(--Spacing-x5);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.roomDetails {
|
|
grid-template-columns: minmax(0, 700px) 1fr;
|
|
}
|
|
}
|
|
|
|
.bookingDetails {
|
|
max-width: 100%;
|
|
padding: 0 var(--Spacing-x2);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.bookingDetails {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--Spacing-x-one-and-half) 0;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.row {
|
|
border-bottom: 1px solid var(--Base-Border-Subtle);
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
.row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.rowTitle {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
.rowTitle svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.rowTitle svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.rowContent {
|
|
padding-left: var(--Spacing-x4);
|
|
}
|
|
|
|
.guestDetailsDesktop {
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
display: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.guestDetailsDesktop {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.guestDetailsMobile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: var(--Spacing-x2);
|
|
background-color: var(--Main-Brand-PalePeach);
|
|
padding: var(--Spacing-x3) 0;
|
|
}
|
|
|
|
.guestDetailsMobile .row {
|
|
align-items: center;
|
|
}
|
|
|
|
.guestDetailsMobile .rowTitle {
|
|
margin-bottom: var(--Spacing-x1);
|
|
}
|
|
|
|
.guestDetailsMobile .userDetails {
|
|
width: calc(100% - var(--Spacing-x4) - var(--Spacing-x4));
|
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider);
|
|
padding-bottom: var(--Spacing-x3);
|
|
margin-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.guestDetailsMobile .totalPoints {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--Spacing-x1);
|
|
padding-top: var(--Spacing-x3);
|
|
}
|
|
|
|
.guestDetailsMobile .totalPointsText {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.guestDetailsMobile .guest {
|
|
align-items: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.guestDetailsMobile {
|
|
display: none;
|
|
}
|
|
.totalPoints {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--Spacing-x-one-and-half) 0;
|
|
}
|
|
}
|
|
|
|
.guest {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
margin-bottom: var(--Spacing-x2);
|
|
}
|
|
|
|
.bookingInformation {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
align-items: center;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.bookingInformation {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
.priceDetails {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: var(--Spacing-x1);
|
|
border-top: 1px solid var(--Base-Border-Subtle);
|
|
border-bottom: 1px solid var(--Base-Border-Subtle);
|
|
padding: var(--Spacing-x-one-and-half) 0;
|
|
width: calc(100% - var(--Spacing-x4));
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.priceDetails {
|
|
border: none;
|
|
margin: 0;
|
|
width: auto;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
}
|
|
@media (min-width: 768px) {
|
|
.price {
|
|
display: flex;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
}
|
|
|
|
.userDetails {
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--Base-Border-Subtle);
|
|
margin-bottom: var(--Spacing-x1);
|
|
}
|