mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
date picker
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
no border/box affordance and a hardcoded blue chevron. */
|
||||
.amharic-daypicker {
|
||||
--rdp-accent-color: var(--mantine-primary-color-filled);
|
||||
--rdp-nav_button-width: 2.75rem;
|
||||
--rdp-nav_button-height: 2.75rem;
|
||||
}
|
||||
|
||||
.amharic-daypicker .rdp-dropdowns {
|
||||
@@ -27,12 +29,34 @@
|
||||
color: var(--mantine-color-text);
|
||||
}
|
||||
|
||||
.amharic-daypicker .rdp-chevron {
|
||||
.amharic-daypicker .rdp-dropdown_root .rdp-chevron {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
fill: var(--mantine-color-dimmed);
|
||||
}
|
||||
|
||||
/* Prev/next month buttons: bigger tap target + visible button box (border,
|
||||
background, accent-colored chevron) instead of the default bare, tiny
|
||||
blue arrow — the dropdown captions replaced them as the primary nav, so
|
||||
they need to stay easy to spot and hit. */
|
||||
.amharic-daypicker .rdp-button_previous,
|
||||
.amharic-daypicker .rdp-button_next {
|
||||
border: 1px solid var(--mantine-color-default-border);
|
||||
border-radius: var(--mantine-radius-sm);
|
||||
background-color: var(--mantine-color-body);
|
||||
}
|
||||
|
||||
.amharic-daypicker .rdp-button_previous:not([aria-disabled='true']):hover,
|
||||
.amharic-daypicker .rdp-button_next:not([aria-disabled='true']):hover {
|
||||
background-color: var(--mantine-color-default-hover);
|
||||
}
|
||||
|
||||
.amharic-daypicker .rdp-nav .rdp-chevron {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
fill: var(--mantine-primary-color-filled);
|
||||
}
|
||||
|
||||
.amharic-daypicker .rdp-month_caption {
|
||||
font-size: inherit;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user