feat: SW-3072 Added overlay to static map on city page * feat: SW-3072 Added overlay to static map on city page * feat: SW-3072 Updated map link in desktop select-hotel page * feat: SW-3072 Updated as review comments Approved-by: Erik Tiekstra
161 lines
2.6 KiB
CSS
161 lines
2.6 KiB
CSS
.main {
|
|
display: flex;
|
|
background-color: var(--Scandic-Brand-Warm-White);
|
|
min-height: min(100dvh, 750px);
|
|
flex-direction: column;
|
|
max-width: var(--max-width-page);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header {
|
|
padding: var(--Spacing-x3) 0 var(--Spacing-x2);
|
|
}
|
|
|
|
.headerContent {
|
|
max-width: var(--max-width-page);
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
|
|
.cityInformation {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--Spacing-x1);
|
|
align-items: baseline;
|
|
}
|
|
|
|
.sorter {
|
|
display: none;
|
|
}
|
|
|
|
.sideBar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sideBarItem {
|
|
display: none;
|
|
}
|
|
|
|
.link {
|
|
display: none;
|
|
}
|
|
|
|
.buttonContainer {
|
|
display: flex;
|
|
gap: var(--Spacing-x2);
|
|
margin-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.button {
|
|
flex: 1;
|
|
}
|
|
|
|
.hotelList {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x3);
|
|
}
|
|
|
|
.filter {
|
|
display: none;
|
|
}
|
|
|
|
.skeletonContainer .title {
|
|
margin-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.mapButton {
|
|
display: flex;
|
|
padding: 10px var(--Space-x2);
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: var(--Corner-radius-rounded);
|
|
background: var(--Component-Button-Inverted-Fill-Default);
|
|
box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.main {
|
|
padding: var(--Spacing-x5) 0;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x5);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.headerContent {
|
|
display: block;
|
|
}
|
|
|
|
.header {
|
|
background-color: var(--Base-Surface-Subtle-Normal);
|
|
padding: var(--Spacing-x4) 0 var(--Spacing-x3);
|
|
}
|
|
|
|
.sorter {
|
|
display: block;
|
|
width: 339px;
|
|
}
|
|
|
|
.title {
|
|
margin: 0 auto;
|
|
display: flex;
|
|
max-width: var(--max-width-navigation);
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sideBar {
|
|
max-width: 340px;
|
|
}
|
|
|
|
.sideBarItem {
|
|
display: block;
|
|
}
|
|
|
|
.filter {
|
|
display: block;
|
|
}
|
|
|
|
.link {
|
|
display: flex;
|
|
margin-bottom: var(--Space-x6);
|
|
}
|
|
|
|
.mapContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
border-radius: var(--Corner-radius-md);
|
|
border: 1px solid var(--Base-Border-Subtle);
|
|
position: relative;
|
|
}
|
|
|
|
.mapButton {
|
|
position: absolute;
|
|
bottom: var(--Space-x2);
|
|
right: var(--Space-x2);
|
|
}
|
|
|
|
.mapButton:hover {
|
|
background-color: var(--Base-Button-Inverted-Fill-Hover);
|
|
color: var(--Base-Button-Inverted-On-Fill-Hover);
|
|
}
|
|
|
|
.buttonContainer {
|
|
display: none;
|
|
}
|
|
|
|
.skeletonContainer .title {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.skeletonContainer .sideBar {
|
|
gap: var(--Spacing-x3);
|
|
}
|
|
}
|