Fix visual glitches in IE9
authorMinh Tran <mit@openerp.com>
Wed, 4 Jan 2012 17:53:53 +0000 (18:53 +0100)
committerMinh Tran <mit@openerp.com>
Wed, 4 Jan 2012 17:53:53 +0000 (18:53 +0100)
bzr revid: mit@openerp.com-20120104175353-77ps9el79wbi3lu1

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

index fccbb54..ee25000 100644 (file)
@@ -39,7 +39,7 @@ body.openerp, .openerp textarea, .openerp input, .openerp select, .openerp optio
     text-align: right !important;
 }
 .oe-listview-header-columns {
-    background: #444; /* Old browsers */
+    background: #d1d1d1; /* Old browsers */
     background: -moz-linear-gradient(top, #ffffff 0%, #d1d1d1 100%); /* FF3.6+ */
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d1d1d1)); /* Chrome,Safari4+ */
     background: -webkit-linear-gradient(top, #ffffff 0%,#d1d1d1 100%); /* Chrome10+,Safari5.1+ */
@@ -128,6 +128,8 @@ body.openerp, .openerp textarea, .openerp input, .openerp select, .openerp optio
     background: #600606;
     background: -moz-linear-gradient(#b92020, #600606);
     background: -webkit-gradient(linear, left top, left bottom, from(#b92020), to(#600606));
+    background: -ms-linear-gradient(top, #b92020, #600606);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b92020', endColorstr='#600606',GradientType=0 );
     -moz-border-radius: 4px;
     -webkit-border-radius: 4px;
     border-radius: 4px;
@@ -183,6 +185,8 @@ body.openerp, .openerp textarea, .openerp input, .openerp select, .openerp optio
     background: #600606;
     background: -moz-linear-gradient(#b41616, #600606);
     background: -webkit-gradient(linear, left top, left bottom, from(#b41616), to(#600606));
+    background: -ms-linear-gradient(top, #b41616, #600606);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b41616', endColorstr='#600606',GradientType=0 );
 }
 
 .login .pane {
@@ -2143,6 +2147,8 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
     background: none, -moz-linear-gradient(#efefef, #d8d8d8);
     background: none, -o-linear-gradient(top, #efefef, #d8d8d8);
     background: none, -khtml-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8));
+    background: -ms-linear-gradient(top, #efefef, #d8d8d8);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#d8d8d8',GradientType=0 );
     -moz-border-radius: 3px;
     -webkit-border-radius: 3px;
     -o-border-radius: 3px;
@@ -2168,6 +2174,8 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
     background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3);
     background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3);
     background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+    background: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3',GradientType=0 );
     cursor: pointer;
 }
 
@@ -2183,6 +2191,8 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
     background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3);
     background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3);
     background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+    background: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3',GradientType=0 );
     -moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
     -webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
     -o-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
@@ -2195,6 +2205,8 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
     background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
     background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f;
     background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
+    background: -ms-linear-gradient(top, #e3e3e3, #f6f6f6);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3e3e3', endColorstr='#f6f6f6',GradientType=0 );
     -moz-box-shadow: none, 0 0 0 transparent;
     -webkit-box-shadow: none, 0 0 0 transparent;
     -o-box-shadow: none, 0 0 0 transparent;
@@ -2215,3 +2227,9 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
     cursor: default;
     text-shadow: 0 1px 1px white !important;
 }
+
+
+/* Internet Explorer Fix */
+a img {
+   border: none;
+}