Logic Machine Forum
replaced smartphone and tablet/pc default colors - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: replaced smartphone and tablet/pc default colors (/showthread.php?tid=1195)



replaced smartphone and tablet/pc default colors - gjniewenhuijse - 26.01.2018

I have homelynk (2.1.1) with default css. 

So default colors is green on my smartphone and table/pc visu. How to change this color easy to F00000 for example?


RE: replaced smartphone and tablet/pc default colors - Erwin van der Zwart - 26.01.2018

Hi,

http://192.168.0.10/scada/vis/theme.css.gz?version=2.1.1 holds all the used CSS for a selected theme, if you pick the correct rules from it and set them to custom css you can do it quite fast..

BR,

Erwin


RE: replaced smartphone and tablet/pc default colors - gjniewenhuijse - 26.01.2018

(26.01.2018, 15:09)Erwin van der Zwart Wrote: Hi,

http://192.168.0.10/scada/vis/theme.css.gz?version=2.1.1 holds all the used CSS for a selected theme, if you pick the correct rules from it and set them to custom css you can do it quite fast..

BR,

Erwin

can you please give me a quick example and where to place the custom css?


RE: replaced smartphone and tablet/pc default colors - Erwin van der Zwart - 26.01.2018

Hi,

Vis Graphics ->Edit Custom CSS

Sample:
Code:
.navbar-inner, .nav .active .a, .nav .active .a:hover, .nav .a.active{
    background-image: linear-gradient(#534767, #143111);
}
a, .a{
    color: #08c;
}
.nav .a:hover {
    box-shadow: inset 0 0 0 1px #08c;
}

BR,

Erwin


RE: replaced smartphone and tablet/pc default colors - gjniewenhuijse - 26.01.2018

many thanks..