Bug 7500 - Use CSS Sprites for faster page loading
authorOwen Leonard <oleonard@myacpl.org>
Wed, 11 Apr 2012 16:55:48 +0000 (12:55 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 10 May 2012 16:31:30 +0000 (18:31 +0200)
commit46f3fd6e97ae561f4611de9227a3f50d687d95b6
treebf5e2345f68520bad895e35f3fdab33ef3d1bfcd
parenta8c8cc3ca54ae62333618b60670ba0e412cfb9a7
Bug 7500 - Use CSS Sprites for faster page loading

This patch moves *most* small interface icons and
the Koha log into a single 10K sprite image. CSS
is used to position the sprite correctly for each
icon instance.

Not covered by this patch: XSLT icons, star ratings
icons, table sort icons (the latter which I don't
think can be done using this technique).

A follow-up patch should remove the individual images
which have been replaced by the sprite.

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tt
koha-tmpl/opac-tmpl/prog/images/sprite.png [new file with mode: 0644]