Thanks a lot for pointing out this problem!
Indeed, the CSS class applies to the div element that contains the HTML button. An immediate fix would be to change the CSS definition from `.button` to `.button > button`:
.button > button {
background-color: #04AA6D; /* Green */
border: none;
color: white;
padding: 1px 3px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
For maximum flexibility I would like to keep the effect of cssClass and highlighCssClass like it is now. However, it may be a good idea to apply the text attributes like strokeColor, ... to the button sub-element. The same will be true for checkbox and input elements.
Best wishes,
Alfred