[FIX] css hack to make IE11 work
authorGéry Debongnie <ged@odoo.com>
Thu, 28 Aug 2014 09:28:04 +0000 (11:28 +0200)
committerGéry Debongnie <ged@odoo.com>
Thu, 28 Aug 2014 13:22:31 +0000 (15:22 +0200)
the stupid left menu was not displayed with IE11.  This fix uses a
media query ignored by all (?) browsers but IE11.

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index 62b65b0..913573a 100644 (file)
@@ -1,4 +1,4 @@
-@charset "utf-8";
+@charset "UTF-8";
 @font-face {
   font-family: "mnmliconsRegular";
   src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
@@ -8,6 +8,7 @@
   font-weight: normal;
   font-style: normal;
 }
+
 @font-face {
   font-family: "EntypoRegular";
   src: url("/web/static/src/font/entypo-webfont.eot") format("eot");
     top: 0px;
   }
 }
+
 .kitten-mode-activated {
   background-size: cover;
   background-attachment: fixed;
@@ -3384,3 +3386,9 @@ div.tour-backdrop {
 body {
   overflow: auto;
 }
+
+@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
+  .oe_secondary_menus_container {
+    position: static !important;
+  }
+}
index abe22a6..2977c77 100644 (file)
@@ -2763,5 +2763,13 @@ div.tour-backdrop
 
 body
     overflow: auto
+
+// hack to make IE11 work
+@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) 
+    .oe_secondary_menus_container 
+        position: static !important
+
+
+
 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: