[FIX] web: oe_navbar compatibility on IE11
authorSimon Lejeune <sle@openerp.com>
Mon, 13 Oct 2014 13:27:00 +0000 (15:27 +0200)
committerSimon Lejeune <sle@openerp.com>
Mon, 13 Oct 2014 13:28:39 +0000 (15:28 +0200)
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass
addons/web/static/src/xml/base.xml

index b7a42f7..e615f4f 100644 (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;
   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;
     top: 0px;
   }
 }
+
 .kitten-mode-activated {
   background-size: cover;
   background-attachment: fixed;
index f330336..f139b9e 100644 (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
index 3eb4638..f5be923 100644 (file)
                 <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"