From fb650607032c851471610873a3065b60d2aaffca Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 5 Nov 2021 12:22:07 +0000 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index 44e2b32ae4..260a96b905 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -297,7 +297,7 @@ tr { tr { &:hover { td { - background-color: #FFFF99; + background-color: #FFFF99 !important; } } } -- 2.39.5