.input--datepicker { cursor: pointer; } .flatpickr-calendar { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--rounded-md); box-shadow: var(--shadow-md); font-size: var(--text-sm); inline-size: 280px; padding: var(--size-3); :is(.dayContainer, .flatpickr-days) { inline-size: 100%; min-inline-size: 100%; max-inline-size: 100%; } .flatpickr-months { > * { position: static; } .flatpickr-month { color: var(--color-text); } svg { fill: var(--color-border-dark); } .flatpickr-prev-month:hover svg { fill: var(--color-text); } .flatpickr-next-month:hover svg { fill: var(--color-text); } } .flatpickr-monthDropdown-months { appearance: none; border-radius: var(--rounded-md); font-size: var(--text-sm); font-weight: var(--font-medium); line-height: var(--leading-normal); padding: 0; text-align: center; &:hover { background: var(--color-border-light); } } .numInputWrapper { input { border-radius: var(--rounded-md); color: var(--color-text); font-size: var(--text-sm); font-weight: var(--font-medium); line-height: var(--leading-normal); padding: 0; text-align: center; } span { border-color: var(--color-border); } span:hover { background: transparent; } span.arrowUp::after { border-bottom-color: var(--color-text); } span.arrowDown::after { border-top-color: var(--color-text); } &:hover { background: transparent; } } .flatpickr-weekday { color: var(--color-text-subtle); font-weight: var(--font-normal); } .flatpickr-time { .hasTime & { border-top-color: var(--color-border); } .hasTime.noCalendar & { border: 0; } .numInput { background: transparent; color: var(--color-text); } .flatpickr-time-separator { color: var(--color-text); } .flatpickr-am-pm { background: transparent; color: var(--color-text); } } .flatpickr-day { align-items: center; border-radius: var(--rounded-md); border-color: transparent !important; box-shadow: none !important; color: var(--color-text); display: inline-flex; height: var(--size-9); max-width: 100%; &:is(.inRange) { border-radius: 0; } &:is(.today, .inRange, :hover, :focus) { background: var(--color-secondary); } &:is( .flatpickr-disabled, .flatpickr-disabled:hover, .prevMonthDay, .nextMonthDay, .notAllowed, .notAllowed.prevMonthDay, .notAllowed.nextMonthDay ) { color: var(--color-text-subtle); } &:is( .selected, .startRange, .endRange, .selected.inRange, .startRange.inRange, .endRange.inRange, .selected:focus, .startRange:focus, .endRange:focus, .selected:hover, .startRange:hover, .endRange:hover, .selected.prevMonthDay, .startRange.prevMonthDay, .endRange.prevMonthDay, .selected.nextMonthDay, .startRange.nextMonthDay, .endRange.nextMonthDay ) { background: var(--color-primary); color: var(--color-text-reversed); } } &::before, &::after { display: none; } }