diff options
| author | Kishan Gajjar <kig@odoo.com> | 2017-03-08 15:01:55 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-03-27 15:08:25 +0200 |
| commit | 405e9551d7196edc8fc859d47ba489e28e32982c (patch) | |
| tree | b503ae86d2c576e021dfa19c02e76e5a96617ea2 /addons/website/static/src/less/website.edit_mode.less | |
| parent | e611a546d27619ec2708724ed8baab1e038d259b (diff) | |
[IMP] website: Display message to drag&drop snippet if no content in page
Purpose:
========
When you start designing a page, you get a weird empty page
it was better in v8 with a default message prompting the user to drop a snippet
Specification:
==============
When a user starts designing a page he/she should get a default message prompting to drop a snippet (like we had it in v8).
[The drag&drop icon must be adapted: now snippets stand in the left side (and not in the upper part)]
Diffstat (limited to 'addons/website/static/src/less/website.edit_mode.less')
| -rw-r--r-- | addons/website/static/src/less/website.edit_mode.less | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website/static/src/less/website.edit_mode.less b/addons/website/static/src/less/website.edit_mode.less index 9f509eec230..2a092ab98d2 100644 --- a/addons/website/static/src/less/website.edit_mode.less +++ b/addons/website/static/src/less/website.edit_mode.less @@ -43,6 +43,11 @@ } &.oe_structure.oe_empty, &[data-oe-type=html] { + &:empty { + height: 300px; + background: url(/website/static/src/img/drag_here.png) center no-repeat; + background-size: 380px; + } > p:empty:only-child { color: #aaa; } |
