update misc chinese website

This commit is contained in:
Ivan Office
2024-08-20 19:04:42 +08:00
parent 1421c71906
commit c5857c8119
3 changed files with 20 additions and 17 deletions

View File

@@ -1,17 +1,23 @@
// 编辑模式默认 input下方border 有颜色
// 编辑模式默认 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 {
.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
&: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')};
}
}
}
@@ -23,3 +29,10 @@
}
}
//navbar
$o-navbar-background: rgba($o-brand-odoo, .03);
.o_main_navbar {
--NavBar-entry-backgroundColor: $o-navbar-background;
background: $o-navbar-background;
}

View File

@@ -1,12 +0,0 @@
$o-navbar-background: rgba($o-brand-odoo, .05);
.o_main_navbar {
--NavBar-entry-backgroundColor: $o-navbar-background;
background: $o-navbar-background;
.o_menu_sections {
.o_nav_entry, .dropdown-toggle {
background: var(--NavBar-entry-backgroundColor, transparent);
}
}
}