diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-07-24 16:12:11 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-07-29 08:41:03 +0200 |
| commit | e56bdb731d90feaa41c218f529d331463980e293 (patch) | |
| tree | d974f9b43210a2b3d38b81baa203a67141194c26 /addons/base_import/static/src/css | |
| parent | a21fe28b8deb931850a2e1c2fcd095abe170f0d4 (diff) | |
[IMP] base_import: ControlPanelMixin and new design compatibility
- Use the ControlPanelMixin in the Import view;
- Adapt the stylesheet to fit with both community and enterprise editions;
- Convert the css into less, use mixins and variables defined in web;
- Return the reload() deferred in the on_reverse_breadcrumb callback so that the
previous action waits to be properly reloaded before being shown.
Diffstat (limited to 'addons/base_import/static/src/css')
| -rw-r--r-- | addons/base_import/static/src/css/import.css | 193 |
1 files changed, 0 insertions, 193 deletions
diff --git a/addons/base_import/static/src/css/import.css b/addons/base_import/static/src/css/import.css deleted file mode 100644 index cdea7a7b58b..00000000000 --- a/addons/base_import/static/src/css/import.css +++ /dev/null @@ -1,193 +0,0 @@ -.oe_import { - height: 100%; - overflow: auto; -} - -.oe_import > p { - margin-left: 8px; - margin-right: 8px; - margin-top: 13px; /* Customize space according bootstrap3 */ - text-align: justify -} - -.oe_import h2 { - margin-top: 0; - margin-bottom: 5px; - font-size: 1.5em; /* Customize according bootstrap3 */ -} - -.oe_padding { - padding: 13px; -} -/* ----------- IMPORT BOX ----------- */ - -.oe_import .oe_import_box{ - margin: 16px; - padding: 16px; - background: #F0EEEE; - border-radius: 3px; - border: solid 1px #dddddd; - width: 600px; -} -/* Customize according bootstrap3 */ -.oe_import .oe_import_box label{ - font-weight: normal; -} -.oe_import .oe_import_box .oe_import_file { - display: inline-block; -} -/* End of Customize */ -.oe_import .oe_import_toggle{ - margin-top: 8px; -} -.oe_import .oe_import_options{ - margin-top: 8px; -} -.oe_import .oe_import_options input{ - width: 150px; -} - -.oe_import a.oe_import_toggle { - display: block; -} -.oe_import a.oe_import_toggle:before { - content: '+' -} - -.oe_import .oe_import_options p { - margin: 0 0 -7px 0; /* Customize margin-bottom of <p> according bootstrap3 */ - padding: 0; -} -.oe_import .oe_import_options label { - display: inline-block; - width: 100px; - height:32px; - line-height:32px; - text-align: right; -} - -/* ----------- INITIAL SETUP ------------ */ - -.openerp .oe_list_buttons.oe_editing .o_list_button_import { - display: none; -} - -.oe_import dd, -.oe_import .oe_import_toggled, -.oe_import .oe_import_grid, -.oe_import .oe_import_error_report, -.oe_import .oe_import_with_file, -.oe_import .oe_import_noheaders, -.oe_import .oe_import_report_more { - display: none; -} -/* Customize dd and label according bootstrap3 */ -.oe_import dd { - -webkit-margin-start: 40px; -} -.oe_import .oe_import_with_file label { - font-weight: normal; -} -/* End of customize */ - -.oe_import.oe_import_preview .oe_import_grid { - display: table; -} -.oe_import.oe_import_error .oe_import_error_report, -.oe_import.oe_import_with_file .oe_import_with_file, -.oe_import.oe_import_noheaders .oe_import_noheaders, -.oe_import .oe_import_report_showmore .oe_import_report_more { - display: block; -} - -.oe_import .oe_import_noheaders { - color: #888; -} - - -.oe_import_selector ul, -.oe_import_selector li { - margin: 0; padding: 0; -} - -/* ------------- ERRORS AND WARNINGS REPORT ------------ */ - -.oe_import .oe_import_error_report ul{ - padding-left: 16px; -} -.oe_import .oe_import_report { - margin-right: 16px; - padding: 4px; - list-style: none; - border-bottom: solid 1px rgba(0,0,0,0.05); -} -.oe_import .oe_import_report:first-child{ - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.oe_import .oe_import_report:last-child{ - border-bottom-left-radius:3px; - border-bottom-right-radius:3px; - border-bottom: none; -} -.oe_import .oe_import_report_error { - background-color: #FFD9DB; - color: #AF5F5E; -} -.oe_import .oe_import_report_error:last-of-type{ - border-bottom:none; -} -.oe_import .oe_import_report_warning { - background-color: #FEFFD9; - color: #918743; -} -.oe_import .oe_import_report_warning:last-of-type{ - border-bottom:none; -} -.oe_import .oe_import_report_info { - background-color: #d3ffd3; -} -.oe_import .oe_import_report_info:last-of-type{ - border-bottom:none; -} - -/* ------------- THE CSV TABLE ------------ */ - -.oe_import .oe_import_grid{ - margin: 16px; - border-radius:3px; - border: solid 1px #909090; -} -.oe_import .oe_import_grid tr{ - height:16px; -} -.oe_import .oe_import_grid tr.oe_import_grid-header:first-child{ - height: 24px; - background: #909090; - color: white; -} -.oe_import .oe_import_grid tr:nth-child(odd){ - background: rgba(0,0,0,0.05); -} -.oe_import .oe_import_grid td{ - padding: 2px; - padding-left: 4px; -} -.oe_import .oe_import_grid tr.oe_import_grid-header td:not(:last-child){ - border-right: 1px solid #707070; -} -.oe_import .oe_import_grid td:not(:last-child){ - border-right: 1px solid #D0D0D0; -} - -.oe_import .oe_import_error_report > p { - background: #efc9cb; -} - -/* Field dropdown */ -.oe_import_selector { - font-size: 10px; - /* copied from base.sass:~148 */ - font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif; -} - |
