Alexandre Trevizoli Posted January 18 Share Posted January 18 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! Link to comment Share on other sites More sharing options...
Sherzod Posted January 18 Share Posted January 18 Hello, This post may help you: Link to comment Share on other sites More sharing options...
Alexandre Trevizoli Posted January 18 Author Share Posted January 18 Thanks @Sherzod. It's worked. I really searched on forum about this information, but I can't find. Have some way to learn about this tricks? I hope one day we have an documentation, so we don't need spend hours searching and trying. Link to comment Share on other sites More sharing options...
Recommended Posts