diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-04-08 14:53:34 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-04-21 15:21:39 +0200 |
| commit | 977db823c7c84e9edc7c8cf8384eb9cf47275b3a (patch) | |
| tree | c3312f745baf11d51f976a60d6e285480f557d4c /addons/web/static/src/css | |
| parent | e1bfd3fbda97ac7a64a585b07be161d5be606cf9 (diff) | |
[REF] web: stop duplicating web
Avoid duplicating web addon in enterprise by extracting a common basis.
Enterprise features stay in enterprise, but use that common basis.
Mainly:
- JS refactoring and linting
- Conversion of .sass into .less split into multiple files
- Templates cleaning and DOM simplification
- Re-generation of web.pot, and update of .po files
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/data_export.css | 89 | ||||
| -rw-r--r-- | addons/web/static/src/css/full.css | 12 | ||||
| -rw-r--r-- | addons/web/static/src/css/ie.css | 29 |
3 files changed, 0 insertions, 130 deletions
diff --git a/addons/web/static/src/css/data_export.css b/addons/web/static/src/css/data_export.css deleted file mode 100644 index b9b885cd8e9..00000000000 --- a/addons/web/static/src/css/data_export.css +++ /dev/null @@ -1,89 +0,0 @@ -.openerp .oe_export { - width: 100%; -} -/* Customize according bootstrap3 */ -.openerp .oe_export label { - font-weight: normal; -} -/* End of customize */ -.openerp .oe_export_row tr{ - background-color: #FFFFFF; - font-size: 0.8em; - height: 22px; -} - -.openerp tr.ui-selected td { - background-color: #CCCCCC; -} - -.openerp .oe_export_requiredfield { - background-color: #D2D2FF; -} - -.openerp .oe_export_readonlyfield{ - background-color: #999999; -} - -.openerp .oe_export_row:hover{ - background-color: #F3F3F3; -} - -.openerp .oe_export_fields_selector_left { - width: 50%; -} - -.openerp div#left_field_panel { - overflow: scroll; - width: 100%; - height: 400px; - border: solid #999999 1px; -} -.openerp div#left_field_panel table { - width: 100%; -} - -.openerp .oe_export_fields_selector_center { - text-align: center; -} -.openerp .oe_export_fields_selector_center button { - white-space: nowrap; -} - -.openerp .oe_export_fields_selector_right { - width: 45%; - height: 400px; -} - -.openerp .oe_export_fields_selector_right select{ - width: 100%; - height: 100%; -} - -.openerp .oe_export_tree_header{ - border: 0.5px solid #E3E3E3; - text-align: left; - white-space: nowrap; - padding: 4px 5px; - background: url(/web/static/src/img/header.gif); -} - - -.openerp table.tree_grid{ - border: 1px solid #E3E3E3; - text-align: left; - white-space: nowrap; - background-color:#E3E3E3; - border-collapse: collapse; - width: 100%; -} - -.openerp table.tree_grid a:hover { - color: blue; - border: none; -} - -.openerp table.tree_grid a { - color: #5F5C5C; - border: none; - display: block; -} diff --git a/addons/web/static/src/css/full.css b/addons/web/static/src/css/full.css deleted file mode 100644 index 2692792d46d..00000000000 --- a/addons/web/static/src/css/full.css +++ /dev/null @@ -1,12 +0,0 @@ -/* This css contains the styling specific to the 'normal mode'. (as opposite to the embedded mode) */ -/* In embedded mode [1], this stylesheet won't be loaded. */ - -/* [1] The web client features an embedded mode in which the webclient */ -/* or a part of it can be started in any element of any webpage host. */ - -body { - padding: 0; - margin: 0; - overflow-y: scroll; - height: 100%; -} diff --git a/addons/web/static/src/css/ie.css b/addons/web/static/src/css/ie.css deleted file mode 100644 index a547120033e..00000000000 --- a/addons/web/static/src/css/ie.css +++ /dev/null @@ -1,29 +0,0 @@ -/** base */ -.openerp .oe_form label + .oe_form_field.oe_form_field_one2many { - display: block; -} -.openerp .oe_leftbar > div > div > div > div.oe_secondary_menus_container { - position: static; -} -.openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body { - position: static; -} - -/** web_calendar */ -.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */ -.fc-select-helper .fc-event-bg { - display: none; /* for IE6/7/8. nested opacity filters while dragging don't work */ -} - -/** web_graph */ -.openerp svg:not(:root) { /* width and height are not take in consideration */ - overflow: visible; -} -.graph_main_content.graph_chart_mode > div > svg { - min-height: 521px; -} - -/** web_kanban */ -.openerp .oe_kanban_column_cards { - min-height: 80px; -} |
