Files
odoo_source/addons/web/static/src/less/data_export.less
T
Aaron Bohy 977db823c7 [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
2016-04-21 15:21:39 +02:00

108 lines
2.7 KiB
Plaintext

.o_web_client .o_export {
.o-flex(0, 1, 1000px);
.o-flex-display();
.o-flex-flow(column, nowrap);
> p, > .row {
.o-flex(0, 0, auto);
}
label {
vertical-align: top;
font-weight: normal;
}
.o_import_compat, .o_export_format {
display: inline-block;
> div {
margin-left: 5px;
.o-inline-flex-display();
.o-align-items(center);
> label, > input {
margin: 0 0 0 5px;
}
}
}
.o_export_panel {
.o-flex(1, 0, 0);
position: relative;
> div {
height: 100%;
.o-flex-display();
.o-flex-flow(column, nowrap);
.o-justify-content(center);
&.o_left_panel { // Needed because of chrome
.o-position-absolute(@top: 0, @bottom: 0, @left: 0, @right: 57%);
}
&.o_center_panel { // Needed because of chrome
.o-position-absolute(@top: 0, @bottom: 0, @left: 43%, @right: 43%);
}
&.o_right_panel { // Needed because of chrome
.o-position-absolute(@top: 0, @bottom: 0, @left: 57%, @right: 0);
}
> h4, > div {
.o-flex(0, 0, auto);
}
> button {
.o-flex(0, 0, auto);
margin-top: 10px;
}
.o_left_field_panel, .o_fields_list {
border: 1px solid @odoo-brand-lightsecondary;
overflow: auto;
.o-flex(1, 0, 0);
}
.o_export_tree_item {
cursor: pointer;
position: relative;
padding-left: 20px;
.user-select(none);
&.o_selected > .o_tree_column {
background-color: @odoo-brand-primary;
color: white;
}
.o_expand_parent {
.o-position-absolute(@top: 4px, @left: 5px);
}
.o_tree_column {
display: block;
&.o_required {
border-bottom: 2px solid @odoo-main-text-color;
}
}
&:focus {
outline: none;
}
}
.o_save_list, .o_exported_lists {
.o-flex-display();
.o-align-items(baseline);
> label, > button {
margin: 0 0 5px;
.o-flex(0, 0, auto);
}
> input, > select {
width: 0;
.o-flex(1, 0, auto);
}
}
}
}
}