BrunoNoe Posted October 5, 2018 Share Posted October 5, 2018 Bom dia, estou tentando ao focar no botao, mudar o fundo e a cor da fonte em destaque . Ele muda a cor do fundo, muda fonte, coloca ate um sublinhado mas a cor da fonte do texto não muda de jeito nenhum. UniBitBtn CSS: .FocoSubBotaoPrinc{ background: rgb(182, 183, 184) !important; background-color: rgb(182, 183, 184) !important; background-image: none !important; border-width:none !important; border-color: rgb(182, 183, 184) !important; border: 0px solid rgb(182, 183, 184); color:white !important; text-color:white !important; font-color:white !important; /* background: rgb(65, 65, 65) !important; background-color: rgb(65, 65, 65) !important; background-image: none !important; border-width:none !important; border-color: rgb(65, 65, 65) !important; border: 0px solid rgb(65, 65, 65); color:white !important; */ -webkit-transition: background 0.3s ease-in-out; transition: background 0.3s ease-in-out; } .BotaoBranco { background:#FFFFFF !important; color:#fff !important; border-color:white !important; /* border-color:#FFFFFF; */ border: 0px solid white; -webkit-transition: background 0.5s ease-in-out; transition: background 0.5s ease-in-out; } ClientEvents->ExtEvents->MouseOut e mouseover function mouseout(sender, e, eOpts) { sender.removeCls('FocoSubBotaoPrinc'); sender.addCls('BotaoBranco'); } function mouseover(sender, e, eOpts) { sender.addCls('FocoSubBotaoPrinc'); sender.removeCls('BotaoBranco'); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.