diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2018-04-18 14:04:26 +0200 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2018-04-18 14:18:31 +0200 |
| commit | fca6ea37ab11e71ee49a470920eaba54fe135752 (patch) | |
| tree | d062660490c37cc93da596ae33d415bfb68306fb /addons/web/static/src | |
| parent | d082fa0d9523a99469caf7fe48f619d0635f96f9 (diff) | |
[FIX] web: lighten the focus effect in kanban
Also apply the same focus affect on "dashboard" kanbans and normal
kanbans
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/less/kanban_dashboard.less | 8 | ||||
| -rw-r--r-- | 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; } |
