Bug 34835: Highlight logged-in library in patron searches fix for new staff interface
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 19 Sep 2023 22:20:43 +0000 (12:20 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Sep 2023 15:35:50 +0000 (12:35 -0300)
commit9f59ea2f61a4660a9e1f5c27a2ecca33bea89b0b
treec2f81d6fbb292ff263868ce872d8cd07c08be7e8
parent7fd26e069eb0694f07ee63fbacebd3e8d1c8290c
Bug 34835: Highlight logged-in library in patron searches fix for new staff interface

Since Bug 30952 the feature from Bug 10902 does not work anymore.
The class "currentlibrary" is there but no background color in CSS.
Bug 30952 removed it :
-    background-color: #E6FCB7;

This patch restores this rule plus '!important' that is used by
class 'ac-currentlibrary'

Test plan:
1) Perform a patrons search
2) Check you see green background color for patrons with same branch as
   currently logged in.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss