[FIX] website: the media video create by the media editor is not display in firefox...
authorChristophe Matthieu <chm@odoo.com>
Fri, 1 Aug 2014 09:54:39 +0000 (11:54 +0200)
committerChristophe Matthieu <chm@odoo.com>
Fri, 1 Aug 2014 09:54:39 +0000 (11:54 +0200)
addons/website/static/src/css/website.css
addons/website/static/src/css/website.sass

index 209d431..453a10d 100644 (file)
@@ -503,12 +503,15 @@ div.media_iframe_video {
 div.media_iframe_video iframe {
   width: 100%;
   height: 100%;
+  position: absolute;
+  margin-left: -50%;
 }
-div.media_iframe_video div {
+div.media_iframe_video .css_editable_mode_display {
   position: absolute;
   width: 100%;
   height: 100%;
   display: none;
+  z-index: 2;
 }
 
 /* Mobile view */
index a970779..f67dcbc 100644 (file)
@@ -88,7 +88,7 @@ header
 /* ----- EDITOR ----- */
 
 .css_non_editable_mode_hidden
-    display: none
+    display: none !important
 
 /* ----- BOOTSTRAP FIX ----- */
 
@@ -413,11 +413,14 @@ div.media_iframe_video
     iframe
         width: 100%
         height: 100%
-    div
+        position: absolute
+        margin-left: -50%
+    .css_editable_mode_display
         position: absolute
         width: 100%
         height: 100%
         display: none
+        z-index: 2
 
 /* Mobile view */