From c9232ce598698f77aa58135b22fdc5eec7ad184c Mon Sep 17 00:00:00 2001 From: Arthur Maniet Date: Fri, 7 Aug 2015 12:42:17 +0200 Subject: [PATCH] [FIX] account: reconciliation widget: lines controls visibility Selectors to hide the controls and display them on hover/active/focus were wrong --- .../static/src/less/account_reconciliation.less | 16 ++++++++++------ .../static/src/xml/account_reconciliation.xml | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/addons/account/static/src/less/account_reconciliation.less b/addons/account/static/src/less/account_reconciliation.less index ff7038acd49..947eeb8fadb 100644 --- a/addons/account/static/src/less/account_reconciliation.less +++ b/addons/account/static/src/less/account_reconciliation.less @@ -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 { diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml index 8f0cccd3343..63fdfe0e86a 100644 --- a/addons/account/static/src/xml/account_reconciliation.xml +++ b/addons/account/static/src/xml/account_reconciliation.xml @@ -125,7 +125,7 @@ - +