From 56384c12d0782813f1013a29de2db9e07b057539 Mon Sep 17 00:00:00 2001 From: nina martinez Date: Fri, 23 May 2025 15:59:58 +0200 Subject: [PATCH] Bug 39982: Change the color of the Browse results list elements. Test plan: 1- Apply the patch and enable the folowing system preference: OpacBrowseResults 2- Make a search, choose a record, and expand the 'Browse results' menu. 3- Check the color contrast of these elements: close buttons, results number navigation, record name link and author name. (you can use a color checker like WCAG Color contrast checker) 4- If all the color contrast between the elements and the background are greater than or equal to 4.5 the test succeeds ! --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 5f182f644a..420bd4edb7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1286,6 +1286,7 @@ fieldset { } .close_pagination { + color: #006699; display: none; } @@ -1306,22 +1307,25 @@ fieldset { li { border-top: 1px solid #DDDDDD; - color: #999; + color: #666; font-size: 90%; list-style: none; padding: 4px; &.highlight { + color: #616161; background-color: #DDDDDD; + a { + color: #006699; + } } - a { padding-left: 0; } } .li_pag_index { - color: #636363; + color: #616161; font-size: 90%; font-weight: bold; padding-right: 10px; @@ -1408,7 +1412,7 @@ fieldset { text-align: center; a { - background-color: #999999; + background-color: #767676; color: #FFFFFF; display: block; font-weight: normal; -- 2.43.0