17.06.2022, 12:44
Similar to this example: https://forum.logicmachine.net/showthread.php?tid=4091
When <body> element has generator-off class then all elements with generator-status additional class will have the current value hidden by setting the text color to transparent and showing a pseudo-element with ## before the value text.
When <body> element has generator-off class then all elements with generator-status additional class will have the current value hidden by setting the text color to transparent and showing a pseudo-element with ## before the value text.
Code:
body.generator-off .generator-status.item-value,
body.generator-off .generator-status .value {
color: transparent;
}
body.generator-off .generator-status.item-value:before,
body.generator-off .generator-status .value:before {
color: #333;
content: '##';
}