From 59f1c086a895f9579e0794c1abef760c5dfa8ed4 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Mon, 9 Sep 2024 13:53:33 +0800 Subject: [PATCH] =?UTF-8?q?opt=20=E7=BB=93=E7=AE=97=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E7=94=A8=E5=BE=85=E5=BC=80=E7=A5=A8=E5=AD=97?= =?UTF-8?q?=E7=9C=BC=EF=BC=8C=E7=94=A8=E5=BE=85=E5=BC=80=E6=94=B6=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/src/scss/app_style_before.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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) {