[IMP] styling of handle column headers

bzr revid: xmo@openerp.com-20120808075629-3xfkuxht8m9a1c02
This commit is contained in:
Xavier Morel 2012-08-08 09:56:29 +02:00
parent 73264632e7
commit 2447e00d22
3 changed files with 14 additions and 5 deletions

View File

@ -2477,16 +2477,21 @@
.openerp .oe_list_content .numeric input {
text-align: right;
}
.openerp .oe_list_content .oe_list_field_handle {
.openerp .oe_list_content th.oe_list_header_handle {
font-size: 1px;
overflow: hidden;
text-indent: -9001px;
}
.openerp .oe_list_content td.oe_list_field_handle {
width: 1em;
cursor: ns-resize;
}
.openerp .oe_list_content .oe_list_field_handle .oe_list_handle {
.openerp .oe_list_content td.oe_list_field_handle .oe_list_handle {
font-size: 1px;
letter-spacing: -1px;
color: transparent;
}
.openerp .oe_list_content .oe_list_field_handle .oe_list_handle:before {
.openerp .oe_list_content td.oe_list_field_handle .oe_list_handle:before {
font: 21px "mnmliconsRegular";
content: "ö";
color: #404040;

View File

@ -1926,7 +1926,11 @@ $sheet-max-width: 860px
width: 82px
input
text-align: right
.oe_list_field_handle
th.oe_list_header_handle
font-size: 1px
overflow: hidden
text-indent: -9001px
td.oe_list_field_handle
width: 1em
cursor: ns-resize
.oe_list_handle

View File

@ -614,7 +614,7 @@
</th>
<t t-foreach="columns" t-as="column">
<th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id"
t-att-class="((options.sortable and column.tag !== 'button') ? 'oe_sortable' : null)">
t-attf-class="oe_list_header_#{column.widget or column.type} #{((options.sortable and column.tag !== 'button') ? 'oe_sortable' : null)}">
<t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t>
</th>
</t>