I'm using a dashboard switch node with icon, but with no label so it can be 1x1 in size.
Can I somehow get a border around the 1x1 square so that it would look like a button. A dashboard button has this grey shine around it and it is clear that it can be pressed.
Using only an icon on switch node it is not clear that it can be pressed. It could also be just an information icon.
Is there any way to get the same board as on buttons? Or any other kind of boarder? Or maybe have a grey background color on the 1x1 square?
I'm not using a button since a button does not have a state and outputs the same message whereas a switch node has a state.
Easy is subjective TBF. It is easy for anyone who knows about things like CSS and understands they can use a ui-template node to affect the style of anything on the page
The reason no-one has offered an assist is possibly because your post slipped through the cracks but it doesnt help that you haven't told us which dashboard are you using (old/depreciated node-red-dashboard? or the new @flowfuse/node-red-dashboard AKA Dastboard-2)?
If you know about CSS and classes and the like, you can probably apply a style to target your button and adjust it to however you like.
Sorry, using dashboard 3.6.5. That should be the latest?
I wouldn't know where to start but also do not want to mess around in the deep code due to probable interference with updating dashboard later on. If there is something out of node-red kind of would be preferred.
Did not know this is dashboard 1.0. Can I just upgrade to dashboard 2.0 by installing @flowfuse/node-red-dashboard ? I guess it will not update the dashboard 1.0 nodes?