tmbarbour / cncjs_custom_css

Custom CSS to override CNCjs button styles
0 stars 1 forks source link

cncjs_custom_css #1

Open patrickduhaime opened 3 years ago

patrickduhaime commented 3 years ago

The code does not seem to work, for me at least

CNCjs 1.9.22

Followed the instruction on your Readme file, no error is shown and no css change after apply, seem to be related to the language, cncjs is shown in french on my interface and button titled "Move Y+" is titled "Déplacer Y+" on my interface, if I change those titles in the app.css the file doesn't like the accent on the "é"...

It does work after switching language to english

tmbarbour commented 3 years ago

I updated the .css to fix most of the styling for other languages by using the title*= syntax for title 'contains' a substring. This didn't work for the Z0 button since the titles for that are different in each language. I added a specific French block just for @patrickduhaime :) If you have already appended this css to the app.css file, the easiest thing would be to edit the app.css (nano or vi), scroll to the bottom of the file and delete all the lines that were added. Then reapply the new file per the README