feat: rebrand AgendaPro -> AgendaMax + calendar fixes + current-week demo seed
- Rebrand all user-facing text to AgendaMax - Fix sidebar scrolling: card container no longer overflows html (flex h-full min-h-0) - Fix calendar toolbar hover: active buttons keep readable contrast - Sticky calendar toolbar (month/week/day always visible on scroll) - Seed guarantees 2-4 appointments per day for current week (Mon-Sat)
This commit is contained in:
+25
-1
@@ -66,6 +66,12 @@ body {
|
||||
color: #0f172a;
|
||||
}
|
||||
.fc .fc-toolbar.fc-header-toolbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background: #ffffff;
|
||||
padding: 0.4rem 0.6rem;
|
||||
margin: -0.4rem -0.6rem 0;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem 0.75rem;
|
||||
}
|
||||
@@ -101,11 +107,18 @@ body {
|
||||
text-transform: capitalize;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.fc .fc-button:not(:disabled):hover {
|
||||
.fc .fc-button:not(:disabled):not(.fc-button-active):hover {
|
||||
background: #f3f4f6;
|
||||
}
|
||||
.fc .fc-button-primary:not(:disabled).fc-button-active {
|
||||
color: #ffffff;
|
||||
background: var(--fc-button-active-bg-color, #3b66ff);
|
||||
border-color: var(--fc-button-active-border-color, #3b66ff);
|
||||
}
|
||||
.fc .fc-button-primary:not(:disabled).fc-button-active:hover {
|
||||
background: #2447f5;
|
||||
border-color: #2447f5;
|
||||
color: #ffffff;
|
||||
}
|
||||
.fc .fc-button:disabled {
|
||||
opacity: 0.5;
|
||||
@@ -136,6 +149,7 @@ body {
|
||||
font-weight: 600 !important;
|
||||
cursor: pointer;
|
||||
transition: transform 0.12s, box-shadow 0.12s;
|
||||
overflow: hidden;
|
||||
}
|
||||
.fc-event:hover {
|
||||
transform: translateY(-1px);
|
||||
@@ -149,6 +163,16 @@ body {
|
||||
}
|
||||
.fc-timegrid-event {
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
.fc-timegrid-event-harness {
|
||||
margin-right: 2px !important;
|
||||
}
|
||||
/* When slotEventOverlap is false, FullCalendar puts a small gap between
|
||||
side-by-side events; tighten it a touch so each event gets more readable
|
||||
width without bleeding into its neighbour. */
|
||||
.fc .fc-timegrid-col-events {
|
||||
column-gap: 2px;
|
||||
}
|
||||
|
||||
/* List view (great on mobile) */
|
||||
|
||||
Reference in New Issue
Block a user