]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Update off-canvas menu icon to be visible on Android 2.3 devices 3828/head
authorJohn Bacon <jpbacon@gmail.com>
Fri, 6 Dec 2013 16:52:55 +0000 (11:52 -0500)
committerJohn Bacon <jpbacon@gmail.com>
Fri, 6 Dec 2013 16:52:55 +0000 (11:52 -0500)
commitafbafda665fd08a798620dbae0c064234ce6a4c7
tree7c9328c2f26bc3f9f1fa4839e3100cc61c3f59fd
parent30e7c676c8eab3903067e3108633470e32c88f69
Update off-canvas menu icon to be visible on Android 2.3 devices

As detailed on CanIUse:
"Android 2.3 default browser doesn't seem to appreciate 0px values. e.g. -webkit-box-shadow: 5px 1px 0px #f04e29; doesn't work, but -webkit-box-shadow: 5px 1px 1px #f04e29 does!"
http://caniuse.com/#search=box-shadow

This is the case on Android 2.3 browsers (i.e. a tested Samsung Galaxy S2). Modifying the 0 value to 1px only for the -webkit prefixed box-shadow solves the issue without causing visual degradation.
scss/foundation/components/_offcanvas.scss