I am currently working with Bootstrap and facing an issue where I am trying to change the button color, but after clicking it and moving the mouse away, the color reverts back to blue.
Here is the color I initially selected:
https://i.sstatic.net/DCMq5.png
However, after a click and when the mouse is not hovering over the button, the color changes to blue:
https://i.sstatic.net/jlOtb.png
I have already adjusted most properties as shown below:
.btn:focus, .btn.focus {
outline: 0;
box-shadow: 0 0 0 0.2rem #EB984E;
}
.btn-primary {
color: #fff;
background-color: #EB984E;
border-color: #EB984E;
}
.btn-primary:hover {
color: #fff;
background-color: #EB984E;
border-color: #EB984E;
}
.btn-primary:focus, .btn-primary.focus {
box-shadow: 0 0 0 0.2rem #EB984E;
}
.btn-primary.disabled, .btn-primary:disabled {
color: #fff;
background-color: ##EB984E;
border-color: ##EB984E;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
color: #fff;
background-color: ##EB984E;
border-color: ##EB984E;
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem #EB984E;
}
.buttons input:focus {
outline: none;
}
What else do I need to do to ensure the entire button remains in this orange color (#EB984E)?