Da dieser Thread noch nicht verriegelt ist, schiebe ich eine optimierte Version hinterher.
Den vorherigen Code vor dem Einfügen löschen.
CSS
/* ---Kopfleiste fuer Auswahl Tag, Woche, Monat schlanker--- */
#calendarViewHeader {
appearance: none !important;
height: 1.7rem !important;
}
/* ---Monatsansicht & mehrere Wochen Kalender rechte Seite aktuellen Tag hervorheben--- */
.calendar-month-day-box-current-month[relation="today"],
.calendar-month-day-box-day-off[relation="today"],
.calendar-month-day-box-other-month[relation="today"] {
appearance: none !important;
border: 1px solid red !important;
background-color: #FFFAF0 !important;
}
/* ---Monatsansicht & mehrere Wochen bei Auswahl anderer Tag--- */
.calendar-month-day-box-current-month:not([relation="today"])[selected="true"],
.calendar-month-day-box-day-off:not([relation="today"])[selected="true"],
.calendar-month-day-box-other-month:not([relation="today"])[selected="true"] {
appearance: none !important;
border: 2px dashed blue !important;
}
/* ---Wochenansicht aktuellen Tag hervorheben--- */
#week-view .day-column-today .day-column-heading { /* Kopflabel */
appearance: none !important;
border: 1px solid red !important;
background-color: #FFFAF0 !important;
}
#week-view .day-column-today calendar-header-container, /* unter Kopflabel */
#week-view .day-column-today .multiday-hour-box { /* Stundeneinteilung */
appearance: none !important;
border-left: 1px solid red !important;
border-right: 1px solid red !important;
background-color: #FFFAF0 !important;
}
/* ---Wochenansicht bei Auswahl anderer Tag--- */
.day-column-selected:not(.day-column-today) :is(.day-column-heading) {
appearance: none !important;
border: 2px dashed #555 !important;
}
.day-column-selected:not(.day-column-today) :is(calendar-header-container, .multiday-hour-box) {
appearance: none !important;
border-left: 2px dashed #555 !important;
border-right: 2px dashed #555 !important;
}
/* ---Tagesansicht Kopflabel & Flaeche hervorheben--- */
#day-view .allday-events-list,
calendar-day-view article.day-column-today .day-column-heading,
calendar-day-view article.day-column-today .multiday-hour-box {
appearance: none !important;
background-color: #FFFAF0 !important;
}
Alles anzeigen