82 lines
1.3 KiB
CSS
82 lines
1.3 KiB
CSS
/* Calendar styles */
|
|
|
|
.calendar-title {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.calendar-weekday {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.calendar-cell {
|
|
min-height: 110px;
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem;
|
|
background: #fff;
|
|
position: relative;
|
|
}
|
|
|
|
.calendar-cell--disabled {
|
|
background: #f8f9fa;
|
|
color: #adb5bd;
|
|
}
|
|
|
|
.calendar-cell--selected {
|
|
border-color: #0d6efd;
|
|
box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
|
|
}
|
|
|
|
.calendar-day {
|
|
display: inline-block;
|
|
font-weight: 600;
|
|
color: #212529;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.calendar-day:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.calendar-events {
|
|
margin-top: 0.4rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.calendar-event {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
color: #0d6efd;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.calendar-event i {
|
|
font-size: 0.5rem;
|
|
}
|
|
|
|
.calendar-event--more {
|
|
color: #6c757d;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.calendar-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.calendar-weekday {
|
|
display: none;
|
|
}
|
|
}
|