/** CONTAINER STYLES **/ .DateRangePickerInput { @apply flex border-0 bg-transparent; } .DateRangePicker_picker { @apply -mt-1; } /** INPUT DIV STYLES **/ .DateInput { background: transparent; @apply flex w-auto flex-1; } /** INPUT FIELD COMMON STYLES **/ .DateInput_input { /* used data:image as background-image because svg import with relative url didn't work */ background-image: url('data:image/svg+xml;utf8,'); background-size: 14px; background-position: 10px center; @apply bg-no-repeat; } .DateInput_input { @apply border-primary-main mt-2 w-full cursor-pointer appearance-none rounded border-t border-l border-r border-b border-solid bg-black py-2 px-3 pl-8 text-sm font-light leading-tight text-white shadow transition duration-300; } .DateInput_input:hover { @apply border-gray-500; } .DateInput_input:focus { @apply border-gray-500 outline-none; } /** FIRST INPUT STYLES **/ .DateInput:first-child .DateInput_input { @apply rounded-r-none; } .DateInput:first-child .DateInput_input:hover, .DateInput:first-child .DateInput_input:focus { @apply relative z-10; } /** SECOND INPUT STYLES **/ .DateInput:last-child .DateInput_input { @apply rounded-l-none; margin-left: -1px; } /** ARROW STYLES **/ .DateRangePickerInput_arrow { @apply hidden; } /* SELECT MONTH PICKER */ .DateRangePicker_select { @apply text-secondary-active border-common-dark cursor-pointer appearance-none rounded border bg-white py-1 pl-2 pr-5 text-base; /* NEEDED FOR ARROW DOWN */ background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%); background-position: calc(100% - 11px) 11px, calc(100% - 6px) calc(11px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; } /* CALENDAR DAYS */ .CalendarDay { @apply rounded-full border-0; } .CalendarDay:hover, .CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover { @apply bg-primary-main border-primary-main border-0 text-white; } .CalendarDay__blocked_out_of_range:hover { @apply text-common-dark cursor-not-allowed border-0 bg-white; } .CalendarDay__selected_span { @apply bg-primary-light border-0; } /* MONTH NAVIGATION BUTTONS */ .DayPickerNavigation_button__horizontalDefault, .DayPickerNavigation_button__horizontalDefault:hover { @apply border-common-dark text-common-dark; top: 24px; padding: 3px 9px; } .DayPickerNavigation_svg__horizontal { @apply fill-current; }