101 lines
2.2 KiB
CSS
101 lines
2.2 KiB
CSS
.calendar {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
}
|
|
|
|
.calendar-header, .calendar-day {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
min-height: 65px;
|
|
font-size: 0.85rem;
|
|
padding: 4px;
|
|
}
|
|
|
|
.calendar-day { border: 1px solid var(--mud-palette-gray-light); }
|
|
|
|
.calendar-day.disabled { border: 1px solid hsl(from var(--mud-palette-gray-light) h s 88%); }
|
|
|
|
.calendar-header {
|
|
font-weight: bold;
|
|
min-height: 25px;
|
|
display: flex;
|
|
justify-content: end;
|
|
}
|
|
|
|
.today > .calendar-day-wrapper > .titleDay {
|
|
background-color: var(--mud-palette-primary);
|
|
color: var(--mud-palette-appbar-text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.selectedDay > .calendar-day-wrapper > .titleDay {
|
|
border: 1px solid var(--mud-palette-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.calendar-day-wrapper > .titleDay {
|
|
padding: 6px;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
line-height: normal;
|
|
}
|
|
|
|
.event-dot-container {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: .2rem;
|
|
}
|
|
|
|
.event-dot {
|
|
width: 100%;
|
|
height: 6px;
|
|
border-radius: 4px;
|
|
background-color: var(--mud-palette-secondary);
|
|
}
|
|
|
|
.event-dot.memo { background-color: var(--mud-palette-info-darken); }
|
|
|
|
.event-dot.interna { background-color: var(--mud-palette-success-darken); }
|
|
|
|
.event-dot.commessa { background-color: var(--mud-palette-warning); }
|
|
|
|
.calendar-day:hover .event-popup { display: block; }
|
|
|
|
.calendar-day-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.radiusTopLeft { border-top-left-radius: 12px; }
|
|
|
|
.radiusTopRight { border-top-right-radius: 12px; }
|
|
|
|
.radiusBottomLeft { border-bottom-left-radius: 12px; }
|
|
|
|
.radiusBottomRight { border-bottom-right-radius: 12px; }
|
|
|
|
.activityContainer { margin-top: 1rem; }
|
|
|
|
.calendar-activity {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
gap: 1rem;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.calendar-activity::-webkit-scrollbar { display: none; }
|
|
|
|
.calendar-activity {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
} |