diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-10-29 17:01:00 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-11-13 13:56:18 +0000 |
| commit | bdfddace29b16404c06a7ebfc0cc242463a0e768 (patch) | |
| tree | c16b565a3fa6fa92c82f3df2531cbef00f1e6c9f /addons/website/static | |
| parent | 3ed3537abd416ebc35f8bc2ee65f209840c071bf (diff) | |
[FIX] web_editor, *: ease understanding of snippet drag, not click
*: web, website
Make the empty oe_structure messages "wizz" when the user clicks on a
snippet to drag instead of dragging it.
Part of https://github.com/odoo/odoo/pull/60837
Related to task-2363616
closes odoo/odoo#60837
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static')
| -rw-r--r-- | addons/website/static/src/scss/website.edit_mode.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/website/static/src/scss/website.edit_mode.scss b/addons/website/static/src/scss/website.edit_mode.scss index 7cb42d99603..1b659a2bb4c 100644 --- a/addons/website/static/src/scss/website.edit_mode.scss +++ b/addons/website/static/src/scss/website.edit_mode.scss @@ -11,12 +11,21 @@ $-editor-messages-margin-x: 2%; content: attr(data-editor-message); display: block; font-size: 20px; + line-height: 50px; // Useful for the "wizz" animation on snippet click to be more visible } &:after { content: attr(data-editor-sub-message); display: block; } } +.o_we_snippet_area_animation { + animation-delay: 999ms; // Disable it but allow to inherit the animation + + &::before { + animation: inherit; + animation-delay: 0ms; + } +} .o_editable { &:not(:empty), &[data-oe-type] { |
