Changing attribute of a switch from ON/OFF to any other word on the dashboard

Trying to beat @sburke781 :stuck_out_tongue_closed_eyes:

Tile Still Open/All closed

css

#tile-51 .tile-primary>div {
visibility: hidden;
position: relative;
}
#tile-51 .tile-primary>div:after {
position: absolute;
left:0;
width: 100%;
visibility: visible !important;
font-size: 1rem;
}

#tile-51 .tile-primary.on>div:after {
content: 'Still Open';
color: #ab1a34;
}

#tile-51 .tile-primary.off>div:after {
content : 'All Closed';
color: #7d7a7b;
}

open
image

3 Likes