Hi,
ExtEvents:
function added(sender, container, pos, eOpts)
{
sender.addCls('bntLogin');
}
CSS (servermodule):
.bntLogin
{
background:#1892d1 !important;
color:#fff !important;
-webkit-transition: background 0.5s ease-in-out;
transition: background 0.5s ease-in-out;
}
.bntLogin:hover
{
background:#828282 !important;
-webkit-transition: background 0.5s ease-in-out;
transition: background 0.5s ease-in-out;
}
Hope this will help you...