Jump to content

Erro Cor Fonte Botao CSS


BrunoNoe

Recommended Posts

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');
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...