summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-02-27 11:56:54 +0000
committerqsm-odoo <qsm@odoo.com>2020-03-24 16:06:59 +0000
commit85a604635ce62f2460a52f9cf531f3194da53f89 (patch)
tree2e19493ee78f7983de120e069e6e3f4a5011a545 /addons/web_editor/static/src
parenta4cce228cf87bd852e4ceaa9c5b62a412a3eec13 (diff)
[IMP] web_editor, website: preview container width on hover
Preview the boundaries of container elements when hovering over the 3 width options. Part of https://github.com/odoo/odoo/pull/46503 task-2194309
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/scss/wysiwyg_snippets.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
index 4bd1546c478..44a56663f40 100644
--- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
+++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
@@ -1118,3 +1118,8 @@ body.editor_enable.editor_has_snippets {
opacity: 0;
animation: fadeInDownSmall 700ms forwards;
}
+
+// CONTAINER PREVIEW
+.o_container_preview {
+ outline: 2px dashed $o-we-handles-accent-color;
+}