listview css

bzr revid: al@openerp.com-20120409200334-24j00uopwpofpbq3
This commit is contained in:
Antony Lesuisse 2012-04-09 22:03:34 +02:00
parent d88e13dcfa
commit 4e40395d3c
4 changed files with 5 additions and 9 deletions

View File

@ -1463,12 +1463,10 @@
width: 100%;
}
.openerp2 .oe-listview-content thead, .openerp2 .oe-listview-content tfoot {
border-bottom: 2px solid #cacaca;
border-bottom: 1px solid #cacaca;
background: #eeeeee;
}
.openerp2 .oe-listview-content tfoot {
border-top: 1px solid #cacaca;
border-top: 2px solid #cacaca;
border-bottom: 1px solid #cacaca;
font-weight: bold;
}

View File

@ -1221,11 +1221,9 @@ $colour4: #8a89ba
.oe-listview-content
width: 100%
thead, tfoot
border-bottom: 2px solid #cacaca
border-bottom: 1px solid #cacaca
background: #eee
tfoot
border-top: 1px solid #cacaca
border-top: 2px solid #cacaca
border-bottom: 1px solid #cacaca
font-weight: bold
tbody

View File

@ -827,7 +827,7 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
this.records.bind(event, callback);
}, this);
this.$_element = $('<tbody class="ui-widget-content">')
this.$_element = $('<tbody>')
.appendTo(document.body)
.delegate('th.oe-record-selector', 'click', function (e) {
e.stopPropagation();

View File

@ -556,7 +556,7 @@
<table t-name="ListView" class="oe-listview-content">
<t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0) + (options.isClarkGable ? 1 : 0)"/>
<thead class="ui-widget-header">
<thead>
<tr t-if="options.action_buttons !== false or options.pager !== false">
<th t-att-colspan="columns_count">
<div class="oe_list_buttons"/>
@ -583,7 +583,7 @@
<th t-if="options.deletable" width="1"/>
</tr>
</thead>
<tfoot class="ui-widget-header">
<tfoot>
<tr>
<td t-if="options.selectable"/>
<td t-if="options.isClarkGable"/>