Page 1 of 1

Change of stroke slider/text color in dark theme to more visible

Posted: Wed Feb 23, 2022 10:19 am
by worm6666
Change color/width of stroke slider and actual time text to yellow in timeline in montagereview - in dark css it is not good visible when blue:

Image

file:

/usr/share/zoneminder/www/skins/classic/views/js/montagereview.js

line 305 - var sliderLineWidth=1; -> change to:

var sliderLineWidth=2;

line 337 - ctx.strokeStyle = 'black'; -> change to:

ctx.strokeStyle = 'yellow';

line 348 - o.style.color = "blue"; -> change to:

o.style.color = "yellow";

hope this helps someone a little... ;-) without a creating whole new scheme...

Re: Change of stroke slider/text color in dark theme to more visible

Posted: Sat Aug 27, 2022 12:26 pm
by Gascoigne
Thank you for sharing, I think it will really give any project more "life"

Re: Change of stroke slider/text color in dark theme to more visible

Posted: Tue Aug 30, 2022 9:36 am
by worm6666
the anwer is very simple. similar color invisibility...

very small blue and thin font on dark gray backround is really very hard to read... and the same applies to black frame...