Closed (fixed)
Project:
Sky
Version:
6.x-3.10
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Feb 2010 at 23:28 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tadeck commentedThe shadow is now only visible in Webkit-based browsers (Safari, Chrome). To enable it on Firefox and its derivatives, as well as on CSS3-compatible browsers, some changes in CSS styles are required.
I am not familiar with Drupal code source management model, so I will post my solution here:
In
style.csswithin the directory of the Sky theme, you should edit#wrapperstyle definition to look like this:The two added lines begin with
-mox-box-shadow(adding shadow in Mozilla Firefox and similar browsers) andbox-shadow(adding shadow in browsers compatible with CSS3).Regards,
T.
Comment #2
tadeck commentedComment #3
weka commentedThanks for the code tadeck. I can confirm that your code makes the shadow work in Chrome 3.x, Firefox 3.5x and Safari.
Comment #4
deggertsen commentedConfirming that it works in Firefox 3.6 and Chrome 5.x.
I also read that you can get it to work in IE8 by using code like this:
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";I haven't had time to test it on IE8 since I'm too lazy to reboot into windows but you're welcome to try it.
Comment #5
drupov commented@deggertsen:
thanks for the code.
Yes it works!
Comment #7
jacineThanks! I've committed this, as well as a slew of other CSS3 properties that are now working across browsers.
It will be in the next release.