From 6f8647995391e1f28001a0327924d015690b7984 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Wed, 4 Dec 2024 19:57:57 +0800 Subject: [PATCH] =?UTF-8?q?prepare=20#IB4502=20=E8=B4=A7=E6=9E=B6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E9=80=9A=E9=81=93/=E8=A1=8C/=E5=88=97/?= =?UTF-8?q?=E6=8E=92=20update=20stock=20shelf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/src/scss/app_style_after.scss | 69 +++++++++++++++++++ .../static/src/scss/app_style_before.scss | 31 --------- 2 files changed, 69 insertions(+), 31 deletions(-) diff --git a/app_web_enterprise/static/src/scss/app_style_after.scss b/app_web_enterprise/static/src/scss/app_style_after.scss index 602aa68b..56e60da8 100644 --- a/app_web_enterprise/static/src/scss/app_style_after.scss +++ b/app_web_enterprise/static/src/scss/app_style_after.scss @@ -99,6 +99,75 @@ max-width: 98%; } } +// 编辑模式默认 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) { + --o-input-border-color: #{map-get($grays, '200')}; + } + &:not(.o_field_highlight) .o_required_modifier.o_field_widget: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 { + &:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '200')}; + } + &:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '600')}; + } + } +} + +.o_dialog_container { + .o_form_view:not(.o_field_highlight) { + .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '200')}; + } + } +} +// 编辑模式默认 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) { + --o-input-border-color: #{map-get($grays, '200')}; + } + &:not(.o_field_highlight) .o_required_modifier.o_field_widget: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 { + &:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '200')}; + } + &:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '600')}; + } + } +} + +.o_dialog_container { + .o_form_view:not(.o_field_highlight) { + .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { + --o-input-border-color: #{map-get($grays, '200')}; + } + } +} + +//page 中优化 +.o_notebook { + --notebook-link-border-color-active: #{$border-color}; + .nav-link.active, .nav-link.active:hover, .nav-link.active:focus, .nav-link.active:active { + border-bottom: 1.5px solid #{$o-brand-lightsecondary}; + } +} +//end form // report .o_account_reports_page .o_account_reports_table { 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 8892c08c..62a0ab1d 100644 --- a/app_web_enterprise/static/src/scss/app_style_before.scss +++ b/app_web_enterprise/static/src/scss/app_style_before.scss @@ -1,34 +1,3 @@ -// 编辑模式默认 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) { - --o-input-border-color: #{map-get($grays, '200')}; - } - &:not(.o_field_highlight) .o_required_modifier.o_field_widget: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 { - &:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { - --o-input-border-color: #{map-get($grays, '200')}; - } - &:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { - --o-input-border-color: #{map-get($grays, '600')}; - } - } -} - -.o_dialog_container { - .o_form_view:not(.o_field_highlight) { - .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) { - --o-input-border-color: #{map-get($grays, '200')}; - } - } -} - //navbar $o-navbar-background: rgba($o-brand-odoo, .06);