From cbc155860d05bda73f533e6e91a7b4d6d17628a2 Mon Sep 17 00:00:00 2001 From: Vincent Schippefilt Date: Mon, 24 Sep 2018 10:53:52 +0200 Subject: [PATCH] [FIX] web: add style to focussed links in editable lists In some forms (especially invoices), there are more than one action "add a new line" on the invoice lines one2many. When using the keyboard to access those links, some kind of style is required to identify which link is currently focussed, else the focussed link is not visible. --- addons/web/static/src/scss/list_view.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/web/static/src/scss/list_view.scss b/addons/web/static/src/scss/list_view.scss index 6078343de68..4ccf7de9c2b 100644 --- a/addons/web/static/src/scss/list_view.scss +++ b/addons/web/static/src/scss/list_view.scss @@ -220,6 +220,13 @@ width: auto!important; // Override the width computed in JS (needed for Chrome) } } + + .o_field_x2many_list_row_add { + a:focus, a:active { + color: $link-hover-color; + outline: none; + } + } } // Buttons in ControlPanel