Browse Source

Merge pull request #220 from acsone/9.0-imp_mis_builder_style_9e_tbi

[9.0][IMP] mis_builder css improvements for compatibility with Odoo 9e
pull/234/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
fbbae923a2
  1. 12
      mis_builder/static/src/css/custom.css
  2. 2
      mis_builder/static/src/xml/mis_widget.xml

12
mis_builder/static/src/css/custom.css

@ -1,21 +1,21 @@
.openerp .mis_builder_amount {
.o_web_client .mis_builder_amount {
text-align: right; text-align: right;
} }
.openerp .mis_builder_collabel {
.o_web_client .mis_builder_collabel {
text-align: center; text-align: center;
} }
.openerp .mis_builder_rowlabel {
.o_web_client .mis_builder_rowlabel {
text-align: left; text-align: left;
} }
.openerp .mis_builder a {
.o_web_client .mis_builder a {
/* we don't want the link color, to respect user styles */ /* we don't want the link color, to respect user styles */
color: inherit; color: inherit;
} }
.openerp .mis_builder a:hover {
.o_web_client .mis_builder a:hover {
/* underline links on hover to give a visual cue */ /* underline links on hover to give a visual cue */
text-decoration: underline; text-decoration: underline;
} }
@ -26,5 +26,5 @@
} }
.oe_mis_builder_content { .oe_mis_builder_content {
padding: 20px;
padding: 10px;
} }

2
mis_builder/static/src/xml/mis_widget.xml

@ -8,7 +8,7 @@
<button class="oe_mis_builder_export btn btn-sm oe_button"><img src="/web/static/src/img/icons/gtk-go-down.png"/>Export</button> <button class="oe_mis_builder_export btn btn-sm oe_button"><img src="/web/static/src/img/icons/gtk-go-down.png"/>Export</button>
<button style="display: none;" class="oe_mis_builder_settings btn btn-sm oe_button"><img src="/web/static/src/img/icons/gtk-execute.png"/> Settings</button> <button style="display: none;" class="oe_mis_builder_settings btn btn-sm oe_button"><img src="/web/static/src/img/icons/gtk-execute.png"/> Settings</button>
</div> </div>
<table class="oe_list_content mis_builder">
<table class="oe_list_content o_list_view table table-condensed table-striped mis_builder">
<thead> <thead>
<tr t-foreach="widget.mis_report_data.header" t-as="row" class="oe_list_header_columns"> <tr t-foreach="widget.mis_report_data.header" t-as="row" class="oe_list_header_columns">
<th class="oe_list_header_char"> <th class="oe_list_header_char">

Loading…
Cancel
Save