[FIX] account: reconciliation widget: lines controls visibility

Selectors to hide the controls and display them on hover/active/focus were wrong
This commit is contained in:
Arthur Maniet
2015-08-07 13:31:45 +02:00
parent e27ba2db65
commit c9232ce598
2 changed files with 11 additions and 7 deletions
@@ -384,13 +384,17 @@
color: #bbb;
}
tr .toggle_create, .toggle_match, .fa-add-remove {
visibility: hidden;
color: #555;
}
tr {
.toggle_create, .toggle_match, .fa-add-remove {
visibility: hidden;
color: #555;
}
tr:hover .toggle_create, tr:focus .toggle_match, tr.active .fa-add-remove, tr:hover .toggle_create, tr:focus .toggle_match, tr.active .fa-add-remove, tr:hover .toggle_create, tr:focus .toggle_match, tr.active .fa-add-remove {
visibility: visible;
&:hover, &:active, &:focus {
.toggle_create, .toggle_match, .fa-add-remove {
visibility: visible;
}
}
}
tr .do_partial_reconcile_button {
@@ -125,7 +125,7 @@
<t t-name="reconciliation_move_line">
<tr t-att-class="'mv_line'+(line.already_paid ? ' already_reconciled' : '')" t-att-data-lineid="line.id" t-att-data-selected="selected">
<td class="cell_action"><span class="fa fa-add-remove"></span></td>
<td class="cell_action"><i class="fa fa-add-remove"></i></td>
<td class="cell_account_code" t-if="line.account_code"><t t-esc="line.account_code"/></td>
<td class="cell_due_date"><t t-esc="line.q_due_date"/></td>
<td class="cell_label"><t t-esc="line.q_label"/></td>