From 2c2cb5e711dcf5273ff6f76999f1ef31ddc215ab Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 4 Oct 2018 18:45:39 +0000 Subject: [PATCH] Bug 21493: 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 and makes other minor corrections to related CSS. To test, apply the patch and regenerate the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - 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. - View the purchase suggestions page as a logged-in user. Confirm that the "new purchase suggestion" link looks correct. Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index c5075d5ba9..042406b54d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -212,7 +212,6 @@ a { &.new { @extend %initial_icon; - background-image: url( "../images/sprite.png" ); /* New */ background-position: -4px -922px; padding-left: 23px; } @@ -1428,13 +1427,10 @@ div { background-image: url( "../images/sprite.png" ); background-repeat: no-repeat; font-size: 87%; + font-weight: normal; padding-left: 15px; text-decoration: none; } - - a { - font-weight: normal; - } } #bibliodescriptions, @@ -1449,7 +1445,7 @@ div { } #MARCview { - background-position: -9px -27px; + background-position: -9px -28px; } #ISBDview { @@ -1457,7 +1453,13 @@ div { } #Normalview { - background-position: -8px 3px; + background-position: -8px 1px; +} + +#Fullhistory, +#Briefhistory { + background: transparent none; + padding-left: 0; } /* pagination */ -- 2.19.0