]> git.koha-community.org Git - koha.git/commit
Use CSS3 box-shadow property for Cart tooltip
authorOwen Leonard <oleonard@myacpl.org>
Thu, 25 Feb 2010 14:43:15 +0000 (09:43 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 4 May 2010 15:19:03 +0000 (11:19 -0400)
commit6969fefe4c7c0de5b80573c0c95efa6f6ef50e90
treeb16a0e60f793d304ff5250b08ecfd51119e374c1
parent67be4bd11811cd53173303188d06260e09e98e78
Use CSS3 box-shadow property for Cart tooltip

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.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dropshadow-min.js [deleted file]
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/opac-tmpl/prog/en/js/basket.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.dropshadow-min.js [deleted file]