Files
web/components/HotelReservation/SelectRate/RoomSelection/RateSummary/rateSummary.module.css
2024-11-08 16:59:40 +01:00

70 lines
1.2 KiB
CSS

.summary {
position: fixed;
z-index: 10;
bottom: -100%;
left: 0;
right: 0;
background-color: var(--Base-Surface-Primary-light-Normal);
padding: var(--Spacing-x2) var(--Spacing-x3) var(--Spacing-x5);
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid var(--Base-Border-Subtle);
transition: bottom 300ms ease-in-out;
}
.summaryVisible {
bottom: 0;
}
.summaryPrice {
display: flex;
width: 100%;
gap: var(--Spacing-x4);
}
.petInfo {
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
padding-left: var(--Spacing-x2);
display: none;
}
.summaryText {
display: none;
}
.summaryPriceTextDesktop {
display: none;
}
.continueButton {
margin-left: auto;
height: fit-content;
width: 100%;
min-width: 140px;
}
.summaryPriceTextMobile {
white-space: nowrap;
}
@media (min-width: 768px) {
.summary {
padding: var(--Spacing-x3) var(--Spacing-x7) var(--Spacing-x5);
}
.petInfo,
.summaryText,
.summaryPriceTextDesktop {
display: block;
}
.summaryPriceTextMobile {
display: none;
}
.summaryPrice {
width: auto;
}
.continueButton {
width: auto;
}
}