Read the statement by Michael Teeuw here.
MMM-CalendarExt3 Formatting questions
-
@sdetweil Didn’t realize it wasn’t part of the module css. I’m assuming this takes precedence over code in the individual module css files?
custom.css
color: bluecalendarext3.css
color: blackIs the color black or blue?
-
@MMRIZE I should have said, ‘2 lines when necessary’. I agree it’s goofy on all events. Another idea is some kind of separator to distinguish 2-line events, make them easier to read.
-
@Studio472 see the doc
https://docs.magicmirror.builders/modules/customcss.html
an entry is
.modulename selector_clause { style-settings; }
so, typically
.MMM-CalendarExt3 ???? { color: black; }
but he doesn’t follow the rules, so his prefix is
.CX3 instead of .MMM-CalendarExt3I use this for building the selector clause
https://www.w3schools.com/cssref/css_selectors.php -
@sdetweil said in MMM-CalendarExt3 Formatting questions:
.CX3 instead of .MMM-CalendarExt3
Of course,
.MMM-CalendarExt3
instead of.CX3
would work with the same priority. I just want to type less. :D.MMM-CalendarExt3 .event .title { ... } /* specificity: 0-3-0 */
and
.CX3 .event .title { ... } /* specificity: 0-3-0 */
both would have the same priority(
specificity
), so anything would be ok. -
@Studio472 said in MMM-CalendarExt3 Formatting questions:
@sdetweil Didn’t realize it wasn’t part of the module css. I’m assuming this takes precedence over code in the individual module css files?
custom.css
color: bluecalendarext3.css
color: blackIs the color black or blue?
blue (while both selectors have the same specificity)
-
@Studio472 said in MMM-CalendarExt3 Formatting questions:
@MMRIZE This did not work for me. However, I was able to find the code in the css file and comment out the style that inserted the icon/symbol.
I don’t have a ‘custom.css’ file. Are you referring to the “MMM-CalendarExt3.css” file?
By default, when you install MM first, the
custom.css
doesn’t exist. You have to copy or create one. There iscustom.css.sample
incss
directory. Copy or Rename it.
The Installer script of @sdetweil will do that automatically.