A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Calendar - colourise events today?
-
@Babene1 the base MagicMirror calendar module does not provide a way to affect styles for ‘today’
You may be able to do this with css.
Looking at the code, it adds a class name ‘today’ to the events for today
So in custom.css
.calendar .today { color:red; }that colorizes the symbol and time
for the title.calendar .calendar .today .title { color: red; }for both
.calendar .today , .calendar .today .title { color: red; } -
see above
-
@sdetweil It works,thank you very match.
Do you know, how do you get a red border around the entire today? The border should go around all today’s calendar entries.
-
@Babene1 I do not at the moment. But will examine
-
I found my solution. Maybe interesting for someone else too.
custom.ccs
table.small { border-collapse: collapse; } /* obere Linie */ tr.dateheader.today td { border-top: 1px solid red; } /* untere Linie */ tr.dateheader.today + tr.event.today:last-child td, tr.event.today + tr:not(.today) td { border-top: 1px solid red; } /* linke und rechte Linie */ tr.today td:first-child { border-left: 1px solid red; } tr.today td:last-child { border-right: 1px solid red; } -
@Babene1 very nice! Great feedback
