Bug 29195: Fix highlighting on odd rows in circ-patron-search-results
authorOwen <oleonard@myacpl.org>
Fri, 5 Nov 2021 12:22:07 +0000 (12:22 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Thu, 11 Nov 2021 12:36:30 +0000 (07:36 -0500)
commitfb650607032c851471610873a3065b60d2aaffca
tree699d80e9c9a0c666e85cb994402bf90357670cc8
parentfbd3d2d762cd2889d6207770ebe5f96f34b727c9
Bug 29195: Fix highlighting on odd rows in circ-patron-search-results

This patch adds "!important" to the CSS rule governing the background
color of table cells when hovered. It only applies to tables with the
"selections-table" class.

Although "!important" is not usually recommended, in this case the
appliation is narrow enough that I think it outweighs the complicated
selector that would be required to make it work otherwise.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Locate a record in the catalog and being the process of placing a
  hold.
- When you're asked to enter a card number or search by name, search
  using a name which will return multiple results.
- In the table of results, hovering the mouse over the table should
  highlight the row in yellow.
- Perform the same test when searching for a club by name.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss