<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged mode</title>
<link>https://overflow.efficy.io/?qa=tag/mode</link>
<description>Powered by Question2Answer</description>
<item>
<title>Change agenda colors without using scss</title>
<link>https://overflow.efficy.io/?qa=698/change-agenda-colors-without-using-scss</link>
<description>&lt;p&gt;Dear,&lt;/p&gt;

&lt;p&gt;I want to change the background color of agenda according to values in &quot;Mode&quot; field without using or compiling scss file. this is what i've done so far. in MacroAgendaCustom:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;JsonAgendaModelCustom {[
    // The value customAppointmentColors is used to modify the configuration of the agenda colors. it gets merged with the standard configuration
    // The colors themselves need to be defined in the CSS by using the classes like 'appo-location-brussels' or 'appo-myfield-myvalue'
    ,&quot;customAppointmentColors&quot;: {
        mode: {
        // this agenda color line is new in the custom. The translations come from the database lookup.
        'appo-mode-VirtCons': 'Virt.Meeting - Cons',
        'appo-mode-VirtSas': 'Virt.Meeting - SaS',
        'appo-mode-meetingIn': 'meeting in;rdv au bureau;afspraak in;cita en la oficina;meeting (innen);ミーティング中;zebranie w biurze;içerde toplantı;Meeting IN - Cons;Meeting IN - Sas',
        'appo-mode-meetingOut': 'meeting out;rdv extérieur;afspraak uit;cita fuera de la oficina;meeting (außen);ミーティング終了;zebranie poza biurem;dişarda toplantı;Meeting OUT - Cons;Meeting OUT - Sas'       
        }
    }
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;in efficyCustom.css:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;.appo-mode-VirtCons {
 background-color:#7E87FC
}

.appo-mode-VirtSas {
 background-color:#FC6D6D
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But it's not working, the background color is not as supposed to be.&lt;br&gt;
Please help and advise.&lt;/p&gt;

&lt;p&gt;Thank you&lt;br&gt;
Best Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=698/change-agenda-colors-without-using-scss</guid>
<pubDate>Wed, 02 Sep 2015 00:24:22 +0000</pubDate>
</item>
</channel>
</rss>