1
When I select Row from my datatable, the delete button turns white and does not obey the green color I entered in css. When I place the mouse over and the button, the focus disappears and the green color appears. It seems that it is something related to the focus color...
HTML/Button:
<div class="btn-group" aria-label="Button group with nested dropdown" role="group"><a data-id="' + full.id + '" class="btn btn-sm btn-icon btn-default btn-outline btn-excluir-financeiro" title="Excluir"><i class="icon wb-trash" aria-hidden="true"></i></a></div>
CSS:
table.dataTable tbody tr.selected {
color: darkgreen !important;
background-color: #f5f5f5 !important;
}
It’s getting that way:
I’d like it to stay that way:
Does anyone know how to solve this problem? Thank you ;)
table.dataTable tbody tr.selected .btn { color: inherit; }
?– Wallace Maxters
@ Wallace Maxters, funcionouuuuuuuuuuu!!! Thanks mano!! Comments there as a reply ;)
– Master JR
I added in response
– Wallace Maxters