mirror of https://github.com/OCA/web.git
[IMP] web_theme_classic : Do not display required color on readonly fields
parent
4e60d72907
commit
db6a2e438c
|
@ -51,7 +51,7 @@ $button-border-color: #dee2e6;
|
||||||
Form View : Handle Background for required fields
|
Form View : Handle Background for required fields
|
||||||
************************************************************/
|
************************************************************/
|
||||||
|
|
||||||
.o_required_modifier {
|
.o_required_modifier:not(.o_readonly_modifier) {
|
||||||
.o_input {
|
.o_input {
|
||||||
/* Add background for all editable and required fields */
|
/* Add background for all editable and required fields */
|
||||||
background-color: $input-background-color-required !important;
|
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 */
|
/* Specific case for field selection */
|
||||||
background-color: $input-background-color-required !important;
|
background-color: $input-background-color-required !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue