Bug 25276: Correct hover style of list share button in the OPAC
authorOwen Leonard <oleonard@myacpl.org>
Fri, 24 Apr 2020 14:24:07 +0000 (14:24 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 8 May 2020 20:51:00 +0000 (20:51 +0000)
commitbedf692a3c348612f7e97dd2d0e428cab257185d
tree047f9cff7a225ddb1b0eaa7ca484fe8a725197bb
parent66c0ab283a364f34ca470938b847366d3117153a
Bug 25276: Correct hover style of list share button in the OPAC

This patch adds missing "btn" classes to the OPAC share button so that
its style is consistent with similar controls.

The patch also makes some general changes to the OPAC CSS to make sure
link color and hover color are applied with enough specificity. This
corrects the hover color of the share button but should not change any
other existing style.

To test you should have the OpacAllowSharingPrivateLists preference
enabled.
 - Rebuild the OPAC CSS
   (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).
 - Log in to the OPAC as a user with one or more private lists.
 - Go to Lists -> Your lists.
 - In the list of lists there should be a "Share" link for each list.
   Hovering your mouse pointer over the link should change the style in
   the same way the "Edit" link does.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/_mixins.scss
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt