Use opacity instead of -moz-opacity

designerbrent - September 2, 2007 - 18:56
Project:Administration menu
Version:5.x-1.x-dev
Component:CSS / Browser Support
Category:bug report
Priority:normal
Assigned:sun
Status:closed
Description

I was trying to embed some flash video on a page and use the admin_menu but found that anytime the admin_menu was enabled (IE: when I was logged) the Flash video did not display in Firefox 2.0.0.6 on the Mac. The audio would play but he video would only show up sporadically.

The fix that I found was to remove make the following change to the css file on line 23:
Original:
#admin_menu li li { width: 160px; background: #202020; filter:Alpha(opacity=88); -moz-opacity: 0.88; }
New:
#admin_menu li li { width: 160px; background: #202020; filter:Alpha(opacity=88);}

After making this change, it seemed to fix the problem for me.

#1

sun - September 3, 2007 - 15:59
Assigned to:Anonymous» sun
Status:active» needs review

According to Mozilla's CSS spec for -moz-opacity this property should be replaced by opacity.

Please let me know, if attached patch works for you.

AttachmentSize
admin_menu.css__0.patch 902 bytes

#2

sun - September 4, 2007 - 03:21
Title:Conflict running admin_menu with swfobject » Use opacity instead of -moz-opacity
Status:needs review» fixed

Committed to all branches.

#3

Anonymous - September 18, 2007 - 06:21
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.