UI widget border ?

268 views
Skip to first unread message

Toshi Bass

unread,
Mar 8, 2017, 4:39:08 AM3/8/17
to Node-RED
Using node-red v0.15.2 I was using the following code in a ui template node to give me a border around widgets as per attached.

This has stopped working on my pi's that were upgraded to v0.16.2 , I kinda like the widget border so is it possible to recreate this perhaps by using the UI Control widget ?

If so an example would be appreciated

<style>
    .nr-dashboard-theme-dark ui-card-panel {
  background-color: #222;
  outline: 1px solid #4F4F4F;
  }
</style>
Capture.JPG

Paul Reed

unread,
Mar 8, 2017, 4:49:09 PM3/8/17
to Node-RED
Which dashboard version are you using?
The code that you have used previously will no longer work with the newer versions of dashboard, which now include a theme editor, where you can create a custom dashboard theme to achieve the same result.
I used similar code with a template node, but deleted them, and found the theme editor quite adequate.

Paul

Toshi Bass

unread,
Mar 9, 2017, 5:31:52 AM3/9/17
to Node-RED
dashboard 2.3.3 ... ok thanks for the pointer the theme editor appears to do what I wanted.
Reply all
Reply to author
Forward
0 new messages