c91c221c4c2ea66cd49411d91e4fd92ead46ed3c
This commit aims to reintroduce CSS variables to handle the different states of our navbar entries. Recently, the way we handle the navbar entries changed. Previously, we used to set CSS variables in Community, which would allow us to control the color of ours nav entries at every state. On the Enteprise side, this would allow us to use the different colors we use for these buttons and style them differently This approach was also very helpful because we could override these CSS variables once again to handle the colors of the Studio navbar elements. Recently, the approach used to control these elements changed : - On Community, we make use of CSS variables ; - On Enterprise, we use the Bootstrap `btn-light` class. Using `btn-light` was a very good approach to ensure that no issues would appears on our buttons and also to reduce the amount of code needed, but unfortunately, using `btn-light` directly affects Studio, causing contrast issues. It was also a bit weird to have CSS variables + Bootstrap classes being set at the same time. To fix these issues, we reintroduce CSS variables in Enterprise and Studio, to fully control the color of our elements and ensure everything is readable. Most of these variables are defined in Community, inside the `navbar.scss` file, and we simply override them in Enterprise and Studio. task-3418936 part of task-3326263 closes odoo/odoo#137140 X-original-commit: af6d914c379953d2deec9833579399f126076194 Related: odoo/enterprise#48174 Signed-off-by: Stefano Rigano (sri) <sri@odoo.com> Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%