[Koha-patches] Use CSS3 box-shadow property for Cart tooltip (Bug 4387)

Owen Leonard oleonard at myacpl.org
Tue Apr 13 20:25:42 CEST 2010


The OPAC Cart tooltip ("Your cart is empty," "1 item(s) added to your
Cart") currently uses a jQuery plugin to generate a drop shadow.
This works cross-browser, but has a high failure rate with regard
to hiding the shadow consistently, resulting in an orphan shadow
after the tooltip has been hidden. I propose to instead use the
new CSS3 property "box-shadow" (-moz-box-shadow and -webkit-box-
shadow for FireFox and Safari/Chrome). Currently Internet Explorer
does not support this property. I think this is an
acceptable tradeoff for more stable functionality.

Patch attached (long lines)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-CSS3-box-shadow-property-for-Cart-tooltip.patch
Type: text/x-patch
Size: 11546 bytes
Desc: not available
URL: </pipermail/koha-patches/attachments/20100413/b78118bc/attachment-0002.bin>


More information about the Koha-patches mailing list