Feat/SW-1549 map improvements * fix: imported new icon * refactor: rename component and set map handling to 'greedy' * fix: show cards for 3s after hover * refactor: update styles and added HotelPin component * fix: change from close to back icon * refactor: update to only use 1 state value for active pin and card * fix: add click handler when dialog is opened * fix: performance fixes for the dialog carousel * fix: added border * fix: clear timeout on mouseenter * fix: changed to absolute import * fix: moved hover state into the store * fix: renamed store actions Approved-by: Michael Zetterberg
74 lines
1.5 KiB
CSS
74 lines
1.5 KiB
CSS
.container .closeButton {
|
|
pointer-events: initial;
|
|
box-shadow: var(--button-box-shadow);
|
|
gap: var(--Spacing-x-half);
|
|
display: none;
|
|
}
|
|
|
|
.container {
|
|
height: 100%;
|
|
}
|
|
|
|
.filterContainer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: relative;
|
|
background-color: var(--Base-Surface-Secondary-light-Normal);
|
|
padding: 0 var(--Spacing-x2);
|
|
height: 44px;
|
|
}
|
|
|
|
.container .listingContainer .filterContainer > button {
|
|
border: none;
|
|
}
|
|
|
|
.skeletonContainer {
|
|
display: none;
|
|
}
|
|
|
|
.filterContainerCloseButton {
|
|
color: var(--Component-Button-Brand-Secondary-On-fill-Default);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.container .closeButton {
|
|
display: flex;
|
|
}
|
|
.container .listingContainer .filterContainer .filterContainerCloseButton {
|
|
display: none;
|
|
}
|
|
|
|
.listingContainer {
|
|
background-color: var(--Base-Surface-Secondary-light-Normal);
|
|
padding: var(--Spacing-x3) var(--Spacing-x4) var(--Spacing-x3)
|
|
var(--Layout-Tablet-Margin-Margin-min);
|
|
overflow-y: auto;
|
|
min-width: 420px;
|
|
width: 420px;
|
|
position: relative;
|
|
}
|
|
.container {
|
|
display: flex;
|
|
}
|
|
|
|
.filterContainer {
|
|
justify-content: flex-end;
|
|
padding: 0 0 var(--Spacing-x1);
|
|
position: static;
|
|
}
|
|
|
|
.skeletonContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1367px) {
|
|
.listingContainer {
|
|
padding: var(--Spacing-x3) var(--Spacing-x4) var(--Spacing-x3)
|
|
var(--Layout-Desktop-Margin-Margin-min);
|
|
}
|
|
}
|