Read the statement by Michael Teeuw here.
MagicMirror-Netatmo-Module CSS
-
Hi all
is it possible to change color of Temperature for example? I know I can set order of values, but I would like to have for example actual temperature yellow. Thanks, Zdeněk -
Try adding this to your custom.css
.MagicMirror-Netatmo-Module .wi-thermometer { color: yellow; }
I don’t really know if this will only change the color of the icon or the entire div.
-
@broberg thanks. I add it at the end - nothing happends ```
.netatmo{display:inline-block}.netatmo .module,.netatmo .loading,.netatmo .loadTimer,.netatmo .updated{display:inline-block}.netatmo .module{overflow:hidden;margin:.125em .25em;border-radius:.25em;border:1px solid #fff}.netatmo .module .name{color:#000;text-align:center;padding:.125em .25em;background:#fff}.netatmo .module .data{padding:.125em .25em}.netatmo svg.loading{width:.6em;height:.6em}.netatmo svg.loading circle{fill:none;stroke-linecap:round;cx:50;cy:50;r:40}.netatmo svg.loading circle.inner{stroke:#fff;stroke-width:6}.netatmo svg.loading circle.outer{stroke:#aaa;stroke-width:10}.netatmo svg.loadTimer{width:.5em;height:.5em;margin:.2em 0;vertical-align:middle}.netatmo svg.loadTimer .loader{fill:#000}.netatmo svg.loadTimer .border{fill:#aaa}.netatmo .updated{margin:.2em 0;padding:0 .5em;vertical-align:middle}
.MagicMirror-Netatmo-Module .wi-thermometer {
color: yellow;
}/* This beautiful CSS-File has been crafted with LESS (lesscss.org) and compiled by simpLESS (wearekiss.com/simpless) */
-
@zdenek Okey first off, that is NOT the custom.css file (that is located in MagicMirror/css/)
You should not change the modules files if you can avoid it, and you always can when it comes to css code.
Okey. then you add
.netatmo .wi-thermometer { color: yellow; }
to the
custom.css
file. -
@broberg sorry, I’m still noob. I get your point, moved it to custom.css, but nothing happned. I guess I had to say somewhere/somehow in config to use custom.css And cause I would like to use everything else (at least for now) from “default.css”, I had to copy everything from “deafult” to “custom”. Right?
-
@zdenek no main.css is the base stylesheet of the mirror and also some modules have their own. you dont touch any of those files except cstom.css where you can overwrite values from each css file because it is loaded as the last css file.
-
@strawberry-3.141 thanks for explanation. now it’s clear. Anyway, inserting of @broberg defintion doesn’t do anything (a place it between commented part of default custom.css and “body{}” section).
-
I noticed I have added two
.
in the code,.netatmo .wi-thermometer { color: yellow; }
This is just a guess, since I’m not using this module myself,
You would probably get a better answer from the ones who wrote the module -
@broberg said in MagicMirror-Netatmo-Module CSS:
.netatmo .wi-thermometer {
color: yellow;
}still the same :-( I tried to go through the module files, but I’ve no idea about syntax, so I’ve ne idea, if there is (let call it “object”) objec named “wi-thermometer” with property “color”. Anyway, thanks