summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-10-26 10:18:58 +0000
committerqsm-odoo <qsm@odoo.com>2020-10-27 11:00:59 +0000
commit34238b77ace7e6feeb1f9e693d7cd3b12786505d (patch)
tree651b89434141d99599614347ebae5e34b54944d1 /addons/web_editor/static/src/scss
parentc64b3c22bfab848e13145235acc03562aee43e76 (diff)
[FIX] web_editor: properly allow to select a bg color for badges
Before this commit, the badges' background color was not possible to edit: the previews were done correctly but the background color was removed after final selection. This was because the background color property is animated on badges, messing with the related edition function. Closes https://github.com/odoo/odoo/issues/59337 closes odoo/odoo#60742 X-original-commit: 0b0f3a9c6d60cd9883628d83b6893efd24556aa3 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
-rw-r--r--addons/web_editor/static/src/scss/wysiwyg_snippets.scss8
1 files changed, 8 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 e3116ceddf8..ad7535890f9 100644
--- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
+++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
@@ -1902,3 +1902,11 @@ we-select.o_we_shape_menu {
position: fixed;
right: $o-we-sidebar-width;
}
+
+.o_we_force_no_transition {
+ // Note: this is forced through a CSS class instead of inline style to avoid
+ // overridding existing inline styles or forgetting to restore them as the
+ // code evolves. We may need to increase the CSS priority of this. It will
+ // also not work to override important inline style... this is a limitation.
+ transition: none !important;
+}