]> git.koha-community.org Git - koha.git/commit
Bug 26164: Replace OPAC table sort icons with SVG
authorOwen Leonard <oleonard@myacpl.org>
Sat, 8 Aug 2020 13:15:43 +0000 (13:15 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Sep 2020 12:28:19 +0000 (14:28 +0200)
commit171e7bfc5103c63675766b504fb4cef530cb815f
tree0f39014a4dc4aafa5a2b5455ba889a1ff765f713
parent8722bce9041c7108f27b26e8602aaf0b3564c855
Bug 26164: Replace OPAC table sort icons with SVG

This patch modifies the OAPC CSS to convert table sorting icons from PNG
to SVG. These icons are added via background-image data-urls, so only
the SCSS file is modified.

To test, apply the patch and rebuild the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface).

- Clear your browser cache if necessary
- View any DataTable in the OPAC, for instance the table of
  checkouts under the logged-in user's "your summary" tab.
- Confirm that the sorting icons in the table headers look
  correct in each state: Sorted ascending, sorted descending, and
  unsorted.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/css/src/sco.scss
koha-tmpl/opac-tmpl/bootstrap/images/asc.gif [deleted file]
koha-tmpl/opac-tmpl/bootstrap/images/ascdesc.gif [deleted file]
koha-tmpl/opac-tmpl/bootstrap/images/desc.gif [deleted file]