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 <martin.renvoize@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2018-10-04 18:45:39 +00:00 committed by Nick Clemens
parent 78a692dee4
commit dc2d6ed056

View file

@ -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 */