Fix/book 149 incorrect onfocus behaviour booking widget * fix(BOOK-149): fixed labels shifting * fix(BOOK-149): reintroduced sticky position * fix(BOOK-149): added missing border to "where" text field * added overflow to datepicker * comment fixes * removed separate typography declaration * changed to onPress * fix(BOOK-149): moved components to separate files * fix(BOOK-149): removed desktop & mobile specific css classes * fix(BOOK-149): new implementation of date and room modals * dependencies update * fix(BOOK-149): fixed child age dropdown issue, related error message, and Rooms & Guests container height * updated info button to new variant * fix(BOOK-149): prevent scrolling of background when modals are open in Tablet mode * fixed overlay issue and added focus indicator on mobile * fixed missing space in css * rebase and fixed icon buttons after update * simplified to use explicit boolean * PR comments fixes * more PR comment fixes * PR comment fixes * fixed setIsOpen((prev) => !prev) * fixed issues with room error not showing properly on mobile * fixing pr comments * fixed flickering on GuestRoomModal Approved-by: Erik Tiekstra
130 lines
3.0 KiB
CSS
130 lines
3.0 KiB
CSS
@media screen and (max-width: 1366px) {
|
|
.container {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
div.months {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.monthCaption {
|
|
justify-content: center;
|
|
}
|
|
|
|
.captionLabel {
|
|
text-transform: capitalize;
|
|
color: var(--Text-Default);
|
|
}
|
|
|
|
td.day,
|
|
td.rangeEnd,
|
|
td.rangeStart {
|
|
font-family: var(--typography-Body-Bold-fontFamily);
|
|
font-size: var(--typography-Body-Bold-fontSize);
|
|
font-weight: 500;
|
|
letter-spacing: var(--typography-Body-Bold-letterSpacing);
|
|
line-height: var(--typography-Body-Bold-lineHeight);
|
|
text-decoration: var(--typography-Body-Bold-textDecoration);
|
|
}
|
|
|
|
td.rangeEnd,
|
|
td.rangeStart {
|
|
background: var(--Background-Primary);
|
|
}
|
|
|
|
td.rangeEnd[aria-selected="true"]:not([data-outside="true"]) {
|
|
border-radius: 0 50% 50% 0;
|
|
}
|
|
|
|
td.rangeStart[aria-selected="true"] {
|
|
border-radius: 50% 0 0 50%;
|
|
}
|
|
|
|
td.rangeEnd[aria-selected="true"] button.dayButton:hover,
|
|
td.rangeStart[aria-selected="true"] button.dayButton:hover {
|
|
background: var(--Primary-Light-On-Surface-Accent);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
td.rangeEnd[aria-selected="true"]:not([data-outside="true"]) button.dayButton,
|
|
td.rangeStart[aria-selected="true"]:not([data-outside="true"]) button.dayButton,
|
|
td.day[aria-selected="true"] button.dayButton {
|
|
background: var(--Primary-Light-On-Surface-Accent);
|
|
border: none;
|
|
color: var(--Base-Button-Inverted-Fill-Normal);
|
|
}
|
|
|
|
td.day,
|
|
td.day[data-today="true"] {
|
|
color: var(--UI-Text-High-contrast);
|
|
height: 40px;
|
|
padding: var(--Space-x05);
|
|
width: 40px;
|
|
}
|
|
|
|
td.day button.dayButton:hover {
|
|
background: var(--Base-Surface-Secondary-light-Hover);
|
|
}
|
|
|
|
td.day[data-outside="true"] button.dayButton {
|
|
border: none;
|
|
}
|
|
|
|
td.day.rangeMiddle[aria-selected="true"],
|
|
td.rangeMiddle[aria-selected="true"] button.dayButton {
|
|
background: var(--Background-Primary);
|
|
border: none;
|
|
border-radius: 0;
|
|
color: var(--UI-Text-High-contrast);
|
|
}
|
|
|
|
td.day[data-disabled="true"],
|
|
td.day[data-disabled="true"] button.dayButton,
|
|
td.day[data-outside="true"] ~ td.day[data-disabled="true"],
|
|
td.day[data-outside="true"] ~ td.day[data-disabled="true"] button.dayButton,
|
|
.week:has(td.day[data-outside="true"] ~ td.day[data-disabled="true"])
|
|
td.day[data-outside="true"]
|
|
button.dayButton {
|
|
background: none;
|
|
color: var(--Base-Text-Disabled);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.weekDay {
|
|
color: var(--UI-Text-Placeholder);
|
|
font-family: var(--typography-Footnote-Labels-fontFamily);
|
|
font-size: var(--typography-Footnote-Labels-fontSize);
|
|
font-weight: var(--typography-Footnote-Labels-fontWeight);
|
|
letter-spacing: var(--typography-Footnote-Labels-letterSpacing);
|
|
line-height: var(--typography-Footnote-Labels-lineHeight);
|
|
text-decoration: var(--typography-Footnote-Labels-textDecoration);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: var(--Space-x2);
|
|
}
|
|
|
|
.divider {
|
|
margin-top: var(--Space-x2);
|
|
}
|
|
|
|
.nav {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav .button_next {
|
|
transform: rotate(180deg);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.nav .button_previous:disabled,
|
|
.nav .button_next:disabled {
|
|
display: none;
|
|
}
|