diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-08-03 14:39:19 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-08-04 12:16:17 +0200 |
| commit | 37f5875ea5d11257e6abfb0a3de42ad19d57a3d3 (patch) | |
| tree | ae22fa471eb2558845b55210903194cbd189ac45 /addons/web/static/src/less/enterprise_compatibility.less | |
| parent | 5ebcc01fda2f102486ac68809655630668e6fd59 (diff) | |
[FIX] web: form_view: WidgetButton
Buttons that are not stat buttons couldn't use font-awesome icons, as it
automatically fallbacked on the icons in /web/static/src/img/icons. This was
the case for several templates where the icon thus couldn't be found as it was
looking for a font-awesome icon in the icons folder (e.g. fa-cog.png).
Also cleans some unused less rules defined on the stat buttons in
enterprise_compatibility.less
Diffstat (limited to 'addons/web/static/src/less/enterprise_compatibility.less')
| -rw-r--r-- | addons/web/static/src/less/enterprise_compatibility.less | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/addons/web/static/src/less/enterprise_compatibility.less b/addons/web/static/src/less/enterprise_compatibility.less index 5d084948ad7..14d15250c62 100644 --- a/addons/web/static/src/less/enterprise_compatibility.less +++ b/addons/web/static/src/less/enterprise_compatibility.less @@ -167,35 +167,18 @@ div.o_checkbox { .openerp .oe_formview { .oe_button_box { .oe_stat_button { - .stat_button_icon { - display: inline-block; - } - - // padding: @odoo-statbutton-vpadding @odoo-statbutton-spacing @odoo-statbutton-vpadding 0px; text-align: left; .o_button_icon { - // margin-left: @odoo-statbutton-spacing; // To create the button padding left (firefox bug) + width: 30%; display: inline-block; vertical-align: middle; - &:before { - font-size: x-large; - vertical-align: middle; - } - - width: 30%; } - // .o_form_field_percent_pie { - // margin-left: @odoo-statbutton-spacing; // To create the button padding left (firefox bug) - // } - .o_stat_info { // contains the value and text display: inline-block; vertical-align: middle; - max-width: 70%; - // padding-right: @odoo-statbutton-spacing; line-height: 1.2; .o_stat_value { |
