mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc chinese website
This commit is contained in:
@@ -69,9 +69,11 @@
|
|||||||
<code><field name="name"/></code>
|
<code><field name="name"/></code>
|
||||||
</xpath>
|
</xpath>
|
||||||
<!--显示快速升级-->
|
<!--显示快速升级-->
|
||||||
<xpath expr="//div[hasclass('oe_module_action')]" position="inside" groups="app_odoo_customize.group_show_quick_upgrade">
|
<xpath expr="//button[@name='button_immediate_install']" position="after">
|
||||||
<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-default btn-sm float-right" name="button_uninstall_wizard"
|
||||||
<button type="object" class="btn btn-success btn-sm float-right" name="button_immediate_upgrade" t-if="installed">Upgrade</button>
|
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>
|
||||||
<!--显示导出翻译-->
|
<!--显示导出翻译-->
|
||||||
<xpath expr="//t[@t-name='kanban-menu']" position="inside">
|
<xpath expr="//t[@t-name='kanban-menu']" position="inside">
|
||||||
|
|||||||
@@ -1,17 +1,23 @@
|
|||||||
// 编辑模式默认 input下方border 有颜色
|
// 编辑模式默认 input下方border 有颜色。必填的深色
|
||||||
.o_form_view {
|
.o_form_view {
|
||||||
.o_form_view_container {
|
.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) {
|
&: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')};
|
--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:not(.o_field_highlight) {
|
||||||
.o_form_view_container {
|
.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')};
|
--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;
|
||||||
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user