Merged in feature/SW-3595-sas-info-boxes (pull request #3177)
Feature/SW-3595 Add info boxes to SAS start page & Eurobonus alert to select-hotel page on SAS
* wip
* feat(SW-3595): Add info boxes to SAS start page
* Add InfoBox to design-system
* Add background gradient to SAS start page
* update variable naming and conditionalize the eurobonus message on select-hotel
* SAS startpage update default message
* make select-hotel a bit more generic with slot={} instead of alert={}
Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,11 +1,42 @@
|
||||
.mainContent {
|
||||
/* Calculate height for large screens and displays */
|
||||
height: calc(100dvh - 402px);
|
||||
height: calc(100dvh - 100px);
|
||||
|
||||
min-height: 480px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
background: linear-gradient(
|
||||
color-mix(in srgb, var(--Scandic-Grey-100) 14%, transparent),
|
||||
color-mix(in srgb, var(--Scandic-Red-100) 40%, transparent)
|
||||
);
|
||||
}
|
||||
|
||||
.contentContainer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--Space-x3);
|
||||
height: 100%;
|
||||
justify-content: space-evenly;
|
||||
|
||||
@media (min-width: 768px) {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.bookingWidgetWrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--Space-x3);
|
||||
}
|
||||
|
||||
.heading {
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
text-wrap: balance;
|
||||
color: white;
|
||||
text-shadow: black 0px 0px 16px;
|
||||
}
|
||||
|
||||
.backdrop {
|
||||
@@ -15,4 +46,17 @@
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.infoBoxes {
|
||||
width: var(--max-width-content);
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: var(--Space-x2);
|
||||
@media (min-width: 768px) {
|
||||
gap: var(--Space-x3);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user