diff --git a/code_backend_theme_enterprise/README.rst b/code_backend_theme_enterprise/README.rst new file mode 100755 index 000000000..9797f65e1 --- /dev/null +++ b/code_backend_theme_enterprise/README.rst @@ -0,0 +1,41 @@ +Code Backend Theme Enterprise +============================= +* Code Backend Theme module for Odoo 14 enterprise editions + +Installation +============ + - www.odoo.com/documentation/14.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/14.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions '__ + +Credits +------- +* 'Cybrosys Techno Solutions '__ + Credits : Abhijith KP @ Cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/code_backend_theme_enterprise/__init__.py b/code_backend_theme_enterprise/__init__.py new file mode 100644 index 000000000..5042f465e --- /dev/null +++ b/code_backend_theme_enterprise/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from .hooks import test_pre_init_hook, test_post_init_hook diff --git a/code_backend_theme_enterprise/__manifest__.py b/code_backend_theme_enterprise/__manifest__.py new file mode 100644 index 000000000..f73ea60ca --- /dev/null +++ b/code_backend_theme_enterprise/__manifest__.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + "name": "Code Backend Theme V14 Enterprise", + "summary": "Minimalist and elegant backend theme for Odoo 14 Enterprise", + "description": """Minimalist and elegant backend theme for Odoo 14 Backend Theme Enterprise, Enterprise Theme, Backend Theme, Enterprise Backend Theme, V14 Theme""", + "category": "Theme/Backend", + "version": "14.0.1.0.0", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + "depends": ['base', 'web_enterprise', 'web'], + "data": [ + 'views/assets.xml', + 'views/icons.xml', + ], + "qweb": [ + 'static/src/xml/styles.xml', + 'static/src/xml/top_bar.xml', + 'static/src/xml/sidebar.xml', + ], + 'images': [ + 'static/description/banner.png', + 'static/description/theme_screenshot.png', + ], + 'license': 'LGPL-3', + 'pre_init_hook': 'test_pre_init_hook', + 'post_init_hook': 'test_post_init_hook', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/code_backend_theme_enterprise/doc/RELEASE_NOTES.md b/code_backend_theme_enterprise/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3ddb79917 --- /dev/null +++ b/code_backend_theme_enterprise/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 02.08.2021 +#### Version 14.0.1.0.0 +#### ADD +Initial Commit for 'Code Backend Theme V14 Enterprise' \ No newline at end of file diff --git a/code_backend_theme_enterprise/hooks.py b/code_backend_theme_enterprise/hooks.py new file mode 100644 index 000000000..1d87664aa --- /dev/null +++ b/code_backend_theme_enterprise/hooks.py @@ -0,0 +1,447 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +import base64 + +from odoo import api, SUPERUSER_ID +from odoo.modules import get_module_resource + + +def test_pre_init_hook(cr): + """Hooks for Changing Menu Web_icon""" + + env = api.Environment(cr, SUPERUSER_ID, {}) + menu_item = env['ir.ui.menu'].search([('parent_id', '=', False)]) + + for menu in menu_item: + if menu.name == 'Contacts': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'contacts.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Link Tracker': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'link.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Dashboards': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'dashboard.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Sales': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'sales.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Accounting': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'accounting.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Inventory': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'inventory.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Purchase': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'purchase.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Calendar': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'calendar.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'CRM': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'crm.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Note': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'notes.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Website': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'website.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Point of Sale': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'pos.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Manufacturing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'manufacturing.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Repairs': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'repair.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Email Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'email-marketing.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'SMS Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'sms.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Project': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'project.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Surveys': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'survey.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Employees': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'employee.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Recruitment': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'recruitment.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Attendances': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'attendance.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Time Off': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'time-off.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Expenses': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'expense.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Maintenance': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'maintenance.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Live Chat': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'chat.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Lunch': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'restaurant.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Fleet': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'traffic.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Timesheets': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'timesheet.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Events': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'token.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'eLearning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'elearning.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Members': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'user.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + + if menu.name == 'Subscriptions': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'subscription.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Documents': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'documents.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Rental': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'rental.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Marketing Automation': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'marketing_automation.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'IoT': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'iot.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Helpdesk': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'help.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Planning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'planning.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Appraisal': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'appraisal.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Consolidation': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'consolidation.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Payroll': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'payroll.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Barcode': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'barcode.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Quality': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'quality.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'PLM': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'plm.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Field Service': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'field-service.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Data Cleaning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'clean-code.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Approvals': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'approvals.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Referrals': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'referrals.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Discuss': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'discuss.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Social Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'like.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + + +def test_post_init_hook(cr, registry): + """post init hook""" + + env = api.Environment(cr, SUPERUSER_ID, {}) + menu_item = env['ir.ui.menu'].search([('parent_id', '=', False)]) + + for menu in menu_item: + if menu.name == 'Contacts': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'contacts.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Link Tracker': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'link.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Dashboards': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'dashboard.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Sales': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'sales.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Accounting': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'accounting.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Inventory': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'inventory.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Purchase': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'purchase.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Calendar': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'calendar.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'CRM': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'crm.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Note': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'notes.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Website': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'website.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Point of Sale': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'pos.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Manufacturing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'manufacturing.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Repairs': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'repair.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Email Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'email-marketing.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'SMS Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'sms.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Project': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'project.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Surveys': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'survey.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Employees': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'employee.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Recruitment': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'recruitment.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Attendances': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'attendance.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Time Off': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'time-off.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Expenses': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'expense.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Maintenance': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'maintenance.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Live Chat': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'chat.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Lunch': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'restuarant.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Fleet': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'traffic.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Timesheets': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'timesheet.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Events': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'token.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'eLearning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'elearning.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Members': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'user.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + + if menu.name == 'Subscriptions': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'subscription.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Documents': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'documents.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Rental': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'rental.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Marketing Automation': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'marketing_automation.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'IoT': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'iot.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Helpdesk': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'help.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Planning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'planning.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Appraisal': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'appraisal.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Consolidation': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'consolidation.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Payroll': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'payroll.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Barcode': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'barcode.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Quality': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'quality.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'PLM': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'plm.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Field Service': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'field-service.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Data Cleaning': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'clean-code.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Approvals': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'approvals.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Referrals': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'referrals.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Discuss': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'discuss.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + if menu.name == 'Social Marketing': + img_path = get_module_resource( + 'code_backend_theme_enterprise', 'static', 'src', 'img', 'icons', 'like.png') + menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) + diff --git a/code_backend_theme_enterprise/static/description/assets/all_screens.png b/code_backend_theme_enterprise/static/description/assets/all_screens.png new file mode 100644 index 000000000..5b30b0064 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/all_screens.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/easily-access-menu.gif b/code_backend_theme_enterprise/static/description/assets/easily-access-menu.gif new file mode 100644 index 000000000..b7e16d17d Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/easily-access-menu.gif differ diff --git a/code_backend_theme_enterprise/static/description/assets/hero.png b/code_backend_theme_enterprise/static/description/assets/hero.png new file mode 100644 index 000000000..61d3ae9ff Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/hero.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/check.png b/code_backend_theme_enterprise/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/check.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/chevron.png b/code_backend_theme_enterprise/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/chevron.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/cogs.png b/code_backend_theme_enterprise/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/cogs.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/consultation.png b/code_backend_theme_enterprise/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/consultation.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/ecom-black.png b/code_backend_theme_enterprise/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/ecom-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/education-black.png b/code_backend_theme_enterprise/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/education-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/hotel-black.png b/code_backend_theme_enterprise/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/hotel-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/license.png b/code_backend_theme_enterprise/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/license.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/lifebuoy.png b/code_backend_theme_enterprise/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/lifebuoy.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/manufacturing-black.png b/code_backend_theme_enterprise/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/manufacturing-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/pos-black.png b/code_backend_theme_enterprise/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/pos-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/puzzle.png b/code_backend_theme_enterprise/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/puzzle.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/restaurant-black.png b/code_backend_theme_enterprise/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/restaurant-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/service-black.png b/code_backend_theme_enterprise/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/service-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/trading-black.png b/code_backend_theme_enterprise/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/trading-black.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/training.png b/code_backend_theme_enterprise/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/training.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/update.png b/code_backend_theme_enterprise/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/update.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/user.png b/code_backend_theme_enterprise/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/user.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/icons/wrench.png b/code_backend_theme_enterprise/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/icons/wrench.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/logo.png b/code_backend_theme_enterprise/static/description/assets/logo.png new file mode 100644 index 000000000..90757391a Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/logo.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/menu_focus.png b/code_backend_theme_enterprise/static/description/assets/menu_focus.png new file mode 100644 index 000000000..552401424 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/menu_focus.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/resp-gif.gif b/code_backend_theme_enterprise/static/description/assets/resp-gif.gif new file mode 100644 index 000000000..5175fda49 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/resp-gif.gif differ diff --git a/code_backend_theme_enterprise/static/description/assets/responsive.jpg b/code_backend_theme_enterprise/static/description/assets/responsive.jpg new file mode 100644 index 000000000..b721e6948 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/responsive.jpg differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/Employees_kanban.png b/code_backend_theme_enterprise/static/description/assets/screenshots/Employees_kanban.png new file mode 100644 index 000000000..d8c33c7fe Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/Employees_kanban.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/alert.png b/code_backend_theme_enterprise/static/description/assets/screenshots/alert.png new file mode 100644 index 000000000..599348b3d Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/alert.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/approvals_dashboard.png b/code_backend_theme_enterprise/static/description/assets/screenshots/approvals_dashboard.png new file mode 100644 index 000000000..6062464eb Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/approvals_dashboard.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/apps_uninstall.png b/code_backend_theme_enterprise/static/description/assets/screenshots/apps_uninstall.png new file mode 100644 index 000000000..8ff9ec779 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/apps_uninstall.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/attendance.png b/code_backend_theme_enterprise/static/description/assets/screenshots/attendance.png new file mode 100644 index 000000000..152de6662 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/attendance.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/chatters.png b/code_backend_theme_enterprise/static/description/assets/screenshots/chatters.png new file mode 100644 index 000000000..42e6a3592 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/chatters.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/crm_graph.png b/code_backend_theme_enterprise/static/description/assets/screenshots/crm_graph.png new file mode 100644 index 000000000..2e37f4888 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/crm_graph.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/discuss.png b/code_backend_theme_enterprise/static/description/assets/screenshots/discuss.png new file mode 100644 index 000000000..07b16c501 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/discuss.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/easily-access-menu.gif b/code_backend_theme_enterprise/static/description/assets/screenshots/easily-access-menu.gif new file mode 100644 index 000000000..41949d416 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/easily-access-menu.gif differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/form_view.png b/code_backend_theme_enterprise/static/description/assets/screenshots/form_view.png new file mode 100644 index 000000000..58cb5172c Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/form_view.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/graph-view.jpg b/code_backend_theme_enterprise/static/description/assets/screenshots/graph-view.jpg new file mode 100644 index 000000000..2038cca2a Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/graph-view.jpg differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/group_view.png b/code_backend_theme_enterprise/static/description/assets/screenshots/group_view.png new file mode 100644 index 000000000..3877c9337 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/group_view.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/home.png b/code_backend_theme_enterprise/static/description/assets/screenshots/home.png new file mode 100644 index 000000000..3e5a32373 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/home.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/home1.png b/code_backend_theme_enterprise/static/description/assets/screenshots/home1.png new file mode 100644 index 000000000..cb2f1408b Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/home1.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/inventory_graph.png b/code_backend_theme_enterprise/static/description/assets/screenshots/inventory_graph.png new file mode 100644 index 000000000..2269776cc Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/inventory_graph.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/kanban_group.png b/code_backend_theme_enterprise/static/description/assets/screenshots/kanban_group.png new file mode 100644 index 000000000..4d04525fb Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/kanban_group.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/login.png b/code_backend_theme_enterprise/static/description/assets/screenshots/login.png new file mode 100644 index 000000000..cb6e824f5 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/login.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/modal.png b/code_backend_theme_enterprise/static/description/assets/screenshots/modal.png new file mode 100644 index 000000000..b8fd4ce07 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/modal.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/product_form.png b/code_backend_theme_enterprise/static/description/assets/screenshots/product_form.png new file mode 100644 index 000000000..52c2b56da Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/product_form.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/product_kanban.png b/code_backend_theme_enterprise/static/description/assets/screenshots/product_kanban.png new file mode 100644 index 000000000..0a774e101 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/product_kanban.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/purchase_list.png b/code_backend_theme_enterprise/static/description/assets/screenshots/purchase_list.png new file mode 100644 index 000000000..43e8de370 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/purchase_list.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/recruitment_kanban.png b/code_backend_theme_enterprise/static/description/assets/screenshots/recruitment_kanban.png new file mode 100644 index 000000000..24b991e79 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/recruitment_kanban.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/rental_graph.png b/code_backend_theme_enterprise/static/description/assets/screenshots/rental_graph.png new file mode 100644 index 000000000..9b098eac6 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/rental_graph.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/sales_kanban.png b/code_backend_theme_enterprise/static/description/assets/screenshots/sales_kanban.png new file mode 100644 index 000000000..6f7339ef1 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/sales_kanban.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/sales_list.png b/code_backend_theme_enterprise/static/description/assets/screenshots/sales_list.png new file mode 100644 index 000000000..94e025d66 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/sales_list.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/settings.png b/code_backend_theme_enterprise/static/description/assets/screenshots/settings.png new file mode 100644 index 000000000..4381338ad Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/settings.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_sales.png b/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_sales.png new file mode 100644 index 000000000..f6749f0e1 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_sales.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_settings.png b/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_settings.png new file mode 100644 index 000000000..1dac07d1e Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/sidebar_settings.png differ diff --git a/code_backend_theme_enterprise/static/description/assets/screenshots/tab.png b/code_backend_theme_enterprise/static/description/assets/screenshots/tab.png new file mode 100644 index 000000000..01e0a4cdf Binary files /dev/null and b/code_backend_theme_enterprise/static/description/assets/screenshots/tab.png differ diff --git a/code_backend_theme_enterprise/static/description/banner.png b/code_backend_theme_enterprise/static/description/banner.png new file mode 100644 index 000000000..695cf3c83 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/banner.png differ diff --git a/code_backend_theme_enterprise/static/description/icon.png b/code_backend_theme_enterprise/static/description/icon.png new file mode 100644 index 000000000..0e2c02007 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/icon.png differ diff --git a/code_backend_theme_enterprise/static/description/index.html b/code_backend_theme_enterprise/static/description/index.html new file mode 100644 index 000000000..ca92effa4 --- /dev/null +++ b/code_backend_theme_enterprise/static/description/index.html @@ -0,0 +1,1018 @@ + +
+
+
+

+ Code Backend Theme Enterprise +

+

Minimalist and Elegant Backend + Theme for Odoo 14 Enterprise

+
+
+ +
+
+
+ + + +
+
+
+

+ The Code Backend Theme V14 Enterprise Gives You a Fully Modified View with a Full Screen Display. + This is a Minimalist and Elegant Backend Theme for Odoo 14. + This Theme Will Change Your Old Experience to a New Experience With Odoo. + It is a Perfect Choice for Your Odoo Backend and an Attractive Theme for Your Odoo 14. + It will Give You a Clean Layout with a New Color Combination and a Modified Font. It has a + Sidebar with + New App Icons and Company Logo. This Will Change Your Old Kanban, List and Form Views to A Fully + Modified View. +

+
+
+ +
+
+
+ + + + +
+
+
+ +

+ Features

+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ New +
+

Fully Responsive Layout

+
+ Now take advantage of everything your dashboard has to offer even on the go. Our design are + now + fully responsive enabling you to view and manage everything from the comfort of your mobile + device. Everything + has been designed in a meticulous fashion so that every view snaps itself to fit the size of + the + device you are using, be it smartphones, tablet or any other portables, our theme adjusts + itself + to fit the screen size. +
+ + +

Fully responsive

+
+ + + +

Fly-out hamburger menu on the left

+
+ + + +

Fits perfectly to all screen sizes

+
+ + + +

Quick access menu at the bottom in discuss

+
+ +
+
+ +
+
+ + +
+
+
+

Kanban Group View

+
+ The Code Backend Theme V14 Gives You a Fully Modified Kanban View and Kanban Group View. + The Section Wise Separated Stages give a Pleasant Experience And an Extraordinary Design + To Your Content Tiles Making The Tiles Look Great. + It will Give You a Clean Layout with the New Color Combination and a Modified Font. +
+
+
+ + +

Modified Font

+
+ + + +

New Color Combination

+
+ + + +

Full Screen View

+
+
+ +
+ + +

Stages are Separated in View

+
+ + + +

Clean Layout

+
+ + + +

Buttons with New Colors

+
+
+
+
+
+ +
+
+
+ + + +
+
+
+

List View

+
+ The All new Code Backend Theme V14 Gives You The Fully Modified List View and This Table Design + is Also Have Awesome Design and it Gives You More Beauty for Your Odoo Backend. + It will Give You a Clean Layout with the New Color Combination and a Modified Font. +
+
+
+ + +

Modified Table Style

+
+ + + +

New Color Combination

+
+ + + +

New Scroll Bar

+
+
+ +
+ + +

New Status Tag

+
+ + + +

New Scrollbar

+
+ + + +

Buttons with New Colors

+
+
+
+
+
+ +
+
+
+ + + +
+
+
+

Form View

+
+ Code Backend Theme Gives You The Fully Modified Form View with a Full Screen Experience. It will + Give You a Clean Layout with the New Color Combination + and a Modified Font. +
+
+
+ + +

Modified Form Style

+
+ + + +

Full Screen Form View

+
+ + + +

New Looks for Tabs

+
+
+ +
+ + +

New Style for Required Field

+
+ + + +

New Chatter Style Under Form View

+
+ + + +

New Looks for Status Button

+
+
+
+
+
+ +
+
+
+ + + +
+
+ +
+
+

Overview

+
+ Code Backend Theme V14 is an Attractive Theme for Your Odoo 14. + This Theme Will Change Improve Your Experience With Odoo. + This is a Minimalist and Elegant Backend Theme for Odoo 14 And Can Offer a Perfect Choice + for + Your Odoo Backend. +
+
+ + +

Modified Structure for All Type Views

+
+ + + +

New Style for Active Menus, Radio Buttons and Checkboxes

+
+ + +

New Color Combination

+
+ + + +

New Look for All Applications

+
+ + +

A Clean layout and New Font Style

+
+ + +

Sidebar with New Menu Icons

+
+ +
+ +
+
+ +
+
+
+ New +
+

All-New Menu Design

+ +
+ The All-New Menu Design is Main Attractive Section for the Code Backend Theme. The Sidebar + have New Minimalist + Icons for Applications in Odoo. Also the Sidebar Have Closing and Opening Option. + Customisable Logo Attached in Sidebar + That is Automatically Fetch Your Company Logo. +
+ +
+
+ +
+
+ + + + +
+
+
+

Easily Access Sidebar Menu

+
+ Reveal the sidebar menu with just a click. Sidebar menu features all the relevant links to + navigate + through the application. + Hiding the sidebar leaves more space on the main area offering a distraction-free view that lets + you + focus on what matters the most. +
+
+
+ +
+
+
+ + + +
+
+
+ +

+ Screenshots

+
+
+ +
+
+
+
+
1
+
+
Login Page
+
+
+
+ +
+
+ +
+
+
+
+
2
+
+
Group By View
+
+
+
+ +
+
+ +
+
+
+
+
3
+
+
Settings Page
+
+
+
+ +
+
+ +
+
+
+
+
4
+
+
Discuss Page
+
+
+
+ +
+
+ +
+
+
+
+
5
+
+
Product Kanban View
+
+
+
+ +
+
+ +
+
+
+
+
6
+
+
Purchase List View
+
+
+
+ +
+
+ +
+
+
+
+
7
+
+
Product View with Smart Buttons
+
+
+
+ +
+
+
+
+
+
+
8
+
+
Modified Alert Notifications are Placed on the Right Bottom of Display +
+
+
+
+ +
+
+ +
+
+
+
+
9
+
+
Wizards and User Error Popups
+
+
+
+ +
+
+ +
+
+
+
+
10
+
+
New Looks for The Tabs
+
+
+
+ +
+
+ +
+
+
+
+
11
+
+
Recruitment Kanban View With Ribbons
+
+
+
+ +
+
+
+
+
+
+
12
+
+
Sales Kanban View
+
+
+
+ +
+
+ +
+
+
+
+
13
+
+
Modified Kanban View for Employees With New Designed Category Section
+
+
+
+ +
+
+ +
+
+
+
+
14
+
+
Newly Customised Chatter and Popup Chatter
+
+
+
+ +
+
+
+
+
+
+
15
+
+
New Looks for Wizards and Buttons with New Colors
+
+
+
+ +
+
+
+
+
+
+
16
+
+
Sidebar with List View
+
+
+
+ +
+
+ +
+
+
+
+
17
+
+
Sidebar with Settings Page View
+
+
+
+ +
+
+ +
+
+
+
+
18
+
+
Attendance Pages
+
+
+
+ +
+
+ +
+
+
+
+
19
+
+
Approvals Dashboard View
+
+
+
+ +
+
+ +
+
+
+
+
20
+
+
Graphs with Sidebar
+
+
+
+ +
+
+
+ + + + +
+
+
+ +

+ Our Services

+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+ +

+ Our Industries

+
+ +
+
+ +
+ Trading +
+

Easily + procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

A + platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

Plan, + track and + schedule your operations

+
+
+
+
+ +
+ E-commerce & Website +
+

Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

Keep + track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

Run + your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

An + all-inclusive + hotel management application

+
+
+
+
+ + + + + +
+
+
+ +

+ Need Help?

+
+
+ + + +
+ +
+
+ +
+ +
+ +
+
+ +
\ No newline at end of file diff --git a/code_backend_theme_enterprise/static/description/theme_screenshot.png b/code_backend_theme_enterprise/static/description/theme_screenshot.png new file mode 100644 index 000000000..d4ceb4bb7 Binary files /dev/null and b/code_backend_theme_enterprise/static/description/theme_screenshot.png differ diff --git a/code_backend_theme_enterprise/static/src/img/code_logo.png b/code_backend_theme_enterprise/static/src/img/code_logo.png new file mode 100644 index 000000000..124152a05 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/code_logo.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/accounting.png b/code_backend_theme_enterprise/static/src/img/icons/accounting.png new file mode 100644 index 000000000..845e1df3a Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/accounting.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg b/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg new file mode 100644 index 000000000..879876188 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal.png b/code_backend_theme_enterprise/static/src/img/icons/appraisal.png new file mode 100644 index 000000000..02cd99bd2 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/appraisal.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg b/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg new file mode 100644 index 000000000..505a0ed0b --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/approvals.png b/code_backend_theme_enterprise/static/src/img/icons/approvals.png new file mode 100644 index 000000000..229a40da3 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/approvals.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/apps.png b/code_backend_theme_enterprise/static/src/img/icons/apps.png new file mode 100644 index 000000000..a864b9e18 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/apps.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/apps.svg b/code_backend_theme_enterprise/static/src/img/icons/apps.svg new file mode 100644 index 000000000..38e2b9b06 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/apps.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/attendance.png b/code_backend_theme_enterprise/static/src/img/icons/attendance.png new file mode 100644 index 000000000..b32242a2f Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/attendance.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/attendance.svg b/code_backend_theme_enterprise/static/src/img/icons/attendance.svg new file mode 100644 index 000000000..1c387fd52 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/attendance.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/barcode.png b/code_backend_theme_enterprise/static/src/img/icons/barcode.png new file mode 100644 index 000000000..2dc27379f Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/barcode.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/barcode.svg b/code_backend_theme_enterprise/static/src/img/icons/barcode.svg new file mode 100644 index 000000000..9f8c91103 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/barcode.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/calendar.png b/code_backend_theme_enterprise/static/src/img/icons/calendar.png new file mode 100644 index 000000000..67822553a Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/calendar.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/calendar.svg b/code_backend_theme_enterprise/static/src/img/icons/calendar.svg new file mode 100644 index 000000000..04a1fe0a6 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/calendar.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/chat.png b/code_backend_theme_enterprise/static/src/img/icons/chat.png new file mode 100644 index 000000000..42ece2c9c Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/chat.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/chat.svg b/code_backend_theme_enterprise/static/src/img/icons/chat.svg new file mode 100644 index 000000000..90f3cf9f1 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/chat.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/clean-code.png b/code_backend_theme_enterprise/static/src/img/icons/clean-code.png new file mode 100644 index 000000000..36e26c3fa Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/clean-code.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg b/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg new file mode 100644 index 000000000..605e14ef9 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/close.png b/code_backend_theme_enterprise/static/src/img/icons/close.png new file mode 100644 index 000000000..c6ea25feb Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/close.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/consolidation.png b/code_backend_theme_enterprise/static/src/img/icons/consolidation.png new file mode 100644 index 000000000..5001fc9f3 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/consolidation.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg b/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg new file mode 100644 index 000000000..8d4b56f53 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/contacts.png b/code_backend_theme_enterprise/static/src/img/icons/contacts.png new file mode 100644 index 000000000..c2567974d Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/contacts.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/contacts.svg b/code_backend_theme_enterprise/static/src/img/icons/contacts.svg new file mode 100644 index 000000000..4cadaa966 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/contacts.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/contract.png b/code_backend_theme_enterprise/static/src/img/icons/contract.png new file mode 100644 index 000000000..3c91b67bf Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/contract.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/contract.svg b/code_backend_theme_enterprise/static/src/img/icons/contract.svg new file mode 100644 index 000000000..04f79cd27 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/contract.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/crm.png b/code_backend_theme_enterprise/static/src/img/icons/crm.png new file mode 100644 index 000000000..0de44ac08 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/crm.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/crm.svg b/code_backend_theme_enterprise/static/src/img/icons/crm.svg new file mode 100644 index 000000000..da2b0a09c --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/crm.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/cutlery.png b/code_backend_theme_enterprise/static/src/img/icons/cutlery.png new file mode 100644 index 000000000..a73312ce0 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/cutlery.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg b/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg new file mode 100644 index 000000000..cb552234d --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/dashboard.png b/code_backend_theme_enterprise/static/src/img/icons/dashboard.png new file mode 100644 index 000000000..94b9bd28b Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/dashboard.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg b/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg new file mode 100644 index 000000000..e87151581 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/discuss.png b/code_backend_theme_enterprise/static/src/img/icons/discuss.png new file mode 100644 index 000000000..22ced4927 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/discuss.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/discuss.svg b/code_backend_theme_enterprise/static/src/img/icons/discuss.svg new file mode 100644 index 000000000..328029558 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/discuss.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/documents.png b/code_backend_theme_enterprise/static/src/img/icons/documents.png new file mode 100644 index 000000000..9e4f6ab38 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/documents.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/documents.svg b/code_backend_theme_enterprise/static/src/img/icons/documents.svg new file mode 100644 index 000000000..bb0f24d1c --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/documents.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/elearning.png b/code_backend_theme_enterprise/static/src/img/icons/elearning.png new file mode 100644 index 000000000..226dd3a1d Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/elearning.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/elearning.svg b/code_backend_theme_enterprise/static/src/img/icons/elearning.svg new file mode 100644 index 000000000..b26c6ee1a --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/elearning.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png new file mode 100644 index 000000000..fa2484d80 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg new file mode 100644 index 000000000..fe48cbcee --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/employee.png b/code_backend_theme_enterprise/static/src/img/icons/employee.png new file mode 100644 index 000000000..b3670bdd3 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/employee.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/employee.svg b/code_backend_theme_enterprise/static/src/img/icons/employee.svg new file mode 100644 index 000000000..bcae689ad --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/employee.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/expense.png b/code_backend_theme_enterprise/static/src/img/icons/expense.png new file mode 100644 index 000000000..36a6729b9 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/expense.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/expense.svg b/code_backend_theme_enterprise/static/src/img/icons/expense.svg new file mode 100644 index 000000000..caf1067fc --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/expense.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/field-service.png b/code_backend_theme_enterprise/static/src/img/icons/field-service.png new file mode 100644 index 000000000..ed3e7f9eb Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/field-service.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/field-service.svg b/code_backend_theme_enterprise/static/src/img/icons/field-service.svg new file mode 100644 index 000000000..03704e6f5 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/field-service.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/help.png b/code_backend_theme_enterprise/static/src/img/icons/help.png new file mode 100644 index 000000000..bcdd1d1e7 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/help.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/help.svg b/code_backend_theme_enterprise/static/src/img/icons/help.svg new file mode 100644 index 000000000..f54afc09e --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/help.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/inventory.png b/code_backend_theme_enterprise/static/src/img/icons/inventory.png new file mode 100644 index 000000000..3362a8a71 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/inventory.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/inventory.svg b/code_backend_theme_enterprise/static/src/img/icons/inventory.svg new file mode 100644 index 000000000..8534ab83f --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/inventory.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/iot.png b/code_backend_theme_enterprise/static/src/img/icons/iot.png new file mode 100644 index 000000000..8f2cc8afc Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/iot.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/iot.svg b/code_backend_theme_enterprise/static/src/img/icons/iot.svg new file mode 100644 index 000000000..dbc37dfad --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/iot.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/like.png b/code_backend_theme_enterprise/static/src/img/icons/like.png new file mode 100644 index 000000000..ac9db2610 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/like.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/link.png b/code_backend_theme_enterprise/static/src/img/icons/link.png new file mode 100644 index 000000000..1ffbc50fd Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/link.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/maintenance.png b/code_backend_theme_enterprise/static/src/img/icons/maintenance.png new file mode 100644 index 000000000..74225d951 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/maintenance.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg b/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg new file mode 100644 index 000000000..09a26d1a3 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png new file mode 100644 index 000000000..3f8d646b3 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg new file mode 100644 index 000000000..4dfc25de0 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg b/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg new file mode 100644 index 000000000..c7f38b129 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png b/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png new file mode 100644 index 000000000..9e550c07f Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/notes.png b/code_backend_theme_enterprise/static/src/img/icons/notes.png new file mode 100644 index 000000000..ab6811181 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/notes.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/notes.svg b/code_backend_theme_enterprise/static/src/img/icons/notes.svg new file mode 100644 index 000000000..e3f9171ba --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/notes.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/payroll.png b/code_backend_theme_enterprise/static/src/img/icons/payroll.png new file mode 100644 index 000000000..ac0a2f5b1 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/payroll.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/payroll.svg b/code_backend_theme_enterprise/static/src/img/icons/payroll.svg new file mode 100644 index 000000000..97500375b --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/payroll.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/planning.png b/code_backend_theme_enterprise/static/src/img/icons/planning.png new file mode 100644 index 000000000..349a7269d Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/planning.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/planning.svg b/code_backend_theme_enterprise/static/src/img/icons/planning.svg new file mode 100644 index 000000000..1c3979473 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/planning.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/plm.png b/code_backend_theme_enterprise/static/src/img/icons/plm.png new file mode 100644 index 000000000..1ef830ebb Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/plm.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/plm.svg b/code_backend_theme_enterprise/static/src/img/icons/plm.svg new file mode 100644 index 000000000..8a415d231 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/plm.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/pos.png b/code_backend_theme_enterprise/static/src/img/icons/pos.png new file mode 100644 index 000000000..aa7eaa13c Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/pos.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/pos.svg b/code_backend_theme_enterprise/static/src/img/icons/pos.svg new file mode 100644 index 000000000..47adea086 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/pos.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/project.png b/code_backend_theme_enterprise/static/src/img/icons/project.png new file mode 100644 index 000000000..08cecdca6 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/project.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/project.svg b/code_backend_theme_enterprise/static/src/img/icons/project.svg new file mode 100644 index 000000000..b2b2676bc --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/project.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/purchase.png b/code_backend_theme_enterprise/static/src/img/icons/purchase.png new file mode 100644 index 000000000..fcc848d32 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/purchase.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/purchase.svg b/code_backend_theme_enterprise/static/src/img/icons/purchase.svg new file mode 100644 index 000000000..c50ee22d2 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/purchase.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/quality.png b/code_backend_theme_enterprise/static/src/img/icons/quality.png new file mode 100644 index 000000000..89b31ee54 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/quality.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/quality.svg b/code_backend_theme_enterprise/static/src/img/icons/quality.svg new file mode 100644 index 000000000..d43e80a5c --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/quality.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/recruitment.png b/code_backend_theme_enterprise/static/src/img/icons/recruitment.png new file mode 100644 index 000000000..687b83986 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/recruitment.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg b/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg new file mode 100644 index 000000000..f14fac5ef --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/referral.png b/code_backend_theme_enterprise/static/src/img/icons/referral.png new file mode 100644 index 000000000..3904830d1 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/referral.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/referral.svg b/code_backend_theme_enterprise/static/src/img/icons/referral.svg new file mode 100644 index 000000000..276211ca4 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/referral.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/rental.png b/code_backend_theme_enterprise/static/src/img/icons/rental.png new file mode 100644 index 000000000..dbd1d57e4 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/rental.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/rental.svg b/code_backend_theme_enterprise/static/src/img/icons/rental.svg new file mode 100644 index 000000000..78142d8a0 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/rental.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/repair.png b/code_backend_theme_enterprise/static/src/img/icons/repair.png new file mode 100644 index 000000000..6755e3d16 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/repair.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/repair.svg b/code_backend_theme_enterprise/static/src/img/icons/repair.svg new file mode 100644 index 000000000..a6179ad03 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/repair.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/restaurant.png b/code_backend_theme_enterprise/static/src/img/icons/restaurant.png new file mode 100644 index 000000000..348e1b015 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/restaurant.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sales.png b/code_backend_theme_enterprise/static/src/img/icons/sales.png new file mode 100644 index 000000000..14b6cdb26 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/sales.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sales.svg b/code_backend_theme_enterprise/static/src/img/icons/sales.svg new file mode 100644 index 000000000..398f19b04 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/sales.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/setting.svg b/code_backend_theme_enterprise/static/src/img/icons/setting.svg new file mode 100644 index 000000000..5e8228007 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/setting.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/settings.png b/code_backend_theme_enterprise/static/src/img/icons/settings.png new file mode 100644 index 000000000..32ac8386f Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/settings.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sms.png b/code_backend_theme_enterprise/static/src/img/icons/sms.png new file mode 100644 index 000000000..896fdce04 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/sms.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sms.svg b/code_backend_theme_enterprise/static/src/img/icons/sms.svg new file mode 100644 index 000000000..8fedf6e77 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/sms.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/subscription.png b/code_backend_theme_enterprise/static/src/img/icons/subscription.png new file mode 100644 index 000000000..197c8b350 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/subscription.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/subscription.svg b/code_backend_theme_enterprise/static/src/img/icons/subscription.svg new file mode 100644 index 000000000..9cb1591d5 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/subscription.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/survey.png b/code_backend_theme_enterprise/static/src/img/icons/survey.png new file mode 100644 index 000000000..8b06c7f25 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/survey.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/survey.svg b/code_backend_theme_enterprise/static/src/img/icons/survey.svg new file mode 100644 index 000000000..1284fa526 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/survey.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/time-off.png b/code_backend_theme_enterprise/static/src/img/icons/time-off.png new file mode 100644 index 000000000..51cb50ef5 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/time-off.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/time-off.svg b/code_backend_theme_enterprise/static/src/img/icons/time-off.svg new file mode 100644 index 000000000..028d12a9c --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/time-off.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/timesheet.png b/code_backend_theme_enterprise/static/src/img/icons/timesheet.png new file mode 100644 index 000000000..005930736 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/timesheet.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg b/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg new file mode 100644 index 000000000..94dc41204 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/token.png b/code_backend_theme_enterprise/static/src/img/icons/token.png new file mode 100644 index 000000000..3a146f46d Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/token.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/token.svg b/code_backend_theme_enterprise/static/src/img/icons/token.svg new file mode 100644 index 000000000..9f285a2cf --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/token.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/traffic.png b/code_backend_theme_enterprise/static/src/img/icons/traffic.png new file mode 100644 index 000000000..9e8069b6c Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/traffic.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/traffic.svg b/code_backend_theme_enterprise/static/src/img/icons/traffic.svg new file mode 100644 index 000000000..2b32b04a3 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/traffic.svg @@ -0,0 +1,2 @@ + + diff --git a/code_backend_theme_enterprise/static/src/img/icons/user.png b/code_backend_theme_enterprise/static/src/img/icons/user.png new file mode 100644 index 000000000..fd275831a Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/user.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/website.png b/code_backend_theme_enterprise/static/src/img/icons/website.png new file mode 100644 index 000000000..9a5252fc5 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/icons/website.png differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/website.svg b/code_backend_theme_enterprise/static/src/img/icons/website.svg new file mode 100644 index 000000000..af6ba2798 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/img/icons/website.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg b/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg new file mode 100644 index 000000000..8f15a21e6 Binary files /dev/null and b/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg differ diff --git a/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js b/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js new file mode 100644 index 000000000..3f3cd1fc5 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js @@ -0,0 +1,44 @@ +odoo.define('code_backend_theme_enterprise.SideBar', function (require) { + "use strict"; + + var Widget = require('web.Widget'); + var SideBar = Widget.extend({ + events: _.extend({}, Widget.prototype.events, { + 'click .nav-link': '_onAppsMenuItemClicked', + }), + template: "code_backend_theme_enterprise.SideBar", + + init: function (parent, menuData) { + this._super.apply(this, arguments); + this._apps = _.map(menuData.children, function (appMenuData) { + return { + actionID: parseInt(appMenuData.action.split(',')[1]), + menuID: appMenuData.id, + name: appMenuData.name, + xmlID: appMenuData.xmlid, + web_icon_data: appMenuData.web_icon_data, + }; + }); + }, + + getApps: function () { + return this._apps; + }, + + _openApp: function (app) { + this.trigger_up('app_clicked', { + action_id: app.actionID, + menu_id: app.menuID, + }); + }, + + _onAppsMenuItemClicked: function (ev) { + var $target = $(ev.currentTarget); + var actionID = $target.data('action-id'); + var menuID = $target.data('menu-id'); + var app = _.findWhere(this._apps, { actionID: actionID, menuID: menuID }); + this._openApp(app); + }, + }); + return SideBar +}); \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/js/chrome/sidebar_menu.js b/code_backend_theme_enterprise/static/src/js/chrome/sidebar_menu.js new file mode 100644 index 000000000..90e81f01f --- /dev/null +++ b/code_backend_theme_enterprise/static/src/js/chrome/sidebar_menu.js @@ -0,0 +1,115 @@ +odoo.define('code_backend_theme_enterprise.SidebarMenu', function (require) { +"use strict"; + +/** + * This file includes the UserMenu widget defined in Community to add or + * override actions only available in Enterprise. + */ + + const config = require('web.config'); + const Menu = require("web_enterprise.Menu"); + const SideBar = require("code_backend_theme_enterprise.SideBar"); + + Menu.include({ + start() { + var res = this._super.apply(this, arguments); + this.sidebar_apps = this.$('.sidebar_panel'); + this._sideBar = new SideBar(this, this.menu_data); + var sideBar = this._sideBar.appendTo(this.sidebar_apps); + + return res + }, + }); + + //sidebar toggle effect + $(document).on("click", "#closeSidebar", function(event){ + $("#closeSidebar").hide(); + $("#openSidebar").show(); + }); + $(document).on("click", "#openSidebar", function(event){ + $("#openSidebar").hide(); + $("#closeSidebar").show(); + }); + $(document).on("click", "#openSidebar", function(event){ + console.log('hellooo') + $("#sidebar_panel").css({'display':'block'}); + $(".o_action_manager").css({'margin-left': '200px','transition':'all .1s linear'}); + $(".top_heading").css({'margin-left': '180px','transition':'all .1s linear'}); + + //add class in navbar + var navbar = $(".o_main_navbar"); + var navbar_id = navbar.data("id"); + $("nav").addClass(navbar_id); + navbar.addClass("small_nav"); + + //add class in action-manager + var action_manager = $(".o_action_manager"); + var action_manager_id = action_manager.data("id"); + $("div").addClass(action_manager_id); + action_manager.addClass("sidebar_margin"); + + //add class in top_heading + var top_head = $(".top_heading"); + var top_head_id = top_head.data("id"); + $("div").addClass(top_head_id); + top_head.addClass("sidebar_margin"); + }); + $(document).on("click", "#closeSidebar", function(event){ + $("#sidebar_panel").css({'display':'none'}); + $(".o_action_manager").css({'margin-left': '0px'}); + $(".top_heading").css({'margin-left': '0px'}); + + //remove class in navbar + var navbar = $(".o_main_navbar"); + var navbar_id = navbar.data("id"); + $("nav").removeClass(navbar_id); + navbar.removeClass("small_nav"); + + //remove class in action-manager + var action_manager = $(".o_action_manager"); + var action_manager_id = action_manager.data("id"); + $("div").removeClass(action_manager_id); + action_manager.removeClass("sidebar_margin"); + + //remove class in top_heading + var top_head = $(".top_heading"); + var top_head_id = top_head.data("id"); + $("div").removeClass(top_head_id); + top_head.removeClass("sidebar_margin"); + }); + + $(document).on("click", ".sidebar a", function(event){ + var menu = $(".sidebar a"); + var $this = $(this); + var id = $this.data("id"); + $("header").removeClass().addClass(id); + menu.removeClass("active"); + $this.addClass("active"); + + //sidebar close on menu-item click + $("#sidebar_panel").css({'display':'none'}); + $(".o_action_manager").css({'margin-left': '0px'}); + $(".top_heading").css({'margin-left': '0px'}); + $("#closeSidebar").hide(); + $("#openSidebar").show(); + + //remove class in navbar + var navbar = $(".o_main_navbar"); + var navbar_id = navbar.data("id"); + $("nav").removeClass(navbar_id); + navbar.removeClass("small_nav"); + + //remove class in action-manager + var action_manager = $(".o_action_manager"); + var action_manager_id = action_manager.data("id"); + $("div").removeClass(action_manager_id); + action_manager.removeClass("sidebar_margin"); + + //remove class in top_heading + var top_head = $(".top_heading"); + var top_head_id = top_head.data("id"); + $("div").removeClass(top_head_id); + top_head.removeClass("sidebar_margin"); + }); + +}); diff --git a/code_backend_theme_enterprise/static/src/js/chrome/top_bar.js b/code_backend_theme_enterprise/static/src/js/chrome/top_bar.js new file mode 100644 index 000000000..43c85e6e7 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/js/chrome/top_bar.js @@ -0,0 +1,63 @@ +odoo.define('code_backend_theme_enterprise.TopBar', function (require) { +"use strict"; + +/** + * This file includes the UserMenu widget defined in Community to add or + * override actions only available in Enterprise. + */ + +var config = require('web.config'); +var core = require('web.core'); +var Dialog = require('web.Dialog'); +var UserMenu = require('web.UserMenu'); + +var _t = core._t; +var QWeb = core.qweb; + +UserMenu.include({ + /** + * @override + */ + init: function () { + this._super.apply(this, arguments); + }, + /** + * @override + */ + start: function () { + return this._super.apply(this, arguments); + }, + + //-------------------------------------------------------------------------- + // Public + //-------------------------------------------------------------------------- + + /** + * @override + */ + do_action() { + return this._super(...arguments) + .then(resp => { + core.bus.trigger('close_o_burger_menu'); + return resp; + }); + }, + + //-------------------------------------------------------------------------- + // Handlers + //-------------------------------------------------------------------------- + + /** + * @override + * @private + */ + _onMenuSupport: function () { + window.open('https://www.odoo.com/help', '_blank'); + }, +}); + + + + + +}); \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/js/fields/basic_fields.js b/code_backend_theme_enterprise/static/src/js/fields/basic_fields.js new file mode 100644 index 000000000..8005d0dff --- /dev/null +++ b/code_backend_theme_enterprise/static/src/js/fields/basic_fields.js @@ -0,0 +1,53 @@ +odoo.define('code_backend_theme_enterprise.fields', function (require) { + "use strict"; + + var basic_fields = require("web.basic_fields"); + + //Changing Sales Team Graph color + var SalesTeamGraph = basic_fields.JournalDashboardGraph.include({ + + _getBarChartConfig: function () { + this._super(); + var data = []; + var labels = []; + var backgroundColor = []; + + this.data[0].values.forEach(function (pt) { + data.push(pt.value); + labels.push(pt.label); + var color = pt.type === 'past' ? '#ccbdc8' : (pt.type === 'future' ? '#f1b44c' : '#556ee6'); + backgroundColor.push(color); + }); + return { + type: 'bar', + data: { + labels: labels, + datasets: [{ + data: data, + fill: 'start', + label: this.data[0].key, + backgroundColor: backgroundColor, + }] + }, + options: { + legend: {display: false}, + scales: { + yAxes: [{display: false}], + }, + maintainAspectRatio: false, + tooltips: { + intersect: false, + position: 'nearest', + caretSize: 0, + }, + elements: { + line: { + tension: 0.000001 + } + }, + }, + }; + }, + }); +}); + diff --git a/code_backend_theme_enterprise/static/src/js/fields/graph.js b/code_backend_theme_enterprise/static/src/js/fields/graph.js new file mode 100644 index 000000000..5db9bc7a9 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/js/fields/graph.js @@ -0,0 +1,101 @@ +odoo.define('code_backend_theme_enterprise.graph', function (require) { + "use strict"; + + var GraphRenderer = require('web.GraphRenderer'); + + var MyCOLORS = ["#556ee6", "#f1b44c", "#50a5f1", "#ffbb78", "#34c38f", "#98df8a", "#d62728", + "#ff9896", "#9467bd", "#c5b0d5", "#8c564b", "#c49c94", "#e377c2", "#f7b6d2", + "#7f7f7f", "#c7c7c7", "#bcbd22", "#dbdb8d", "#17becf", "#9edae5"]; + var MyCOLOR_NB = MyCOLORS.length; + + function hexToRGBA(hex, opacity) { + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); + var rgb = result.slice(1, 4).map(function (n) { + return parseInt(n, 16); + }).join(','); + return 'rgba(' + rgb + ',' + opacity + ')'; + } + + return GraphRenderer.include({ + + _getMyColor: function (index) { + return MyCOLORS[index % MyCOLOR_NB]; + }, + + _renderBarChart: function (dataPoints) { + var self = this; + + // prepare data + var data = this._prepareData(dataPoints); + + data.datasets.forEach(function (dataset, index) { + // used when stacked + dataset.stack = self.state.stacked ? self.state.origins[dataset.originIndex] : undefined; + // set dataset color + var color = self._getMyColor(index); + dataset.backgroundColor = color; + }); + + // prepare options + var options = this._prepareOptions(data.datasets.length); + + // create chart + var ctx = document.getElementById(this.chartId); + this.chart = new Chart(ctx, { + type: 'bar', + data: data, + options: options, + }); + }, + + _renderLineChart: function (dataPoints) { + var self = this; + + // prepare data + var data = this._prepareData(dataPoints); + data.datasets.forEach(function (dataset, index) { + if (self.state.processedGroupBy.length <= 1 && self.state.origins.length > 1) { + if (dataset.originIndex === 0) { + dataset.fill = 'origin'; + dataset.backgroundColor = hexToRGBA(MyCOLORS[0], 0.4); + dataset.borderColor = hexToRGBA(MyCOLORS[0], 1); + } else if (dataset.originIndex === 1) { + dataset.borderColor = hexToRGBA(MyCOLORS[1], 1); + } else { + dataset.borderColor = self._getMyColor(index); + } + } else { + dataset.borderColor = self._getMyColor(index); + } + if (data.labels.length === 1) { + // shift of the real value to right. This is done to center the points in the chart + // See data.labels below in Chart parameters + dataset.data.unshift(undefined); + } + dataset.pointBackgroundColor = dataset.borderColor; + dataset.pointBorderColor = 'rgba(0,0,0,0.2)'; + }); + if (data.datasets.length === 1) { + const dataset = data.datasets[0]; + dataset.fill = 'origin'; + dataset.backgroundColor = hexToRGBA(MyCOLORS[0], 0.4); + } + + // center the points in the chart (without that code they are put on the left and the graph seems empty) + data.labels = data.labels.length > 1 ? + data.labels : + Array.prototype.concat.apply([], [[['']], data.labels, [['']]]); + + // prepare options + var options = this._prepareOptions(data.datasets.length); + + // create chart + var ctx = document.getElementById(this.chartId); + this.chart = new Chart(ctx, { + type: 'line', + data: data, + options: options, + }); + }, + }); +}); \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/scss/datetimepicker.scss b/code_backend_theme_enterprise/static/src/scss/datetimepicker.scss new file mode 100644 index 000000000..9c8f31088 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/datetimepicker.scss @@ -0,0 +1,68 @@ +/* date time picker colour changes for the theme */ +.datepicker { + .table-sm { + > thead { + > tr > .prev { + color: #fff !important; + background-color: $primary_accent !important; + &:hover{ + background-color: darken($primary_accent, 10%) !important; + } + > .fa{ + color: #fff !important; + } + } + > tr > .next { + color: #fff !important; + background-color: $primary_accent !important; + &:hover{ + background-color: darken($primary_accent, 10%) !important; + } + > .fa{ + color: #fff !important; + } + } + > tr > .picker-switch { + color: #fff !important; + background-color: $primary_accent !important; + &:hover{ + background-color: darken($primary_accent, 10%) !important; + } + } + } + > tbody > tr > td { + &.today:before { + border-bottom-color: $primary_accent !important; + } + &.active { + background-color: $primary_accent !important; + } + } + } +} +.picker-switch { + span.fa { + margin: 0; + @include transition($btn-transition); + &.primary { + background-color: $primary_accent; + color: white; + &:hover { + background-color: darken($primary_accent, 20%); + } + } + } +} + +.daterangepicker .drp-calendar .calendar-table thead tr:first-child { + color: #FFFFFF; + background-color: $primary_accent; +} + +.daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active, .daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active:hover { + background-color: $primary_accent; +} + +.daterangepicker .drp-calendar .calendar-table thead tr:first-child th.prev:hover, .daterangepicker .drp-calendar .calendar-table thead tr:first-child th.next:hover { + background-color: darken($primary_accent, 20%); +} \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/scss/login.scss b/code_backend_theme_enterprise/static/src/scss/login.scss new file mode 100644 index 000000000..8e046f148 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/login.scss @@ -0,0 +1,159 @@ +#wrapwrap > main { + background: #f8f8fb; +} +.navbar { + background: #fff !important; +} +body { + font-family: 'Poppins', sans-serif !important; +} +body.bg-100 { + background-color: #f8f8fb !important; +} +.card.o_database_list { + align-items: center; + max-width: 450px !important +} +.card.o_database_list .card-body { + background-color: #fff !important; + border-radius: 5px !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + width: 450px; +} +a { + color: #556ee6; + text-decoration: none; +} +a:hover { + color: #4458b8; + text-decoration: underline; +} +.alert-info { + color: #306391; + background-color: #dcedfc; + border-color: #cbe4fb; +} +.oe_login_form button.btn-link { + color: #495057; + font-weight: 500; + font-size: 14px !important; +} +.oe_login_form button.btn-link:hover { + color: #171a1c; +} + +//login button starts +.btn-primary { + color: #fff; + background-color: #556ee6; + border-color: #556ee6; +} +.btn-primary:hover { + color: #fff; + background-color: #485ec4; + border-color: #4458b8; +} +.btn-check:active+.btn-primary, +.btn-check:checked+.btn-primary, +.btn-primary.active,.btn-primary:active, +.show>.btn-primary.dropdown-toggle { + color: #fff; + background-color: #4458b8 !important; + border-color: #4053ad !important; +} +.btn-check:focus+.btn-primary, .btn-primary:focus { + color: #fff; + background-color: #485ec4 !important; + border-color: #4458b8 !important; + -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; + box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; +} +.oe_login_form .btn { + display: inline-block; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + padding: .47rem .75rem; + border-radius: .25rem; + -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; +} +.btn-secondary { + color: #fff !important; + background-color: #74788d !important; + border-color: #74788d !important; +} +.btn-secondary:hover { + color: #fff !important; + background-color: #636678 !important; + border-color: #5d6071 !important; +} +.btn-secondary:active { + color: #fff; + background-color: #5d6071 !important; + border-color: #575a6a !important; +} +.btn-secondary i,.btn-secondary span { + color: #fff !important; +} +.btn-fill-secondary:focus, .btn-secondary:focus, .btn-fill-secondary.focus, .focus.btn-secondary { + box-shadow: none !important; +} +//login button ends + +//input starts +.oe_login_form input { + display: block; + width: 100%; + height: 40px !important; + padding: 10px 20px; + font-size: 13px; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da !important; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: .25rem; + -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + box-shadow: none !important; + margin-bottom:10px !important; +} +form label { + font-weight: 400 !important; +} +.oe_login_form a.btn.btn-secondary { + height: 40px; + display: flex; + align-items: center; + justify-content: space-between; + padding: 0.35rem 0.75rem; +} +.oe_login_form a.btn.btn-secondary i.fa.fa-database { + margin-left: 5px; +} + + +//meeee + +// .oe_login_form { +// max-width: 320px; +// padding: 15px; +// background: #fff !important; +// border-radius: 5px; +// -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03); +// box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03); +// } + + diff --git a/code_backend_theme_enterprise/static/src/scss/navigation_bar.scss b/code_backend_theme_enterprise/static/src/scss/navigation_bar.scss new file mode 100644 index 000000000..053518561 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/navigation_bar.scss @@ -0,0 +1,414 @@ +.o_form_statusbar{ + .o_statusbar_buttons{ + .btn{ + margin-right: 30px !important; + } + } +} +.o_cp_left{ +.btn{ +margin-right: 30px !important; +} +} + +.o_calendar_buttons > button > .fa{ +color: #ffffff !important; +} +.o_main_navbar, .btn-primary, .btn-primary:active, .o_searchview_facet_label { + background-color: $primary_accent !important; + color: $inverse_accent !important; +} +.o_search_panel_section_icon { + color: $primary_accent !important; +} +.btn-secondary { + border-radius: 0; + border: solid 1px $primary_accent !important; + color: $primary_accent !important; +} +.o_list_view .o_list_table thead { + position: sticky; + top: 0; +} + +.breadcrumb-item > a, .o_menu_item > a { + color: $primary_accent !important; +} + +.fa-trash { + color: #f46a6a !important; +} + +.o_main_navbar > a:hover { + background-color: lighten($primary_accent, 10%) !important; +} + +.o_main_navbar > .o_menu_sections > li > a:hover, .o_main_navbar > .o_menu_systray > li > a:hover, .o_main_navbar > .o_menu_sections > li.show > a, .o_main_navbar > .o_menu_systray > li.show > a { + background-color: lighten($primary_accent, 10%) !important; +} + +.o_main_navbar > .o_menu_apps > li > a:hover, .o_main_navbar > .o_menu_apps > li > a:active { + background-color: lighten($primary_accent, 10%) !important; +} + +.o_main_navbar > .o_menu_apps > .dropdown.show > .dropdown-menu.show { + max-height: 100vh !important; + height: 93vh !important; +} +.o_main_navbar > .o_menu_apps > .dropdown.show > .dropdown-menu.show > a { + //border-bottom: 1px solid lighten($primary_accent, 30%); +} + +.o_mail_discuss_sidebar { + background-color: #1c2833; +} + +.dropdown-toggle:after { + background-color: lighten($primary_accent, 10%) !important; +} + +.o_external_button { + border: none !important; +} + +.o_field_x2many_list_row_add > a { + color: $primary_accent !important; +} + +.nav-item > a { + color: $primary_accent !important; +} + +.o_main_navbar > .o_menu_apps > li > a > i { + color: $inverse_accent !important; + font-size: 16px !important; +} + +.o_form_uri > span { + color: $primary_accent !important; +} + +.o_required_modifier.o_input { + background-color: $inverse_accent !important; + color: $primary_accent !important; + border-left: solid 3px #f46a6a !important; +} + +.o_input { + border: solid 1px $primary_accent !important; + color: $primary_accent !important; +} + +.o-no-caret > i, button[aria-pressed=true] { + color: $inverse_accent !important; +} + +.o_loading { + background-color: $primary_accent; +} + +.fas { + color: $inverse_accent !important; +} + +.dashboard_mainbar { + width: 100%; +} + +.a_app_menu_title { + display: none; +} + +.o_menu_apps > .dropdown.show > .dropdown-menu.show:hover .a_app_menu_title { + display: inline-block; + width: 200px; +} + +.o_required_modifier.o_input, .o_required_modifier.o_input { + background-color: $inverse_accent !important; + color: $primary_accent !important; + border-left: solid 3px #f46a6a !important; +} +.o_required_modifier .o_input, .o_required_modifier .o_input { + background-color: $inverse_accent !important; +} + + + +.dropdown-toggle:after { + background-color: #ffffff00 !important; +} + +.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { + background-color: $inverse_accent !important; + color: $primary_accent !important; + border-left: solid 3px #f46a6a !important; +} + +.o_datepicker.o_field_date.o_field_widget.o_required_modifier > input { + background-color: $inverse_accent !important; + color: $primary_accent !important; + border-left: solid 3px #f46a6a !important; +} + +.ui-state-active { + background-color: $primary_accent !important; + color: $inverse_accent !important; +} + +.oe_search_bgnd { + background-color: lighten($primary_accent, 20%) !important; + color: $inverse_accent !important; +} + +.oe_search_tab { + background-color: $primary_accent !important; + color: $inverse_accent !important; +} + +.o_horizontal_separator { + color: $primary_accent !important +} + +.o_field_widget.o_field_image .o_form_image_controls { + background-color: $primary_accent !important; +} + +.o_field_widget.o_field_image .o_form_image_controls > button { + color: $inverse_accent !important; +} + +.dropdown-item.o_app.mt0:hover , .dropdown-item.o_app.mt0:hover > .a_app_menu_title{ +background-color: $primary_accent !important; +color: $inverse_accent !important; +} + +.o_address_country{ +display: none !important; +} +div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::before { +background-color: $primary_accent !important; +} +div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::before { +background-color: $primary_accent !important; +} +.o_mail_systray_item .o_mail_systray_dropdown .o_mail_systray_dropdown_top .o_filter_button.active { +color: $primary_accent; +text-decoration: none; +} +.o_mail_user_status.o_user_online { +color: #fff !important; +} +.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled::after { + border-left-color: $primary_accent; +} +.btn-link { +font-weight: 400; +color: $primary_accent !important; +text-decoration: none; +} +.o_thread_window_header { +background-color: $primary_accent !important; +} +.o_thread_window_close,.o_thread_window_expand{ +color: $inverse_accent !important; +} +.o_menu_sections, .o_menu_systray, .o_web_client > header{ +background: $primary_accent !important; +} +.fa-building-o{ +color: white !important; +} +.o_button_import, .oe_import_file{ +background: #5aa29f !important; +color: white !important; +border: solid 2px #5aa29f !important; +} +.o_button_import:hover, .oe_import_file:hover,.o_button_import:active, .oe_import_file:active{ +background: white !important; +color: #5aa29f !important; +border: solid 2px #5aa29f !important; +} +.o_form_button_save,.o_form_button_edit{ +background: #7BA94F !important; +color: white !important; +border: solid 2px #7BA94F !important; +} +.o_form_button_save:hover,.o_form_button_edit:hover,.o_form_button_save:active,.o_form_button_edit:active{ +background: white !important; +color: #7BA94F !important; +border: solid 2px #7BA94F !important; +} +.o-kanban-button-new, .o_list_button_add,.o_form_button_create{ +background: #b9408d !important; +color: white !important; +border: solid 2px #b9408d !important; +} +.o-kanban-button-new:hover, .o_list_button_add:hover,.o_form_button_create:hover,.o-kanban-button-new:active, .o_list_button_add:active,.o_form_button_create:active{ +background: white !important; +color: #b9408d !important; +border: solid 2px #b9408d !important; +} +.o_form_button_cancel,.o_import_cancel{ +background: #cf4137 !important; +color: white !important; +border: solid 2px #cf4137 !important; + +} +.o_form_button_cancel:hover,.o_import_cancel:hover,.o_form_button_cancel:active,.o_import_cancel:active{ +background: white !important; +color: #cf4137 !important; +border: solid 2px #cf4137 !important; +} +.report_button{ +border-radius: 0 !important; +border: solid 2px $primary_accent; +background: $primary_accent !important; +} +.report_button:hover,.report_button:active{ +border-radius: 0 !important; +border: solid 2px $primary_accent !important; +color: $primary_accent !important; +background: $inverse_accent !important; +} +.btn-primary{ +border-radius: 0 !important; +} +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{ +border: none; +border-bottom: solid; +font-weight: bold; +} +.nav-link{ + @include hover-focus { + border: none; + } +} +.o_data_row:has(.custom-control-input:checked){ +background: blue !important; +} +.o_field_one2many{ + .o_list_view{ + .table-responsive{ + max-height:50vh; + } + } +} +thead{ +position: sticky; +position: -webkit-sticky; +top: 0; +} +.o_list_view .o_list_table tbody{ + position: sticky; + top: 30px; +} +.o_list_view{ + .o_list_table{ + thead{ + z-index:999; + } + } +} +.o_list_view .table-responsive .table{ + width: max-content !important; + min-width: 100%; + + thead + { + z-index:999; + tr:nth-child(1) th{ + position: sticky; + top: 0; + z-index: 999; + background-color: #eeeeee !important; + } + } +} +.o_list_view .o_list_table tbody{ +position:initial !important; +} +.o_list_view .table-responsive .table thead{ +z-index: 1; +} +.o_optional_columns_dropdown_toggle{ +z-index: 999; +} + +.o_progressbar .o_progress .o_progressbar_complete { +background-color: #3d9bbb; +} +.o_cp_left .btn { + margin-right: 10px !important; +} + + +// meeee + +.o_MessagingMenu .o_MessagingMenu_counter { + background-color : #556ee6 !important; +} + +ul.o_menu_sections{ + margin-right: 30px; +} + +.o_user_menu_mobile{ + display: none; +} + +.o_burger_menu .o_burger_menu_content .o_burger_menu_user .o_user_menu_mobile{ + display: block; +} + +.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar > button:hover, .o_main_navbar > button:focus { + background-color: transparent; +} + +.o_burger_menu .o_burger_menu_content.o_burger_menu_dark { + background-color: white; +} + +.o_burger_menu .o_burger_menu_topbar{ + background-color: #556ee6; +} + +.o_burger_menu .o_burger_menu_content .o_burger_menu_app ul .o_menu_entry_lvl_1{ + color: #556ee6; +} + +.o_burger_menu .o_burger_menu_content .o_burger_menu_app ul .o_menu_entry_lvl_2{ + color: #556ee6; +} + +.o_burger_menu .o_burger_menu_content .o_burger_menu_app ul .o_menu_entry_lvl_3{ + color: #556ee6; +} + +.o_web_client .o_mobile_search .o_mobile_search_header{ + background-color: #556ee6 !important; +} + +.o_web_client .o_mobile_search{ + height: 100%; +} + +.o_base_settings .o_setting_container .settings_tab{ + z-index: 0; +} + +.fa-check-square{ + color: #556ee6; +} + +.o_web_client .o_searchview.o_mobile_search > .o_mobile_search_content .o_mobile_search_filter .o_dropdown{ + border: none; +} + +.o_menu_toggle{ + display: none; +} + +nav.o_main_navbar.small_nav { + justify-content: left !important; +} diff --git a/code_backend_theme_enterprise/static/src/scss/sidebar.scss b/code_backend_theme_enterprise/static/src/scss/sidebar.scss new file mode 100644 index 000000000..37342af2a --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/sidebar.scss @@ -0,0 +1,97 @@ +#sidebar_panel { + height: calc(100% - 0%); + position: fixed; + top: 0px; + background-color: #2a3042; + display: none; + width: 200px; + overflow-y: scroll; + -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ + scrollbar-width: none; /* Hide scrollbar for Firefox */ + z-index: 999; +} +#sidebar_panel::-webkit-scrollbar { + display: none; /* Hide scrollbar for Chrome, Safari and Opera */ +} +.sidebar_panel .sidebar { + padding: 0; + white-space: nowrap; + padding-bottom: 20px; + padding-top: 5px; +} +.sidebar_panel .sidebar_close { + text-align: end; + display: none; + position: sticky; + height: 35px; + padding-top: 5px; + top: 0; + background: #2a3042; + z-index: 1; +} +.sidebar_panel .sidebar_close a#closeSidebar { + font-size: 18px; + margin-right: 10px; + color: #ffffff; + opacity: .3; +} +.sidebar_panel .sidebar_close a#closeSidebar img { + width: 15px; +} +.sidebar_panel .sidebar .sidebar_logo { + padding-top: 20px; + text-align: center; + padding-bottom: 20px; +} +.sidebar_panel .sidebar .sidebar_logo img { + max-width: 150px; +} + +.sidebar_panel .sidebar .sidebar_head { + padding-top: 20px; + padding-left: 15px; + color: #6a7187; + font-size: 14px; +} + +.sidebar_panel .sidebar .sidebar_menu { + list-style: none; + margin: 0; + padding: 0; +} + +.sidebar_panel .sidebar .sidebar_menu li { + margin: 0; + padding: 0; + border: 0px; + display: block; +} + +.sidebar_panel .sidebar .sidebar_menu li a { + margin: 0; + border: 0px; + display: block; + cursor: pointer; + overflow: hidden; + padding: 8px 10px 8px 25px; + color: #ffffff; + font-size: 13px; + transition:.3s all; +} +.sidebar_panel .sidebar .sidebar_menu li:hover a { + background: #1e2230; + color: #fff; +} +.sidebar_panel .nav-link { + opacity: .5; + transition:.3s all; +} +.sidebar_panel .sidebar a.nav-link.active { + color: #fff !important; + opacity: 1; +} + +.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { + width: 20px; + margin-right: 8px; +} \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/scss/theme.scss b/code_backend_theme_enterprise/static/src/scss/theme.scss new file mode 100644 index 000000000..7167dfe1f --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/theme.scss @@ -0,0 +1,1792 @@ +//Top Bar +body { + font-family: 'Poppins', sans-serif !important; + background-color: #f8f8fb; +} +a { + color: $primary_accent; +} +a:hover { + color: $primary_hover; +} +a.btn { + height: auto !important; +} + +.o_main_navbar, .o_searchview_facet_label { + background-color: transparent !important; + color: $f_color !important; + border:1px !important; +} +.o_menu_sections, .o_menu_systray, .o_web_client > header{ +background: $bg_white !important; +} +.oe_topbar_name { + color: $f_color !important; +} +.o_main_navbar > .o_menu_apps > li > a > i { + color: $f_color !important; + font-size: 16px !important; +} +.o_main_navbar { + height: 65px; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 0px solid #5f5e97 !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + background-color: #fff !important; +} + +.top_heading { + display: flex; + justify-content: center; + align-items: center; +} +.top_heading ul { + margin-bottom: 0 !important; +} +.top_heading > a { + margin-left: 10px; + font-size: 20px; +} +.top_heading li { + list-style: none; +} + +.o-no-caret > i, button[aria-pressed="true"] { + color: $f_color !important; +} +.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { + height: 46px; + padding: 0 5px; + color: $f_color !important; + line-height: 46px; +} +.o_main_navbar > .o_menu_sections > li > a:hover, .o_main_navbar > .o_menu_systray > li > a:hover, .o_main_navbar > .o_menu_sections > li.show > a, .o_main_navbar > .o_menu_systray > li.show > a { + background-color: $bg_white !important; +} + +.topbar_icon .fa { + color: #555b6d !important; + font-size: 20px !important +} + +.o_main_navbar .o_user_menu .oe_topbar_avatar { + height: 35px; + width: 35px; +} + +.o_MessagingMenu_counter { + background-color: #556ee6; + color: #fff !important; +} +.o_mail_systray_item .o_notification_counter { + background: #556ee6 !important; +} + +.o_control_panel { + background: #f8f8fb !important; + border:none !important; +} + +.o_searchview { + border: 1px solid #ddd; + height: 38px; + padding-left: 12px; + padding-right: 20px; + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 5px; + padding-top: 6px; +} +.o_searchview .o_searchview_icon { + position: absolute; + top: 11px; + left: auto; + bottom: auto; + right: 8px; +} +.o_searchview .o_searchview_facet { + border: 1px solid #ddd; + background: #f8f8fb; + border-radius: 10px; + padding: 0 4px; +} +.o_cp_bottom_right span.o_dropdown_title { + color: #555b6d; +} +.o_cp_bottom_left .o_form_button_cancel { + margin-right: 5px !important; + padding: 6px 8px !important; + color: #fff !important; + background-color: #f46a6a !important; + border-color: #f46a6a !important; +} +.o_cp_bottom_left .o_form_button_cancel:hover { + background-color: #cf5a5a !important; + border-color: #c35555 !important; +} +.o_control_panel { + border-bottom: none important; + margin: 15px 15px 0 15px; + background-color: #ffffff !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + border-radius: 5px; +} + +.o_form_view, +.o_widget_Discuss { + background: #f8f8fb; +} +.o_form_statusbar .o_statusbar_buttons .btn { + margin-right: 15px !important; +} +.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):after { + border-top: 21px solid transparent !important; + border-bottom: 17px solid transparent !important; +} +.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before { + right: -11px; + border-left-color: $primary_accent; +} +//Top Bar End + +// Button +.btn { + display: inline-block; + font-weight: 400 !important; + line-height: 1.5 !important; + color: #495057; + text-align: center; + vertical-align: middle; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: transparent; + border: 1px solid transparent; + padding: 6px 15px !important; + border-radius: 4px !important; + -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; + transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + height: 40px !important; + margin-bottom: 2px; +} +.btn-primary { + color: #fff !important; + background-color: $primary_accent !important; + border-color: $primary_accent !important; +} +.btn-primary:hover { + color: #fff !important; + background-color: $primary_hover !important; + border-color: #4458b8 !important; +} +.btn-primary:active { + color: #fff !important; + background-color: #4458b8 !important; + border-color: #4053ad !important; +} +.btn-check:focus+.btn-primary, .btn-primary:focus { + color: #fff; + background-color: #485ec4 !important; + border-color: #4458b8 !important; + -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; + box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; +} +.btn-primary i,.btn-primary span { + color: #fff !important; +} +.btn-secondary { + color: #fff !important; + background-color: #74788d !important; + border-color: #74788d !important; +} +.btn-secondary:hover { + color: #fff !important; + background-color: #636678 !important; + border-color: #5d6071 !important; +} +.btn-secondary:active { + color: #fff; + background-color: #5d6071 !important; + border-color: #575a6a !important; +} +.btn-check:focus+.btn-secondary, .btn-secondary:focus { + color: #fff; + background-color: #636678 !important; + border-color: #5d6071 !important; + -webkit-box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; + box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; +} +.btn-secondary i,.btn-secondary span { + color: #fff !important; +} +.btn-info { + color: #fff !important; + background-color: #50a5f1 !important; + border-color: #50a5f1 !important; +} +.btn-info:hover { + color: #fff !important; + background-color: #448ccd !important; + border-color: #4084c1 !important; +} +button[name="action_cancel"], +button[name="button_cancel"], +button[special="cancel"] { + color: #fff !important; + background-color: #f46a6a !important; + border-color: #f46a6a !important; +} +button[name="action_cancel"]:hover, +button[name="button_cancel"]:hover, +button[special="cancel"]:hover { + background-color: #cf5a5a !important; + border-color: #c35555 !important; +} +button[name="action_cancel"]:active, +button[name="button_cancel"]:active, +button[special="cancel"]:active { + color: #fff !important; + background-color: #c35555 !important; + border-color: #b75050 !important; +} +button[name="action_cancel"]:focus, +button[name="button_cancel"]:focus, +button[special="cancel"]:focus { + color: #fff !important; + background-color: #cf5a5a !important; + border-color: #c35555 !important; + -webkit-box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; + box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; +} +button[name="update_module"] { + margin-right: 2px; +} + +.btn-warning, +button[name="action_uninstall"] { + color: #fff !important; + background-color: #f1b44c !important; + border-color: #f1b44c !important; +} +.btn-warning:hover, +button[name="action_uninstall"]:hover { + color: #fff !important; + background-color: #cd9941 !important; + border-color: #c1903d !important; +} +.btn-warning:active, +button[name="action_uninstall"]:active { + color: #fff !important; + background-color: #c1903d !important; + border-color: #b58739 !important; +} +.btn-warning:focus, +button[name="action_uninstall"]:focus { + color: #fff !important; + background-color: #cd9941 !important; + border-color: #c1903d !important; + -webkit-box-shadow: 0 0 0 0.15rem rgba(243,191,103,.50) !important; + box-shadow: 0 0 0 0.15rem rgba(243,191,1,.50) !important; +} + +.o_statusbar_status .o_arrow_button.btn-secondary { + border: solid 1px #556ee6 !important; + color: #556ee6 !important; + background-color: #fff !important; +} +.o_statusbar_status .o_arrow_button.btn-secondary:hover:after { + border-color: #fff !important; +} +.o_statusbar_status .o_arrow_button.btn-primary { + border: solid 1px #556ee6 !important; + color: #fff !important; +} +.o_cp_bottom_right .btn-secondary { + background: #fff; + border-color: #dddddd !important; + margin-right: 5px !important; + padding : 6px 8px !important; +} +.o_cp_bottom_left .o_form_button_create { + color: #fff !important; + background-color: #74788d !important; + border-color: #74788d !important; + padding: 5px 15px !important; +} + +.o_web_settings_invite { + margin-left: 7px; + position: relative; + top: -1px; +} +.o_form_view .oe_button_box .btn.oe_stat_button { + height: 44px !important; + opacity: 1 !important; + border-radius: 0px !important; +} +.oe_module_action .btn { + height: auto !important; +} +.o_cp_buttons a.btn { + display: flex !important; + align-items: center; +} +button.fa.fa-external-link.btn.btn-secondary.o_external_button { + padding: 2px !important; + color: #74788d !important; + background: none !important; +} +.o_statusbar_status.o_field_widget.o_readonly_modifier .btn { + margin-right: 0 !important; +} +.btn-group .btn { + margin-right: 3px; +} +.o_Composer_actionButton.o-last.o-has-current-partner-avatar.o-composer-is-compact { + height: 48px !important; + border-bottom-left-radius: 0px !important; + border-top-left-radius: 0px !important; +} +.oe_right .btn { + margin-left: 2px; +} +//Button End + +//table +.table-sm th, .table-sm td { + padding: 0.5rem; +} +tr.o_data_row { + font-size: 15px; +} +.o_list_view .table-responsive .table thead tr:nth-child(1) th { + position: sticky; + top: 0; + z-index: 999; + background-color: #ffffff !important; +} +th.o_list_record_selector { + color: #495057 !important; + border-color: #eff2f7 !important; + background-color: #f8f9fa !important; +} +.table>:not(caption)>*>* { + padding: 1rem 1rem; + background-color: var(--bs-table-bg); + border-bottom-width: 1px; + -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); + box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); +} +.o_list_view .o_list_table thead > tr > th:not(.o_list_record_selector).o_list_number_th { + text-align: left !important; +} +.o_list_view .o_list_table thead > tr > th:not(.o_list_record_selector) { + border-left: none !important; +} +.table thead th { + vertical-align: bottom; + border-bottom: none; +} +.table th { + border-top: 1px solid #fff !important; +} +.o_list_view .o_list_table tfoot { + background-color: #fff !important; +} +.o_list_view .table-responsive .o_list_table tfoot tr:nth-child(1) td { + background-color: #fff !important; +} +.o_list_view .o_list_table tr:focus-within, +.o_list_view .o_list_table.table-striped tr:focus-within { + background-color: #fff !important; +} +// Table End + +// Checkbox +.custom-checkbox label { + position: relative; + cursor: pointer; +} + +.custom-checkbox label:before { + content:''; + -webkit-appearance: none; + background-color: transparent; + border: 1px solid #0079bf; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); + padding: 10px; + display: inline-block; + position: relative; + vertical-align: middle; + cursor: pointer; + margin-right: 5px; + margin-top: 0px; +} + +.custom-checkbox input:checked + label:after { + content: ''; + display: block; + position: absolute; + top: 2px; + left: 9px; + width: 6px; + height: 14px; + border: solid #0079bf; + border-width: 0 2px 2px 0; + transform: rotate(45deg); +} + +.custom-checkbox label::before { + content: ''; + -webkit--webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: transparent; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); + padding: 10px; + display: inline-block; + position: relative; + vertical-align: middle; + cursor: pointer; + margin-right: 5px; +} +.custom-control-label::before { + position: absolute; + top: 0px !important; + left: 1px !important; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + background-color: #FFFFFF; + border: 1px solid rgba(0,0,0,.25) !important; + box-shadow: none !important; + border-radius: 5 !important; + margin-top: -5px; +} +.custom-checkbox { + padding-left: 0rem !important; +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: $primary_accent; +} + +.custom-checkbox input:checked + label::after { + content: ''; + display: block; + position: absolute; + top: 1px; + left: 9px; + width: 6px; + height: 14px; + border: solid #fff; + border-width: 0 2px 2px 0; + transform: rotate(45deg); +} +.dropdown-item .custom-checkbox input:checked + label::after { + content: ''; + display: block; + position: absolute; + top: 1px; + left: 19px; + width: 6px; + height: 14px; + border: solid #fff; + border-width: 0 2px 2px 0; + transform: rotate(45deg); +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #ffffff; + background-color: #556ee6; + border-color: #556ee6; +} +.custom-control.custom-checkbox .custom-control-input:not(:checked):not(:indeterminate) ~ .custom-control-label:before { + background: none; + outline: none !important; +} + +.o_list_selection_box { + display: inline-block; + padding: 0.375rem 0.75rem; + vertical-align: middle; + border: 1px solid rgba(85,110,230,.25)!important; + background-color: rgba(85,110,230,.25)!important; + color: $primary_accent !important; + border-radius: 5px; +} +.o_radio_input + .custom-control-label::before { + position: absolute !important; + top: 8.5px !important; + left: -1.5rem !important; + display: block !important; + width: 1rem !important; + height: 1rem !important; + pointer-events: none !important; + content: "" !important; + background-color: #FFFFFF !important; + border: #adb5bd solid 1px !important; +} +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background: $primary_accent !important; + border-radius: 30px; +} +// Checkbox End + +//sheet +.o_form_view .o_form_sheet_bg { + border-bottom: none; + background: #ffffff !important; + box-shadow: none !important; + border-radius: 5px; + padding: 10px; +} +.o_form_view .o_form_sheet_bg > .o_form_sheet { + min-width: 650px; + max-width: initial; + min-height: 330px; + border: 1px solid #c8c8d3; + box-shadow: none !important; + background: white; + margin: 4.8px auto; + padding: 24px; + padding-right: 16px; + padding-left: 16px; + border-radius: 5px; +} +.o_form_view .o_form_statusbar { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: flex; + justify-content: space-between; + padding-left: 5px; + border-bottom: none !important; + background-color: white; + border-radius: 5px; +} +.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { + border-left: solid 3px #f46a6a !important; +} +//sheet end + +//Discuss +.o_Discuss { + padding: 15px !important; + background: #f5f5f9 !important; +} + +.o_Discuss .o_DiscussSidebar { + background-color: #ffffff !important; + color: #dee2e6 !important; + border-radius: 5px; + margin-right: 10px !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} + +.o_DiscussSidebar_item.o-active { + color: #f46a6a !important; + font-weight: 500 !important; +} +.o_DiscussSidebarItem:hover { + background: none !important; +} +.o_DiscussSidebarItem { + cursor: pointer !important; + color: #74788d !important; + line-height: 24px !important; + padding: 10px 5px !important; +} +.o_DiscussSidebarItem_activeIndicator.o-item-active { + background: none !important; +} +.o_DiscussSidebar_item.o-active .fa { + color: #f46a6a !important; +} +.o_widget_Discuss .o_Discuss_content { + border-top: none !important; + background-color: #ffffff !important; + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; +} +.o_DiscussSidebarItem_counter { + background-color: #f46a6a !important; + color: #fff !important; +} +.o_ThreadIcon_online { + color: #34c38f; +} +.o_Message_prettyBody table th { + color: $primary_accent !important; +} +.o_Message_prettyBody table thead tr td { + background-color: $primary_hover !important; +} +// Discuss End + +//Chatter @form +.o_FormRenderer_chatterContainer { + max-width: initial; + margin-top: 15px !important; + padding: 0 !important; + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_ChatterContainer { + padding: 10px; + background: #fff; + border-radius: 5px; +} +.o_Discuss .o_Message .o_Message_prettyBody p a { + background: $primary_accent !important; +} +.o_Message.o-not-discussion { + background-color: #eff2f7; + margin: 5px; + border-radius: 5px; + border-bottom: none; +} +.o_Composer { + background-color: #fff; + border-radius: 0 0 5px 5px; + border: none !important; +} +//Chatter @form Ends + +//Chatter mini starts +.o_ChatWindow { + background-color: #fff !important; + border-radius: 5px 5px 0 0 !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.25) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .25) !important; +} +.o_PartnerImStatusIcon_icon.o-offline { + color: #495057 !important; +} +.o_PartnerImStatusIcon_icon.o-online { + color: #34c38f !important; +} +.o_PartnerImStatusIcon_innerBackground { + color: white !important; +} +i.o_PartnerImStatusIcon_outerBackground.fa.fa-circle.fa-stack-1x { + color: #fff !important; +} +.o_ChatWindowHeader_item.o_ChatWindowHeader_rightArea .fa { + color: #fff !important; +} +.o_ChatWindowHeader { + background-color: #556ee6; + color: white !important; +} +//Chatter mini ends + +// Tabs Start +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { + border: none; + border-bottom: solid; + font-weight: bold; + background: $primary_accent !important; + color: #ffffff !important; + border-radius: 5px; +} +.nav-link { + display: block; + padding: 1rem 2rem; +} +.o_form_view .o_notebook { + clear: both; + margin-top: 25px; +} +.nav-tabs { + border-bottom: none; +} +.nav-tabs .nav-link { + border: 1px solid #e3e3e3; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + border-bottom: none !important; +} +.nav-item > a { + color: #555b6d !important; +} +.nav-link:hover, .nav-link:focus { + border: 1px solid #e9e9e9 !important; + border-bottom: none !important; +} +ul.sidebar_menu .nav-link:hover,ul.sidebar_menu .nav-link:focus { + border: none !important; + border-bottom: none !important; +} + +// TAbs End + +//font color +.o_horizontal_separator { + color: #495057 !important; +} +.btn-link { + font-weight: 400; + color: $primary_accent !important; + text-decoration: none; +} +.o_activity_view .o_record_selector { + color: #34c38f; +} +//font color ends + +//form +input { + display: block; + width: 100%; + height: 40px !important; + padding: 10px 20px; + font-size: 13px; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da !important; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: .25rem; + -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + box-shadow: none !important; + margin-bottom:10px !important; +} +select { + width: 100%; + height: 40px !important; + padding: 10px 20px; + font-size: 13px; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da !important; + border-radius: .25rem; + -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; + box-shadow: none !important; + margin-bottom:10px !important; +} +.o_field_widget .o_input_dropdown .o_dropdown_button { + position: absolute; + top: 6px; + left: auto; + bottom: auto; + right: 9px; +} +.o_datepicker .o_datepicker_button { + position: absolute; + top: 6px; + left: auto; + bottom: auto; + right: 9px; + pointer-events: none; +} +.o_input { + border: solid 1px #ced4da !important; + color: #495057 !important; +} +.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, +.o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value { + color: #556ee6; +} +.o_form_view .oe_button_box .oe_stat_button .o_button_icon { + color: #556ee6; +} +//form end + +//search view +.o_searchview input.o_searchview_input { + border: none !important; + height: auto !important; + margin: 0 !important; +} +.o_base_settings .o_control_panel .o_panel .o_setting_search .searchIcon { + top: 9px; + right: 10px; +} +.o_base_settings .o_control_panel .o_panel .o_setting_search .searchInput { + padding: 10px 15px; +} +//search view end + +//settings page +.o_web_settings_invite { + margin-left: 7px; +} + +.o_setting_container { + background: #f8f8fb; + padding: 15px 0 0 0; +} +.o_base_settings .o_control_panel { + margin: 0; +} +.settings { + margin-left: 15px; + background-color: #ffffff !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + border-radius: 5px; +} +.settings_tab { + background-color: #ffffff !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + border-radius: 5px; +} +.o_base_settings .o_setting_container .settings_tab .selected, + .o_base_settings .o_setting_container .settings_tab .selected span { + box-shadow: none !important; + color: #f46a6a !important; + font-weight: 500 !important; + background: none !important; +} +.o_base_settings .o_setting_container .settings_tab .tab { + color: #74788d !important; +} +.o_setting_container .o_field_widget.o_field_many2one.o_with_button.oe_inline { + margin-left: 15px !important; +} +//settings page end + +//scrollbar starts +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.19); + border-radius: 10px; + background-color: #F5F5F5; +} +::-webkit-scrollbar { + width: 12px; + background-color: #F5F5F5; +} +::-webkit-scrollbar-thumb { + border-radius: 10px; + -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.2); + background-color: #c9ccd6; +} +//scrollbar ends + +//common starts +.o_content { + margin: 15px; + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + background-color: #f8f8fb; +} +.o_action{ + background: #f8f8fb; +} +//common ends + +//kanban_view starts +.o_kanban_view { + border-radius: 5px; + background: #fff; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_kanban_view.o_kanban_ungrouped .o_kanban_record { + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_kanban_view .o_kanban_group { + background: #fff; + border-radius: 5px; + margin-right: 10px; +} +.o_kanban_view.o_kanban_grouped { + background-color: #f8f8fb; +} +.o_kanban_view.o_kanban_grouped .o_kanban_record, .o_kanban_view.o_kanban_grouped .o_kanban_quick_create { + border-radius: 5px; + margin-bottom: 10px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_kanban_view.o_kanban_dashboard .o_kanban_record .o_kanban_card_header + .container.o_kanban_card_content .o_kanban_primary_bottom.bottom_block { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + background: rgba(85,110,230,.25) !important; +} +.o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left { + border-bottom-left-radius: 5px; + border-top-left-radius: 5px; +} +.o_kanban_record::after { + border-bottom-left-radius: 5px; + border-top-left-radius: 5px; +} +.o_kanban_quick_create .o_form_view, +.o_kanban_quick_create .o_action, +.o_kanban_quick_create .o_content { + background: #fff; + margin: 0px; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} +.o_kanban_view .o_kanban_content .bg-primary { + border-radius: 5px 0 0 5px; +} +//kanban_view ends + +//Apps menu starts +.o_search_panel { + border-right: none; + background-color: #ffffff; + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.list-group-item-action { + width: 100%; + color: #74788d; + text-align: inherit; +} +.list-group-item-action:hover, .list-group-item-action:focus { + color: none !important; + background: none !important; +} +.o_search_panel .list-group-item header.active { + background: none !important; + color: #f46a6a !important; + font-weight: 500 !important; +} +.o_controller_with_searchpanel .o_renderer_with_searchpanel { + margin-left: 15px; +} +//Apps menu ends + +//Website app starts +.o_dashboards .o_website_dashboard { + background-color: #ffffff !important; +} +.o_dashboards .o_website_dashboard div.o_box { + box-shadow: none !important; +} +.o_inner_box { + background-color: $primary_accent !important; + border-radius: 5px; +} +.o_inner_box:hover { + background-color: $primary_hover !important; +} +//Website app ends + +//Purchase app starts +td.o_main { + background-color: $primary_accent !important; + border-radius: 5px; +} +td.o_main:hover { + background-color: $primary_hover !important; +} +.o_purchase_dashboard .table > thead > tr > td, +.o_purchase_dashboard .table tbody > tr > td { + border-radius: 5px; +} +//Purchase app ends + +//input inside colour starts +select, input { + color: #4c4c4c !important; +} +.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { + color: #4c4c4c !important; +} +.o_required_modifier.o_input, .o_required_modifier.o_input { + color: #4c4c4c !important; +} +.o_datepicker.o_field_date.o_field_widget.o_required_modifier > input { + color: #4c4c4c !important; +} +//input inside colour ends + +//welcome demo starts +.o_onboarding_container.collapse.show { + border-radius: 5px !important; + margin: 15px 15px 0px 15px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_onboarding.o_onboarding_blue, +.o_onboarding.o_onboarding_blue .o_onboarding_step_title, +.o_onboarding.o_onboarding_blue .o_onboarding_step_action, +.o_onboarding.o_onboarding_blue a.o_onboarding_all_done, +.o_onboarding.o_onboarding_blue .o_onboarding_all_done > .fa, +.o_onboarding.o_onboarding_blue .o_onboarding_btn_close { + border-radius: 5px; +} +.o_onboarding { + border-radius: 5px; +} +//welcome demo ends + +//modal starts +.modal.o_technical_modal .modal-content { + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #f6f6f6; +} +.modal.o_technical_modal .modal-content .o_form_view, +.modal.o_technical_modal .modal-content .o_content, +.modal.o_technical_modal .modal-content .o_action { + background-color: #fff !important;; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} +.modal.show .modal-dialog { + display: -webkit-box; + display: -webkit-flex; + display: flex; + align-items: center; + min-height: calc(100% - 1rem); +} +.modal .o_form_view .o_group .o_field_widget { + width: 98% !important; +} +//modal ends + +//Calendar starts +.o_calendar_view { + background: #fff; +} +//Calendar ends + +//expense starts +.o_content .o_expense_container { + background: #fff; +} +//expense ends + +//lunch starts +.o_lunch_content .o_lunch_banner { + border-bottom: none !important; + background-color: #fff !important; + margin: 0 15px 10px 15px; + border-radius: 5px; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +//lunch ends + +//kiosk starts +.o_hr_attendance_kiosk_backdrop { + background-color: #f8f8fb !important; +} +.o_hr_attendance_kiosk_mode { + background-color: #fff !important; + border-radius: 0 0 5px 5px !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.o_hr_attendance_kiosk_mode .o_hr_attendance_user_badge { + border-radius: 5px 5px 0 0 !important; + border-top: none !important; + background: rgba(85,110,230,.25) !important; +} +.o_hr_attendance_sign_in_out_icon.fa-sign-in { + color: #fff !important; + background-color: $primary_accent !important; + border-color: $primary_accent !important; +} +.o_hr_attendance_sign_in_out_icon.fa-sign-in:hover { + color: #fff !important; + background-color: $primary_hover !important; + border-color: #4458b8 !important; +} +.o_hr_attendance_sign_in_out_icon.fa-sign-in:active { + color: #fff !important; + background-color: #4458b8 !important; + border-color: #4053ad !important; +} +.o_hr_attendance_sign_in_out_icon.fa-sign-in:focus { + color: #fff; + background-color: #485ec4 !important; + border-color: #4458b8 !important; + -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; + box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; +} +.o_hr_attendance_kiosk_mode h3.mt0.mb0.text-muted { + color: $primary_accent !important; +} +.o_hr_attendance_button_employees div.mb16.mt16 { + margin-top: 4px !important; +} +//kiosk ends + +//timeoff starts +.o_timeoff_container { + background: #fff; +} +//timeoff ends + +//project .fa colours starts +.o_mail_activity .o_activity_color_planned { + color: #34c38f !important; +} +.o_mail_activity .o_activity_color_overdue { + color: #f46a6a !important; +} +.o_field_widget.o_priority > .o_priority_star.fa-star { + color: #f1b44c !important; +} +//project .fa colours ends + +//sale status icon starts +.bg-primary { + background-color: $primary_accent !important; +} +.bg-secondary { + background-color: $secondary_accent !important; +} +.bg-success-light { + color: #1f7556 !important; + background-color: #d6f3e9 !important; +} +.bg-info-light { + color: #306391 !important; + background-color: #dcedfc !important; +} +.bg-danger-light { + background-color: #fde1e1 !important; + color: #924040 !important; +} +.bg-warning-light { + background-color: #fcf0db !important; + color: #916c2e !important; +} +.o_field_widget.o_field_badge { + color: #464855; + background-color: #e3e4e8; +} +//sale status icon end + +//stock icon colors starts +.o_list_view .o_list_table .text-danger, +.o_list_view .o_list_table .oe_import .alert.text-error, +.oe_import .o_list_view .o_list_table .alert.text-error { + color: #f46a6a !important; +} +.text-danger { + color: #f1b44c !important; +} +.text-warning { + color: #f1b44c !important; +} +.text-error { + color: #f46a6a !important; +} +.text-success { + color: #34c38f !important; +} +//stock icon colors ends + +//badges starts +.badge-primary { + background-color: #556ee6 !important; +} +.badge-secondary { + background-color: #74788d; +} +.badge-success { + background-color: #34c38f; +} +.badge-info { + background-color: #50a5f1; +} +.badge-danger { + background-color: #f46a6a; +} +.badge-warning { + background-color: #f1b44c; +} +.badge-dark { + background-color: #343a40; +} +.bg-success { + background-color: #34c38f !important; +} +.bg-success-full { + background-color: #34c38f !important; +} +.bg-warning-full { + background-color: #f1b44c !important; +} +.bg-danger-full { + background-color: #f46a6a; +} +.o-planned { + color: #34c38f !important; +} +.o-overdue { + color: #f46a6a !important; +} +.o_progressbar_complete { + background-color: #34c38f !important; +} +//badges ends + +//alert starts +.alert-warning { + color: #916c2e; + background-color: #fcf0db; + border-color: #fbe9c9; +} +.alert-danger { + color: #924040; + background-color: #fde1e1; + border-color: #fcd2d2; +} +.alert-success { + color: #1f7556; + background-color: #d6f3e9; + border-color: #c2eddd; +} +.alert-info { + color: #306391; + background-color: #dcedfc; + border-color: #cbe4fb; +} +.toast { + border-radius: 5px !important; + color: #924040 !important; + background-color: #fde1e1 !important; + border-color: #fcd2d2 !important; + -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; + box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; +} +.toast-header { + border-bottom: 1px solid #fcd2d2 !important; + color: #924040 !important; + background-color: #fde1e1 !important; + border-color: #fcd2d2 !important; +} +.toast-body { + color: #924040 !important; + background-color: #fde1e1 !important; + border-color: #fcd2d2 !important; +} +.o_notification_manager { + top: auto !important; + bottom: 30px !important; +} +//alert ends + +//recruitment starts +div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::before, +div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::after { + left: 0.1rem !important; +} +div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::after { + top: 1.5px !important; +} +div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::after { + top: 1px; +} +.o_kanban_view.o_kanban_dashboard.o_hr_recruitment_kanban .ribbon span { + background-color: #556ee6; +} +.o_kanban_view.o_kanban_dashboard.o_hr_recruitment_kanban.o_kanban_ungrouped .o_kanban_record:not(.o_kanban_ghost) { + height: 197px; +} +//recruitment ends + +//note editor starts +.note-popover .popover .popover-body, .panel-heading.note-toolbar { + padding: 5px !important; + border-bottom: none !important; + background: rgba(85, 110, 230, 0.25) !important; + border-radius: 5px 5px 0 0 ; +} +.note-editor .note-statusbar { + border-radius: 0 0 5px 5px; +} +.wysiwyg_iframe, .note-editor { +// border: 1px solid #556ee640 !important; + border-radius: 5px; +} +//note editor ends + +//progress starts +.oe_kanban_content .progress .progress-bar { + background-color: #556ee6; +} +.progress-bar.bg-muted-full { + background-color: #dee2e6; +} +//progress ends + +//email marketing starts +.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container { + background: rgba(85, 110, 230, 0.25); + color: #000; +} +.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container > input { + background: rgba(85, 110, 230, 0.25); +} +.o_field_widget.o_field_domain.o_inline_mode.o_edit_mode > .o_field_domain_panel { + top: -18px; +} +.o_domain_node .o_domain_selector_row > .o_domain_node_control_panel { + top: 5px; +} +.o_mail_emojis_dropdown { + bottom: 50px; +} +//emal marketing ends + +// menu+ color starts +.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a { + background-color: #74788d; +} +.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a.dropdown-toggle { + background-color: #abadba; +} +//menu+ color ends + +//top menu bar starts +nav.o_main_navbar.small_nav { + display: flex; + flex-wrap: wrap; + justify-content: right; + height: auto; +} + +ul.o_menu_systray.topbar_icon { + margin-left: auto; +} +.o_main_navbar .o_user_menu > a { + display: flex; + align-items: center; +} +.oe_topbar_name { + max-width: 300px; + margin-left: 5px; + white-space: nowrap; + overflow: hidden; +} +ul.o_menu_sections { + padding-left: 20px; +} +@media (max-width: 1371px){ + nav.o_main_navbar { + display: flex; + flex-wrap: wrap; + justify-content: right; + height: auto; + } + ul.o_menu_systray.topbar_icon { + margin-left: auto; + } +} +//top menu bar ends + +//datetimepicker starts +.datepicker td, +.datepicker td a, +.datepicker th, +.datepicker span { + padding: 0.5rem !important; +} +div.dropdown-menu.bootstrap-datetimepicker-widget{ + width: auto !important; +} +//datetimepicker ends + +//groupby color starts +.o_list_view tbody > tr.o_group_header { + background-image: none !important; +} +.table-striped tbody tr.o_group_header:nth-of-type(odd) { + background-color: rgba(85,110,230,0.17); +} +.table-striped tbody tr.o_group_header:hover { + background-color: rgba(85,110,230,0.23); +} +//groupby color ends + + + + +//Mee + +.o_dropdown .o_dropdown_title{ + padding : 0px; +} + + +.o_searchview .o_searchview_input_container .o_searchview_facet { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + flex: 0 0 auto; + margin: 1px 3px 0 0; + max-width: 100%; + position: relative; + height: 24px !important; + justify-content: center !important; + align-items: center !important; +} + +.o_searchview_input { + padding: 0 5px !important; +} + + +.o_menu_brand { + font-size: 20px !important; + color: #555b6d !important; +} + + +.o_main_navbar > a:hover { + background-color: #fff !important; +} + + +.o_content > .o_list_view > .table-responsive > .table:not(.o_list_table_grouped) > tbody > tr:not(.o_list_table_grouped) > td { + padding: 15px 4px; +} + + +@media (min-width: 992px) and (max-width: 1533.98px){ + .o_form_view .oe_button_box, .o_form_view .o_notebook > .o_notebook_headers{ + margin-left: -16px !important; + margin-right: -16px !important; + } +} + +.o_form_view .o_field_widget.o_field_one2many > div, .o_form_view .o_field_widget.o_field_many2many > div { + width: 100%; + padding: 0 15px; +} + + +.reminder_day { + display: flex; + flex-wrap: nowrap; +} + + +.o_home_menu_background { + background: linear-gradient(-135deg,#1867b9 0,#9d3be0 100%) !important; + background-size: auto, auto; +} + +.o_group_buttons .btn { + margin-right: 5px; +} + +.btn.btn-link.o-kanban-button-new { + background: #74788d !important; + border: solid 2px #74788d !important; + color: #fff !important; +} + + +.o_gantt_button_scale.btn.btn-secondary { + margin-right: 2px; +} + +div.o_input > .o_input { + margin-bottom: 0 !important; + background: none; +} +.o_input.p-0 { + padding-left: 3px !important; +} + +.o_form_view .o_form_uri { + display: inline-block; + color: #556ee6 !important; +} + +.o_search_panel .list-group-item .o_search_panel_label_title{ + color: unset !important; +} + + +.o_menu_search_input{ + margin-top: 1rem; + border: none !important; +} + +.o_NotificationGroup_date{ + color: #556ee6; +} + +.o_ThreadPreview_date{ + color: #556ee6; +} + +.timesheet-timer button.btn_start_timer { + color: #FFFFFF; + background-color: #544FEA; + border-color: #544FEA; + text-transform: uppercase; +} + +.timesheet-timer button.btn_start_timer:hover { + color: #FFFFFF; + background-color: #0854aa;; + border-color: #0854aa;; +} + + +.o_account_reports_page .account_report_line_name a { + color: #556ee6; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content:hover{ + color: #556ee6; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:focus{ + color: #556ee6 !important; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:hover{ + color: #556ee6 !important; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:active{ + color: #556ee6 !important; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:visited{ + color: #556ee6 !important; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:focus-within{ + color: #556ee6 !important; +} + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:target{ + color: #556ee6 !important; +} + + +.o_list_view .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content{ + + &:hover{ + color: #556ee6 !important; + } + &:visited{ + color: #556ee6 !important; + } + &:focus{ + color: #556ee6 !important; + } + &:focus-within{ + color: #556ee6 !important; + } + &:active{ + color: #556ee6 !important; + } +} + +.o_Discuss .o_Message .o_Message_prettyBody p a { + background: #556ee6 !important; + color: white; +} + + + +//Responsive starts +@media (max-width:992px) { + .o_action_manager.sidebar_margin { + margin: 0 !important; + } + .top_heading.sidebar_margin { + margin: 0 !important; + } + .sidebar_panel .sidebar { + position: relative; + padding-top: 0px !important; + } + .sidebar_panel .sidebar_close { + display: block !important; + } + +} +@media (max-width:767px){ + .o_main_navbar > ul.o_menu_systray { + position: static !important; + height: auto !important; + text-align: right; + display: flex; + } +} +@media (max-width:480px) { + ul.o_menu_apps { + padding-left: 25px; + } + .o_control_panel { + margin: 15px 10px 0 10px; + } + .o_control_panel > div { + flex-wrap: wrap; + } + .o_cp_top_left, .o_cp_top_right, + .o_cp_bottom_left, .o_cp_bottom_right { + width: 100%; + } + .o_widget_Discuss .o_Discuss.o-mobile:not(.o-adding-item) { + border: none !important; + } + html .o_web_client > .o_action_manager { + overflow: auto !important; + } + ul.o_menu_systray.topbar_icon li:nth-child(1) { + margin-left: 20px; + } + .o_main_navbar .o_user_menu { + margin-left: 20px; + } + .sidebar_panel .sidebar .sidebar_logo img { + max-width: 112px; + } + .sidebar_panel .sidebar .sidebar_logo { + padding-top: 20px; + text-align: center; + padding-bottom: 5px; + } + li.o_switch_company_menu.show .dropdown-menu.dropdown-menu-right.show { + right: auto !important; + left: 0px; + } + ul.o_menu_systray.topbar_icon .dropdown-menu.show{ + left: 0px !important; + right: auto !important; + } + ul.o_menu_systray.topbar_icon { + margin-left: 0; + } + .o_MessagingMenu_dropdownMenu.o-mobile { + top: 70px; + } + .o_control_panel .o_cp_bottom_right { + flex-wrap: wrap; + } + .o_form_view .o_form_statusbar { + flex-wrap: wrap; + } + .btn { + padding: 2px 10px !important; + height: 35px !important; + } + .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before, + .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):after { + border-top: 17px solid transparent !important; + border-bottom: 16px solid transparent !important; + } + .o_statusbar_status.o_field_widget.o_readonly_modifier { + width: 100%; + justify-content: flex-end; + margin-top: 5px; + } + .o_form_view .o_form_statusbar > .o_statusbar_buttons > .btn { + margin: 1px 0px 4px 0; + } + .o_form_statusbar .o_statusbar_buttons .btn { + margin-right: 5px !important; + } + .o_control_panel .o_cp_bottom_left > .o_cp_action_menus .o_dropdown_toggler_btn { + margin-right: 3px; + } + .o_form_view .o_form_sheet_bg > .o_form_sheet { + min-width: auto; + } + .nav-tabs .nav-link { + padding: 8px; + } + .modal.o_technical_modal.o_modal_full .modal-dialog .modal-content .modal-header { + background: $primary_accent; + } + .o_form_view .o_group .o_group_col_6 { + width: 100%; + } + .o_kanban_view.o_kanban_ungrouped .o_kanban_record { + flex-wrap: wrap; + } + .o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left { + border-radius: 5px; + } + .o_field_widget.o_field_image .o_form_image_controls > .fa.o_select_file_button { + background: #74788d; + } +} +@media (max-width:390px){ +.o_main_navbar .o_switch_company_menu > a .oe_topbar_name { + display: inline-block; + max-width: 110px !important; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: top; +} +} + +.badge { + border: 1px solid #556ee6; +} +@media (max-width: 768px){ + .o_main_navbar{ + display: flex !important; + justify-content: space-between !important; + } + .o_control_panel .o_cp_searchview { + min-height: 35px; + width: 98%; + } + button.o_enable_searchview.btn.btn-link.fa.fa-search { + float: right; + padding: 0 !important; + margin-top: -9px; + } +} +@media (max-width: 480px){ + .o_control_panel > .o_cp_bottom { + -webkit-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } +} + + +.o_MobileMessagingNavbar_tab.o-active { + color: #556ee6; +} +//Responsive ends \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/scss/theme_accent.scss b/code_backend_theme_enterprise/static/src/scss/theme_accent.scss new file mode 100644 index 000000000..45de24323 --- /dev/null +++ b/code_backend_theme_enterprise/static/src/scss/theme_accent.scss @@ -0,0 +1,8 @@ +$primary_accent: #556ee6 !default; +$secondary_accent: #334332 !default; +$inverse_accent: #ffffff !default; +$o-kanban-color-border-width: 8px; +$selected_row: #ffffff !default; +$bg_white: #ffffff !default; +$f_color: #555b6d !default; +$primary_hover: #485ec4 !default; \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/src/xml/sidebar.xml b/code_backend_theme_enterprise/static/src/xml/sidebar.xml new file mode 100644 index 000000000..07966552e --- /dev/null +++ b/code_backend_theme_enterprise/static/src/xml/sidebar.xml @@ -0,0 +1,37 @@ + + + + +