[FIX] web: inconsistent hover cursor on some stat button
Before this commit: the hover property inconsistent with some content of the stat button, it happens because the content of the stat button contains field widget which contains 'o_quick_editable' class in read-only mode which has the property cursor: default. After this commit: stat buttons and field inside stat buttons will have cursor pointer always as we override the CSS rule for the field inside stat buttons. TaskID-2479807 closes odoo/odoo#73365 X-original-commit: 761d4f6634c98de3425cb40314d91606ab5fad57 Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
This commit is contained in:
@@ -416,6 +416,12 @@ $o-form-label-margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:disabled) {
|
||||
> .o_stat_info .o_field_widget, > span .o_field_widget {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:hover) .o_stat_info > .o_hover {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user