mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 19:58:11 +00:00
vehicle
This commit is contained in:
@@ -206,12 +206,13 @@ const FleetFormDialog = ({
|
|||||||
firstDayOfWeek={0}
|
firstDayOfWeek={0}
|
||||||
description={field.description || "Select a date"}
|
description={field.description || "Select a date"}
|
||||||
rightSection={
|
rightSection={
|
||||||
<ActionIcon size="sm" variant="subtle" color="gray">
|
<ActionIcon size="sm" variant="subtle" color="green">
|
||||||
<Calendar size={16} />
|
<Calendar size={16} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
}
|
}
|
||||||
size="sm"
|
size="sm"
|
||||||
radius="md"
|
radius="md"
|
||||||
|
popoverProps={{ shadow: "md", radius: "lg" }}
|
||||||
styles={{
|
styles={{
|
||||||
input: {
|
input: {
|
||||||
borderColor: "var(--mantine-color-gray-3)",
|
borderColor: "var(--mantine-color-gray-3)",
|
||||||
@@ -222,6 +223,30 @@ const FleetFormDialog = ({
|
|||||||
backgroundColor: "var(--mantine-color-gray-1)",
|
backgroundColor: "var(--mantine-color-gray-1)",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
calendar: {
|
||||||
|
padding: "md",
|
||||||
|
},
|
||||||
|
calendarHeaderControl: {
|
||||||
|
"&:hover": {
|
||||||
|
backgroundColor: "var(--mantine-color-green-0)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
day: {
|
||||||
|
"&[data-selected]": {
|
||||||
|
backgroundColor: "var(--mantine-color-green-6)",
|
||||||
|
color: "white",
|
||||||
|
fontWeight: 600,
|
||||||
|
},
|
||||||
|
"&[data-in-range]": {
|
||||||
|
backgroundColor: "var(--mantine-color-green-1)",
|
||||||
|
},
|
||||||
|
"&:hover": {
|
||||||
|
backgroundColor: "var(--mantine-color-green-2)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
monthRow: {
|
||||||
|
marginBottom: "0.5rem",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user