Jump to content

CSS Button - can't change


Recommended Posts

Unigui version - 1.95.0.1576

Need help to change style of TunimButton

I put CSS on CustomCSS

.wca-button {
    box-shadow:inset 0px 1px 0px 0px #54a3f7 !important;
    background:linear-gradient(to bottom, #007dc1 5%, #0061a7 100%) !important;
    background-color:#007dc1 !important;
    border-radius:15px !important;
    border:1px solid #124d77 !important;
    color:#ffffff !important;
    font-size:13px  !important;
    text-decoration:none  !important;
    text-shadow:0px 1px 0px #154682  !important;
}
.wca-button:hover {
    background:linear-gradient(to bottom, #0061a7 5%, #007dc1 100%) !important;
    background-color:#0061a7 !important;
}
 

config Layout Css and add ExtEvents 

function added(sender, container, index, eOpts)
{
  sender.addCls('wca-button');
}

function painted(sender, eOpts)
{
    sender.addCls('wca-button');
}

nothing works.


Need help to understand what I'm doing wrong.

Thanks!

 

tela1.PNG

tela2.png

tela3.png

Link to comment
Share on other sites

×
×
  • Create New...