Bug 10510 - OPAC's renew selected link has glitchy icon
authorOwen Leonard <oleonard@myacpl.org>
Wed, 26 Jun 2013 16:54:15 +0000 (12:54 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 2 Jul 2013 13:26:04 +0000 (06:26 -0700)
The "renew selected" link on the list of a user's checkouts looks bad
because the next icon in the sprite shows through. This patch modifies
the sprite to give it proper spacing and corrects the CSS to accommodate
the change.

To test, apply the patch, clear your browser cache, and view the
following pages to confirm that the change works:

- With TagsEnabled and TagsInputOnList enabled, view a search results
  page when logged in and when not logged in. Tag links should be
  styled correctly.

- With OpacBrowseResults enabled, open the detail page for any record
  and click the "browse shelf" link. The "forward" and "back" arrows
  should be styled correctly.

- With OpacRenewalAllowed enabled, log in to the OPAC and view your
  checked out items. The "renew selected" and "renew all" links should
  look correct.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Note: this will fix only the prog theme, but not the ccsr theme.
And it works perfectly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/images/sprite.png

index 28c0eb9..6fd9a90 100644 (file)
@@ -741,7 +741,7 @@ input.deleteshelf:active {
 
 a.tag_add {
     background-image: url("../../images/sprite.png"); /* Tag results */
-    background-position: -10px -1104px;
+    background-position: -10px -1110px;
     background-repeat: no-repeat;
     padding-left : 13px;
     text-decoration: none;
@@ -749,7 +749,7 @@ a.tag_add {
 
 #login4tags {
     background-image: url("../../images/sprite.png"); /* Tag results disabled */
-    background-position: -10px -1124px;
+    background-position: -10px -1130px;
     background-repeat: no-repeat;
     padding-left : 13px;
     text-decoration: none;
@@ -2045,7 +2045,6 @@ a#MARCview, a#MARCviewPop, a#ISBDview, a#Normalview, a#Fullhistory, a#Briefhisto
 #shelfbrowser #browser_next,
 #shelfbrowser #browser_previous {
     background-image : url("../../images/sprite.png");
-    background-position : -5px -988px;
     background-repeat: no-repeat;
     width : 16px;
 }
@@ -2061,10 +2060,10 @@ a#MARCview, a#MARCviewPop, a#ISBDview, a#Normalview, a#Fullhistory, a#Briefhisto
     width: 16px;
 }
 #shelfbrowser #browser_previous {
-background-position: -9px -1001px;
+background-position: -9px -1007px;
 }
 #shelfbrowser #browser_next {
-background-position: -9px -1051px;
+background-position: -9px -1057px;
 }
 
 #comments .commentline {
@@ -2266,13 +2265,13 @@ div.bibmessage { background-color : #ffffb0; border-radius : 5px; padding : 3px;
 
 #renewselected_link {
     background-image : url("../../images/sprite.png");
-    background-position : -5px -988px;
+    background-position : -5px -986px;
     background-repeat: no-repeat;
 }
 
 #renewall_link {
     background-image : url("../../images/sprite.png");
-    background-position : -8px -964px;
+    background-position : -8px -967px;
     background-repeat: no-repeat;
 }
 
index 6ed641d..a6037a9 100644 (file)
Binary files a/koha-tmpl/opac-tmpl/prog/images/sprite.png and b/koha-tmpl/opac-tmpl/prog/images/sprite.png differ