diff --git a/responsive_web/README.rst b/responsive_web/README.rst new file mode 100644 index 000000000..b3719a267 --- /dev/null +++ b/responsive_web/README.rst @@ -0,0 +1,45 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Web Responsive +============== +This module helps to create enterprise like app drawer, Responsiveness and sticky headers. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Ayana KP, +Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.co + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com +This module is maintained by Cybrosys Technologies. +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/responsive_web/__init__.py b/responsive_web/__init__.py new file mode 100644 index 000000000..6708e4696 --- /dev/null +++ b/responsive_web/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ayana K P (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### diff --git a/responsive_web/__manifest__.py b/responsive_web/__manifest__.py new file mode 100644 index 000000000..3cfe668f6 --- /dev/null +++ b/responsive_web/__manifest__.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ayana K P (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': "Web Responsive Odoo15", + 'version': '15.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """This Module Helps to Create App Drawer, Responsiveness ' + 'and Sticky Headers.""", + 'description': """ This module helps to create enterprise like app drawer, + responsiveness and sticky headers in list view.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['web', 'mail'], + 'assets': { + 'web.assets_qweb': [ + 'responsive_web/static/src/xml/PivotCustom.xml', + 'responsive_web/static/templates/side_bar.xml', + 'responsive_web/static/src/components/apps_menu/link_view.xml', + ], + 'web.assets_backend': [ + 'responsive_web/static/src/css/main.css', + 'responsive_web/static/src/css/menu_order.css', + 'responsive_web/static/src/components/apps_menu/apps_menu.js', + ] + }, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/responsive_web/doc/RELEASE_NOTES.md b/responsive_web/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b0dba017c --- /dev/null +++ b/responsive_web/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 21.12.2023 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Web Responsive diff --git a/responsive_web/static/description/assets/icons/check.png b/responsive_web/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/responsive_web/static/description/assets/icons/check.png differ diff --git a/responsive_web/static/description/assets/icons/chevron.png b/responsive_web/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/responsive_web/static/description/assets/icons/chevron.png differ diff --git a/responsive_web/static/description/assets/icons/cogs.png b/responsive_web/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/responsive_web/static/description/assets/icons/cogs.png differ diff --git a/responsive_web/static/description/assets/icons/consultation.png b/responsive_web/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/responsive_web/static/description/assets/icons/consultation.png differ diff --git a/responsive_web/static/description/assets/icons/ecom-black.png b/responsive_web/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/responsive_web/static/description/assets/icons/ecom-black.png differ diff --git a/responsive_web/static/description/assets/icons/education-black.png b/responsive_web/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/responsive_web/static/description/assets/icons/education-black.png differ diff --git a/responsive_web/static/description/assets/icons/hotel-black.png b/responsive_web/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/responsive_web/static/description/assets/icons/hotel-black.png differ diff --git a/responsive_web/static/description/assets/icons/license.png b/responsive_web/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/responsive_web/static/description/assets/icons/license.png differ diff --git a/responsive_web/static/description/assets/icons/lifebuoy.png b/responsive_web/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/responsive_web/static/description/assets/icons/lifebuoy.png differ diff --git a/responsive_web/static/description/assets/icons/manufacturing-black.png b/responsive_web/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/responsive_web/static/description/assets/icons/manufacturing-black.png differ diff --git a/responsive_web/static/description/assets/icons/pos-black.png b/responsive_web/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/responsive_web/static/description/assets/icons/pos-black.png differ diff --git a/responsive_web/static/description/assets/icons/puzzle.png b/responsive_web/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/responsive_web/static/description/assets/icons/puzzle.png differ diff --git a/responsive_web/static/description/assets/icons/restaurant-black.png b/responsive_web/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/responsive_web/static/description/assets/icons/restaurant-black.png differ diff --git a/responsive_web/static/description/assets/icons/service-black.png b/responsive_web/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/responsive_web/static/description/assets/icons/service-black.png differ diff --git a/responsive_web/static/description/assets/icons/trading-black.png b/responsive_web/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/responsive_web/static/description/assets/icons/trading-black.png differ diff --git a/responsive_web/static/description/assets/icons/training.png b/responsive_web/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/responsive_web/static/description/assets/icons/training.png differ diff --git a/responsive_web/static/description/assets/icons/update.png b/responsive_web/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/responsive_web/static/description/assets/icons/update.png differ diff --git a/responsive_web/static/description/assets/icons/user.png b/responsive_web/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/responsive_web/static/description/assets/icons/user.png differ diff --git a/responsive_web/static/description/assets/icons/wrench.png b/responsive_web/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/responsive_web/static/description/assets/icons/wrench.png differ diff --git a/responsive_web/static/description/assets/misc/categories.png b/responsive_web/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/responsive_web/static/description/assets/misc/categories.png differ diff --git a/responsive_web/static/description/assets/misc/check-box.png b/responsive_web/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/responsive_web/static/description/assets/misc/check-box.png differ diff --git a/responsive_web/static/description/assets/misc/compass.png b/responsive_web/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/responsive_web/static/description/assets/misc/compass.png differ diff --git a/responsive_web/static/description/assets/misc/corporate.png b/responsive_web/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/responsive_web/static/description/assets/misc/corporate.png differ diff --git a/responsive_web/static/description/assets/misc/customer-support.png b/responsive_web/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/responsive_web/static/description/assets/misc/customer-support.png differ diff --git a/responsive_web/static/description/assets/misc/cybrosys-logo.png b/responsive_web/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/responsive_web/static/description/assets/misc/cybrosys-logo.png differ diff --git a/responsive_web/static/description/assets/misc/features.png b/responsive_web/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/responsive_web/static/description/assets/misc/features.png differ diff --git a/responsive_web/static/description/assets/misc/logo.png b/responsive_web/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/responsive_web/static/description/assets/misc/logo.png differ diff --git a/responsive_web/static/description/assets/misc/pictures.png b/responsive_web/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/responsive_web/static/description/assets/misc/pictures.png differ diff --git a/responsive_web/static/description/assets/misc/pie-chart.png b/responsive_web/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/responsive_web/static/description/assets/misc/pie-chart.png differ diff --git a/responsive_web/static/description/assets/misc/right-arrow.png b/responsive_web/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/responsive_web/static/description/assets/misc/right-arrow.png differ diff --git a/responsive_web/static/description/assets/misc/star.png b/responsive_web/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/responsive_web/static/description/assets/misc/star.png differ diff --git a/responsive_web/static/description/assets/misc/support.png b/responsive_web/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/responsive_web/static/description/assets/misc/support.png differ diff --git a/responsive_web/static/description/assets/misc/whatsapp.png b/responsive_web/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/responsive_web/static/description/assets/misc/whatsapp.png differ diff --git a/responsive_web/static/description/assets/modules/module_image (1).gif b/responsive_web/static/description/assets/modules/module_image (1).gif new file mode 100644 index 000000000..c51b9eb07 Binary files /dev/null and b/responsive_web/static/description/assets/modules/module_image (1).gif differ diff --git a/responsive_web/static/description/assets/modules/module_image (3).png b/responsive_web/static/description/assets/modules/module_image (3).png new file mode 100644 index 000000000..3599974eb Binary files /dev/null and b/responsive_web/static/description/assets/modules/module_image (3).png differ diff --git a/responsive_web/static/description/assets/modules/module_image (4).png b/responsive_web/static/description/assets/modules/module_image (4).png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/responsive_web/static/description/assets/modules/module_image (4).png differ diff --git a/responsive_web/static/description/assets/modules/module_image (5).png b/responsive_web/static/description/assets/modules/module_image (5).png new file mode 100644 index 000000000..6bc155887 Binary files /dev/null and b/responsive_web/static/description/assets/modules/module_image (5).png differ diff --git a/responsive_web/static/description/assets/modules/module_image.gif b/responsive_web/static/description/assets/modules/module_image.gif new file mode 100644 index 000000000..591c8b18d Binary files /dev/null and b/responsive_web/static/description/assets/modules/module_image.gif differ diff --git a/responsive_web/static/description/assets/screenshots/1.gif b/responsive_web/static/description/assets/screenshots/1.gif new file mode 100644 index 000000000..ebb6b9a0e Binary files /dev/null and b/responsive_web/static/description/assets/screenshots/1.gif differ diff --git a/responsive_web/static/description/assets/screenshots/1.png b/responsive_web/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..dbb1337f1 Binary files /dev/null and b/responsive_web/static/description/assets/screenshots/1.png differ diff --git a/responsive_web/static/description/assets/screenshots/2.gif b/responsive_web/static/description/assets/screenshots/2.gif new file mode 100644 index 000000000..15741fa70 Binary files /dev/null and b/responsive_web/static/description/assets/screenshots/2.gif differ diff --git a/responsive_web/static/description/assets/screenshots/3.gif b/responsive_web/static/description/assets/screenshots/3.gif new file mode 100644 index 000000000..904fa8091 Binary files /dev/null and b/responsive_web/static/description/assets/screenshots/3.gif differ diff --git a/responsive_web/static/description/assets/screenshots/hero.gif b/responsive_web/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..a0fac5c82 Binary files /dev/null and b/responsive_web/static/description/assets/screenshots/hero.gif differ diff --git a/responsive_web/static/description/banner.png b/responsive_web/static/description/banner.png new file mode 100644 index 000000000..e9d4c79ac Binary files /dev/null and b/responsive_web/static/description/banner.png differ diff --git a/responsive_web/static/description/icon.png b/responsive_web/static/description/icon.png new file mode 100644 index 000000000..21c7f6060 Binary files /dev/null and b/responsive_web/static/description/icon.png differ diff --git a/responsive_web/static/description/index.html b/responsive_web/static/description/index.html new file mode 100644 index 000000000..7d0180645 --- /dev/null +++ b/responsive_web/static/description/index.html @@ -0,0 +1,593 @@ +
+ +
+ +
+
+ Community +
+
+
+ +
+
+
+ +

+ Web Responsive

+

+ This Module Helps to Create Enterprise Like App Drawer, + Responsiveness and Sticky Headers

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module facilitates the creation of an enterprise-like app drawer. + It incorporates features such as responsiveness and sticky headers. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Enterprise App Drawer. +
+
+ + Sticky Statusbar in Form View. +
+
+ + Sticky Header & Footer in List View. +
+
+ + Sticky Pivot Header. +
+
+
+ + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Enterprise App Drawer. +

+ +
+
+

+ Sticky Statusbar in Form View. +

+ +
+
+

+ Sticky Header & Footer in List View. +

+ +
+
+

+ Sticky Pivot Header. +

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/responsive_web/static/src/components/apps_menu/apps_menu.js b/responsive_web/static/src/components/apps_menu/apps_menu.js new file mode 100644 index 000000000..a5b0a4bd9 --- /dev/null +++ b/responsive_web/static/src/components/apps_menu/apps_menu.js @@ -0,0 +1,103 @@ +/** @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 { onMounted } = owl.hooks; +import { patch } from 'web.utils'; +var rpc = require('web.rpc'); + +patch(NavBar.prototype, 'responsive_web/static/src/components/apps_menu/apps_menu.js', { + /** + * @override + */ + setup() { + this._super(); + this._search_def = $.Deferred(); + let { apps, menuItems } = computeAppsAndMenuItems(this.menuService.getMenuAsTree("root")); + this._apps = apps; + this._searchableMenus = menuItems; + onMounted(this.onMounted); + }, + onMounted() { + this.$search_container = $(".search-container"); + this.$search_input = $(".search-input input"); + this.$search_results = $(".search-results"); + this.$app_menu = $(".app-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( + "responsive_web.SearchResults", + { + results: results, + widget: this, + } + ) + ); + }, + OnClickMainMenu() { + if ($('.app_components').css("display") === "none") { + $('.app_components').fadeIn(250); + $('.o_menu_sections').attr('style','display: none !important'); + $('.o_menu_brand').attr('style','display: none !important'); + } else { + $('.app_components').fadeOut(250); + $('.o_menu_sections').attr('style','display: flex !important'); + $('.o_menu_brand').attr('style','display: block !important'); + } + }, + onNavBarDropdownItemSelection(menu){ + if (menu.detail) { + return this._super(...arguments) + } + else { + $('.app_components').css("display","none"); + $('.o_menu_sections').attr('style','display: flex !important'); + const payload = menu + const ev = {detail: {payload}} + return this._super(ev); + } + } +}); diff --git a/responsive_web/static/src/components/apps_menu/link_view.xml b/responsive_web/static/src/components/apps_menu/link_view.xml new file mode 100644 index 000000000..bbad2af39 --- /dev/null +++ b/responsive_web/static/src/components/apps_menu/link_view.xml @@ -0,0 +1,15 @@ + + + diff --git a/responsive_web/static/src/css/main.css b/responsive_web/static/src/css/main.css new file mode 100644 index 000000000..1e61ae61e --- /dev/null +++ b/responsive_web/static/src/css/main.css @@ -0,0 +1,31 @@ +/* Form view sticky header */ +.o_form_sheet_bg .o_form_statusbar{ + position: sticky !important; + top: 0; + z-index: 2; +} +/* List view view sticky header and footer*/ +.o_list_view .table-responsive .o_list_table thead{ + position: sticky; + top: 0; + z-index: 1; +} +.o_list_view .table-responsive .o_list_table tbody{ + top:10px; +} +.o_list_view .table-responsive { + overflow-x: revert; +} +.o_list_renderer .o_list_table > :not(:first-child){ + position: sticky; + bottom: 0; +} +.o_pivot thead { + position:sticky; + top:0; + z-index:1; + background:white; +} +.o_pivot thead tr th{ + outline: 1px solid #dee2e6; +} diff --git a/responsive_web/static/src/css/menu_order.css b/responsive_web/static/src/css/menu_order.css new file mode 100644 index 000000000..707ea423e --- /dev/null +++ b/responsive_web/static/src/css/menu_order.css @@ -0,0 +1,192 @@ +@keyframes fadeIn{ + 0%{ + opacity: 0; + } + 100%{ + opacity: 1; + } +} +o_setting_search { + position: relative; +} + .o_setting_search .searchInput { + height: 28px; + padding: 0px; + border: 0px; + box-shadow: none; + font-weight: 500; +} + .o_setting_search .searchIcon { + color: gray('700'); +} + .search-container.has-results .search-input { + height: 3em; +} + .search-container.has-results .search-results { + height: calc(100% - 3em); + overflow: auto; + margin-top: 10px; +} +.o_setting_search.col-md-10{ + padding: 20px; +} +.app-menu { + width: 100%; + display: flex; + flex-wrap: wrap; + padding-left: calc((100vw - 850px) / 2); + padding-right: calc((100vw - 850px) / 2); + +} +.o-menu-search-result.dropdown-item.col-12.ml-auto.mr-auto { + background-repeat: no-repeat; + background-size: contain; + padding-left: 5.5rem; +} +.form-control { + padding: 0 !important; +} +@media (max-width: 1371px){ +} +@media (max-width:992px) { +} +@media (max-width:400px) { +} +.o_main_navbar .o_menu_brand { + text-decoration: none !important; + margin-left: 10px; +} +.o_navbar .o_main_navbar .dropdown-toggle .dropdown-menu .search-container { + padding-left: calc((100vw - 850px) / 2); + padding-right: calc((100vw - 850px) / 2); + padding-top:20px; + padding-bottom:20px; +} +.o_apps_menu_opened .o_main_navbar .o_menu_brand{ + display:none; +} +.app_components { + position: absolute; + height: 100vh; + width: 100%; + background: #f5f5f5f0; + z-index: 99; + top: 40px; + display:none; + background: url("../../src/img/home-menu-bg-overlay.svg"), linear-gradient(to bottom, #71639e, #b0adba); +} +.app-menu a{ + flex-basis: 19%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + margin-bottom: 23px; +} +o_setting_search { + position: relative; +} + .o_setting_search .searchInput { + height: 28px; + padding: 0px; + border: 0px; + box-shadow: none; + font-weight: 500; +} + .o_setting_search .searchIcon { + color: gray('700'); +} + .search-container.has-results .search-input { + height: 3em; +} + .search-container.has-results .search-results { + height: calc(100% - 3em); + overflow: auto; + margin-top: 10px; +} +.o_setting_search.col-md-10{ + padding: 20px; +} +.app-menu { + width: 100%; + display: flex; + flex-wrap: wrap; + padding-left: calc((100vw - 850px) / 2); + padding-right: calc((100vw - 850px) / 2); +} +.o-menu-search-result.dropdown-item.col-12.ml-auto.mr-auto { + background-repeat: no-repeat; + background-size: contain; + padding-left: 3rem; +} +.form-control { + padding: 0 !important; +} +@media (max-width: 1371px){ +} +@media (max-width:992px) { +} +@media (max-width:400px) { +} +.o_main_navbar .o_menu_brand { + text-decoration: none !important; + margin-left: 10px; +} +.o_navbar .o_main_navbar .dropdown-toggle .dropdown-menu .search-container { + padding-left: calc((100vw - 850px) / 2); + padding-right: calc((100vw - 850px) / 2); + padding-top:20px; + padding-bottom:20px; +} +.o_apps_menu_opened .o_main_navbar .o_menu_brand{ + display:none; +} +.app_components { + position: absolute; + height: 100vh; + width: 100%; + background: #f5f5f5f0; + z-index: 99; + top: 40px; + display:none; + background: url("../../img/home-menu-bg-overlay.svg"), linear-gradient(to bottom, #71639e, #b0adba); +} +.app-menu a{ + flex-basis: 19%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + margin-bottom: 23px; + cursor:pointer; +} +.app_components .search-input{ + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(0, 0, 0, 0.1); + border-radius: 4px; + width:100%; + background-color: rgba(255, 255, 255, 0.1); + margin-bottom:1rem; + text-shadow: 0 1px 0 rgb(0 0 0 / 50%); +} +.o_navbar .o_main_navbar .o_main-menu-button:hover{ + background:rgba(0, 0, 0, 0.08); + cursor: pointer; +} +@media (max-width: 850px) { + .app_components .search-input { + width:90%; + margin:0 auto; + } + .app-menu { + width:90%; + margin:0 auto; + } +} +@media (max-width: 444px) { + .app-menu{ + width:80%; + } + .app-menu a{ + flex-basis: 25%; + } +} diff --git a/responsive_web/static/src/img/home-menu-bg-overlay.svg b/responsive_web/static/src/img/home-menu-bg-overlay.svg new file mode 100644 index 000000000..b9fe251bc --- /dev/null +++ b/responsive_web/static/src/img/home-menu-bg-overlay.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/responsive_web/static/src/xml/PivotCustom.xml b/responsive_web/static/src/xml/PivotCustom.xml new file mode 100644 index 000000000..2ea30d6a9 --- /dev/null +++ b/responsive_web/static/src/xml/PivotCustom.xml @@ -0,0 +1,9 @@ + + + + + + overflow-x:unset + + + diff --git a/responsive_web/static/templates/side_bar.xml b/responsive_web/static/templates/side_bar.xml new file mode 100644 index 000000000..535e4dc4f --- /dev/null +++ b/responsive_web/static/templates/side_bar.xml @@ -0,0 +1,61 @@ + + + + + +
+ +
+
+
+ + + +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+ + + + + + + +
+
+ + +