I’ve run into a weird issue and I’m hoping someone with more knowledge can help me understand it, or point me in the right direction to learn how to understand it.
I’m creating a remote control type interface for a camera and so far have pan, mic, and light buttons that function well. I ‘buttonised’ the buttons in Inkscape and then removed the colours so that I can use a stylesheet to dynamically set them. This has worked on every HA-Floorplan view that Ive created and it works with the mic and light buttons on this one.
However the pan buttons will not take the fill colour at all. Here’s the weird part, using dev tools the element shows the styles as having been applied but it does not display.
The CSS is:
#remote_button_mic,
#remote_button_light,
#remote_buttons_pan {
fill: rgb(58, 55, 64) !important;
stroke-width: 0.5 !important;
stroke: black !important;
}
In dev tools you can see it as being applied correctly but only displaying results on the mic and light buttons:
Yet in Inkscape setting colour to the same element works:
Any and all help greatly appreciated, thanks.
Edit: If I set the colour for the one element in inkscape and bring it into ha-floorplan it displays as expected, but that defeats the point of dynamically loading via stylesheet. Still can’t get the css to work as expected.