From 78a1e113263dadc5c5aeb03e1ec0d5f3cf48241b Mon Sep 17 00:00:00 2001 From: "Arthur Detroux (ard)" Date: Mon, 6 Dec 2021 08:35:27 +0000 Subject: [PATCH] [FIX] web_editor: show pointer cursor when hovering colors Prior to this commit, when the user was hovering on colors in the web editor, the cursor would stay with its default appearance. Some users weren't able to tell if this was an interactive element or not. With this commit, we change the cursor to the pointer cursor when a user is hovering the element so that they have a visual element indicating that it's interactive. task-2687469 closes odoo/odoo#80933 X-original-commit: 40fec954a369c94576b5ed88eade5d3ff120ca4a Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 8faf79d01b0..2c63afe95f5 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -1199,6 +1199,7 @@ body.editor_enable.editor_has_snippets { height: $o-we-sidebar-content-field-colorpicker-size; border: $o-we-sidebar-content-field-border-width solid $o-we-sidebar-content-field-border-color; border-radius: 10rem; + cursor: pointer; &::after { box-shadow: $o-we-sidebar-content-field-colorpicker-shadow;