summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/list_view_extra.scss
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2019-03-25 15:29:32 +0000
committerAaron Bohy <aab@odoo.com>2019-04-02 11:57:00 +0000
commit8ea5a40417c2da2e82db66ad36fbf1e8e78bbe11 (patch)
tree1233647e18260747f3fd315f79f4cae8b06bc0f6 /addons/web/static/src/scss/list_view_extra.scss
parentca19b17fd3e09d2f4e53208542f4356d3a6ee25a (diff)
[IMP] web: list: directional keys navigation in readonly
With this rev., it is now possible to navigate with arrows in list views (except when editing, as in this case hitting the arrows moves the cursor in the input/textarea), and to expand/collapse groups with keyboard navigation. Part of task 1915702
Diffstat (limited to 'addons/web/static/src/scss/list_view_extra.scss')
-rw-r--r--addons/web/static/src/scss/list_view_extra.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/list_view_extra.scss b/addons/web/static/src/scss/list_view_extra.scss
index 83791ce42dd..7532ec2084f 100644
--- a/addons/web/static/src/scss/list_view_extra.scss
+++ b/addons/web/static/src/scss/list_view_extra.scss
@@ -6,5 +6,9 @@
tbody > tr.o_group_header {
background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
+
+ &:focus-within {
+ background-image: linear-gradient(to bottom, #fcfcfc, $o-form-lightsecondary);
+ }
}
}