mercredi 28 septembre 2016

Change checkbox tick color and icon - sapui5

I need to change the color of the tick on a UI5 checkbox. I've looked at the CSS and found out that this is in the ::before selector: enter image description here

I've added a class to the checkbox, called .accept and defined like this on the CSS file:

.accept.sapMCbBg.sapMCbMarkChecked::before{
        content: "\e05b" ;
    font-family: "SAP-icons" ;
    color: #00a600;
}

This is not working. Do you have any suggestion? Thank you.




Aucun commentaire:

Enregistrer un commentaire