<?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[Angular Background Image]]></title><description><![CDATA[<p dir="auto">Is there a way to add a background image to the whole angular dashboard as a main background.  That way it isn't just a white background?</p>
]]></description><link>https://forum.mango-os.com/topic/2414/angular-background-image</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 07:36:35 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2414.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Aug 2016 17:33:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Angular Background Image on Tue, 11 Oct 2016 00:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: Jared-Wiltshire">@<bdi>Jared-Wiltshire</bdi></a>! great advice.<br />
Its fixed now, but im not sure where I went wrong.. best guess is a typo - perhaps a misplaced closing } or something.</p>
]]></description><link>https://forum.mango-os.com/post/12878</link><guid isPermaLink="true">https://forum.mango-os.com/post/12878</guid><dc:creator><![CDATA[shaun]]></dc:creator><pubDate>Tue, 11 Oct 2016 00:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Mon, 10 Oct 2016 16:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Hey shaun, the best way to figure out what is going on is to use Chrome and open the inspector (right click on page and choose Inspect). Find the element (on the elements tab) you are trying to add a background to and check its styles. You will also be able to see if the .jpg is actually being loaded or is not found (404 error etc) in the console.</p>
<p dir="auto">If you style the body tag you will not see the background as there are other elements "in front" of the body element which have opaque backgrounds. Also if you are targeting <code>md-content.main-content</code> which is the main content pane you may have to add a <code>!important</code> to your CSS rule to override inline styles.</p>
]]></description><link>https://forum.mango-os.com/post/12869</link><guid isPermaLink="true">https://forum.mango-os.com/post/12869</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 10 Oct 2016 16:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Mon, 10 Oct 2016 04:21:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">I'm having a problem with the following not giving me the expected results... I'm assuming the content in this thread applies to the admin template? I've put in :</p>
<pre><code> &lt;style&gt;
   md-content.main-content {
     background-image: url(/modules/dashboards/web/images/bg/blue_dots_blur3.jpg);
   }
 &lt;/style&gt;
</code></pre>
<p dir="auto">And I see no change.</p>
<p dir="auto">I've also put in</p>
<pre><code>   &lt;style&gt;
     body {
     background-image: url(/modules/dashboards/web/images/bg/blue_dots_blur3.jpg);
     }
   &lt;/style&gt;
</code></pre>
<p dir="auto">and I see the background image flash up when i hit reload and see the spinning gear, but then the dashboard pops up over the top and its all white.</p>
<p dir="auto">Any suggestions?</p>
]]></description><link>https://forum.mango-os.com/post/12859</link><guid isPermaLink="true">https://forum.mango-os.com/post/12859</guid><dc:creator><![CDATA[shaun]]></dc:creator><pubDate>Mon, 10 Oct 2016 04:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Mon, 19 Sep 2016 19:15:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/atkins.chrisw" aria-label="Profile: atkins.chrisw">@<bdi>atkins.chrisw</bdi></a> said in <a href="/post/12604">Angular Background Image</a>:</p>
<blockquote>
<p dir="auto">Sorry Jared,</p>
<p dir="auto">how would I make the date/pickers have a white color instead of the black?</p>
<p dir="auto"><img src="https://camo.nodebb.org/946d398a39421a22165764554784ff280586b008?url=https%3A%2F%2Fi.imgur.com%2FTruyr9W.png" alt="0_1473449497889_upload-0833ee70-4453-4d7d-a8a6-252786dc8088" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">Sorry for the extremely delayed response but you can easily change this by creating a "dark" theme and applying it to the section of the page you want inverted colors on.</p>
<p dir="auto">In app.js copy the theme you are using and add <code>.dark()</code> to it. e.g. for the adminTemplate you will have</p>
<pre><code>    // configure the angular material colors
    $mdThemingProvider
        .theme('default')
        .primaryPalette('yellow')
        .accentPalette('red');

    $mdThemingProvider
        .theme('dark')
        .primaryPalette('yellow')
        .accentPalette('red')
        .dark();
</code></pre>
<p dir="auto">Then use the dark theme on the page where you want -</p>
<pre><code>&lt;md-toolbar md-theme="dark"&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/12675</link><guid isPermaLink="true">https://forum.mango-os.com/post/12675</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 19 Sep 2016 19:15:34 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 19:32:22 GMT]]></title><description><![CDATA[<p dir="auto">Sorry Jared,</p>
<p dir="auto">how would I make the date/pickers have a white color instead of the black?</p>
<p dir="auto"><img src="https://camo.nodebb.org/946d398a39421a22165764554784ff280586b008?url=https%3A%2F%2Fi.imgur.com%2FTruyr9W.png" alt="0_1473449497889_upload-0833ee70-4453-4d7d-a8a6-252786dc8088" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/12604</link><guid isPermaLink="true">https://forum.mango-os.com/post/12604</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 19:32:22 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 18:34:49 GMT]]></title><description><![CDATA[<p dir="auto">That worked great!!</p>
]]></description><link>https://forum.mango-os.com/post/12603</link><guid isPermaLink="true">https://forum.mango-os.com/post/12603</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 18:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 18:24:30 GMT]]></title><description><![CDATA[<p dir="auto">OK so the HTML layout in main.html changed a little, update your CSS rule to the following</p>
<pre><code>md-content.main-content {
  background-image: url(/modules/dashboards/web/vitalimages/Test3.jpg);
}
</code></pre>
]]></description><link>https://forum.mango-os.com/post/12602</link><guid isPermaLink="true">https://forum.mango-os.com/post/12602</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 09 Sep 2016 18:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 17:03:26 GMT]]></title><description><![CDATA[<p dir="auto">Any luck?  This background is kinda important</p>
]]></description><link>https://forum.mango-os.com/post/12601</link><guid isPermaLink="true">https://forum.mango-os.com/post/12601</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 17:03:26 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 15:22:04 GMT]]></title><description><![CDATA[<p dir="auto">sorry.  vitalimages</p>
]]></description><link>https://forum.mango-os.com/post/12598</link><guid isPermaLink="true">https://forum.mango-os.com/post/12598</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 15:22:04 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 15:21:39 GMT]]></title><description><![CDATA[<p dir="auto">Yeah it is in the overrides folder.  It in the following:<br />
root/mango/overrides/web/modules/dashboards/vitalityimages</p>
]]></description><link>https://forum.mango-os.com/post/12597</link><guid isPermaLink="true">https://forum.mango-os.com/post/12597</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 15:21:39 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 15:15:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/atkins.chrisw" aria-label="Profile: atkins.chrisw">@<bdi>atkins.chrisw</bdi></a> said in <a href="/post/12584">Angular Background Image</a>:</p>
<blockquote>
<p dir="auto">&lt;base href="/user-dashboards/chrisground/</p>
</blockquote>
<p dir="auto">Hmm, no what you have should work. When you update the module the module's folder will be deleted, did you put the image in the overrides folder?</p>
]]></description><link>https://forum.mango-os.com/post/12595</link><guid isPermaLink="true">https://forum.mango-os.com/post/12595</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 09 Sep 2016 15:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Fri, 09 Sep 2016 02:42:30 GMT]]></title><description><![CDATA[<p dir="auto">Jared,  When I changed to 3.2, the background image no longer shows up.  Do I need to reference it different now?</p>
<pre><code>&lt;!DOCTYPE html&gt;
&lt;html lang="en" class="no-js"&gt;
&lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta http-equiv="x-ua-compatible" content="ie=edge"&gt;
    &lt;title&gt;Vitality - Chrisground&lt;/title&gt;
    &lt;meta name="description" content=""&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;meta name="mobile-web-app-capable" content="yes"&gt;
    &lt;meta name="apple-mobile-web-app-capable" content="yes"&gt;
    &lt;base href="/user-dashboards/chrisground/"&gt;
    
    &lt;link rel="icon" type="image/png" sizes="192x192" href="../img/icon192.png"&gt;
&lt;!-- full file path is: root/mango/web/modules/dashboards/web/img/icon192.png  [../ = root/mango/web/modules/dashboards/web/] --&gt;    
    &lt;link rel="icon" type="image/png" sizes="128x128" href="../img/icon128.png"&gt;
&lt;!-- full file path is: root/mango/web/modules/dashboards/web/img/icon128.png  [../ = root/mango/web/modules/dashboards/web/] --&gt;        
    &lt;link rel="apple-touch-icon" type="image/png" sizes="128x128" href="../img/icon128.png"&gt;
    &lt;link rel="apple-touch-icon" type="image/png" sizes="128x128" href="../img/icon128.png"&gt;
    &lt;link rel="manifest" href="manifest.json"&gt;
&lt;!-- full file path is: root/mango/overrides/web/modules/dashboards/web/tutorial/manifest.json  [ = root/mango/overrides/web/modules/dashboards/web/tutorial/]--&gt;      
    &lt;link rel="stylesheet" href="/resources/angular-csp.css"&gt;&lt;/link&gt;
&lt;!-- full file path is: root/mango/web/resources/angular-csp.css  [/ = root/mango/web/]--&gt;    
    &lt;link rel="stylesheet" href="../vendor/angular-material/angular-material.css"&gt;
&lt;!-- full file path is: root/mango/web/modules/dashboards/web//vendor/angular-material/angular-material.css  [../ = root/mango/web/modules/dashboards/web/] --&gt;
    &lt;link rel="stylesheet" href="../vendor/angular-loading-bar/loading-bar.css"&gt;
    &lt;link rel="stylesheet" href="../vendor/material-design-icons/iconfont/material-icons.css"&gt;
    &lt;link rel="stylesheet" href="../vendor/font-awesome/css/font-awesome.css"&gt;
    &lt;link rel="stylesheet" href="../vendor/mdPickers/mdPickers.css"&gt;
    &lt;link rel="stylesheet" href="../vendor/angular-material-data-table/md-data-table.css"&gt;
    &lt;link rel="stylesheet" href="styles/main.css"&gt;
&lt;/head&gt;

&lt;body layout="column" ng-class="{'api-down': !mangoWatchdog.apiUp, 'logged-out': !mangoWatchdog.loggedIn}"&gt;
	&lt;div ng-if="appLoading" class="app-loading"&gt;
		&lt;i class="fa fa-cog fa-spin"&gt;&lt;/i&gt;
	&lt;/div&gt;

    &lt;div ui-view ng-cloak layout="column" flex class="main-application"&gt;&lt;/div&gt;

    &lt;!-- full file path is  --&gt;
    &lt;script src="/resources/require.js"&gt;&lt;/script&gt;
&lt;!-- full file path is: root/mango/web/resources/require.js --&gt;    
    &lt;script src="/resources/loaderConfig.js"&gt;&lt;/script&gt;
&lt;!-- full file path is: root/mango/web/resources/loaderConfig.js --&gt;
    &lt;script src="../js/loaderConfig.js"&gt;&lt;/script&gt;
&lt;!-- full file path is: root/mango/web/modules/dashboards/web/js/loaderConfig.js --&gt;


    &lt;!-- Rename adminTemplate to the name of the folder you create in overrides --&gt;
    &lt;script&gt;require(['dashboards/chrisground/app']);&lt;/script&gt;
    &lt;style&gt;
    div[role=main] &gt; md-content {
        background-image: url(/modules/dashboards/web/vitalimages/Test3.jpg);
        }
    &lt;/style&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/12584</link><guid isPermaLink="true">https://forum.mango-os.com/post/12584</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 09 Sep 2016 02:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Tue, 23 Aug 2016 15:52:26 GMT]]></title><description><![CDATA[<p dir="auto">Chris;</p>
<p dir="auto">Angular JS<br />
Changing the background color of just the main pages (not the header or menu).<br />
In MS paint open (/modules/dashboards/web/img/logo.svg) and change it to the color you want the back ground and save as “newname.png”<br />
In the index.html about line 41 where it says<br />
&lt;script&gt;require(['dashboards/adminTemplate/app']);&lt;/script&gt;<br />
“put in new line “<br />
&lt;style&gt;<br />
div[role=main] &gt; md-content {<br />
background-image: url(/modules/dashboards/web/img/newname.png);<br />
}<br />
&lt;/style&gt; “</p>
]]></description><link>https://forum.mango-os.com/post/12468</link><guid isPermaLink="true">https://forum.mango-os.com/post/12468</guid><dc:creator><![CDATA[LarryE]]></dc:creator><pubDate>Tue, 23 Aug 2016 15:52:26 GMT</pubDate></item><item><title><![CDATA[Reply to Angular Background Image on Thu, 18 Aug 2016 16:03:40 GMT]]></title><description><![CDATA[<p dir="auto">What you are looking for is the CSS background-image property - <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-image" rel="nofollow ugc">https://developer.mozilla.org/en-US/docs/Web/CSS/background-image</a></p>
<p dir="auto">If you are using the admin template the rule to target the main content pane will look something like this</p>
<pre><code>&lt;style&gt;
    div[role=main] &gt; md-content {
        background-image: url(/modules/dashboards/web/img/logo.svg);
    }
&lt;/style&gt;
</code></pre>
<p dir="auto">Otherwise just target the body element.</p>
]]></description><link>https://forum.mango-os.com/post/12434</link><guid isPermaLink="true">https://forum.mango-os.com/post/12434</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 18 Aug 2016 16:03:40 GMT</pubDate></item></channel></rss>