mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix 18 ent
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "odoo18 Enterprise enhance Pack,企业版界面及操作增强",
|
'name': "odoo18 Enterprise enhance Pack,企业版界面及操作增强",
|
||||||
'version': '18.0.24.12.16',
|
'version': '18.0.24.12.24',
|
||||||
'author': 'odooai.cn',
|
'author': 'odooai.cn',
|
||||||
'category': 'Extra tools',
|
'category': 'Extra tools',
|
||||||
'website': 'https://www.odooai.cn',
|
'website': 'https://www.odooai.cn',
|
||||||
@@ -80,8 +80,8 @@
|
|||||||
],
|
],
|
||||||
"web.assets_web_dark": [
|
"web.assets_web_dark": [
|
||||||
('remove', 'app_web_enterprise/static/src/scss/home_menu.variables.scss'),
|
('remove', 'app_web_enterprise/static/src/scss/home_menu.variables.scss'),
|
||||||
('remove', 'app_web_enterprise/static/src/scss/navbar.variables.scss'),
|
('remove', 'app_web_enterprise/static/src/webclient/navbar.variables.scss'),
|
||||||
('remove', 'app_web_enterprise/static/src/scss/navbar.scss'),
|
('remove', 'app_web_enterprise/static/src/webclient/navbar.scss'),
|
||||||
],
|
],
|
||||||
# 这里是改样式,要 after处理
|
# 这里是改样式,要 after处理
|
||||||
'web.assets_frontend': [
|
'web.assets_frontend': [
|
||||||
|
|||||||
@@ -12,5 +12,8 @@
|
|||||||
--NavBar-entry-backgroundColor--active: #{$o-navbar-entry-bg--active};
|
--NavBar-entry-backgroundColor--active: #{$o-navbar-entry-bg--active};
|
||||||
--NavBar-entry-backgroundColor--focus: #{$o-navbar-entry-bg--hover};
|
--NavBar-entry-backgroundColor--focus: #{$o-navbar-entry-bg--hover};
|
||||||
background: linear-gradient(45deg, #{$o-brand-odoo}, #{$o-action});
|
background: linear-gradient(45deg, #{$o-brand-odoo}, #{$o-action});
|
||||||
|
.o_menu_toggle {
|
||||||
|
color: var(--NavBar-entry-color, #e7e9ed);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,15 +3,12 @@
|
|||||||
<!-- 企业版变色 -->
|
<!-- 企业版变色 -->
|
||||||
<template id="app_layout" inherit_id="web.layout" name="app Web layout">
|
<template id="app_layout" inherit_id="web.layout" name="app Web layout">
|
||||||
<xpath expr="//meta[last()]" position="after">
|
<xpath expr="//meta[last()]" position="after">
|
||||||
<meta name="theme-color" content="#00796B"/>
|
|
||||||
<meta name="mobile-web-app-capable" content="yes"/>
|
<meta name="mobile-web-app-capable" content="yes"/>
|
||||||
<!-- Windows Phone -->
|
<!-- Windows Phone -->
|
||||||
<meta name="msapplication-navbutton-color" content="#00796B"/>
|
<meta name="msapplication-navbutton-color" t-att-content="'#242733' if request.cookies.get('color_scheme') == 'dark' else '#00796B'"/>
|
||||||
<meta name="msapplication-TileColor" content="#00796B"/>
|
<meta name="msapplication-TileColor" t-att-content="'#242733' if request.cookies.get('color_scheme') == 'dark' else '#00796B'"/>
|
||||||
<!-- iOS Safari -->
|
<!-- iOS Safari -->
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
<meta name="theme-color" t-att-content="'#242733' if request.cookies.get('color_scheme') == 'dark' else '#00796B'"/>
|
||||||
<meta name="theme-color" content="#00796B" media="(prefers-color-scheme: light)"/>
|
|
||||||
<meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
<!-- <template id="replace_theme_color" name="Replace theme color" inherit_id="web.webclient_bootstrap">-->
|
<!-- <template id="replace_theme_color" name="Replace theme color" inherit_id="web.webclient_bootstrap">-->
|
||||||
|
|||||||
Reference in New Issue
Block a user