149 lines
2.9 KiB
CSS
149 lines
2.9 KiB
CSS
.container {
|
|
overflow: hidden;
|
|
position: relative;
|
|
&[data-isopen="true"] {
|
|
overflow: visible;
|
|
}
|
|
}
|
|
.roomContainer {
|
|
display: grid;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
.roomDetailsContainer {
|
|
display: grid;
|
|
gap: var(--Spacing-x2);
|
|
padding-bottom: var(--Spacing-x1);
|
|
}
|
|
.hideWrapper {
|
|
background-color: var(--Main-Grey-White);
|
|
}
|
|
.roomHeading {
|
|
margin-bottom: var(--Spacing-x1);
|
|
}
|
|
.btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
.body {
|
|
opacity: 0.8;
|
|
}
|
|
.footer {
|
|
display: grid;
|
|
gap: var(--Spacing-x1);
|
|
grid-template-columns: auto;
|
|
margin-top: var(--Spacing-x2);
|
|
}
|
|
|
|
@media screen and (max-width: 1366px) {
|
|
.hideWrapper {
|
|
border-radius: var(--Corner-radius-Large) var(--Corner-radius-Large) 0 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 100%;
|
|
transition: top 300ms ease;
|
|
z-index: 10002;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.container[data-isopen="true"] .hideWrapper {
|
|
top: 20px;
|
|
}
|
|
|
|
.pickerContainer {
|
|
--header-height: 72px;
|
|
--sticky-button-height: 140px;
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header"
|
|
"content";
|
|
grid-template-rows: var(--header-height) calc(100dvh - var(--header-height));
|
|
position: relative;
|
|
}
|
|
.contentContainer {
|
|
grid-area: content;
|
|
overflow-y: scroll;
|
|
scroll-snap-type: y mandatory;
|
|
}
|
|
|
|
.header {
|
|
background-color: var(--Main-Grey-White);
|
|
display: grid;
|
|
grid-area: header;
|
|
padding: var(--Spacing-x3) var(--Spacing-x2);
|
|
}
|
|
|
|
.close {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-self: flex-end;
|
|
padding: 0;
|
|
}
|
|
|
|
.roomContainer {
|
|
padding: 0 var(--Spacing-x2);
|
|
}
|
|
.roomContainer:last-of-type {
|
|
padding-bottom: calc(var(--sticky-button-height) + 20px);
|
|
}
|
|
|
|
.footer {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(255, 255, 255, 0) 7.5%,
|
|
#ffffff 82.5%
|
|
);
|
|
padding: var(--Spacing-x1) var(--Spacing-x2) var(--Spacing-x7);
|
|
position: sticky;
|
|
bottom: 0;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
.footer .hideOnMobile {
|
|
display: none;
|
|
}
|
|
|
|
.addRoomMobileContainer {
|
|
display: grid;
|
|
width: 150px;
|
|
margin: 0 auto;
|
|
padding-bottom: calc(var(--sticky-button-height) + 20px);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.hideWrapper {
|
|
border-radius: var(--Corner-radius-Large);
|
|
box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.1);
|
|
left: calc((var(--Spacing-x1) + var(--Spacing-x2)) * -1);
|
|
max-width: calc(100vw - 20px);
|
|
padding: var(--Spacing-x2) var(--Spacing-x3);
|
|
position: absolute;
|
|
top: calc(100% + var(--Spacing-x2) + 1px + var(--Spacing-x4));
|
|
width: 360px;
|
|
max-height: calc(100dvh - 77px - var(--Spacing-x6));
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.header {
|
|
display: none;
|
|
}
|
|
|
|
.footer {
|
|
grid-template-columns: auto auto;
|
|
}
|
|
|
|
.footer .hideOnDesktop,
|
|
.addRoomMobileContainer {
|
|
display: none;
|
|
}
|
|
}
|