64 lines
1.4 KiB
CSS
64 lines
1.4 KiB
CSS
.calendar {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
/*border: 1px solid #ccc;*/
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.calendar-day-wrapper > .titleDay {
|
|
padding: 6px;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
line-height: normal;
|
|
}
|
|
|
|
.event-dot {
|
|
width: 100%;
|
|
height: 6px;
|
|
border-radius: 4px;
|
|
background-color: var(--mud-palette-secondary);
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.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; } |