[FIX] fix various display problems with ie11, ie10, ie9
authorGéry Debongnie <ged@odoo.com>
Fri, 24 Oct 2014 08:29:01 +0000 (10:29 +0200)
committerGéry Debongnie <ged@odoo.com>
Wed, 29 Oct 2014 07:38:18 +0000 (08:38 +0100)
addons/mail/static/src/css/mail.css
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass
addons/web_kanban/static/src/css/kanban.css
addons/web_kanban/static/src/css/kanban.sass

index b822366..ad03e0c 100644 (file)
 .oe_mail_wall .oe-groupby-menu, .oe_mail_wall .add-to-dashboard {
     display: none;
 }
+
+.oe-view-manager-content .oe_mail {
+    display: inline-block !important;
+    position: relative !important;
+}
\ No newline at end of file
index a7d31d8..579c7a6 100644 (file)
   -ms-flex-direction: column;
   flex-direction: column;
   justify-content: space-between;
-  -ms-flex: 1 0 auto;
+  -ms-flex: 0 0 auto;
   flex-shrink: 0;
+  flex-grow: 0;
   width: 220px;
+  height: 100%;
   background: #f0eeee;
   border-right: 1px solid #afafb6;
   position: relative;
+  display: inline-block\9;
+  vertical-align: top\9;
 }
 .openerp .oe_leftbar a.oe_logo {
   text-align: center;
 }
 .openerp .oe_application {
   height: 100%;
-  width: 100%;
   flex-grow: 1;
   -ms-flex-negative: 1;
+  display: inline-block\9;
+  overflow: auto\9;
+  width: calc(100% - 220px);
+}
+.openerp .oe_application .oe_application {
+  width: 100%;
 }
 .openerp .oe-view-manager {
   width: 100%;
   flex-grow: 1;
   position: relative;
 }
+.openerp .oe-view-manager .oe-view-manager-content > div {
+  position: absolute;
+  position: static\9;
+  top: 0;
+  bottom: 0;
+  right: 0;
+  left: 0;
+  display: none;
+}
+.openerp .oe-view-manager .oe-view-manager-content .oe-view-manager-content > div {
+  position: relative;
+  display: block;
+}
 .openerp .oe-view-manager .oe-view-manager-debug {
   margin-right: 5px;
 }
@@ -3088,3 +3110,12 @@ div.tour-backdrop {
 body {
   overflow: hidden;
 }
+
+@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
+  .oe-view-manager-content > div {
+    position: absolute !important;
+  }
+  .oe-view-manager-content .oe-view-manager-content > div {
+    position: relative !important;
+  }
+}
index a57ef27..8a02cf4 100644 (file)
@@ -711,12 +711,16 @@ $sheet-padding: 16px
         -ms-flex-direction: column
         flex-direction: column
         justify-content: space-between
-        -ms-flex: 1 0 auto
+        -ms-flex: 0 0 auto
         flex-shrink: 0
+        flex-grow: 0
         width: 220px
+        height: 100%
         background: #f0eeee
         border-right: 1px solid $tag-border
         position: relative
+        display: inline-block\9
+        vertical-align: top\9
         a.oe_logo
             text-align: center
             flex-shrink: 0
@@ -850,9 +854,13 @@ $sheet-padding: 16px
         text-decoration: underline
     .oe_application
         height: 100%
-        width: 100%
         flex-grow: 1
         -ms-flex-negative: 1
+        display: inline-block\9
+        overflow: auto\9
+        width: calc(100% - 220px)
+        .oe_application
+            width: 100%
     // }}}
     // ViewManager common {{{
     .oe-view-manager
@@ -864,6 +872,18 @@ $sheet-padding: 16px
             overflow: auto
             flex-grow: 1
             position: relative
+            > div
+                position: absolute
+                position: static\9
+                top: 0
+                bottom: 0
+                right: 0
+                left: 0
+                display: none
+            .oe-view-manager-content
+                > div
+                    position: relative
+                    display: block
         .oe-view-manager-debug
             margin-right: 5px
     .oe-view-manager-header
@@ -2544,6 +2564,13 @@ div.tour-backdrop
 body
     overflow: hidden
 
+@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) 
+    .oe-view-manager-content
+        > div
+            position: absolute !important
+        .oe-view-manager-content
+            > div
+                position: relative !important
 
 
 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
index bdc4ff8..848557d 100644 (file)
@@ -1,11 +1,3 @@
-.oe-view-manager-view-kanban {
-  position: absolute;
-  top: 0;
-  bottom: 0;
-  left: 0;
-  right: 0;
-}
-
 .ui-tabs .oe-view-manager-view-kanban {
   position: static;
 }
index ff001b1..87b66c8 100644 (file)
     transition: $transition
 // }}}
 
-.oe-view-manager-view-kanban
-    position: absolute
-    top: 0
-    bottom: 0
-    left: 0
-    right: 0
 .ui-tabs 
     .oe-view-manager-view-kanban
         position: static