[FIX] replace :first-of-type by custom class in treeview styles, so open/close arrows appear in MSIE8

lp bug: https://launchpad.net/bugs/927631 fixed

bzr revid: xmo@openerp.com-20120213115220-dt147bo51q2zqrnp
This commit is contained in:
Xavier Morel
2012-02-13 12:52:20 +01:00
parent b1f1ca0ea1
commit 9552dbc215
2 changed files with 7 additions and 6 deletions
+4 -4
View File
@@ -1916,14 +1916,14 @@ label.error {
white-space: nowrap;
display: block;
}
.treeview-tr:first-of-type {
.treeview-tr.oe-treeview-first {
background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat;
}
.oe-open .treeview-tr:first-of-type {
.oe-open .treeview-tr.oe-treeview-first {
background-image: url(/web/static/src/img/collapse.gif);
}
.treeview-tr:first-of-type span,
.treeview-td:first-of-type span {
.treeview-tr.oe-treeview-first span,
.treeview-td.oe-treeview-first span {
margin-left: 16px;
}