summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-02-15 17:36:52 +0100
committerAlexandre Kühn <aku@odoo.com>2018-02-16 10:23:01 +0100
commitaa8745f1a811fffd339277ad5a43d3accf86fe34 (patch)
treeea670c2e8f7af17d5ab2607b048a05428246cfcb /addons/web/static/src/less
parent4c186f30c3a77e661f0dfdd39fe2c1216ef1ac7b (diff)
[FIX] web,*: various nocontent helper fixes
* account, board, hr_holidays, mail, sale, website_sale Small fixes on nocontent onboarding screens. Initial commit: https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 Details: - list: centered; - pivot/graph: centered + empty folder face; - Dashboard app with nocontent helper; - Discuss inbox/starred: centered without neutral/smiling faces; => no faces because it's too much with animated rainbow man when emptying the any of the boxes. - hr_holidays: fixed onboarding screens; - (technical) dropped obsolete 'o_view_nocontent_container' style; - manual reconciliation 'nothing to reconcile': centered + inside form sheet; => renamed account's o_view_nocontent to o_view_noreconciliation, so that it doesn't use the style of views.less. - kanban: nocontent helper above the columns (if any); - texts "no order to upsell"/"abandonned cart" paragraph split in two.
Diffstat (limited to 'addons/web/static/src/less')
-rw-r--r--addons/web/static/src/less/views.less15
1 files changed, 4 insertions, 11 deletions
diff --git a/addons/web/static/src/less/views.less b/addons/web/static/src/less/views.less
index fa50c2e2bd8..aaa75b9156a 100644
--- a/addons/web/static/src/less/views.less
+++ b/addons/web/static/src/less/views.less
@@ -39,18 +39,11 @@
}
// No content helper
-.o_view_nocontent_container {
- .o-flex-display();
- height: 100%;
- padding: 0;
-}
-
.o_view_nocontent {
- &.o_kanban_view_nocontent {
- .o-position-absolute(20%, 0, 0, 0);
- pointer-events: none;
- }
-
+ .o-position-absolute(20%, 0, 0, 0);
+ pointer-events: none;
+ z-index: 1;
+
.o_nocontent_help {
pointer-events: auto;
max-width: 650px;