Selected device color

Claudio Carrasco4 years ago

Hi all,

I am looking for the code responsible for the color of the selected elements of a grid (table). I was able to modify the color of the unselected items in Style.js, but couldn't find the value for the selected items. I think it should be in theme-triton-all_1.css but the code is too long and confusing.

My idea is to keep it in blue tones.

Thanks and greetings to all!

Actually

Regards!

Anton Tananaev4 years ago

I would recommend checking ExtJS documentation on theming.

Claudio Carrasco4 years ago

Thanks Anton,

in case it works for someone, I found the solution: the code of the color in question is #ffefbb inside the file theme-triton-all_1.css

Regards.

Peter4 years ago

Hi Claudio!
Vary good and nice idea!
Where you find the file theme-triton-all_1.css

Regards

Claudio Carrasco4 years ago

by default this files are hosted in the traccar page ('https://cdn.traccar.com/js/extjs/6.2.0/classic/theme-triton/resources/'). If you want to modify it you have to host your own files (and other files of the ExtJS SDK) in your vps and modify the file load.js so that it loads your custom file and not the one in traccar.

Sorry for my bad English.

Regards!

Peter4 years ago

Hola, Claudio. ¡Gracias por la buena idea y su información! Saludos Peter