summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/less')
-rw-r--r--addons/web/static/src/less/kanban_dashboard.less8
-rw-r--r--addons/web/static/src/less/kanban_view.less7
2 files changed, 15 insertions, 0 deletions
diff --git a/addons/web/static/src/less/kanban_dashboard.less b/addons/web/static/src/less/kanban_dashboard.less
index adf67f31bf0..da8f0adac72 100644
--- a/addons/web/static/src/less/kanban_dashboard.less
+++ b/addons/web/static/src/less/kanban_dashboard.less
@@ -43,6 +43,14 @@
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 b9eec962eaf..f9130469665 100644
--- a/addons/web/static/src/less/kanban_view.less
+++ b/addons/web/static/src/less/kanban_view.less
@@ -154,6 +154,13 @@
@media (max-width: @screen-xs-max) {
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);
+ z-index: 1; // show the shadow on top of the previous & next cards in grouped mode
+ outline: none;
+ }
}
.o_kanban_quick_create {