<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sachin&#x27;s Mirror]]></title><description><![CDATA[<p dir="auto"><img src="/uploads/files/1466440931113-magicmirror.jpg" alt="0_1466440752908_MagicMirror.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/254/sachin-s-mirror</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 09:45:36 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/254.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jun 2016 16:42:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 21:04:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a></p>
<p dir="auto">THANKS!  (major lightbulb).<br />
Happy 4th to you and <a class="plugin-mentions-user plugin-mentions-a" href="/user/wilco89" aria-label="Profile: Wilco89">@<bdi>Wilco89</bdi></a></p>
]]></description><link>https://forum.magicmirror.builders/post/2175</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2175</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 21:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:54:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a></p>
<p dir="auto">.module.compliments .bright {<br />
color: #ff0000;<br />
}</p>
<p dir="auto">Should work. (Don’t forget the space)</p>
]]></description><link>https://forum.magicmirror.builders/post/2173</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2173</guid><dc:creator><![CDATA[Wilco89]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:53:05 GMT]]></title><description><![CDATA[<p dir="auto">You’re missing the required space. You’re dealing with two separate tags, with multiple CSS rules applied. So when creating a new rule, you have to do the same:</p>
<pre><code>.module.compliments .xlarge  &lt;--- notice the space
</code></pre>
<p dir="auto">Without the space, it’s looking for a <em>single</em> tag that has all three rules applied, so it’s looking for <code>class="module compliments xlarge"</code>. When you add the space, it’s now looking for two separate tags, a parent tag that has a class with both <code>"module compliments"</code> as rules, and then a child tag that has a class with <code>"xlarge"</code> for a rule.</p>
<p dir="auto">Does that make sense?</p>
]]></description><link>https://forum.magicmirror.builders/post/2172</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2172</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:53:05 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:45:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a>  <a class="plugin-mentions-user plugin-mentions-a" href="/user/wilco89" aria-label="Profile: Wilco89">@<bdi>Wilco89</bdi></a><br />
I really appreciate the help (and it works!)</p>
<p dir="auto">While I’m at it: just so that I understand: since compliments.js references <strong>thin xlarge bright</strong>  I <em>could</em> have changed any of those three?  They were referenced, so I can overwrite them?  Ie in my custom.css:</p>
<pre><code>.module.compliments.bright {
  color: #ff0000;
}
</code></pre>
<p dir="auto">or</p>
<pre><code>.module.compliments.xlarge{
  color: #ff0000;
}
</code></pre>
<p dir="auto">would/should both in effect do the same thing?</p>
<p dir="auto">Or can I just change EVERYTHING in compliments to be color: #ff0000? ie</p>
<pre><code>.module.compliments{
  color: #ff0000;
}
</code></pre>
<p dir="auto">(which I tried, and it did not work  :(  )</p>
]]></description><link>https://forum.magicmirror.builders/post/2171</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2171</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:25:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> thnx, i’m on my phone so really hard to type Long text.</p>
]]></description><link>https://forum.magicmirror.builders/post/2170</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2170</guid><dc:creator><![CDATA[Wilco89]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:25:52 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:23:28 GMT]]></title><description><![CDATA[<p dir="auto">You can be <em>very</em> specific which tag you are trying to change, even if it’s one that is used everywhere. For example, let’s say I want to change the CSS for <code>'bright'</code>. Just about all the modules use that tag, so if I change it, it’s going to affect all of them. But what if I want to only affect the calendar module? You can use the DOM tree to your advantage. If you look at the elements tree you should see something similar to this:</p>
<pre><code>&lt;div class="region top left"&gt;
  &lt;div class="container"&gt;
    &lt;div id="module_1_clock" class="module clock clock"&gt;...&lt;/div&gt;   &lt;== this pertains to the clock only
    &lt;div id="module_2_calendar" class="module calendar calendar"&gt;   &lt;== this pertains to the calendar only
      &lt;div class="module-content"&gt;
        &lt; --some random tag that uses the class 'bright' in here-- &gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>
<p dir="auto">Now I can see that the <code>'bright'</code> tag that I want to change, has several parent tags above it. Since I only want to affect the calendar one, I can then create a CSS rule that says:</p>
<pre><code>.module.calendar .bright {
  color: #ff0000;
}
</code></pre>
<p dir="auto">This says, to specifically look for the element that has the <code>"module calendar"</code> class, then <em>within that</em>, look for anything that uses the class <code>"bright"</code>.</p>
<p dir="auto">Now only my calendar is affected (and shows red text). Now just for grins, remove the first part, and just make it</p>
<pre><code>.bright {
  color: #ff0000;
}
</code></pre>
<p dir="auto">And you’ll notice all of your text is now red. By adding the specific parent class or ID, you can be very specific which class you’re targeting.</p>
<p dir="auto">Happy hacking!</p>
]]></description><link>https://forum.magicmirror.builders/post/2169</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2169</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:23:28 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:00:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wilco89" aria-label="Profile: Wilco89">@<bdi>Wilco89</bdi></a><br />
WOAH - I was really close. (and I was just guessing!).  (looking at inspect elements gave me a headache)<br />
Thanks! I;ll try it right now</p>
]]></description><link>https://forum.magicmirror.builders/post/2166</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2166</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 20:00:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a><br />
Css should like this:</p>
<p dir="auto">.compliments{<br />
color: #3CF,<br />
Etc: 80px,<br />
etc: 80px,<br />
fontfamily: Ariel,}</p>
]]></description><link>https://forum.magicmirror.builders/post/2165</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2165</guid><dc:creator><![CDATA[Wilco89]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 19:58:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wilco89" aria-label="Profile: Wilco89">@<bdi>Wilco89</bdi></a><br />
Thanks. Am an old male - need EXPLICIT instructions  :)</p>
]]></description><link>https://forum.magicmirror.builders/post/2164</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2164</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 19:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 19:57:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a>, open Magic Mirror in a browser  yourip:8080,</p>
<p dir="auto">Right click (inspect element) and look for the right class name (that is the one to use).</p>
]]></description><link>https://forum.magicmirror.builders/post/2163</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2163</guid><dc:creator><![CDATA[Wilco89]]></dc:creator><pubDate>Fri, 01 Jul 2016 19:57:51 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 19:53:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a><br />
Now I have question that is probably painfully obvious to anyone but me (I’m an old physicist and drive around in SQL all day long – don’t ask; I have no idea about hardcoding CSS.)</p>
<p dir="auto">IF I want to change the font of, say, the <em>compliments</em>,<br />
THEN I poke around and see that  part of <em>compliments.js</em></p>
<pre><code>    var compliment = document.createTextNode(complimentText);
    var wrapper = document.createElement("div");
    wrapper.className = "thin xlarge bright";
</code></pre>
<p dir="auto">Cool:  I could redefine, say, <strong>xlarge</strong> in my custom.css. But that seems a silly hack, and I’d mess up everything else that also uses <strong>xlarge</strong>. Not good.  Much better to change the color of <em>compliments</em> only. How do I do that? Say I want</p>
<pre><code>compliments
.color: #3CF
.font-size: 80px
.line-height: 80px
.font.family: "Ariel"
</code></pre>
<p dir="auto">I suspect that this is very obvious how to change my custom.css, but you guys all seem helpful  :)<br />
Hey: I already figured out how to push things around on the screen to where I want them to be. Next, I have to stretch everything, since the fonts seem a bit compressed. Lots of fun. Ultimately I’ll write my own modules, I hope.</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://forum.magicmirror.builders/post/2161</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2161</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 19:53:07 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 17:41:15 GMT]]></title><description><![CDATA[<p dir="auto">Nothing’s ever “wasted”. You learned a lot during that time … educational enrichment. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/2154</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2154</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 01 Jul 2016 17:41:15 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 17:18:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a><br />
THX. Will spend some happy time fiddling with all the stuff. “Wasted” 2 days on getting MM2 up on a brand-new Pi3, but the ‘wife-acceptance-factor’ is already awfully high  :)   Now I have to just customize it to the n-th degree…</p>
]]></description><link>https://forum.magicmirror.builders/post/2153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2153</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 17:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 17:14:29 GMT]]></title><description><![CDATA[<p dir="auto">Changing any of the module’s color settings is done in the <code>'~/MagicMirror/css/custom.css'</code> file. This is assuming the author of the module wrapped the various elements in tags that you can refer to, which all of the default modules are. You can look at the <code>'main.css'</code> file to get an idea of what the various tags are that you can use. I do not recommend changing anything in <code>'main.css'</code>, but rather override them in <code>'custom.css'</code> instead.</p>
<p dir="auto">Alternatively you can also look at the raw HTML generated through your browser’s console (just pulling up the page’s source won’t show the full HTML generated.)</p>
]]></description><link>https://forum.magicmirror.builders/post/2152</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2152</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 01 Jul 2016 17:14:29 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 16:45:38 GMT]]></title><description><![CDATA[<p dir="auto">Thanks everyone. Per KirAsh4’s suggestion. I’m going to upload a sanitized copy on Github. I’d still encourage everyone to read through the install docs so you know where/how to tweak it to your liking. I’ll try to get to it this weekend.</p>
<p dir="auto">Have a great 4th!</p>
]]></description><link>https://forum.magicmirror.builders/post/2150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2150</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Fri, 01 Jul 2016 16:45:38 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 16:32:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amanzimdwini" aria-label="Profile: amanzimdwini">@<bdi>amanzimdwini</bdi></a> i think you also need the custom CSS</p>
]]></description><link>https://forum.magicmirror.builders/post/2149</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2149</guid><dc:creator><![CDATA[Wilco89]]></dc:creator><pubDate>Fri, 01 Jul 2016 16:32:55 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Fri, 01 Jul 2016 16:27:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sachin" aria-label="Profile: Sachin">@<bdi>Sachin</bdi></a><br />
I’d be interested in your config too - specifically making the compliments a different color / font size. Probably not that difficult, but I always find it easiest to “program by cannibalizing”  :)  What good is an idea if nobody steals it? Anyway, if you would post at clean-ed up version of your config, I’d appreciate it…</p>
<p dir="auto">Looks great!</p>
]]></description><link>https://forum.magicmirror.builders/post/2148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2148</guid><dc:creator><![CDATA[amanzimdwini]]></dc:creator><pubDate>Fri, 01 Jul 2016 16:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Thu, 30 Jun 2016 13:38:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adamsidelsky" aria-label="Profile: adamsidelsky">@<bdi>adamsidelsky</bdi></a> Thanks Adam, glad you like it. I’ll see if I can follow KirAsh’s directions can get something up on Github. I do need to strip my API key’s from the config files so you can plug in your own, otherwise you will be seeing my info :-)</p>
<p dir="auto">I’ll post a link later today when I get a chance to pull it all together.</p>
<ul>
<li>Sachin</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/2113</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2113</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Thu, 30 Jun 2016 13:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Thu, 30 Jun 2016 13:34:17 GMT]]></title><description><![CDATA[<p dir="auto">Sanchin,</p>
<p dir="auto">Looks great! I’d love a copy of the code please and thank you.</p>
<p dir="auto">Regards,</p>
<p dir="auto">-Adam</p>
]]></description><link>https://forum.magicmirror.builders/post/2112</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2112</guid><dc:creator><![CDATA[adamsidelsky]]></dc:creator><pubDate>Thu, 30 Jun 2016 13:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Thu, 30 Jun 2016 13:28:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adamsidelsky" aria-label="Profile: adamsidelsky">@<bdi>adamsidelsky</bdi></a> <img src="/uploads/files/1467293065975-magicmirror.png" alt="0_1467292849443_MagicMirror.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/2110</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2110</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Thu, 30 Jun 2016 13:28:54 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Thu, 30 Jun 2016 13:23:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> Thanks for the tips, I learn something new every day!</p>
]]></description><link>https://forum.magicmirror.builders/post/2109</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2109</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Thu, 30 Jun 2016 13:23:49 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Wed, 29 Jun 2016 17:57:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sachin" aria-label="Profile: Sachin">@<bdi>Sachin</bdi></a>, use <code>'scrot'</code> to take a screen shot of the display itself. <code>'scrot /home/pi/screenshot.png'</code> will get you an image of the screen that you can then post here. (if you’re loged in remotely, you need to tell it which display to use: <code>'DISPLAY=:0 scrot /home/pi/screenshot.png'</code>)</p>
<p dir="auto">As for the source code, you don’t have to post a full image, just the modules folder (assuming everything you have on there is in modules.) You can simply zip it up (you’d have to install zip first if you don’t already have it, <code>'sudo apt-get install zip'</code>):</p>
<pre><code>$ cd ~/MagicMirror
$ zip -9 -r modules.zip modules
</code></pre>
<p dir="auto">Then you can post that <code>'modules.zip'</code> file somewhere.</p>
<p dir="auto"><strong>OR</strong>, alternatively, you can push your code up to a Github repository so others can download them selectively instead of grabbing the entire modules folder. It’s also easier to maintain your code that way.</p>
]]></description><link>https://forum.magicmirror.builders/post/2093</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2093</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Wed, 29 Jun 2016 17:57:24 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Wed, 29 Jun 2016 17:36:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wilco89" aria-label="Profile: Wilco89">@<bdi>Wilco89</bdi></a> It is in the bottom right hand corner. I’ll make sure to include it when I take a clearer picture tonight.</p>
]]></description><link>https://forum.magicmirror.builders/post/2092</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2092</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Wed, 29 Jun 2016 17:36:41 GMT</pubDate></item><item><title><![CDATA[Reply to Sachin&#x27;s Mirror on Wed, 29 Jun 2016 17:34:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adamsidelsky" aria-label="Profile: adamsidelsky">@<bdi>adamsidelsky</bdi></a> I can post the full image of the SD card somewhere I suppose? Part of the fun however is to play with the code.</p>
]]></description><link>https://forum.magicmirror.builders/post/2091</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2091</guid><dc:creator><![CDATA[Sachin]]></dc:creator><pubDate>Wed, 29 Jun 2016 17:34:02 GMT</pubDate></item></channel></rss>