How to disable button color change when mouse hover over button or user push the button?
I'm using bootstrap:
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/sandstone/bootstrap.min.css'>
And here is some part of code that use button:
<form id="idForm1" method="post" action="/web_crawler">
<h4> Web crawler requests: </h4><br>
<textarea id="id_text_requests" name="text" rows="5" cols="20" style="resize:none">{{text_requests}}</textarea><br>
<input id="form1_send_button" type="button" class="btn" value="Run web crawler">
<br>
</form>
UPDATE:
Base on answers and suggestions, here is (not perfect) solution with css, but I hardcoded color(maybe it can be done in some automated way?) and also after button is in clicked state some dotted frame appears, how to remove it?
Here example:
.btn:hover {
background:#325d88;
}
.btn:active:focus {
color: #FFFFFF;
}
.btn:focus {
background: #325d88;
color: #FFFFFF;
}
Update 2:
Looks like it was firefox related problem:
This can fix it:
.btn:focus {
background: #325d88;
color: #FFFFFF;
outline:none;
}