From c5236f1d66e1baeb4d365288b1a78908ed48fc10 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 15 Oct 2018 13:18:33 +0000 Subject: [PATCH] Bug 21493: (18.05.x) Remove incomplete icon style from serial issues tabs This patch adds CSS to exclude serial issues history links from having an icon background. There is no part of the icon sprite which is designed for that purpose. This patch also tweaks the positioning of a couple of icons. To test, apply the patch and regenerate the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_Bootstrap_OPAC_LESS_files). - Open the detail page for a bibliographic record in the OPAC which has subscriptions. - Click the "More details" link. - Confirm that the "Brief history" and "Full history" links have no icon. - Click the "Full history" link and do the same. - On the normal, MARC, and ISBD views, confirm that the icons for those links look correct. Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less index a078bb5109..c496362bd5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less @@ -1089,13 +1089,19 @@ div.rows { } #MARCview { - background-position: -9px -27px; + background-position: -9px -28px; } #ISBDview { background-position: -10px -56px; } #Normalview { - background-position: -8px 3px; + background-position: -8px 1px; +} + +#Fullhistory, +#Briefhistory { + background: transparent none; + padding-left: 0; } #bookcover { -- 2.39.5