Files
web/apps/scandic-web/components/BookingWidget/FloatingBookingWidget/FloatingBookingWidget.module.css
Linus Flood 97964408ab Merged in fix/bookingwidget-fixes (pull request #2135)
Fix: (#SW-2663) bookingwidget mobile - Space around, border-radius and correct color on date field

* fix: booking widget mobile - padding around booking widget and date color

* Fixed rounded corners

* Reduced minimum size of column


Approved-by: Joakim Jäderberg
2025-05-16 19:29:44 +00:00

35 lines
704 B
CSS

.floatingBookingWidget {
width: 100vw;
min-height: 84px;
z-index: 1000;
position: relative;
.floatingBackground {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0);
width: 100%;
}
&[data-intersecting="true"] {
.floatingBackground {
background: var(--Surface-UI-Fill-Default);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
margin-top: var(--sitewide-alert-sticky-height);
box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.05);
}
}
}
@media screen and (max-width: 767px) {
.floatingBookingWidget {
padding: 0 0.5rem;
}
}