[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) <qsm@odoo.com>
This commit is contained in:
Arthur Detroux (ard)
2021-12-06 18:01:46 +00:00
parent 4196ea9dc2
commit 78a1e11326
@@ -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;