diff --git a/code_backend_theme/README.rst b/code_backend_theme/README.rst new file mode 100755 index 000000000..6f5405ba1 --- /dev/null +++ b/code_backend_theme/README.rst @@ -0,0 +1,40 @@ +Code Backend Theme +================== +* Code Backend Theme module for Odoo 14 community 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 '__ + +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/__manifest__.py b/code_backend_theme/__manifest__.py index 6ff1eb090..8cd84a0d6 100644 --- a/code_backend_theme/__manifest__.py +++ b/code_backend_theme/__manifest__.py @@ -25,7 +25,7 @@ "description": """Minimalist and elegant backend theme for Odoo 14, Backend Theme, Theme""", "summary": "Code Backend Theme V14 is an attractive theme for backend", "category": "Theme/Backend", - "version": "14.0.1.0.0", + "version": "14.0.1.1.0", 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions', @@ -34,6 +34,7 @@ "data": [ 'assets/assets.xml', 'views/icons.xml', + 'views/layout.xml', ], "qweb": [ 'static/src/xml/styles.xml', diff --git a/code_backend_theme/doc/RELEASE_NOTES.md b/code_backend_theme/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..5ae0e3412 --- /dev/null +++ b/code_backend_theme/doc/RELEASE_NOTES.md @@ -0,0 +1,11 @@ +## Module + +#### 09.06.2021 +#### Version 14.0.1.0.0 +#### ADD +Initial Commit + +#### 18.06.2021 +#### Version 14.0.1.1.0 +#### UPDT +Made Responsive diff --git a/code_backend_theme/hooks.py b/code_backend_theme/hooks.py index 936e2e8e2..503cb8add 100644 --- a/code_backend_theme/hooks.py +++ b/code_backend_theme/hooks.py @@ -1,3 +1,4 @@ +"""Hooks for Changing Menu Web_icon""" # -*- coding: utf-8 -*- ############################################################################# # @@ -19,7 +20,6 @@ # If not, see . # ############################################################################# - import base64 from odoo import api, SUPERUSER_ID @@ -27,202 +27,266 @@ from odoo.modules import get_module_resource def test_pre_init_hook(cr): + """pre 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', 'static', 'src', 'img', 'icons', 'Contacts.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Link Tracker.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Link Tracker.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', 'static', 'src', 'img', 'icons', 'Dashboards.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Dashboards.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', 'static', 'src', 'img', 'icons', 'Sales.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Sales.png') menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) if menu.name == 'Invoicing': - img_path = get_module_resource('code_backend_theme', 'static', 'src', 'img', 'icons', 'Invoicing.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Invoicing.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', 'static', 'src', 'img', 'icons', 'Inventory.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Purchase.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Calendar.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'CRM.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Note.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Note.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', 'static', 'src', 'img', 'icons', 'Website.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Point of Sale.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Point of Sale.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', 'static', 'src', 'img', 'icons', 'Manufacturing.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Repairs.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Repairs.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', 'static', 'src', 'img', 'icons', 'Email Marketing.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'SMS Marketing.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'SMS Marketing.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', 'static', 'src', 'img', 'icons', 'Project.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Surveys.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Surveys.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', 'static', 'src', 'img', 'icons', 'Employees.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Employees.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', 'static', 'src', 'img', 'icons', 'Recruitment.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Attendances.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Attendances.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', 'static', 'src', 'img', 'icons', 'Time Off.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Expenses.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Expenses.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', 'static', 'src', 'img', 'icons', 'Maintenance.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Live Chat.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Live 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', 'static', 'src', 'img', 'icons', 'Lunch.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Lunch.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', 'static', 'src', 'img', 'icons', 'Fleet.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Fleet.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', 'static', 'src', 'img', 'icons', 'Timesheets.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Timesheets.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', 'static', 'src', 'img', 'icons', 'Events.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Events.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', 'static', 'src', 'img', 'icons', 'eLearning.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Members.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Members.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', 'static', 'src', 'img', 'icons', 'Contacts.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Link Tracker.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Link Tracker.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', 'static', 'src', 'img', 'icons', 'Dashboards.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Dashboards.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', 'static', 'src', 'img', 'icons', 'Sales.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Sales.png') menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) if menu.name == 'Invoicing': - img_path = get_module_resource('code_backend_theme', 'static', 'src', 'img', 'icons', 'Invoicing.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Invoicing.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', 'static', 'src', 'img', 'icons', 'Inventory.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Purchase.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Calendar.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'CRM.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Note.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Note.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', 'static', 'src', 'img', 'icons', 'Website.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Point of Sale.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Point of Sale.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', 'static', 'src', 'img', 'icons', 'Manufacturing.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Repairs.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Repairs.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', 'static', 'src', 'img', 'icons', 'Email Marketing.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'SMS Marketing.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'SMS Marketing.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', 'static', 'src', 'img', 'icons', 'Project.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Surveys.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Surveys.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', 'static', 'src', 'img', 'icons', 'Employees.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Employees.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', 'static', 'src', 'img', 'icons', 'Recruitment.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Attendances.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Attendances.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', 'static', 'src', 'img', 'icons', 'Time Off.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Expenses.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Expenses.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', 'static', 'src', 'img', 'icons', 'Maintenance.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Live Chat.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Live 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', 'static', 'src', 'img', 'icons', 'Lunch.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Lunch.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', 'static', 'src', 'img', 'icons', 'Fleet.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Fleet.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', 'static', 'src', 'img', 'icons', 'Timesheets.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Timesheets.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', 'static', 'src', 'img', 'icons', 'Events.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Events.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', 'static', 'src', 'img', 'icons', 'eLearning.png') + img_path = get_module_resource( + 'code_backend_theme', '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', 'static', 'src', 'img', 'icons', 'Members.png') + img_path = get_module_resource( + 'code_backend_theme', 'static', 'src', 'img', 'icons', 'Members.png') menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())}) diff --git a/code_backend_theme/static/description/assets/resp-gif.gif b/code_backend_theme/static/description/assets/resp-gif.gif new file mode 100644 index 000000000..d543f3348 Binary files /dev/null and b/code_backend_theme/static/description/assets/resp-gif.gif differ diff --git a/code_backend_theme/static/description/assets/responsive.png b/code_backend_theme/static/description/assets/responsive.png new file mode 100644 index 000000000..935943928 Binary files /dev/null and b/code_backend_theme/static/description/assets/responsive.png differ diff --git a/code_backend_theme/static/description/index.html b/code_backend_theme/static/description/index.html index 0cb9706d1..a131e8a05 100644 --- a/code_backend_theme/static/description/index.html +++ b/code_backend_theme/static/description/index.html @@ -7,7 +7,7 @@ Code Backend Theme

Minimalist and Elegant Backend + style="letter-spacing: 4px !important; color: #74788D !important;">Minimalist and Elegant Backend Theme for Odoo 14

@@ -22,20 +22,21 @@

- The Code Backend Theme V14 Gives You The Fully Modified View with a Full Screen Display. + style="font-family: Montserrat, 'sans-serif' !important; color: #212121 !important;"> + The Code Backend Theme V14 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 the New Color Combination and a Modified Font. It Have a + 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 Views. + Modified View.

@@ -43,45 +44,105 @@
+
-
-

+
+

Features

+
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #556EE6 !important; min-width: 100% !important;"> +
+ +
+
+
+ +
+
+
+ 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 The Fully Modified Kanban View and Kanban Group View. - The Section Wise Separated Stages are have a Good Looking Experience And a Extra Ordinary Design - for Your Content Tiles is Looking Great. +
+ 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.
+ style="color:#556EE6 !important; margin-top: 5px !important;">

Modified Font

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Color Combination

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Full Screen View

@@ -89,19 +150,19 @@
-

Stages are Seperated in View

+ style="color:#556EE6 !important; margin-top: 5px !important;"> +

Stages are Separated in View

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Clean Layout

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Buttons with New Colors

@@ -117,11 +178,10 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #556EE6 !important; min-width: 100% !important;">

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. @@ -130,19 +190,19 @@
+ style="color:#556EE6 !important; margin-top: 5px !important;">

Modified Table Style

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Color Combination

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Scroll Bar

@@ -150,19 +210,19 @@
+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Status Tag

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Scrollbar

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Buttons with New Colors

@@ -178,11 +238,10 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #556EE6 !important; min-width: 100% !important;">

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. @@ -191,19 +250,19 @@
+ style="color:#556EE6 !important; margin-top: 5px !important;">

Modified Form Style

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Full Screen Form View

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Looks for Tabs

@@ -211,19 +270,19 @@
+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Style for Required Field

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Chatter Style Under Form View

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Looks for Status Button

@@ -242,64 +301,61 @@
+ style="background-color: #fff !important; border-top: 3px solid #556EE6 !important; padding: 2.5rem 0rem 0rem 0rem !important;">

Overview

- Code Backend Theme V14 is an Attractive Theme for Your Odoo 14. This Theme Will Change Your - All Experience With Odoo. - The Minimalist and Elegant Backend Theme for Odoo 14. This Theme is a Perfect Choice for - Your Odoo Backend." + 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.
-

Modifed Structure for All Type Views

+ style="color:#556EE6 !important; margin-top: 5px !important;"> +

Modified Structure for All Type Views

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Style for Active Menus, Radio Buttons and Checkboxes

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Color Combination

+ style="color:#556EE6 !important; margin-top: 5px !important;">

New Look for All Applications

+ style="color:#556EE6 !important; margin-top: 5px !important;">

A Clean layout and New Font Style

+ style="color:#556EE6 !important; margin-top: 5px !important;">

Sidebar with New Menu Icons

+ height="auto !important">
-
- New
+ style="background-color: #fff !important; border-top: 3px solid #556EE6 !important; padding: 2.5rem 0rem 0rem 1.5rem !important; position: relative; overflow: hidden !important;">

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. @@ -307,7 +363,7 @@ That is Automatically Fetch Your Company Logo.
+ height="auto !important">
@@ -319,14 +375,15 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #556EE6 !important; min-width: 100% !important;">

Easily Access Sidebar Menu

-
- Reveal the sidebar menu with just a click. Sidebar menu features all the relevant links to navigate +
+ 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 + Hiding the sidebar leaves more space on the main area offering a distraction-free view that lets + you focus on what matters the most.
@@ -341,19 +398,19 @@
-
-

+
+

Screenshots

+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
1
Login Page
@@ -365,11 +422,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
2
Group By View
@@ -381,11 +438,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
3
Settings Page
@@ -397,11 +454,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
4
Discuss Page
@@ -413,11 +470,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
5
Product Kanban View
@@ -429,11 +486,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
6
Purchase List View
@@ -445,11 +502,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
7
Product View with Smart Buttons
@@ -460,14 +517,15 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
8
-
Modified Alert Notification are Placed on Right Bottom of Display
+
Modified Alert Notifications are Placed on the Right Bottom of Display +
@@ -476,11 +534,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
9
Wizards and User Error Popups
@@ -492,11 +550,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
10
New Looks for The Tabs
@@ -508,11 +566,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
11
Recruitment Kanban View With Ribbons
@@ -523,11 +581,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
12
Sales Kanban View
@@ -539,11 +597,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
13
Modified Kanban View for Employees With New Designed Category Section
@@ -555,11 +613,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
14
Newly Customised Chatter and Popup Chatter
@@ -570,11 +628,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
15
New Looks for Wizards and Buttons with New Colors
@@ -585,11 +643,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
16
Sidebar with List View
@@ -601,11 +659,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
17
Sidebar with Settings Page View
@@ -617,11 +675,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
18
Attendance Pages
@@ -633,11 +691,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
19
Invoice Pages
@@ -649,11 +707,11 @@
+ style="margin: 2rem; padding: 0rem !important; background-color: #fff !important; border-top: 3px solid #74788D !important; min-width: 100% !important;">
+ style="background-color: #556EE6 !important; border: 4px solid #D4DAF9 !important; color: #fff !important; height: 35px; width: 35px; border-radius: 50% !important; font-size: 1.1rem !important;">
20
Graphs with Sidebar
@@ -663,7 +721,6 @@
-
@@ -672,15 +729,15 @@
-
-

+
+

Our Services

+ style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -690,7 +747,7 @@
+ style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -700,7 +757,7 @@
+ style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -708,10 +765,9 @@ Support
-
+ style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -722,7 +778,7 @@
+ style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -732,7 +788,7 @@
+ style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -740,10 +796,9 @@ Migration
-
+ style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -753,7 +808,7 @@
+ style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -763,7 +818,7 @@
+ style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
@@ -778,18 +833,17 @@
-
-

+
+

Our Industries

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Trading

Easily @@ -801,10 +855,9 @@

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
POS

Easy @@ -815,11 +868,10 @@

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+ width="48px"> +
Education

A @@ -830,11 +882,10 @@

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+ width="48px"> +
Manufacturing

Plan, @@ -842,13 +893,11 @@ schedule your operations

-
+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
E-commerce & Website

Mobile @@ -856,13 +905,11 @@ awe-inspiring product pages

-
+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Service Management

Keep @@ -870,14 +917,12 @@ services and invoice

-
+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+ width="48px"> +
Restaurant

Run @@ -885,13 +930,11 @@ restaurant methodically

-
+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Hotel Management

An @@ -899,7 +942,6 @@ hotel management application

-
@@ -910,39 +952,35 @@
-
-

+
+

Need Help?

-
- + style="max-width:1540px; margin: 0 auto 2rem auto;">
-
WhatsApp + class="btn btn-block mb-2 deep_hover" + style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"> + WhatsApp
info@cybrosys.com + style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"> + info@cybrosys.com
-
@@ -951,9 +989,10 @@
- +
- \ No newline at end of file + +
\ No newline at end of file diff --git a/code_backend_theme/static/src/img/icons/close.png b/code_backend_theme/static/src/img/icons/close.png new file mode 100644 index 000000000..c6ea25feb Binary files /dev/null and b/code_backend_theme/static/src/img/icons/close.png differ diff --git a/code_backend_theme/static/src/js/chrome/sidebar_menu.js b/code_backend_theme/static/src/js/chrome/sidebar_menu.js index ec0edb617..7858ad1bc 100644 --- a/code_backend_theme/static/src/js/chrome/sidebar_menu.js +++ b/code_backend_theme/static/src/js/chrome/sidebar_menu.js @@ -35,6 +35,18 @@ odoo.define('code_backend_theme.SidebarMenu', function (require) { 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'}); @@ -46,6 +58,18 @@ odoo.define('code_backend_theme.SidebarMenu', function (require) { 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){ @@ -68,5 +92,17 @@ odoo.define('code_backend_theme.SidebarMenu', function (require) { 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"); }); }); \ No newline at end of file diff --git a/code_backend_theme/static/src/scss/sidebar.scss b/code_backend_theme/static/src/scss/sidebar.scss index d278ecd3b..37342af2a 100644 --- a/code_backend_theme/static/src/scss/sidebar.scss +++ b/code_backend_theme/static/src/scss/sidebar.scss @@ -8,7 +8,7 @@ overflow-y: scroll; -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 2; + z-index: 999; } #sidebar_panel::-webkit-scrollbar { display: none; /* Hide scrollbar for Chrome, Safari and Opera */ @@ -19,6 +19,25 @@ 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; diff --git a/code_backend_theme/static/src/scss/theme.scss b/code_backend_theme/static/src/scss/theme.scss index 4a7adca91..b7a0974d0 100644 --- a/code_backend_theme/static/src/scss/theme.scss +++ b/code_backend_theme/static/src/scss/theme.scss @@ -629,6 +629,12 @@ th.o_list_record_selector { .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 @@ -1429,3 +1435,121 @@ div.dropdown-menu.bootstrap-datetimepicker-widget{ background-color: rgba(85,110,230,0.23); } //groupby color ends + +//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: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; + } +} +//Responsive ends \ No newline at end of file diff --git a/code_backend_theme/static/src/xml/sidebar.xml b/code_backend_theme/static/src/xml/sidebar.xml index 5eea4ec8b..1e38b0c34 100644 --- a/code_backend_theme/static/src/xml/sidebar.xml +++ b/code_backend_theme/static/src/xml/sidebar.xml @@ -5,22 +5,27 @@