diff --git a/jazzy_backend_theme/README.rst b/jazzy_backend_theme/README.rst new file mode 100644 index 000000000..e7d6e13d0 --- /dev/null +++ b/jazzy_backend_theme/README.rst @@ -0,0 +1,40 @@ +Jazzy Backend Theme +================== +* Jazzy Backend Theme module for Odoo 16 community editions + +Installation +============ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.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/jazzy_backend_theme/__init__.py b/jazzy_backend_theme/__init__.py new file mode 100644 index 000000000..9a7e03ede --- /dev/null +++ b/jazzy_backend_theme/__init__.py @@ -0,0 +1 @@ +from . import models \ No newline at end of file diff --git a/jazzy_backend_theme/__manifest__.py b/jazzy_backend_theme/__manifest__.py new file mode 100644 index 000000000..70da50731 --- /dev/null +++ b/jazzy_backend_theme/__manifest__.py @@ -0,0 +1,57 @@ +# -*- 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": "Jazzy Backend Theme v16", + "description": """Minimalist and elegant backend theme for Odoo 16, Backend Theme, Theme""", + "summary": "Jazzy backed Theme V16 is an attractive theme for backend", + "category": "Themes/Backend", + "version": "16.0.1.0.0", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + "depends": ['base', 'web', 'mail'], + "data": [ + 'views/style.xml', + 'views/res_config_settings.xml', + ], + 'assets': { + 'web.assets_backend': [ + 'jazzy_backend_theme/static/src/components/app_menu/side_menu.xml', + 'jazzy_backend_theme/static/src/layout/style/login.scss', + 'jazzy_backend_theme/static/src/layout/style/layout_colors.scss', + 'jazzy_backend_theme/static/src/components/app_menu/menu_order.css', + 'jazzy_backend_theme/static/src/layout/style/layout_style.scss', + 'jazzy_backend_theme/static/src/layout/style/sidebar.scss', + 'jazzy_backend_theme/static/src/components/app_menu/search_apps.js', + ], + }, + 'images': [ + 'static/description/banner.png', + 'static/description/theme_screenshot.png', + ], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/jazzy_backend_theme/models/__init__.py b/jazzy_backend_theme/models/__init__.py new file mode 100644 index 000000000..aba222842 --- /dev/null +++ b/jazzy_backend_theme/models/__init__.py @@ -0,0 +1 @@ +from . import res_config_settings \ No newline at end of file diff --git a/jazzy_backend_theme/models/res_config_settings.py b/jazzy_backend_theme/models/res_config_settings.py new file mode 100644 index 000000000..7f1fb7a49 --- /dev/null +++ b/jazzy_backend_theme/models/res_config_settings.py @@ -0,0 +1,73 @@ +from odoo import models, fields + + +class ResCompany(models.Model): + _inherit = 'res.company' + + background_image = fields.Binary(string="Background Image", attachment=True) + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + theme_background = fields.Binary(string="App menu Background", + related='company_id.background_image', + readonly=False) + + app_bar_color = fields.Char(string='Appbar color', + config_parameter='jazzy_backend_theme.appbar_color', + default='#FFFFFF') + primary_accent = fields.Char(string="Navbar color", + config_parameter='jazzy_backend_theme.primary_accent_color', + default='#004589') + secondary_accent = fields.Char(string="Navbar color", + config_parameter='jazzy_backend_theme.secondary_color', + default='#0C4D9D') + + kanban_bg_color = fields.Char(string="Kanban Bg Color", + config_parameter='jazzy_backend_theme.kanban_bg_color', + default='#F7F7F7') + + primary_hover = fields.Char(string="Hover Primary Color", + config_parameter='jazzy_backend_theme.primary_hover', + default='#00376E') + light_hover = fields.Char(string="Light Hover", + config_parameter='jazzy_backend_theme.light_hover', + default='#ffffff') + appbar_text = fields.Char(string="Home Menu Text Color", + config_parameter='jazzy_backend_theme.appbar_text', + default='#F7F8F7') + secoundary_hover = fields.Char(string="AppBar Hover", + config_parameter='jazzy_backend_theme.secoundary_hover', + default='#F2F2F3') + + def config_color_settings(self): + colors = {} + print("ppp", self.env.user.company_id.background_image) + colors['full_bg_img'] = self.env.user.company_id.background_image + colors['appbar_color'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.appbar_color'); + colors['primary_accent'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.primary_accent_color'); + colors['secondary_color'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.secondary_color'); + colors['kanban_bg_color'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.kanban_bg_color'); + colors['primary_hover'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.primary_hover'); + colors['light_hover'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.light_hover'); + colors['appbar_text'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.appbar_text'); + colors['secoundary_hover'] = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'jazzy_backend_theme.secoundary_hover'); + + return colors diff --git a/jazzy_backend_theme/static/description/assets/icons/check.png b/jazzy_backend_theme/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/check.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/chevron.png b/jazzy_backend_theme/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/chevron.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/cogs.png b/jazzy_backend_theme/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/cogs.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/consultation.png b/jazzy_backend_theme/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/consultation.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/ecom-black.png b/jazzy_backend_theme/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/ecom-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/education-black.png b/jazzy_backend_theme/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/education-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/hotel-black.png b/jazzy_backend_theme/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/hotel-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/license.png b/jazzy_backend_theme/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/license.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/lifebuoy.png b/jazzy_backend_theme/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/lifebuoy.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/manufacturing-black.png b/jazzy_backend_theme/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/manufacturing-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/pos-black.png b/jazzy_backend_theme/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/pos-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/puzzle.png b/jazzy_backend_theme/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/puzzle.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/restaurant-black.png b/jazzy_backend_theme/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/restaurant-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/service-black.png b/jazzy_backend_theme/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/service-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/trading-black.png b/jazzy_backend_theme/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/trading-black.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/training.png b/jazzy_backend_theme/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/training.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/update.png b/jazzy_backend_theme/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/update.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/user.png b/jazzy_backend_theme/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/user.png differ diff --git a/jazzy_backend_theme/static/description/assets/icons/wrench.png b/jazzy_backend_theme/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/icons/wrench.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/categories.png b/jazzy_backend_theme/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/categories.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/check-box.png b/jazzy_backend_theme/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/check-box.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/compass.png b/jazzy_backend_theme/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/compass.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/corporate.png b/jazzy_backend_theme/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/corporate.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/customer-support.png b/jazzy_backend_theme/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/customer-support.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/cybrosys-logo.png b/jazzy_backend_theme/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/cybrosys-logo.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/features.png b/jazzy_backend_theme/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/features.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/logo.png b/jazzy_backend_theme/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/logo.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/pictures.png b/jazzy_backend_theme/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/pictures.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/pie-chart.png b/jazzy_backend_theme/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/pie-chart.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/right-arrow.png b/jazzy_backend_theme/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/right-arrow.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/star.png b/jazzy_backend_theme/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/star.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/support.png b/jazzy_backend_theme/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/support.png differ diff --git a/jazzy_backend_theme/static/description/assets/misc/whatsapp.png b/jazzy_backend_theme/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/misc/whatsapp.png differ diff --git a/jazzy_backend_theme/static/description/assets/modules/1.png b/jazzy_backend_theme/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/1.png differ diff --git a/jazzy_backend_theme/static/description/assets/modules/2.png b/jazzy_backend_theme/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/2.png differ diff --git a/jazzy_backend_theme/static/description/assets/modules/3.png b/jazzy_backend_theme/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/3.png differ diff --git a/jazzy_backend_theme/static/description/assets/modules/4.png b/jazzy_backend_theme/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/4.png differ diff --git a/jazzy_backend_theme/static/description/assets/modules/5.gif b/jazzy_backend_theme/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/5.gif differ diff --git a/jazzy_backend_theme/static/description/assets/modules/6.png b/jazzy_backend_theme/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/modules/6.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/1.png b/jazzy_backend_theme/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..6739be8fe Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/1.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/10.png b/jazzy_backend_theme/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..6f25e5685 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/10.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/11.png b/jazzy_backend_theme/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..9985a2ab3 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/11.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/12.png b/jazzy_backend_theme/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..e2fd1c7a1 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/12.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/13.png b/jazzy_backend_theme/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..8510634da Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/13.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/14.png b/jazzy_backend_theme/static/description/assets/screenshots/14.png new file mode 100644 index 000000000..31b65ea40 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/14.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/15.png b/jazzy_backend_theme/static/description/assets/screenshots/15.png new file mode 100644 index 000000000..e6b6caeee Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/15.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/16.png b/jazzy_backend_theme/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..8d5a4ab34 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/16.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/17.png b/jazzy_backend_theme/static/description/assets/screenshots/17.png new file mode 100644 index 000000000..f5839f155 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/17.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/18.png b/jazzy_backend_theme/static/description/assets/screenshots/18.png new file mode 100644 index 000000000..7859b2bce Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/18.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/19.png b/jazzy_backend_theme/static/description/assets/screenshots/19.png new file mode 100644 index 000000000..a1c29da75 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/19.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/2.png b/jazzy_backend_theme/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..c7c060ce6 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/2.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/3.png b/jazzy_backend_theme/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..d7784fe63 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/3.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/4.png b/jazzy_backend_theme/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..7d326c0f0 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/4.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/5.png b/jazzy_backend_theme/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..3475fce38 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/5.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/6.png b/jazzy_backend_theme/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..5b0d8f451 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/6.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/7.png b/jazzy_backend_theme/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..bd38e43b6 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/7.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/8.png b/jazzy_backend_theme/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..0281ec6d4 Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/8.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/9.png b/jazzy_backend_theme/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..2a62f118e Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/9.png differ diff --git a/jazzy_backend_theme/static/description/assets/screenshots/hero.gif b/jazzy_backend_theme/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3284baceb Binary files /dev/null and b/jazzy_backend_theme/static/description/assets/screenshots/hero.gif differ diff --git a/jazzy_backend_theme/static/description/banner.png b/jazzy_backend_theme/static/description/banner.png new file mode 100644 index 000000000..13d3c4707 Binary files /dev/null and b/jazzy_backend_theme/static/description/banner.png differ diff --git a/jazzy_backend_theme/static/description/icon.png b/jazzy_backend_theme/static/description/icon.png new file mode 100644 index 000000000..e834c1810 Binary files /dev/null and b/jazzy_backend_theme/static/description/icon.png differ diff --git a/jazzy_backend_theme/static/description/index.html b/jazzy_backend_theme/static/description/index.html new file mode 100644 index 000000000..f2d94c580 --- /dev/null +++ b/jazzy_backend_theme/static/description/index.html @@ -0,0 +1,617 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +

Jazzy Backend Theme

+

Clean &Minimal Backend Theme for Odoo 16

+ + + +
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ he app provides a user friendly backend + theme for Odoo 15.0 community edition. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Well-Crafted. +
+
+ + Efficent Design. +
+
+ + Clearer insight. +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

App Menu

+

The App Menu is the main attraction of the Jazzy backend theme. It has a fully responsive layout with a new highlighted color combination and a more modern interface for all applications. Moreover, the Jazzy backend theme improves your experience with Odoo, providing you with a fully customizable background image, Navbar color, and many more.

+ + + +
+ +
+

Theme Settings

+

Jazzy Backend Theme Settings

+

To improve your experience with Odoo the Jazzy backend theme provides a fully + configurable theme settings menu.

+ +
+ +
+

Custom AppBar

+

AppBar

+

Easly accessible side bar where it reveals the side bar menu on just a click. Moreover, its also + fully customisable with Jazzy backend theme.

+ +
+
+

Responsive Layout

+

Truly Responsive

+

One of the critical highlights of the Jazzy backend theme is that it was genuinely responsive; moreover, it provides an efficient interface to manage a mobile device.

+ +
+
+

Custom Kanban View

+

Kanban view

+

Jazzy Backend Theme gives a colorful & elegant kanban view, and it's fully customizable with this theme.

+ +
+
+

Search Option

+

Advanced Searching for App Menus

+

Jazzy Backend Theme gives a more complex and powerful search than standard search, providing search options like enterprise edition.

+ +
+
+
+

Form View

+

Custom Form view

+

Jazzy Backend theme provides a fully modified and colorful form view with the full view + experience.

+ +
+
+

Vibrent ui

+

Attractive Customizable User Interface

+

It provides fully attractive, and a elgant User Interface with completely customizability.

+ +
+
+
+
+

Mobile

+

Kanban View

+
+
+

Responsive kanban view

+

It gives a fully responsive kanban view in Mobile view, which is also fully customizable in the Jazzy Backend theme.

+ +
+
+

Form View

+

Visualized form view

+

It puts forward a fully visualized form view with colorful and attractive aspects which the user can customize.

+ +
+
+

List view

+

Modified Tree view

+

Jazzy Backend Theme provides fully modified list view and amazing table designs with stunning look outputs.

+ +
+
+

settings

+

Fully Redesigned Settings

+

Mobile friendly and Redesigned settings with stylish view.

+ +
+
+

Employe module

+

Modified Form view for employees

+

It provides the Employees with a form view with redesigned and various modified features.

+ +
+
+

Search View

+

Ultra Modern Search view

+

It has an advanced search view with a highly modified search option for easy usage and an improved experience with Odoo.

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

Related + Products +

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

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

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

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/jazzy_backend_theme/static/description/theme_screenshot.png b/jazzy_backend_theme/static/description/theme_screenshot.png new file mode 100644 index 000000000..13d3c4707 Binary files /dev/null and b/jazzy_backend_theme/static/description/theme_screenshot.png differ diff --git a/jazzy_backend_theme/static/src/components/app_menu/menu_order.css b/jazzy_backend_theme/static/src/components/app_menu/menu_order.css new file mode 100644 index 000000000..0ba06bd62 --- /dev/null +++ b/jazzy_backend_theme/static/src/components/app_menu/menu_order.css @@ -0,0 +1,114 @@ +.nav-container { + + float: left; + position: relative; + width: 99vw; + height: 100%; + background: #fff; + display: flex; + justify-content: start; + align-items: start; + padding: 0px 20rem; + margin-top: 2rem; + +} +/*.search-results {*/ +/* float: left;*/ +/* position: relative;*/ +/* width: 100vw;*/ +/* height: 100vh;*/ +/* background: #fff;*/ +/* display: flex;*/ +/* justify-content: center;*/ +/* align-items: center;*/ +/* padding: 0 20rem;*/ +/*}*/ +.o_main_navbar .dropdown-menu .show { + max-height: auto !important; + min-width: 100%; + overflow: auto; + margin-top: 0; + position: static; + top: 0; + display: flex; + box-shadow: none; + border: none; + flex-wrap: wrap; + flex-direction: row; + overflow: unset; +} +.dropdown-item.o_app.mt0 { + flex-basis: 20%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + margin-bottom: 23px; +} +.o_setting_search { + position: relative; + + .searchInput { + height: 28px; + padding: 0px; + border: 0px; + border-dropdown-item bottom: 1px solid gray('400'); + border-color: gray('700'); + box-shadow: none; + font-weight: 500; + } + + .searchIcon { + @include o-position-absolute(4px, 0); + color: gray('700'); + } + } + .search-container.has-results { + height: 100%; + + .search-input { + height: 3em; + } + + .search-results { + height: calc(100% - 3em); + overflow: auto; + } + } + +.app-menu { + + width: 100%; + display: flex; + flex-wrap: wrap; + +} +.o_main_navbar .dropdown-menu.show { + max-height: none !important; + min-width: 100vw; + min-heigt: 100vh; + overflow: auto; + margin-top: 0; +} +.o-menu-search-result.dropdown-item.col-12.ml-auto.mr-auto { + + background-repeat: no-repeat; + background-size: 100%; + padding-left: 30%; + margin-bottom: 5%; + +} +.form-control { + padding: 0 !important; +} +@media (max-width: 1371px){ + +} + +@media (max-width:992px) { + +} + +@media (max-width:400px) { + +} \ No newline at end of file diff --git a/jazzy_backend_theme/static/src/components/app_menu/search_apps.js b/jazzy_backend_theme/static/src/components/app_menu/search_apps.js new file mode 100644 index 000000000..1f306c44f --- /dev/null +++ b/jazzy_backend_theme/static/src/components/app_menu/search_apps.js @@ -0,0 +1,122 @@ +/** @odoo-module */ + +import { NavBar } from "@web/webclient/navbar/navbar"; +import { registry } from "@web/core/registry"; +const { fuzzyLookup } = require('@web/core/utils/search'); +import { computeAppsAndMenuItems } from "@web/webclient/menus/menu_helpers"; +import core from 'web.core'; + +const commandProviderRegistry = registry.category("command_provider"); +const { onMounted } = owl; + +import { patch } from 'web.utils'; +var rpc = require('web.rpc'); +patch(NavBar.prototype, 'jazzy_backend_theme/static/src/js/appMenu.js', { + + //-------------------------------------------------------------------------- + // Public + //-------------------------------------------------------------------------- + + /** + * @override + */ + setup() { + this._super(); + this._search_def = $.Deferred(); + let { apps, menuItems } = computeAppsAndMenuItems(this.menuService.getMenuAsTree("root")); + this._apps = apps; + this._searchableMenus = menuItems; + this.colors = this.fetch_data(); + onMounted(this.onMounted); + }, + fetch_data: function() { + var self = this; + rpc.query({model: 'res.config.settings',method: 'config_color_settings',args: [0],}).then(function(result){ + self.colors = result; + console.log("$$$",result); + if (result.primary_accent !== false){ + document.documentElement.style.setProperty("--primary-accent",result.primary_accent); + } + if (result.appbar_color !== false){ + document.documentElement.style.setProperty("--app-bar-accent",result.appbar_color);} + if (result.primary_hover !== false){ + document.documentElement.style.setProperty("--primary-hover",result.primary_hover);} + if (result.secondary_color !== false){ + document.documentElement.style.setProperty("--primary-accent-border",result.secondary_color);} + if (result.full_bg_img !== false){ + document.documentElement.style.setProperty("--full-screen-bg",'url(data:image/png;base64,'+result.full_bg_img+')'); + + } + if (result.appbar_text !== false){ + document.documentElement.style.setProperty("--app-menu-font-color",result.appbar_text);} + if (result.secoundary_hover !== false){ + document.documentElement.style.setProperty("--secoundary-hover",result.secoundary_hover);} + if (result.kanban_bg_color !== false){ + document.documentElement.style.setProperty("--kanban-bg-color",result.kanban_bg_color);} + }); + }, + + onMounted() { + this.$search_container = $(".search-container"); + this.$search_input = $(".search-input input"); + this.$search_results = $(".search-results"); + this.$app_menu = $(".app-menu"); + this.$dropdown_menu = $(".dropdown-menu"); + }, + _searchMenusSchedule: function () { + this.$search_results.removeClass("o_hidden") + this.$app_menu.addClass("o_hidden"); + this._search_def.reject(); + this._search_def = $.Deferred(); + setTimeout(this._search_def.resolve.bind(this._search_def), 50); + + this._search_def.done(this._searchMenus.bind(this)); + }, + + _searchMenus: function () { + var query = this.$search_input.val(); + if (query === "") { + this.$search_container.removeClass("has-results"); + this.$app_menu.removeClass("o_hidden"); + this.$search_results.empty(); + return; + } + + var results = []; + fuzzyLookup(query, this._apps, (menu) => menu.label) + .forEach((menu) => { + results.push({ + category: "apps", + name: menu.label, + actionID: menu.actionID, + id: menu.id, + webIconData: menu.webIconData, + }); + }); + + fuzzyLookup(query, this._searchableMenus, (menu) => + (menu.parents + " / " + menu.label).split("/").reverse().join("/") + ).forEach((menu) => { + results.push({ + category: "menu_items", + name: menu.parents + " / " + menu.label, + actionID: menu.actionID, + id: menu.id, + }); + }); + + this.$search_container.toggleClass( + "has-results", + Boolean(results.length) + ); + this.$search_results.html( + core.qweb.render( + "jazzy_backend_theme.SearchResults", + { + results: results, + widget: this, + } + ) + ); + }, +}); \ No newline at end of file diff --git a/jazzy_backend_theme/static/src/components/app_menu/side_menu.xml b/jazzy_backend_theme/static/src/components/app_menu/side_menu.xml new file mode 100644 index 000000000..c84926fbf --- /dev/null +++ b/jazzy_backend_theme/static/src/components/app_menu/side_menu.xml @@ -0,0 +1,98 @@ + + + + + + + + +
+ +
+
+
+ + + + + + + + +
\ No newline at end of file diff --git a/jazzy_backend_theme/static/src/layout/style/color.css b/jazzy_backend_theme/static/src/layout/style/color.css new file mode 100644 index 000000000..b03a4ee6c --- /dev/null +++ b/jazzy_backend_theme/static/src/layout/style/color.css @@ -0,0 +1,14 @@ +:root{ + --primary_accent: black !default; + --secondary_accent: #ffffff !default; + --inverse_accent: #ffffff !default; + --kanban-bg-color:#f7f7f7; + --o-kanban-color-border-width: 8px; + --selected_row: #ffffff !default; + --bg_white: #ffffff !default; + --f_color: #555b6d !default; + --color_white : #ffffff !default; + --primary_hover: #00376e !default; + --light_hover: #d5d5d5; + --fullscreen-bg-color: #C5F0FC !important; +} \ No newline at end of file diff --git a/jazzy_backend_theme/static/src/layout/style/layout_colors.scss b/jazzy_backend_theme/static/src/layout/style/layout_colors.scss new file mode 100644 index 000000000..268eb2d51 --- /dev/null +++ b/jazzy_backend_theme/static/src/layout/style/layout_colors.scss @@ -0,0 +1,33 @@ +$primary_accent: var(--primary-accent) !important; +$secondary_accent: var(--secondary-accent) !important; +$inverse_accent: var(--inverse-accent) !important; +$kanban-bg-color:var(--kanban-bg-color) !important; +$o-kanban-color-border-width: var(--o-kanban-color-border-width) !important; +$selected_row: var(--selected-row) !important; +$bg_white: var(--bg-white) !important; +$f_color: var(--f-color) !important; +$color_white : var(--color-white) !important; +$primary_hover: var(--primary-hover) !important; +$light_hover: var(--light-hover) !important; + +$fullscreen-bg-color: var(--fullscreen-bg-color) !important; + + +:root{ + --primary-accent: #004589 ; + --primary-accent-border: #ffffff; + --app-bar-accent: #ffffff; + --full-screen-bg: url(/jazzy_backend_theme/static/description/assets/background.jpg) ; + + --kanban-bg-color:#f7f7f7; + --o-kanban-color-border-width: 8px !important; + --selected-row: #ffffff !important; + --app-menu-font-color:#ffffff; + --bg-white: #ffffff !important; + --f-color: #555b6d !important; + --color-white : #ffffff !important; + --primary-hover: #00376e; + --light-hover: #d5d5d5 ; + --secoundary-hover:#ffffff; + --fullscreen-bg-color: #C5F0FC !important; +} \ No newline at end of file diff --git a/jazzy_backend_theme/static/src/layout/style/layout_style.scss b/jazzy_backend_theme/static/src/layout/style/layout_style.scss new file mode 100644 index 000000000..25c7078be --- /dev/null +++ b/jazzy_backend_theme/static/src/layout/style/layout_style.scss @@ -0,0 +1,457 @@ +.bg-primary{ + background-color: var(--primary-accent) !important; +} +.o_field_widget.o_field_many2one .o_external_button { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + flex: 0 0 auto; + padding-left:1%; + padding-right:0.5%; + + margin-left: 2px; + font-size: 19px; + color: #7C7BAD; + border: none; +} + +.app_bar .app_container a:hover{ + background:var(--secoundary-hover) !important; +} + +.fullscreen-menu{ + height: calc(100vh - 46px); + background: var(--full-screen-bg); + background-size: cover; + background-repeat: no-repeat; + min-width: 100%; + overflow-y: auto !important; + overflow-x: hidden !important; + margin-top: 0; + position: fixed; + top: 46px; + left: -1px; + padding: 2.5rem 0; +} +.a_app_menu_title{ + color: var(--app-menu-font-color) !important; +} +.o_main_navbar{ + background-color:var(--primary-accent) !important; + border-bottom: 1px solid var(--primary-hover) !important; +} +.dropdown-toggle { + &:hover{ + background: var(--primary-hover) !important; + } +} + +.o-menu-search-result.dropdown-item.col-12.ml-auto.mr-auto { + + background-repeat: no-repeat; + background-size: 23px; + padding-left: 40px; + margin-bottom: 5px; + +} + +//Top bar +//icon color +.o_searchview .o_searchview_facet .o_searchview_facet_label { + background-color: var(--primary-accent) !important; +} +.btn-secondary { + color: #fff !important; + background-color: var(--primary-accent) !important; + border-color: var(--primary-accent) !important; + margin:0 5px 0 0; + &:hover{ + background-color: var(--primary-hover) !important; + } +} + +.o_searchview { + background-color: var(--bg-white) !important; + border: 1px solid #ccc; + border-radius: 10px; + padding: 1px 25px 3px 5px; +} +.o_searchview .o_searchview_input_container { + display: flex; + flex-flow: row wrap; + position: relative; + border-radius: 10px; +} +.o_searchview .o_searchview_input_container .o_searchview_facet { + display: flex; + -webkit-box-flex: 0; + flex: 0 0 auto; + margin: 1px 3px 0 0; + max-width: 100%; + border-radius: 10px; + position: relative; +} + +.o_searchview .o_searchview_facet .o_facet_values{ + border-radius: 10px !important; + background-color: #e2e2e0 !important; +} +.o_searchview .o_searchview_input_container .o_searchview_facet .o_searchview_facet_label { + align-items: center; + color: var(--bg-white) !important; + -webkit-box-flex: 0; + flex: 0 0 auto; + padding: 0 3px; + border-radius: 10px; + display: flex; + max-width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: top; +} +//module icon +.oe_module_icon { + width: 70px; + max-height: 70px; + max-width: 23%; + float: left; + border-radius: 10px; +} + +.o_base_settings .o_setting_container .settings_tab .selected{ + background-color: var(--primary-hover); +} + + +.app_bar .app_container .scroll_container .app_items_wrapper .app_items{ + background-color:var(--app-bar-accent); +} +.app_bar .app_container .scroll_container .app_items_wrapper .app_items .o-app-icon { + width: 32px; + height: 32px; + border-radius: 5px; + +} + +//photo +.o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left { + margin-top: -8px; + margin-bottom: -8px; + margin-left: -8px; + border-radius: 10px; +} + +//drowpdowm +.o-dropdown.dropup > .o-dropdown--menu, .o-dropdown.dropdown > .o-dropdown--menu, .o-dropdown.dropleft > .o-dropdown--menu, .o-dropdown.dropright > .o-dropdown--menu { + left: auto; + right: auto; + margin-left: 0; + margin-right: 0; + border-radius: 10px; +} + +//kanban +.o_kanban_view.o_kanban_grouped .o_kanban_record, .o_kanban_view.o_kanban_grouped .o_kanban_quick_create { + width: 100%; + margin-left: 0; + margin-right: 0; + border-radius: 10px; +} +.o_form_view .oe_button_box .btn.oe_stat_button { + color: var(--primary-accent) !important; + height: 44px; + padding: 0 6px 0 0 !important; + text-align: left; + white-space: nowrap; + background-color: transparent; + opacity: 0.8; + border-radius: 0px; + margin-bottom: 0; +} +.o_dashboards .o_website_dashboard div.o_box { + color: rgba(73, 80, 87, 0.76); + background-color: white; + background-size: cover; + margin-top: 16px; + position: static; + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3); + border-radius: 10px; +} + +//button +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + border-color: var(--primary-accent) !important; + background-color: var(--primary-accent) !important; +} + +//current date calender +.o_calendar_view .o_calendar_widget .fc-timeGridDay-view .fc-widget-header.fc-today, .o_calendar_view .o_calendar_widget .fc-timeGridWeek-view .fc-widget-header.fc-today { + border-radius: 25px; + background: var(--primary-accent) !important; + color: var(--bg-white) !important; +} +// Tabs Start +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { + border: none; + border-bottom: solid; + font-weight: bold; + background: var(--primary-accent) !important; + color: var(--bg-white) !important; + border-radius: 5px,50px,5px,50px; +} +//website +.o_dashboards .o_website_dashboard .o_dashboard_common .o_inner_box { + padding-top: 10px; + text-align: center; + border: 1px solid var(--bg-white) !important; + height: 80px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + cursor: pointer; + color: var(--color-white) !important; + background-color: var(--primary-accent) !important; + border-radius:10px; + + &:hover{ + background-color: var(--primary-hover) !important; + } +} +.o_purchase_dashboard .table > thead > tr > td.o_main, .o_purchase_dashboard .table tbody > tr > td.o_main { + background-color: var(--primary-accent) !important; + border-radius:10px; +} + +.dropdown-menu.show { + display: block; + border-radius: 0; + +} + +.o_mail_preview .o_mail_preview_image.o_mail_preview_app > img { + border-radius: 10px; +} + +//Graph +.o_calendar_view .fc-view .fc-event.o_calendar_color_3:not(.o_calendar_hatched):not(.o_calendar_striked) { + background: var(--primary-hover) !important; + border-radius: 10px; +} + +//Event +.text-center { + text-align: center !important; + border-radius: 10px; +} + +//form control icons +.o_form_view .oe_button_box .oe_stat_button .o_button_icon { + color: var(--primary-accent) !important; +} +//.o_required_modifier.o_input, .o_required_modifier .o_input { +// background-color: var(--primary-accent) !important; +//} + +//small icons +.o_search_panel .o_search_panel_category .o_search_panel_section_icon { + color: var(--primary-accent) !important; +} +.badge-primary { + color: var(--color-white) !important; + background-color: var(--primary-accent) !important; +} +//wizard +.modal.o_technical_modal .modal-content { + border-radius: 10px; +} +//Navbar +.nav-container{ + height: auto !important; + background: transparent !important; + float: none !important; + padding: 0 !important; + width: 850px !important; + margin: 0 auto !important; +} +.o_nav_entry{ + &:hover{ + background-color: var(--primary-hover) !important; + } +} + .app-menu{ + width: 100%; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + margin: 0 auto; + margin-right: 70px; + +} +//Responsive +.o_MobileMessagingNavbar_tab.o-active{ + color: var(--primary-accent) !important; +} +@media (max-width: 768px){ + .app-menu{ + width: 100%; + display: grid; + grid-template-columns: 1fr 1fr 1fr; + justify-content: flex-start; + margin: 0 auto; + } + .o_cp_bottom{ + flex-wrap: wrap !important; + } + .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled { + + margin-right: 10px; + } + .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled:not(.btn-primary), .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled:not(.btn-primary):hover, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled:not(.btn-primary):focus + { + margin-left:10px; + } + .o_form_view .o_form_statusbar > .o_field_widget { + margin-left: -24px !important; + margin-top: 1px !important; + } + .o_form_view .o_form_statusbar{ + flex-direction: column !important; + padding-left: 0px !important; + } +} +@media (min-width: 768px){ + .o_form_view .o_form_sheet_bg > .o_form_sheet { + margin: 12px auto; + border-radius: 10px; + } + + .search-container{ + width: 750px; + margin: 0 auto; + } + +} + +@media (max-width:767px){ + + .o_form_view .o_group{ + width:100% !important; + } + + .dropdown-menu.show { + display: block; + border-radius:0; + } + .o_control_panel .breadcrumb > li { + display: inline-block; + max-width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: top; + } + .o_control_panel .o_cp_top_right { + min-height: 30px; + max-width: 100%; + margin-left: 10%; + } + .o_form_view .o_form_sheet_bg > .o_form_sheet { + min-width: 100%; + max-width: 100%; + min-height: 100%; + border: 1px solid #c8c8d3; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); + background: white; + margin: 4.8px auto; + padding: 24px; + padding-right: 16px; + padding-left: 16px; + } + .oe_topbar_name{ + display:none; + } + + .nav-container { + /*float: left;*/ + position: relative; + width: 100vw !important; + /*height: 100%;*/ + /*background: #fff;*/ + display: flex; + /* justify-content: start; */ + align-items: start; + margin-top: 2rem; + } + + .o_cp_top{ + flex-wrap: wrap !important; + } + .o_cp_top_left, .o_cp_searchview{ + width: 100%; + } + .o_cp_top_right{ + width: 100%; + margin: 1.5rem auto; + margin-left: 0 !important; + } + + //Search Panel + .o_content o_controller_with_searchpanel, .o_controller_with_searchpanel{ + display:flex !important; + flex-direction: column !important; + } + + .o_search_panel{ + display: flex; + overflow-x: auto; + overflow-y: auto; + height: 200px; + width: 100%; + section{ + margin-right: 1rem; + } + } + .o_search_panel section { + width: 100% !important; + } + .o_setting_container{ + display: flex; + flex-direction: column; + } + .settings_tab{ + display: flex; + flex-direction: row !important; + overflow-x: auto; + height: 40px; + } + .settings{ + margin-top: 1.5rem; + } +} +//@media(max-width:716px){ + + //html .o_web_client > .o_action_manager > .o_action > .o_content{ + // overflow-x: hidden !important; + // } +//} + +@media (max-width:524px){ + + .o_control_panel .o_cp_bottom_right > .o_cp_pager + { + margin-top:5px; + } + div.app-menu *::before{ + box-sizing:none; + } + div.app-menu *::after{ + box-sizing:none; + } +} +@media (max-width:493px){ + .o_control_panel .o_cp_bottom_left > .o_cp_action_menus { + margin-left: 0px; + padding-right: 10px; + } +} diff --git a/jazzy_backend_theme/static/src/layout/style/login.scss b/jazzy_backend_theme/static/src/layout/style/login.scss new file mode 100644 index 000000000..f75366d60 --- /dev/null +++ b/jazzy_backend_theme/static/src/layout/style/login.scss @@ -0,0 +1,150 @@ + +#wrapwrap > main { + background: #f8f8fb; +} +.navbar { + background: #fff !important; +} + +body { + font-family: 'Poppins', sans-serif !important; +} +body.bg-100 { + background-color: #000000 !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; +} +.o_main_navbar .o_menu_sections { + flex-wrap: w +} +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; +} \ No newline at end of file diff --git a/jazzy_backend_theme/static/src/layout/style/sidebar.scss b/jazzy_backend_theme/static/src/layout/style/sidebar.scss new file mode 100644 index 000000000..c5dd9d690 --- /dev/null +++ b/jazzy_backend_theme/static/src/layout/style/sidebar.scss @@ -0,0 +1,66 @@ +#sidebar_panel { + height: calc(100% - 0%); + position: fixed; + background-color: var(--app-bar-accent); + width: 50px; + 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 .sidebar_menu { + list-style: none; + margin: 0; + padding: 0; +} + +.sidebar_panel .sidebar .sidebar_menu li { + margin: 0; + padding: 0; + border: 0px; + display: block; + /*margin-bottom:5px;*/ +} +.dropdown-item{ + padding: 10px 10px 10px 10px; +} +.o_main_navbar .o_menu_brand { + text-decoration: none !important; + margin-left: 10px; +} +.sidebar_panel .sidebar .sidebar_menu li a { + margin: 0; + border: 0px; + display: block; + cursor: pointer; + overflow: hidden; + color: #ffffff; + font-size: 13px; + transition:.3s all; +} +.sidebar_panel .sidebar .sidebar_menu li:hover a { + background: var(--secoundary-hover) !important; + color: #fff; +} + +.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { + width: 30px; + border-radius:5px; +} + +html .o_web_client > .o_action_manager{ + margin-left:50px; +} +.sidebar_panel .sidebar .sidebar_menu li .nav-link { + padding:10px 10px 10px 10px; +} \ No newline at end of file diff --git a/jazzy_backend_theme/views/res_config_settings.xml b/jazzy_backend_theme/views/res_config_settings.xml new file mode 100644 index 000000000..736332b1d --- /dev/null +++ b/jazzy_backend_theme/views/res_config_settings.xml @@ -0,0 +1,115 @@ + + + res.config.jazzy.backend.theme + res.config.settings + + + + +

jazzy Backend Theme

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/jazzy_backend_theme/views/style.xml b/jazzy_backend_theme/views/style.xml new file mode 100644 index 000000000..20f83c30a --- /dev/null +++ b/jazzy_backend_theme/views/style.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file