Hello,
I'm struggeling at changing the background-color of a TUnimButton.
// ExtEvent
function added(sender, container, index, eOpts)
{
sender.addCls('mainBtnBg')
}
/* CustomCSS */
.mainBtnBg {
width:120px;
height:30px;
background: #1E90FF; /* blue */
border: 5px solid #1E90FF; /* borda branca em volta */
margin: auto; /* centraliza com bordas automáticas nas laterais */
text-align: center; /* centraliza o texto */
font-family: Source Sans Pro; /* fonte */
font-size: 16px; /* tamanho da fonte */
color: #1E90FF; /* cor fonte */
border: 1px solid #ccc;
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-bottom-color: #b3b3b3;
border-radius: 4px;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
}
The font-color changes to blue, but the background-color is still btnFace it should be blue.
I copied the code from the example attachment.
Regards,
Int3g3r
btnmobile.zip