[RELEASE] Simple CSS Editor

Thank-you @sburke781 for undertaking this. I was wanting to update dashboard look so I read through The Noob's (in)complete guide to CSS for Hubitat, but was a bit overwhelmed. This editor will certainly fill a need for many of us that are not ready for full-on CSS!

I used HPM, followed your instructions, and the installation went smoothly. I've been able to do some basic editing, but had a few questions regarding functionality or if I'm doing something wrong.

  1. Once an edited tile is saved, if you go back into the editor, the saved settings are not visible. So if you just want to tweak a single setting you need to re-enter all the previous changes.

  2. Similarly, any previously edited and saved tiles are over-written on subsequent edits, even if tick mark is not selected. Meaning Tile 1, edited and save/export CSS selected, dashboard refreshed. Editor opened again and tile 2 edited, (tick mark on tile 1 not selected) then save export CSS selected, dashboard refreshed, but all previous changes to tile 1 are lost. So, is there a way to update or append, vs overwrite?

  3. I was able to use file manager and copy the editor saved changes, then paste them directly in the advanced CSS section of the dashboard and save, and it retained the changes. ( I didn't test what happens if there is a conflict with these settings saved in the dashboard CSS , and subsequent changes in the editor. Since the import URL is first line, I assume any changes after it would over-write.)

  4. The Custom CSS section is a nice add. I tested a few basic height commands and they worked fine.

  5. What is the Name/Group section for? I tried them but did not see any way to recall a named edit???

  6. Are there any known limitations of the font selections? I was seeming to get mixed results, testing Arial, Comic Sans MS. It may have been me, but it seemed some fonts, colors would not show. I need to test further to narrow down any issue.

Again - many thanks. This is a great editor and I realize it is very new, so my questions are certainly not meant to minimize the effort and functionality already developed.

2 Likes