I’ve noticed filters reorder the layers of the css, so I use opacity when I have to. I noticed opacity made everything including icons and text transparent. So I always try to use background transparencies if I can.
please help me with another search: Id always like the signals to stick out. the lock is one of these. can we set the lock to color red for example? that way it would stick out of the buttons without a lock.
As I said, don’t use opacity if you don’t want the card and all the items in the card to be opaque. It’s not something @RomRider does, this is a part of css. If you only want the background opaque, then you need to set the background color with an alpha channel.
cut it short in this case: if i’d only want the lock to stick out, id have to set styles on background, name, state and label individually…?
would have hope for the option to have the card set at opacity say 60%, and have a separate setting for the lock (or maybe any other item) to be excluded from that.
If not at all possible, think it will be doable using the new templates, and only having to set it once for all switches…?
I’ve found an interesting layout challenge that I don’t know how to overcome. Leveraging the examples on the github page, I’ve created a button where text is placed on the left and the Icon is placed on the right side. As you can see from the photo below, the placement of the icon consumes the right half of the button and is centered within that space. Depending on the size of the button, this limits how much text can be displayed to the left of the icon and leaves quite a bit of unused space to the right of the icon.
Is there a way to tweak the icon’s placement such that it can be “right justified” within the button? (I’m not sure what is the proper term for this type of alignment.) Also, is it possible to increase the available space for text within a button? Maybe via layering within the button or perhaps as a result of moving the icon over?
I would like to create remote control for my tv, receiver, set top box and one android tv.
What is the best and easy way to create it so that it can be used from a single page.
I am using Lovelace UI
Please guide