thank you very much @dimitri.landerloos !
this did it!
additionally, i had to move the original style below this one and now both are active (removed border and margin adjustment for the entire RGB card + removal of shadows for individual rgb icons)
thanks again!
I saw the cool post with many, many great examples by Ildar, but are there also example of how css templates can be/were used in HA?
I would like to play around with some of the css style templates available on codepen but I am not sure how to apply them.
I can do simple things like adjust padding, border etc.
But not sure about how to test there kinds of css styles in HA:
might have been going on for some time, but now that I wanted to move those to a secret and paste them from there, I notice it does nothing. bringing it back as posted above doesnt eitherā¦
somehow I feel bad about adding !important, to force an override, and fear it takes even more of the system.
Iāve only a few card_mods using !important, so it is quite the surprise this long-standing mod now also needs it.
Could someone help me out on the
Energy source table?
Iām not sure if itās possible,
But was trying to get rid of the background
Cq black colorā¦then wanted it transparent
Did try with help of this card_mod
But ill gues i got not the correct code
after reading up here some codeā¦
Thank youā¦
I am new to ccs styles and having a challenge identifying the primary an secondary text attributes. I would like to change font characteristics. I have attempted with the code below using card-mod. I have added the following command --primary-font-size: 10px !important; with no effect on the text font size. This is a tile card. I have had no issues with the custom button card changing the font size and color. Appreciate any assistance or guidance.
I hope that somebody can help me out with this one. Iām trying to create a new dashboard with square tiles and I was working on the Shopping list card. I did some modifications with card mod which I found on the web and in this thread. Unfortunately Iām stuckā¦
I would like to achieve the following:
Keep the card as a square. Add a scrollbar instead of making the card longer.
Have a border only around the first input text field instead of the items added to the list.
Have less space between the items on the list.
Unfortunately Iām not able to figure this out and I hope somebody can help me with this. Thanks in advance!
Hope it was not answered before, could not find it.
I want to apply several css mods in several selectors at the same time when 1 condition is met. I wish to avoid to have to have the same if statement for each selector. Can I normally do something like below (does not seem to workā¦), or i do I have to make an if statement for each selector?
Iām trying to style an entity-filter card to squeeze more entities into a smaller space. Iāve been able to get the icons and text to scale and then to get them spaced vertically using margin-top and margin-bottom (zeroed out at the moment). Iāve got two issues Iād appreciate help with.
The first has to do with entity icons under the state-badge selector. The spotify icons behave differently than the mdc-icons. adjusting state-badge height and width has the expected effect on the spotify icons. they scale and stay centered. The mdc-icons, however donāt scale or re-center and end up overlapping the state text. I can scale them down with āāmdc-icon-sizeā, but that doesnāt adjust their alignment and I get the result in the attached image.
The second issue Iād love to resolve is I cannot figure out how to adjust the spacing of the entities horizontally. Iāve tried many variants of margin-left and -right with no success.
this is a late return on the matter, hope to receive some more generic advice on my specific needs, especially for the 2 input_datetime s that are now regarded āonā entities apparentlyā¦
What would be shortest to only have the entities that go on/off, so the left binary and the right 2 booleans change color when āonā, and leave the 2 date times untouched?
consider: