diff --git a/client/src/components/CalendarGrid.tsx b/client/src/components/CalendarGrid.tsx index 48af0df..92b693e 100644 --- a/client/src/components/CalendarGrid.tsx +++ b/client/src/components/CalendarGrid.tsx @@ -28,11 +28,11 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' | const getOrderStyle = () => { switch (item.status) { case 'delivered': - return 'bg-gray-500 text-white shadow-lg border-l-4 border-gray-700'; + return 'bg-gray-400 text-white shadow-md border-l-4 border-gray-500'; case 'planned': - return 'bg-yellow-500 text-black shadow-lg border-l-4 border-yellow-700 font-medium'; + return 'bg-yellow-300 text-gray-800 shadow-md border-l-4 border-yellow-500 font-medium'; default: - return 'bg-blue-500 text-white shadow-lg border-l-4 border-blue-700'; + return 'bg-blue-300 text-gray-800 shadow-md border-l-4 border-blue-500'; } }; @@ -49,7 +49,7 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' |
{item.status === 'planned' && ( -
+
)} {item.status === 'delivered' && ( @@ -63,11 +63,11 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' | const getDeliveryStyle = () => { switch (item.status) { case 'delivered': - return 'bg-gray-500 text-white shadow-lg border-l-4 border-gray-700'; + return 'bg-gray-400 text-white shadow-md border-l-4 border-gray-500'; case 'pending': - return 'bg-green-500 text-white shadow-lg border-l-4 border-green-700'; + return 'bg-green-300 text-gray-800 shadow-md border-l-4 border-green-500'; default: - return 'bg-green-500 text-white shadow-lg border-l-4 border-green-700'; + return 'bg-green-300 text-gray-800 shadow-md border-l-4 border-green-500'; } }; @@ -84,7 +84,7 @@ function CalendarItem({ item, type, onItemClick }: { item: any, type: 'order' |
{item.status === 'pending' && ( -
+
)} {item.status === 'delivered' && ( @@ -446,14 +446,14 @@ export default function CalendarGrid({ {dayPublicities.slice(0, 2).map((pub, idx) => (
pg.group?.name).join(', ')}` : ''}`} > {pub.pubNumber}
))} {dayPublicities.length > 2 && ( -
+
+{dayPublicities.length - 2}
)} @@ -465,7 +465,7 @@ export default function CalendarGrid({