Logic Machine Forum
Custom CSS - 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: Custom CSS (/showthread.php?tid=5935)



Custom CSS - Davideq - 18.03.2025

Hello there,
Can somebody help me with custom CSS, to change color of the trend graphs from blue to matching green #00FF32
Thank you in advance.
Dawid


RE: Custom CSS - admin - 18.03.2025

Add this to Custom JavaScript (not CSS):
Code:
if (window.Flotr) {
  Flotr.defaultOptions.colors[0] = '#00FF32'
}



RE: Custom CSS - Davideq - 18.03.2025

(18.03.2025, 11:02)admin Wrote: Add this to Custom JavaScript (not CSS):
Code:
if (window.Flotr) {
  Flotr.defaultOptions.colors[0] = '#00FF32'
}

Thank you very much Smile
May I ask for the code to change also color of date and highlighted day?
Thank you once again!


RE: Custom CSS - Daniel - 18.03.2025

try this CSS
Code:
td.day.active {
  background-color: #00FF32 !important;
}
span.current {
  color: #00FF32 !important;
}



RE: Custom CSS - Davideq - 19.03.2025

(18.03.2025, 13:54)Daniel Wrote: try this CSS
Code:
td.day.active {
  background-color: #00FF32 !important;
}
span.current {
  color: #00FF32 !important;
}
That works!
Thank you for help.