简体   繁体   English

如何自定义odoo 10中的按钮和文本

[英]how to customize button and text in odoo 10

I installed odoo from version 10 and I would like to change the background color of the text button "" Reprendre "" ie change the background color and buttons of purple color in red and I can not locate the file css concerned to be able to make the changes. 我从版本10安装了odoo,我想更改文本按钮“” Reprendre “”的背景颜色,即更改背景颜色和紫色的红色按钮,而我无法找到相关的文件CSS变化。

在此处输入图片说明

在此处输入图片说明

If you hope to change the style directly, go to the addons and find below file. 如果您希望直接更改样式,请转到插件并找到以下文件。

\addons\web\static\src\less\variables.less

You can change the color code of the 5th line, save and refresh page. 您可以更改第五行的颜色代码,保存和刷新页面。

@odoo-font-size-base: 13px;

// Colors
@odoo-brand-primary: #7c7bad;
@odoo-brand-optional: red;
@odoo-brand-secondary: #f0eeee;
@odoo-brand-lightsecondary: #e2e2e0;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM