Chore/BOOK-773 replace old typography variables * chore(BOOK-773): Replaced body typography * chore(BOOK-773): Replaced caption typography * chore(BOOK-773): Replaced footnote typography * chore(BOOK-773): Replaced subtitle typography Approved-by: Bianca Widstam
131 lines
2.9 KiB
CSS
131 lines
2.9 KiB
CSS
@media screen and (max-width: 1366px) {
|
|
.container {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
div.months {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.monthCaption {
|
|
justify-content: center;
|
|
}
|
|
|
|
.captionLabel {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
td.day,
|
|
td.rangeEnd,
|
|
td.rangeStart {
|
|
font-family:
|
|
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
|
|
font-size: var(--Body-Paragraph-Size);
|
|
font-weight: var(--Body-Paragraph-Font-weight-2);
|
|
letter-spacing: var(--Body-Paragraph-Letter-spacing);
|
|
line-height: 1.5;
|
|
text-decoration: none;
|
|
}
|
|
|
|
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.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(--Text-Tertiary);
|
|
font-family:
|
|
var(--Title-Overline-sm-Font-family), var(--Title-Overline-sm-Font-fallback);
|
|
font-size: var(--Title-Overline-sm-Size);
|
|
font-style: normal;
|
|
font-weight: var(--Title-Overline-sm-Font-weight);
|
|
line-height: 1.5;
|
|
letter-spacing: var(--Title-Overline-sm-Letter-spacing);
|
|
text-transform: var(--Title-Overline-sm-Text-Transform);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.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;
|
|
}
|