https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38550

--- Comment #51 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 200773
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200773&action=edit
Bug 38550: Token .searchheader and sidebar .action fieldset

Two more leftovers on the catalogue results / search pages were
still pinned to light values:

* .searchheader — the sticky toolbar that sits above search
  results (sort / actions / batch operations). It hardcoded
  background-color: #F3F4F4 and color: #696969, leaving a
  light-grey strip floating across an otherwise dark page.
  Now uses var(--koha-surface-muted) + on-surface-muted.

* The `& + .action` rule paired with the search-facets sidebar
  in staff-global.scss: when an .action fieldset directly
  follows another fieldset (used for the apply-to-results
  buttons under the facet list), it explicitly re-painted itself
  white via background-color: #FFF, side-stepping the @mixin card
  exclusion that normally leaves .action transparent. Switched
  to var(--koha-surface) + var(--koha-on-surface) so the panel
  flips with the rest of the chrome.

Test plan:
1) Apply patch, rebuild: yarn css:build
2) Light mode: visit /cgi-bin/koha/catalogue/search.pl?q=… —
   confirm the sticky header above the results table and the
   apply-to-results action card under the left facets look
   identical to pre-patch.
3) Dark mode: same page. Confirm both panels now use dark
   surfaces and read as a continuation of the page chrome,
   with their text legible against the new bg.
4) Spot-check the same .searchheader pattern on patrons-home
   results and the cataloguing addbooks search. Spot-check the
   .action fieldset on any sidebar that has an apply-button
   block.

-- 
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/

Reply via email to