managed to get something acceptable with the addition of flashing state for the warning condition by putting the inner part in the top-left corner (clears way for the text and 3dots):
/* alarm activated tile */
#tile-2 .on, .off{
color: black;
border-radius: 10px;
border: black solid;
position: relative;
top: -5px;
left: -5px;
width: 70px; // THIS LINE HAS NO FUNCTION
}
#tile-2 .on {
background-color: red !important;
animation: animate 1s linear infinite;
}
#tile-2 .off {
background-color: lime !important;
}
@keyframes animate{
0%{
opacity: 0.3;
}
50%{
opacity: 0.7;
}
100%{
opacity: 0;
}
}
I'm guessing this is a
inside the tile so the last part of the quest is to set the width of this internal box. Have tried !important; but that doesnt cut it.
this changed the size of the outer box/tile for me.
I'm happy to run with it as it is, with the smaller box in the top-left of the tile works for me. i can control the color and flash per tile and still see the text label and 3 dots.