[FIX] web: color picker in readonly show default cursor

before this commit: when user is in readonly form, hovering on color picker
widget show cursor pointer due to which user has impression that it can be
edited while color picker should display default cursor in readonly form.

after this commit: in readonly form color picker widget will display default
cursor while hovering over color.

task-2326198

closes odoo/odoo#73011

X-original-commit: a7663fd5c0bf9f09dbb7fa472b1cb0ef3aa47930
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
This commit is contained in:
Mohammed Shekha
2021-06-30 16:27:44 +00:00
parent b98f6bd12a
commit 3212737a25
@@ -118,7 +118,7 @@ $o-form-label-margin-right: 0px;
}
}
.o_quick_editable:not(.o_form_uri) {
.o_quick_editable:not(.o_form_uri), .o_field_color_picker_preview > li > a {
cursor: default;
}
}