diff --git a/app_web_enterprise/static/src/scss/app_style_before.scss b/app_web_enterprise/static/src/scss/app_style_before.scss index ba68f580..ee223f26 100644 --- a/app_web_enterprise/static/src/scss/app_style_before.scss +++ b/app_web_enterprise/static/src/scss/app_style_before.scss @@ -1,4 +1,5 @@ // 编辑模式默认 input下方border 有颜色 +//标准的 .o_form_view { .o_form_view_container { &:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { @@ -6,7 +7,15 @@ } } } - +//必填的 +.o_form_view { + .o_form_view_container { + &:not(.o_field_highlight) .o_field_widget.o_required_modifier:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '600')}; + } + } +} +//未填必填时 .o_form_view:not(.o_field_highlight) { .o_form_view_container { .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {