Since Bootstrap 5.1 cell background color is controlled by CSS variables in order to effectively handle mixed scenarios (eg. "selected + :hover + table-info" combined). Commit https://github.com/odoo/odoo/commit/1d4145dfda1f8a95c3f386ae01fb0e29ddd4be48 forced bg-colors for :hover and :focus states, achieving the desired result in a simple scenario but inadvertently breaking the behavior for complex combination and/or different color schemes (eg. dark-mode). This commit restore the default BS mechanics for `:hover`, and uses BS variables to handle `:focus`. task-3012970 closes odoo/odoo#103118 X-original-commit: 1978a5bfa08a534487d7a70921105f8b5c3a5d30 Related: odoo/enterprise#32740 Signed-off-by: Pierre Paridans (app) <app@odoo.com>