Koha/koha-tmpl/opac-tmpl/bootstrap/css
Owen Leonard e722dd1725 Bug 25984: Add minimum height and width to shelf browser covers
This patch adds a class to the shelf browser cover image links and a
style for these links defining a minimum height and width. This allows
the browser's default tab focus outline to be visible.

This patch also adds a check for an enabled cover image service before
displaying the cover image links.

This patch introduces whitespace changes so diff accordingly.

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

- Enable the OPACShelfBrowser system preference.
- Enable at least one cover image service (Amazon, Google, Coce, etc).
- Locate a title in the OPAC which has items attached.
- On the bibliographic detail page, click the "Browse shelf" link in the
  table of holdings to display the shelf browser.
- Use the tab key to move the focus to cover images in the shelf
  browser.
- Confirm that the focus outline moves through each cover link whether
  or not there is a cover image available.
- Diable all cover image services.
- Test the shelf browser again and confirm that it's not necessary to
  tap through an empty row.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-20 17:45:31 +02:00
..
fonts Bug 20554: (follow-up) Add local font files and add method for loading them 2018-10-19 17:27:42 +00:00
src Bug 25984: Add minimum height and width to shelf browser covers 2020-07-20 17:45:31 +02:00
babeltheque.css Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
bootstrap-theme-oai.css Bug 15527: Add a stylesheet for OAI-PMH to aid usability 2016-03-24 17:28:38 +00:00
datatables.css Bug 10632 [Follow-up] Enable datatables for courses and course details in the OPAC 2014-11-11 16:07:33 -03:00
hierarchy.css Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
oai.css Bug 15527: Add a stylesheet for OAI-PMH to aid usability 2016-03-24 17:28:38 +00:00
opac.css Bug 22807: Compiled CSS 2020-06-24 15:15:36 +02:00
print.css Bug 24953: Compiled CSS 2020-03-24 11:03:54 +00:00
right-to-left.css Bug 20427: (RM follow-up) Add compiled CSS 2018-08-09 15:24:10 +00:00
sco.css Bug 22772: Compiled CSS 2019-04-29 11:55:58 +00:00