Bug 13017 - Login page image replacement technique fails when browser width exceeds...
authorOwen Leonard <oleonard@myacpl.org>
Mon, 3 Nov 2014 17:29:48 +0000 (12:29 -0500)
committerMason James <mtj@kohaaloha.com>
Fri, 23 Jan 2015 06:58:09 +0000 (19:58 +1300)
commit7016a1b408f5a4deb4cadd0f399c47e8f2a48ca1
treee60539f104df5e13919cb67ec373e1c89502a3e7
parentc80e244e951d02bda844c85c3d0944c06612a769
Bug 13017 - Login page image replacement technique fails when browser width exceeds 2000 pixels

This patch updates the image replacement technique used for Koha's login
page. The old technique used a negative text-indent value to move the
text offscreen, but that begins to fail more and more often as screens
get larger.

The new technqiue is described here:
http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/

Note: This patch has not been tested in any Internet Explorer version!

To test you must have a screen which is wider than 2000 pixels. Apply
the patch, clear your browser cache and view the staff client login
page. The logo on the login form should look correct with no
corresponding text appearing anywhere on the screen.

Signed-off-by: Christopher Brannon <cbrannon@debian.localdomain>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/css/login.css