[FIX] web: oe_navbar compatibility on IE11

This commit is contained in:
Simon Lejeune 2014-10-13 15:27:00 +02:00
parent 41b55082ba
commit fb1591bd61
3 changed files with 4 additions and 10 deletions

View File

@ -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");
@ -18,6 +19,7 @@
font-weight: normal;
font-style: normal;
}
#oe_main_menu_navbar {
min-height: 34px;
z-index: 1001;
@ -739,11 +741,6 @@
text-decoration: none;
}
.openerp .oe_dropdown_arrow:after {
width: 0;
height: 0;
display: inline-block;
content: "&darr";
text-indent: -99999px;
vertical-align: top;
margin-top: 8px;
margin-left: 3px;
@ -3026,6 +3023,7 @@
top: 0px;
}
}
.kitten-mode-activated {
background-size: cover;
background-attachment: fixed;

View File

@ -645,11 +645,6 @@ $sheet-padding: 16px
&:hover
text-decoration: none
.oe_dropdown_arrow:after
width: 0
height: 0
display: inline-block
content: "&darr"
text-indent: -99999px
vertical-align: top
margin-top: 8px
//margin-left set at 3px to avoid a strange overflow

View File

@ -606,6 +606,7 @@
<button class="oe_dropdown_toggle oe_dropdown_arrow" t-if="section.name != 'buttons'">
<t t-if="section.name == 'files'" t-raw="widget.items[section.name].length || ''"/>
<t t-esc="section.label"/>
<i class="fa fa-caret-down"/>
</button>
<t t-if="section.name == 'buttons'" t-foreach="widget.items[section.name]" t-as="item" t-att-class="item.classname">
<button t-att-title="item.title or ''" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url"