https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38550
--- Comment #50 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 200772 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200772&action=edit Bug 38550: Token #searchresults panel and results summary The catalogue results page (#searchresults) was still pinned to a solid white panel via background-color: #FFFFFF on the wrapper itself, with several text colours hardcoded inside it. In dark mode this rendered as a glaring white block dropped into the otherwise-dark page chrome with the rest of the staff client flowing around it. Touched in staff-global.scss: * #searchresults — panel bg → var(--koha-surface), with explicit --koha-on-surface for body text on it * #searchresults h3 — heading colour → on-surface-muted (matches the muted-heading convention used elsewhere) * #searchresults td ul li — bullet-list item text → on-surface * #searchresults span.status — the "not available / lost / etc." red status line → var(--bs-danger-text-emphasis), so it stays semantically red but with AA-legible contrast against the panel in either mode (dark red on dark bg in the previous literal #900 was unreadable) * .results_summary — the header summary block above each search result page → on-surface, with .label on-surface-muted The .edi-search-results block in edifact_interchange.scss is a separate, EDI-only browser overlay and is intentionally left out of this commit; it lives in its own dirty-file entry in the stylelint override and will be addressed alongside the rest of edifact_interchange.scss. Test plan: 1) Apply patch, rebuild: yarn css:build 2) Light mode: visit /cgi-bin/koha/catalogue/search.pl?q=… or any module that mounts #searchresults (acquisitions parcels, authority lookup, cataloguing addbooks). Confirm the panel looks identical to pre-patch. 3) Dark mode: same pages. Confirm: - the search-results panel is now a dark surface flowing into the page chrome - heading + bullet item text remains readable - "Not available" / "Lost" status lines still read as red but in dark-mode-tuned shade (Bootstrap's danger-text- emphasis), not the unreadable dark-red literal - .results_summary text and field labels above the table are legible in both modes -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
