mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix entprise color
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App web enterprise enhance,企业版界面增强",
|
'name': "App web enterprise enhance,企业版界面增强",
|
||||||
'version': '16.23.02.19',
|
'version': '16.23.04.08',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -51,11 +51,9 @@
|
|||||||
],
|
],
|
||||||
'images': [],
|
'images': [],
|
||||||
'data': [
|
'data': [
|
||||||
|
'views/webclient_templates.xml',
|
||||||
],
|
],
|
||||||
'assets': {
|
'assets': {
|
||||||
'web.assets_qweb': [
|
|
||||||
'app_web_enterprise/static/src/xml/*.xml',
|
|
||||||
],
|
|
||||||
# 企业版变色,注意这个是变量定义,要before
|
# 企业版变色,注意这个是变量定义,要before
|
||||||
'web._assets_primary_variables': [
|
'web._assets_primary_variables': [
|
||||||
('before', 'web_enterprise/static/src/scss/primary_variables.scss', 'app_web_enterprise/static/src/scss/primary_variables.scss'),
|
('before', 'web_enterprise/static/src/scss/primary_variables.scss', 'app_web_enterprise/static/src/scss/primary_variables.scss'),
|
||||||
|
|||||||
@@ -1,20 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<template id="_assets_backend" name="app_web_enterprise assets backend" inherit_id="web.assets_backend">
|
|
||||||
<xpath expr="//link[last()]" position="after">
|
|
||||||
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
<!-- 企业版变色 -->
|
<!-- 企业版变色 -->
|
||||||
<template id="_app_assets_primary_variables" inherit_id="web_enterprise._assets_primary_variables" priority="15">
|
<template id="replace_theme_color" name="Replace theme color" inherit_id="web.webclient_bootstrap">
|
||||||
<xpath expr="//link[last()]" position="after">
|
<xpath expr="//meta[@name='theme-color']" position="replace">
|
||||||
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/primary_variables.scss"/>
|
<meta name="theme-color" content="#875A7B"/>
|
||||||
</xpath>
|
<!-- Windows Phone -->
|
||||||
</template>
|
<meta name="msapplication-navbutton-color" content="#00796B"/>
|
||||||
|
<!-- iOS Safari -->
|
||||||
<template id="app_assets_common" name="app_web_enterprise assets common" inherit_id="web_enterprise.assets_common">
|
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||||
<xpath expr="//link[@href='/web_enterprise/static/src/scss/ui.scss']" position="replace">
|
<meta name="theme-color" content="#875A7B" media="(prefers-color-scheme: light)"/>
|
||||||
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/ui.scss"/>
|
<meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user