[FIX] css fixes (ie10) (web client)
authorGéry Debongnie <ged@odoo.com>
Thu, 23 Oct 2014 10:09:14 +0000 (12:09 +0200)
committerGéry Debongnie <ged@odoo.com>
Wed, 29 Oct 2014 07:38:18 +0000 (08:38 +0100)
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 6478289..a7d31d8 100644 (file)
@@ -83,6 +83,7 @@
 }
 .openerp.openerp_webclient_container {
   height: calc(100% - 34px);
+  display: -ms-flexbox;
   display: flex;
 }
 @media (max-width: 768px) {
   display: none;
 }
 .openerp .oe_leftbar {
+  display: -ms-flexbox;
   display: flex;
+  -ms-flex-direction: column;
   flex-direction: column;
   justify-content: space-between;
+  -ms-flex: 1 0 auto;
   flex-shrink: 0;
   width: 220px;
   background: #f0eeee;
 }
 .openerp .oe_leftbar a.oe_logo {
   text-align: center;
+  flex-shrink: 0;
 }
 .openerp .oe_leftbar a.oe_logo img {
   margin: 14px 0;
   height: 100%;
   width: 100%;
   flex-grow: 1;
+  -ms-flex-negative: 1;
 }
 .openerp .oe-view-manager {
   width: 100%;
@@ -3082,9 +3088,3 @@ div.tour-backdrop {
 body {
   overflow: hidden;
 }
-
-@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
-  .oe_secondary_menus_container {
-    position: static !important;
-  }
-}
index 531ef54..a57ef27 100644 (file)
@@ -199,6 +199,7 @@ $sheet-padding: 16px
     background: white
     &.openerp_webclient_container
         height: calc(100% - 34px)
+        display: -ms-flexbox
         display: flex
     @media (max-width: 768px)
         &.openerp_webclient_container
@@ -705,9 +706,12 @@ $sheet-padding: 16px
     // }}}
     // Webclient.leftbar {{{
     .oe_leftbar
+        display: -ms-flexbox
         display: flex
+        -ms-flex-direction: column
         flex-direction: column
         justify-content: space-between
+        -ms-flex: 1 0 auto
         flex-shrink: 0
         width: 220px
         background: #f0eeee
@@ -715,6 +719,7 @@ $sheet-padding: 16px
         position: relative
         a.oe_logo
             text-align: center
+            flex-shrink: 0
             img
                 margin: 14px 0
                 border: 0
@@ -847,6 +852,7 @@ $sheet-padding: 16px
         height: 100%
         width: 100%
         flex-grow: 1
+        -ms-flex-negative: 1
     // }}}
     // ViewManager common {{{
     .oe-view-manager
@@ -2538,11 +2544,6 @@ div.tour-backdrop
 body
     overflow: hidden
 
-// 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"
index 09da8ce..bdc4ff8 100644 (file)
@@ -6,6 +6,10 @@
   right: 0;
 }
 
+.ui-tabs .oe-view-manager-view-kanban {
+  position: static;
+}
+
 .openerp .oe_kanban_view {
   background: white;
   height: 100%;
index ca5a138..ff001b1 100644 (file)
@@ -52,6 +52,9 @@
     bottom: 0
     left: 0
     right: 0
+.ui-tabs 
+    .oe-view-manager-view-kanban
+        position: static
 .openerp .oe_kanban_view
     // KanbanView {{{
     //background: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAKElEQVQIHWP8DwTv379nAAFBQUEGhnfv3oHEwADEZgJLIRGMIClkLQCr3x2Htp/lLwAAAABJRU5ErkJggg==)