@@ -, +, @@ - Star ratings images are now in one sprite. Removing separate star ratings images. - Amazon ratings have been removed. Related image files are removed by this patch. - The tag images associated with tag links on the search results page were not incorporated into the main sprite. Now they are. --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 86 ++++++++++---------- koha-tmpl/opac-tmpl/prog/images/Star0.gif | Bin 1360 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/Star1.gif | Bin 1395 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/Star2.gif | Bin 1410 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/Star3.gif | Bin 1391 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/Star4.gif | Bin 1380 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/Star5.gif | Bin 1284 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/sprite.png | Bin 3138 -> 8381 bytes .../opac-tmpl/prog/images/star-ratings-empty.gif | Bin 187 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/star-ratings.gif | Bin 295 -> 0 bytes .../opac-tmpl/prog/images/tag-small-disabled.png | Bin 317 -> 0 bytes koha-tmpl/opac-tmpl/prog/images/tag-small.png | Bin 347 -> 0 bytes misc/interface_customization/opac-sprite.psd | Bin 0 -> 76110 bytes 13 files changed, 45 insertions(+), 41 deletions(-) delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star0.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star1.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star2.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star3.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star4.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star5.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/star-ratings-empty.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/star-ratings.gif delete mode 100644 koha-tmpl/opac-tmpl/prog/images/tag-small-disabled.png delete mode 100644 koha-tmpl/opac-tmpl/prog/images/tag-small.png create mode 100644 misc/interface_customization/opac-sprite.psd --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ a/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -426,20 +426,20 @@ a .term { } #action a.print { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Print */ background-position: -5px -186px; background-repeat: no-repeat; } #action a.highlight_toggle { - background-image: url("../../images/sprite.png"); /* place hold icon */ + background-image: url("../../images/sprite.png"); /* Highlight */ background-position: -5px -841px; background-repeat: no-repeat; display: none; } #action a#furthersearches { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Menu arrow */ background-position: 106px -295px; background-repeat: no-repeat; border : 1px solid #F3F3F3; @@ -457,19 +457,19 @@ a .term { #action a.reserve, .searchresults a.reserve { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Place hold */ background-position: -5px -144px; background-repeat: no-repeat; } #action a.addtoshelf, #toolbar a.addtoshelf { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Virtual shelf */ background-position: -5px -225px; background-repeat: no-repeat; } #action a.addtocart, #toolbar a.addtocart { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Cart */ background-position: -5px -265px; background-repeat: no-repeat; } @@ -482,7 +482,7 @@ a .term { } #action a.incart { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Cart */ background-position: -5px -265px; background-repeat: no-repeat; color : #666; @@ -543,7 +543,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end #toolbar a.print { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Toolbar print */ background-position : 0px -423px; background-repeat: no-repeat; text-decoration : none; @@ -551,7 +551,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.brief { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Zoom out */ background-position : -2px -868px; background-repeat: no-repeat; text-decoration : none; @@ -559,7 +559,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.detail { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Zoom in */ background-position : -2px -898px; background-repeat: no-repeat; text-decoration : none; @@ -567,7 +567,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.download { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Download */ background-position : 2px -348px; background-repeat: no-repeat; padding-left : 28px; @@ -575,7 +575,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.editshelf { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* List edit */ background-position : 2px -348px; background-repeat: no-repeat; padding-left : 26px; @@ -583,7 +583,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.empty { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Trash */ background-position : 2px -598px; background-repeat: no-repeat; text-decoration : none; @@ -591,7 +591,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #toolbar a.hide { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Close */ background-position: -3px -814px; background-repeat: no-repeat; text-decoration : none; @@ -600,7 +600,7 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end #toolbar a.hold, #selections-toolbar a.hold { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Toolbar place hold */ background-position : -5px -453px; background-repeat: no-repeat; text-decoration : none; @@ -608,14 +608,14 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end } #selections-toolbar a.hold.disabled { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Place hold disabled */ background-position : -5px -621px; background-repeat: no-repeat; } #selections-toolbar a.removeitems, #selections-toolbar a.deleteshelf { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Delete */ background-position : 2px -690px; background-repeat: no-repeat; text-decoration : none; @@ -625,14 +625,14 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', end #selections-toolbar a.removeitems.disabled, #selections-toolbar a.deleteshelf.disabled { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Delete disabled */ background-position : 2px -712px; background-repeat: no-repeat; } #toolbar a.send, a.send { - background-image: url("../../images/sprite.png"); + background-image: url("../../images/sprite.png"); /* Email */ background-position : 2px -386px; background-repeat: no-repeat; text-decoration : none; @@ -640,7 +640,7 @@ a.send { } #toolbar a.new { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* New */ background-position : -4px -922px; background-repeat : no-repeat; padding-left : 23px; @@ -649,7 +649,7 @@ a.send { #toolbar input.editshelf, input.editshelf { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* List edit */ background-position : 2px -732px; background-repeat: no-repeat; border : 0; @@ -663,7 +663,7 @@ input.editshelf { #toolbar input.newshelf, #toolbar a.newshelf, a.newshelf { - background-image: url("../../images/sprite.png"); /* add to list icon */ + background-image: url("../../images/sprite.png"); /* List new */ background-position: -4px -864px; background-repeat: no-repeat; border : 0; @@ -676,14 +676,14 @@ a.newshelf { } a.newshelf.disabled { - background-image: url("../../images/sprite.png"); /* add to list icon */ + background-image: url("../../images/sprite.png"); /* List new disabled */ background-position: -4px -791px; background-repeat: no-repeat; } #toolbar input.deleteshelf, input.deleteshelf { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Delete */ background-position : 2px -685px; background-repeat: no-repeat; border : 0; @@ -712,7 +712,7 @@ input.deleteshelf:active { #tagsel_span input.submit, #tagsel_tag { - background-image : url("../../images/sprite.png"); /* tag icon */ + background-image : url("../../images/sprite.png"); /* Tags */ background-position : 7px -640px; background-repeat : no-repeat; padding-left : 25px; @@ -730,17 +730,17 @@ input.deleteshelf:active { #tagslist li { display : inline; } a.tag_results_add { - background-image: url(../../images/tag-small.png); - background-position : -1px center; - background-repeat : no-repeat; + background-image: url("../../images/sprite.png"); /* Tag results */ + background-position: -10px -1104px; + background-repeat: no-repeat; padding-left : 13px; text-decoration: none; } #login4tags { - background-image: url(../../images/tag-small-disabled.png); - background-position : -1px center; - background-repeat : no-repeat; + background-image: url("../../images/sprite.png"); /* Tag results disabled */ + background-position: -10px -1124px; + background-repeat: no-repeat; padding-left : 13px; text-decoration: none; margin-left: 1em; @@ -762,16 +762,17 @@ a.tag_results_add { max-width : 10em; } +/* Search results add to cart (lists disabled) */ .addto a.addtocart { - background-image: url("../../images/sprite.png"); /* cart icon */ - background-position: -5px -265px; + background-image: url("../../images/sprite.png"); /* Cart */ + background-position: -5px -266px; background-repeat: no-repeat; text-decoration : none; padding-left : 33px; } - +/* Search results place hold link */ #placehold input.submit { - background-image: url("../../images/sprite.png"); /* place hold icon */ + background-image: url("../../images/sprite.png"); /* Place hold */ background-position: -1px -140px; background-repeat: no-repeat; text-decoration : none; @@ -789,7 +790,7 @@ a.tag_results_add { cursor : pointer; } .searchresults a.highlight_toggle { - background-image: url("../../images/sprite.png"); /* place hold icon */ + background-image: url("../../images/sprite.png"); /* Highlight */ background-position: -11px -841px; background-repeat: no-repeat; display: none; @@ -1468,23 +1469,26 @@ padding-left : .4em; text-decoration : none; } +/* Search results rows place hold */ .actions a.hold { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Place hold small */ background-position : -10px -542px; background-repeat: no-repeat; padding-left : 16px; } +/* Search results rows add to cart */ .actions a.addtocart { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Cart small */ background-position : -10px -572px; background-repeat: no-repeat; padding-left : 15px; display : none; } +/* Search results rows save to lists */ .actions a.addtoshelf { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* MARC view */ background-position: -10px -27px; background-repeat: no-repeat; padding-left : 13px; @@ -1645,7 +1649,7 @@ ul#i18nMenu li ul li { ul#i18nMenu li.more a { - background-image : url("../../images/sprite.png"); + background-image : url("../../images/sprite.png"); /* Arrow up */ background-position : 37px -940px; background-repeat:no-repeat; padding-right: 1.3em; @@ -2341,7 +2345,7 @@ a.koha_url { } .nav_results .l_Results a { - background:#E1E1E1 url("../../images/sprite.png") no-repeat 0px -504px; + background:#E1E1E1 url("../../images/sprite.png") no-repeat 0px -504px; /* Browse results menu */ color:#006699; display:block; padding:8px 28px;