3
0
Fork 0

[IMP] web_theme_classic : Do not display required color on readonly fields

17.0
Sylvain LE GAL 2023-04-18 16:49:22 +02:00
parent 4e60d72907
commit db6a2e438c
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ $button-border-color: #dee2e6;
Form View : Handle Background for required fields
************************************************************/
.o_required_modifier {
.o_required_modifier:not(.o_readonly_modifier) {
.o_input {
/* Add background for all editable and required fields */
background-color: $input-background-color-required !important;
@ -63,7 +63,7 @@ $button-border-color: #dee2e6;
}
}
.o_required_modifier.o_field_selection {
.o_required_modifier.o_field_selection:not(.o_readonly_modifier) {
/* Specific case for field selection */
background-color: $input-background-color-required !important;
}