datepickerArrowControls
|
mt-2.5
|
Sets margin top for next and prev month buttons.
|
datepickerBackdrop
|
w-full h-full fixed top-0 right-0 left-0 bottom-0
bg-black/40 z-[1065]
|
Sets size, position and background color for datepicker
backdrop
|
datepickerCell
|
text-center
data-[twe-datepicker-cell-disabled]:text-surface/50
data-[twe-datepicker-cell-disabled]:cursor-default
data-[twe-datepicker-cell-disabled]:pointer-events-none
data-[twe-datepicker-cell-disabled]:hover:cursor-default
hover:cursor-pointer group
|
Sets size, alignment, text color and other styles for cell
wrapper.
|
datepickerCellContent
|
mx-auto
group-[:not([data-twe-datepicker-cell-disabled]):not([data-twe-datepicker-cell-selected]):hover]:bg-black/5
group-data-[twe-datepicker-cell-selected]:bg-primary
group-data-[twe-datepicker-cell-selected]:text-white
group-[:not([data-twe-datepicker-cell-selected])[data-twe-datepicker-cell-focused]]:bg-black/5
group-data-[twe-datepicker-cell-focused]:data-[twe-datepicker-cell-selected]:bg-primary
group-data-[twe-datepicker-cell-current]:border-solid
group-data-[twe-datepicker-cell-current]:border-black
group-data-[twe-datepicker-cell-current]:border
dark:group-[:not([data-twe-datepicker-cell-disabled]):not([data-twe-datepicker-cell-selected]):hover]:bg-black/10
dark:group-data-[twe-datepicker-cell-current]:border-white
dark:text-white
dark:group-[:not([data-twe-datepicker-cell-selected])[data-twe-datepicker-cell-focused]]:bg-black/10
dark:group-data-[twe-datepicker-cell-disabled]:text-white/50
|
Main colors for different cell states (hover, focus, current
etc.)
|
datepickerCellContentLarge
|
w-[72px] h-10 leading-10 py-[1px] px-0.5 rounded-[999px]
|
Size, paddings and border radius for large cell content.
|
datepickerCellContentSmall
|
w-9 h-9 leading-9 rounded-[50%] text-[13px]
|
Size, border radius and font size for small cell content.
|
datepickerCellLarge
|
w-[76px] h-[42px]
|
Size of large cells.
|
datepickerCellSmall
|
w-10 h-10 xs:max-md:landscape:w-8 xs:max-md:landscape:h-8
|
Size of small cells with different width breakpoints.
|
datepickerClearBtn
|
me-auto
|
Margin for clear button (to set it's position).
|
datepickerDate
|
xs:max-md:landscape:mt-24 h-[72px] flex flex-col justify-end
|
Margins and display options for header date wrapper.
|
datepickerDateText
|
text-[34px] font-normal text-white
|
Size, font size and text color of header date text.
|
datepickerDateControls
|
px-3 pt-2.5 pb-0 flex justify-between text-black/[64]
|
Sets paddings, display options and text color of datepicker
controls: prev and next buttons and view change button.
|
datepickerDayHeading
|
w-10 h-10 text-center text-[12px] font-normal
dark:text-white
|
Size, font and alignment for table header (narrow weekdays)
|
datepickerFooter
|
h-14 flex absolute w-full bottom-0 justify-end items-center
px-3
|
Size, position and alignment for datepicker footer wrapper.
|
datepickerDropdownContainer
|
w-[328px] h-[380px] bg-white rounded-lg shadow-4 z-[1066]
dark:bg-surface-dark
|
Size, position, shadow and colors for datepicker dropdown
container (inline datepicker).
|
datepickerFooterBtn
|
outline-none bg-white text-surface border-none
cursor-pointer py-0 px-2.5 uppercase text-[0.8rem]
leading-10 font-medium h-10 tracking-[.1rem] rounded-[10px]
mb-2.5 hover:bg-black/5 focus:bg-black/5 dark:bg-transparent
dark:text-white dark:hover:bg-black/10
dark:focus:bg-black/10
|
Styles for buttons that are placed inside the footer.
|
datepickerHeader
|
xs:max-md:landscape:h-full h-[120px] px-6 bg-primary flex
flex-col rounded-t-lg rounded-bl-none
sm:max-md:rounded-bl-lg sm:max-md:rounded-tr-none
dark:bg-body-dark
|
Size, paddings, background and other styles for header
wrapper.
|
datepickerNextButton
|
p-0 w-10 h-10 leading-10 border-none outline-none m-0
text-surface bg-transparent hover:bg-black/5
hover:rounded-[50%] focus:bg-black/5 focus:rounded-[50%]
dark:text-white dark:hover:bg-black/10
dark:focus:bg-black/10 [&>svg]:w-4 [&>svg]:h-4
[&>svg]:rotate-180 rtl:[&>svg]:rotate-0 [&>svg]:mx-auto
|
Styling for next button (controls) and icon.
|
datepickerPreviousButton
|
p-0 w-10 h-10 leading-10 border-none outline-none m-0
text-surface bg-transparent me-6 hover:bg-black/5
hover:rounded-[50%] focus:bg-black/5 focus:rounded-[50%]
dark:text-white dark:hover:bg-black/10
dark:focus:bg-black/10 [&>svg]:w-4 [&>svg]:h-4
[&>svg]:mx-auto rtl:[&>svg]:rotate-180
|
Styling for prev button (controls) and icon.
|
datepickerTable
|
mx-auto w-[304px]
|
Size and horizontal margin of day cells.
|
datepickerTitle
|
h-8 flex flex-col justify-end
|
Styling for datepicker title wrapper.
|
datepickerTitleText
|
text-[10px] font-normal uppercase tracking-[1.7px]
text-white
|
Font styles for datepicker title text.
|
datepickerToggleButton
|
flex items-center justify-content-center [&>svg]:w-5
[&>svg]:h-5 absolute outline-none border-none bg-transparent
right-0.5 top-1/2 -translate-x-1/2 -translate-y-1/2
hover:text-primary focus:text-primary
dark:hover:text-primary dark:focus:text-primary
dark:text-white
|
Styling for datepicker toggle button (inside input)
|
datepickerMain
|
relative h-full
|
Position and height of datepicker main content.
|
datepickerView
|
outline-none px-3
|
Padding and outline for datepicker table wraper.
|
datepickerViewChangeIcon
|
inline-block pointer-events-none ms-[3px] [&>svg]:w-4
[&>svg]:h-4 [&>svg]:fill-neutral-500 dark:[&>svg]:fill-white
|
Size and appaearance of change view icons.
|
datepickerViewChangeButton
|
flex items-center outline-none p-2.5 text-surface
font-medium text-[0.9rem] rounded-xl shadow-none
bg-transparent m-0 border-none hover:bg-black/5
focus:bg-black/5 dark:text-white dark:hover:bg-black/10
dark:focus:bg-black/10
|
Styling for datepicker change view button.
|
fadeIn
|
animate-[fade-in_0.3s_both] px-[auto]
motion-reduce:transition-none motion-reduce:animate-none
|
Classes for setting proper animation on datepicker open
|
fadeInShort
|
animate-[fade-in_0.15s_both] px-[auto]
motion-reduce:transition-none motion-reduce:animate-none
|
Classes for setting proper animation on backdrop open
|
fadeOut
|
animate-[fade-out_0.3s_both] px-[auto]
motion-reduce:transition-none motion-reduce:animate-none
|
Classes for setting proper animation on datepicker close
|
fadeOutShort
|
animate-[fade-out_0.15s_both] px-[auto]
motion-reduce:transition-none motion-reduce:animate-none
|
Classes for setting proper animation on backdrop close
|
modalContainer
|
flex flex-col fixed top-1/2 left-1/2 -translate-x-1/2
-translate-y-1/2 w-[328px] h-[512px] bg-white
rounded-[0.6rem] shadow-4 z-[1066]
xs:max-md:landscape:w-[475px] xs:max-md:landscape:h-[360px]
xs:max-md:landscape:flex-row dark:bg-surface-dark
|
Styling for main wrapper of datepicker.
|