From fca6ea37ab11e71ee49a470920eaba54fe135752 Mon Sep 17 00:00:00 2001 From: Vincent Schippefilt Date: Wed, 18 Apr 2018 14:04:26 +0200 Subject: [PATCH] [FIX] web: lighten the focus effect in kanban Also apply the same focus affect on "dashboard" kanbans and normal kanbans --- addons/web/static/src/less/kanban_dashboard.less | 8 -------- addons/web/static/src/less/kanban_view.less | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/addons/web/static/src/less/kanban_dashboard.less b/addons/web/static/src/less/kanban_dashboard.less index 83db9319166..947b78739f7 100644 --- a/addons/web/static/src/less/kanban_dashboard.less +++ b/addons/web/static/src/less/kanban_dashboard.less @@ -43,14 +43,6 @@ margin-bottom: 10px; } - &:focus, &:focus-within { - -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,1); - -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,1); - box-shadow: 1px 1px 3px 0px rgba(0,0,0,1); - z-index: 1; // show the shadow on top of the previous & next cards in grouped mode - outline: none; - } - // ------- Generic layout adaptations ------- .container { width: 100%; diff --git a/addons/web/static/src/less/kanban_view.less b/addons/web/static/src/less/kanban_view.less index f9130469665..a471da93b9d 100644 --- a/addons/web/static/src/less/kanban_view.less +++ b/addons/web/static/src/less/kanban_view.less @@ -155,9 +155,9 @@ padding: @o-kanban-inside-vgutter @o-kanban-inside-hgutter-mobile; } &:focus, &:focus-within { - -webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,1); - -moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,1); - box-shadow: 3px 3px 10px 0px rgba(0,0,0,1); + -webkit-box-shadow: 1px 1px 1px 0px @gray-light; + -moz-box-shadow: 1px 1px 1px 0px @gray-light; + box-shadow: 1px 1px 1px 0px @gray-light; z-index: 1; // show the shadow on top of the previous & next cards in grouped mode outline: none; }