Good catch. Thank you. This fixed the problem. The only format above that works and changes the color of the text is:
.CX2 .event.fred {
color:#F00;
}
Good catch. Thank you. This fixed the problem. The only format above that works and changes the color of the text is:
.CX2 .event.fred {
color:#F00;
}
Hello,
I think I have tried all the working solutions on here to color code events by calendar type. I have failed at all of them. I am using the Upcoming view. Any help is appreciated.
Here is a section of my config/config.js
calendars : [
{
name: "Fred",
icon: "maki:bicycle-11",
url: "https://calendar.google.com/calendar/ical/[snip]/public/basic.ics",
classname: "fred"
},
I have tried all of these options in css/custom.css and none of them have worked:
This did NOT work
/* style Fred */
.CX2 .fred {
color:#F00;
}
This did NOT work
/* style Fred Upcoming*/
.CX2 .fred.upcoming {
color:#F00;
}
This did NOT work
.CX2 .event.fred {
color:#F00;
}
This did NOT work
transform: (event) => {
if (event.calendarName.search(“Fred”) > -1) {
color:#F00;
},
return event
},
Thanks in advance
Wow. Impressive. Thank you for providing so much detail in your post.
@lavolp3 Believe it or not, I tried. :) Linux load on the Nexus 7" tablet was dropped recently.
@lavolp3 Thanks for the comment. I agree, MM is so much better. I have a feeling that if I used a newer tablet that supported a more modern version of Android, I could find a full-screen browser that supports JavaScript and MM.
[Edit: I updated the Android System WebView app and not MM runs within the Android Fully Kiosk Browser app. Yay!]
So, I love MagicMirror and have the code running on a huge extra monitor in my office. The problem is, I am too cheap to buy a huge piece of two-way glass/plexi to build a proper MagicMirror. I came up with an unorthodox alternative - A super old 7" Android tablet placed behind a piece of two-way plexiglass in an existing frame. Here is what I did:
[For some reason, my inline photo would not display, but you can find it here: https://github.com/DennisFaucher/MagicMirror/blob/master/MagicMirror.jpeg]