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

@@ -69,9 +69,11 @@
<code><field name="name"/></code>
</xpath>
<!--显示快速升级-->
<xpath expr="//div[hasclass('oe_module_action')]" position="inside" groups="app_odoo_customize.group_show_quick_upgrade">
<button type="object" class="btn btn-default btn-sm float-right" name="button_uninstall_wizard" t-if="installed">Uninstall</button>
<button type="object" class="btn btn-success btn-sm float-right" name="button_immediate_upgrade" t-if="installed">Upgrade</button>
<xpath expr="//button[@name='button_immediate_install']" position="after">
<button type="object" class="btn btn-default btn-sm float-right" name="button_uninstall_wizard"
groups="base.group_system" invisible="state != 'installed'">Uninstall</button>
<button type="object" class="btn btn-success btn-sm float-right" name="button_immediate_upgrade"
groups="base.group_system" invisible="state != 'installed'">Upgrade</button>
</xpath>
<!--显示导出翻译-->
<xpath expr="//t[@t-name='kanban-menu']" position="inside">

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);
}
}
}