[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 { .openerp .oe_list_content .numeric input {
text-align: right; 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; width: 1em;
cursor: ns-resize; 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; font-size: 1px;
letter-spacing: -1px; letter-spacing: -1px;
color: transparent; 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"; font: 21px "mnmliconsRegular";
content: "ö"; content: "ö";
color: #404040; color: #404040;

View File

@ -1926,7 +1926,11 @@ $sheet-max-width: 860px
width: 82px width: 82px
input input
text-align: right 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 width: 1em
cursor: ns-resize cursor: ns-resize
.oe_list_handle .oe_list_handle

View File

@ -614,7 +614,7 @@
</th> </th>
<t t-foreach="columns" t-as="column"> <t t-foreach="columns" t-as="column">
<th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id" <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> <t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t>
</th> </th>
</t> </t>