opt ent color

This commit is contained in:
ivan deng
2019-04-14 18:57:54 +08:00
parent 9579c65cca
commit d513faa051
5 changed files with 58 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
{ {
'name': "App web enterprise enhance,企业版界面增强", 'name': "App web enterprise enhance,企业版界面增强",
'version': '12.0.9.26', 'version': '12.19.04.14',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Base', 'category': 'Base',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1128" viewBox="0 0 2000 1128">
<polygon fill-opacity=".03" points="0 1077.844 392.627 778.443 1504.99 1127.745 0 1127.745"/>
<polygon fill-opacity=".02" points="392.216 778.443 283.294 0 0 0 0 666.504"/>
<polygon fill-opacity=".03" points="1000 0 2000 1009.98 2000 439.94 1749.817 0"/>
</svg>

After

Width:  |  Height:  |  Size: 366 B

View File

@@ -0,0 +1,35 @@
///
/// This file regroups the variables that style odoo components.
/// They are available in every asset bundle.
///
// Customize color
$o-enterprise-color: #064475;
$o-enterprise-color: #475DA4;
$o-enterprise-color: #4187AE;
$o-enterprise-color: #00796B;
// Font sizes
$o-font-size-base-touch: 15px;
// Colors
$o-brand-odoo: $o-enterprise-color;
$o-brand-primary: $o-enterprise-primary-color;
$o-brand-secondary: #8f8f8f;
$o-brand-lightsecondary: $o-gray-100;
$o-main-text-color: #666666;
$o-list-footer-bg-color: white;
$o-btn-secondary-bg: white;
$o-btn-secondary-hover-bg: darken($o-btn-secondary-bg, 10%);
$o-btn-secondary-active-bg: darken($o-btn-secondary-bg, 8%);
// Layout
$o-statbutton-height: 44px;
$o-statbutton-vpadding: 0px;
$o-statbutton-spacing: 6px;
// Home menu
$o-home-menu-container-size: 850px;
$o-home-menu-app-icon-max-width: 70px;
$o-home-studio-menu-shadow: 0 1px 0 rgba(black, 0.45);

View File

@@ -0,0 +1,5 @@
.o_home_menu_background {
background: url(/app_web_enterprise/static/src/img/home-menu-bg-overlay.svg),
linear-gradient(to right bottom, #00796B, #00463e);
background-size: cover;
}

View File

@@ -5,4 +5,16 @@
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/> <link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/app_style.scss"/>
</xpath> </xpath>
</template> </template>
<!-- 企业版变色 -->
<template id="_app_assets_primary_variables" inherit_id="web_enterprise._assets_primary_variables" priority="15">
<xpath expr="//link[@href='/web_enterprise/static/src/scss/primary_variables.scss']" position="replace">
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/primary_variables.scss"/>
</xpath>
</template>
<template id="app_assets_common" name="app_web_enterprise assets common" inherit_id="web_enterprise.assets_common">
<xpath expr="//link[@href='/web_enterprise/static/src/scss/ui.scss']" position="replace">
<link rel="stylesheet" type="text/scss" href="/app_web_enterprise/static/src/scss/ui.scss"/>
</xpath>
</template>
</odoo> </odoo>