summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-04-27 16:01:09 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit81f359c81c69af2a5ec0645602e2bb43b2e16721 (patch)
treedc3ebb2391acf9c3e51def6dc1407586c8d9e2cb /addons/base_import/static/src
parent7f10b55a5035bd3cab48ba58a519510a25b94f60 (diff)
[REF] *: BS4, remove the use of btn-sm
Odoo made the bad choice of using the 'btn-sm' class for every button instead of configuring the padding for default 'btn' to be smaller. In BS4, the style of btn-sm is actually more complex, lowering the font-size too. Also, btn-xs was removed so we would not have the possibility to display smaller button than our default ones. This commit removes btn-sm wherever it was used. Unfortunately, this might remove it at some places where it made sense but this can be restored in a second time.
Diffstat (limited to 'addons/base_import/static/src')
-rw-r--r--addons/base_import/static/src/xml/base_import.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml
index 95b54b5a5af..d84800eca01 100644
--- a/addons/base_import/static/src/xml/base_import.xml
+++ b/addons/base_import/static/src/xml/base_import.xml
@@ -93,11 +93,11 @@
</t>
<t t-name="ImportView.buttons">
- <button type="button" class="btn btn-sm btn-primary o_import_import d-none">Import</button>
- <button type="button" class="btn btn-sm btn-default o_import_validate d-none">Test Import</button>
- <button type="button" class="btn btn-sm btn-primary oe_import_file">Load File</button>
- <button type="button" class="btn btn-sm btn-default o_import_file_reload d-none">Reload File</button>
- <button type="button" class="btn btn-sm btn-default o_import_cancel">Cancel</button>
+ <button type="button" class="btn btn-primary o_import_import d-none">Import</button>
+ <button type="button" class="btn btn-default o_import_validate d-none">Test Import</button>
+ <button type="button" class="btn btn-primary oe_import_file">Load File</button>
+ <button type="button" class="btn btn-default o_import_file_reload d-none">Reload File</button>
+ <button type="button" class="btn btn-default o_import_cancel">Cancel</button>
</t>
<t t-name="ImportView.preview">
@@ -155,7 +155,7 @@
<t t-if="error.moreinfo" t-raw="info(error.moreinfo)"/>
</t>
<t t-name="ImportView.import_button">
- <button t-if='widget and widget.importEnabled' type="button" class="btn btn-sm btn-default o_button_import">
+ <button t-if='widget and widget.importEnabled' type="button" class="btn btn-default o_button_import">
Import
</button>
</t>