diff --git a/backend_theme_odoo12/README.rst b/backend_theme_odoo12/README.rst new file mode 100644 index 000000000..3d18b1b9e --- /dev/null +++ b/backend_theme_odoo12/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Blueberry Backend Theme +======================= +Blueberry Backend Theme + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* `Cybrosys Techno Solutions `__ + Author : Sigha CK @Cybrosys V16 + +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 +========== +.. 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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/backend_theme_odoo12/__init__.py b/backend_theme_odoo12/__init__.py new file mode 100644 index 000000000..e3ecdec8d --- /dev/null +++ b/backend_theme_odoo12/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sigha CK (odoo@cybrosys.com) +# +# 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 . +# +############################################################################### diff --git a/backend_theme_odoo12/__manifest__.py b/backend_theme_odoo12/__manifest__.py new file mode 100644 index 000000000..3c3091e2e --- /dev/null +++ b/backend_theme_odoo12/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sigha CK (odoo@cybrosys.com) +# +# 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": "Blueberry Backend Theme", + "version": "16.0.1.0.0", + "category": "Themes/Backend", + "summary": """Backend theme for Odoo 16.0 community edition""", + "description": "Blueberry Backend Theme Is A Ultimate Theme for Odoo 16." + "This Theme Will Give You A New Experience With Odoo", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + "website": "https://www.cybrosys.com", + 'images': [ + 'static/description/banner.png', + 'static/description/theme_screenshot.png' + ], + "depends": [ + 'web', + 'portal' + ], + "assets": { + 'web.assets_backend': [ + '/backend_theme_odoo12/static/src/scss/theme_style_backend.scss', + '/backend_theme_odoo12/static/src/js/search_apps.js', + '/backend_theme_odoo12/static/src/js/sidebar_menu.js', + '/backend_theme_odoo12/static/src/xml/sidebar_menu_templates.xml' + ], + 'web.assets_frontend': [ + 'backend_theme_odoo12/static/src/scss/theme_style.scss' + ], + }, + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/backend_theme_odoo12/doc/RELEASE_NOTES.md b/backend_theme_odoo12/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..220fcfca1 --- /dev/null +++ b/backend_theme_odoo12/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 24.07.2023 +#### Version 16.0.1.0.0 +##### ADD +- Initial Commit for Blueberry Backend Theme diff --git a/backend_theme_odoo12/static/description/assets/icons/chevron.png b/backend_theme_odoo12/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/chevron.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/cogs.png b/backend_theme_odoo12/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/cogs.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/consultation.png b/backend_theme_odoo12/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/consultation.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/ecom-black.png b/backend_theme_odoo12/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/ecom-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/education-black.png b/backend_theme_odoo12/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/education-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/hotel-black.png b/backend_theme_odoo12/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/hotel-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/license.png b/backend_theme_odoo12/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/license.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/lifebuoy.png b/backend_theme_odoo12/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/lifebuoy.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/manufacturing-black.png b/backend_theme_odoo12/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/manufacturing-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/pos-black.png b/backend_theme_odoo12/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/pos-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/puzzle.png b/backend_theme_odoo12/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/puzzle.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/restaurant-black.png b/backend_theme_odoo12/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/restaurant-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/service-black.png b/backend_theme_odoo12/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/service-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/trading-black.png b/backend_theme_odoo12/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/trading-black.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/training.png b/backend_theme_odoo12/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/training.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/update.png b/backend_theme_odoo12/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/update.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/user.png b/backend_theme_odoo12/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/user.png differ diff --git a/backend_theme_odoo12/static/description/assets/icons/wrench.png b/backend_theme_odoo12/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/backend_theme_odoo12/static/description/assets/icons/wrench.png differ diff --git a/backend_theme_odoo12/static/description/banner.png b/backend_theme_odoo12/static/description/banner.png new file mode 100644 index 000000000..3481aee16 Binary files /dev/null and b/backend_theme_odoo12/static/description/banner.png differ diff --git a/backend_theme_odoo12/static/description/icon.png b/backend_theme_odoo12/static/description/icon.png new file mode 100644 index 000000000..6cd5a5cad Binary files /dev/null and b/backend_theme_odoo12/static/description/icon.png differ diff --git a/backend_theme_odoo12/static/description/images/Daco_4075075.png b/backend_theme_odoo12/static/description/images/Daco_4075075.png new file mode 100644 index 000000000..f4b695d40 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/Daco_4075075.png differ diff --git a/backend_theme_odoo12/static/description/images/adv_search1.png b/backend_theme_odoo12/static/description/images/adv_search1.png new file mode 100644 index 000000000..82f28f380 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/adv_search1.png differ diff --git a/backend_theme_odoo12/static/description/images/clipart4258116.png b/backend_theme_odoo12/static/description/images/clipart4258116.png new file mode 100644 index 000000000..192f1ad0f Binary files /dev/null and b/backend_theme_odoo12/static/description/images/clipart4258116.png differ diff --git a/backend_theme_odoo12/static/description/images/datepicker.png b/backend_theme_odoo12/static/description/images/datepicker.png new file mode 100644 index 000000000..ce34659b2 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/datepicker.png differ diff --git a/backend_theme_odoo12/static/description/images/discuss_blue.png b/backend_theme_odoo12/static/description/images/discuss_blue.png new file mode 100644 index 000000000..cc939c786 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/discuss_blue.png differ diff --git a/backend_theme_odoo12/static/description/images/discuss_mobile.png b/backend_theme_odoo12/static/description/images/discuss_mobile.png new file mode 100644 index 000000000..8b555374d Binary files /dev/null and b/backend_theme_odoo12/static/description/images/discuss_mobile.png differ diff --git a/backend_theme_odoo12/static/description/images/form.png b/backend_theme_odoo12/static/description/images/form.png new file mode 100644 index 000000000..f5ec6cb96 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/form.png differ diff --git a/backend_theme_odoo12/static/description/images/hero.png b/backend_theme_odoo12/static/description/images/hero.png new file mode 100644 index 000000000..5d89a3d38 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/hero.png differ diff --git a/backend_theme_odoo12/static/description/images/icons/design.png b/backend_theme_odoo12/static/description/images/icons/design.png new file mode 100644 index 000000000..87c297bdb Binary files /dev/null and b/backend_theme_odoo12/static/description/images/icons/design.png differ diff --git a/backend_theme_odoo12/static/description/images/icons/quality.png b/backend_theme_odoo12/static/description/images/icons/quality.png new file mode 100644 index 000000000..8f128c57f Binary files /dev/null and b/backend_theme_odoo12/static/description/images/icons/quality.png differ diff --git a/backend_theme_odoo12/static/description/images/icons/responsive.png b/backend_theme_odoo12/static/description/images/icons/responsive.png new file mode 100644 index 000000000..aa7f437e3 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/icons/responsive.png differ diff --git a/backend_theme_odoo12/static/description/images/kanban_blue.png b/backend_theme_odoo12/static/description/images/kanban_blue.png new file mode 100644 index 000000000..5cc5f1774 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/kanban_blue.png differ diff --git a/backend_theme_odoo12/static/description/images/kanban_mobile.png b/backend_theme_odoo12/static/description/images/kanban_mobile.png new file mode 100644 index 000000000..57751137f Binary files /dev/null and b/backend_theme_odoo12/static/description/images/kanban_mobile.png differ diff --git a/backend_theme_odoo12/static/description/images/responsive.jpg b/backend_theme_odoo12/static/description/images/responsive.jpg new file mode 100644 index 000000000..92261397b Binary files /dev/null and b/backend_theme_odoo12/static/description/images/responsive.jpg differ diff --git a/backend_theme_odoo12/static/description/images/sidebar.png b/backend_theme_odoo12/static/description/images/sidebar.png new file mode 100644 index 000000000..4b209ed58 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/sidebar.png differ diff --git a/backend_theme_odoo12/static/description/images/tree.png b/backend_theme_odoo12/static/description/images/tree.png new file mode 100644 index 000000000..6f965d1d2 Binary files /dev/null and b/backend_theme_odoo12/static/description/images/tree.png differ diff --git a/backend_theme_odoo12/static/description/index.html b/backend_theme_odoo12/static/description/index.html new file mode 100644 index 000000000..798cd9fd8 --- /dev/null +++ b/backend_theme_odoo12/static/description/index.html @@ -0,0 +1,464 @@ + +
+
+
+

+ Blueberry Backend Theme

+

Clean + & Colorful Backend Theme for + Odoo 16

+
+ +
+
+ + +
+
+
+
+ The app enables a user friendly backend + theme for Odoo 16.0 community edition.
+
+
+
+ + +
+
+
+
+ +
+
Carefully Crafted
+
+
+
+ +
+
Responsive Design
+
+
+
+ +
+
Quality Checked
+
+
+
+ + +
+
+
+

Kanban + View

+

Kanban view with a clean + layout and modified font.

+ +
+
+
+
+
+
+ +
+
+ Colored UI Elements +

Discuss

+

Discuss page with a different + style.

+
+
+
+ +
+
+
+ +
+
+ Responsive + Layout +

Truly Responsive

+

Fully responsive layout which + enables to view and manage everything from the comfort of your + mobile device.

+
+
+
+ + +
+
+
+ Custom + App Drawer +

Modified App Drawer

+

Modified app drawer which helps to + navigate through different applications.

+ +
+ +
+ Custom + Search Option +

Advanced searching option for App menus.

+

Advanced searching option which + provides an easy way to navigate through the different app + menus.

+ +
+
+
+ + +
+
+
+ +
+
+ Colored UI Elements +

Custom Date Picker

+

Customized date picker

+
+
+
+ + +
+
+
+ Colored UI Elements +

Tree View

+

Tree view with a clean layout and + modified font.

+ +
+
+ Colored UI Elements +

Form View

+

Form view with a clean layout and + modified font.

+ +
+
+
+ + +
+
+
+

+ Our Services

+

+ We provide following services

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

+ Our Industries

+

+ Our industry specifics and process segments to solve your + complex business barriers.

+
+
+
+ +
+ Trading +
+

Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

Plan, track and + schedule your operations

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

Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

An + all-inclusive + hotel management application

+
+
+
+
+ + + +
+
+
+

+ Need Help?

+

+ Do you have any queries regarding our products & services? + Let us know.

+
+
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
\ No newline at end of file diff --git a/backend_theme_odoo12/static/description/theme_screenshot.png b/backend_theme_odoo12/static/description/theme_screenshot.png new file mode 100644 index 000000000..f35d8fde0 Binary files /dev/null and b/backend_theme_odoo12/static/description/theme_screenshot.png differ diff --git a/backend_theme_odoo12/static/src/js/search_apps.js b/backend_theme_odoo12/static/src/js/search_apps.js new file mode 100644 index 000000000..b71a9b51d --- /dev/null +++ b/backend_theme_odoo12/static/src/js/search_apps.js @@ -0,0 +1,114 @@ +/** @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,useRef} = owl; +import {patch} from 'web.utils'; +// patch NavaBar for searching apps and contents by extending navbar +patch(NavBar.prototype, 'backend_theme_odoo12/static/src/js/search_apps.js', { + //-------------------------------------------------------------------------- + // Public + //-------------------------------------------------------------------------- + /** + * @override + */ + setup() { + this._super(); + this.side_root = useRef("side_root"); + 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 = $(this.root.el.children.sidebar_panel.querySelector(".search-container")); + this.$search_input = $(this.root.el.children.sidebar_panel.querySelector(".search-input input")); + this.$search_results = $(this.root.el.children.sidebar_panel.querySelector(".search-results")); + this.$app_menu = $(this.root.el.children.sidebar_panel.querySelector(".app-menu")); + }, + /** + * Shows the search results and triggers a search. + */ + _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)); + }, + /** + * Performs a fuzzy search on the available apps and menu items. + */ + _searchMenus: function() { + var query = this.$search_input.val(); + var self = this + if (query === "") { + this.$search_container.removeClass("has-results"); + this.$app_menu.removeClass("o_hidden"); + this.$search_results.empty(); + return; + } + // Search for all apps. + 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, + }); + }); + // Search for all menu items. + 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, + }); + }); + // Render the search results. + this.$search_container.toggleClass("has-results", Boolean(results.length)); + var render = this.$search_results.html( + core.qweb.render( + "backend_theme_odoo12.SearchResults", { + results: results, + widget: this, + }) + ); + // close side bar panel on click + let elements = render[0].querySelectorAll('.search_icons') + for (var i = 0; i < elements.length; i++) { + elements[i].addEventListener('click', function(){ + var ev = self.__owl__.bdom.el.querySelectorAll('#openSidebar .fa')[0] + var $el = $(self.__owl__.bdom.el.querySelectorAll('#sidebar_panel')) + var action = $(self.__owl__.bdom.parentEl.querySelectorAll('.o_action_manager')) + $el.find('.form-control')[0].value = "" + self._searchMenus() + if (!$(ev).hasClass('opened')){ + $el.show() + $(ev).toggleClass('opened') + $el.css({'display':'block'}); + action.css({'margin-left': '320px','transition':'all .1s linear'}); + } + else{ + $el.hide() + $(ev).toggleClass('opened') + $el.css({'display':'none'}); + action.css({'margin-left': '0px'}); + } + }); + } + }, +}); diff --git a/backend_theme_odoo12/static/src/js/sidebar_menu.js b/backend_theme_odoo12/static/src/js/sidebar_menu.js new file mode 100644 index 000000000..54174324a --- /dev/null +++ b/backend_theme_odoo12/static/src/js/sidebar_menu.js @@ -0,0 +1,30 @@ +/** @odoo-module **/ +import { NavBar } from "@web/webclient/navbar/navbar"; +import { patch } from "@web/core/utils/patch"; +// patch navbar for adding new sidebar functionality +patch(NavBar.prototype, 'backend_theme_odoo12', { + setup(){ + return this._super(...arguments); + }, + //toggle sidebar on click + openSidebar(ev){ + var $el = $(ev.target).parents().find('header #sidebar_panel') + var action = $(ev.target).parents().find('body .o_action_manager') + if (!$(ev.target).hasClass('opened')){ + $el.show() + $(ev.target).toggleClass('opened') + $el.css({'display':'block'}); + action.css({'margin-left': '320px','transition':'all .1s linear'}); + } + else{ + $el.hide() + $(ev.target).toggleClass('opened') + $el.css({'display':'none'}); + action.css({'margin-left': '0px'}); + } + }, + clickSidebar(ev){ + var $el = $(ev.target).parents().find('header #sidebar_panel').css({'display':'none'}); + var action = $(ev.target).parents().find('body .o_action_manager').css({'margin-left': '0px'}); + }, +}); diff --git a/backend_theme_odoo12/static/src/scss/theme_style.scss b/backend_theme_odoo12/static/src/scss/theme_style.scss new file mode 100644 index 000000000..64aaf1e0b --- /dev/null +++ b/backend_theme_odoo12/static/src/scss/theme_style.scss @@ -0,0 +1,117 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins'); +body { + font-size: 14px; + font-family: lato, sans-serif +} + +h1, h2, h3, h4, h5, h6 { + margin: 0; + font-family: poppins, sans-serif +} + +p { + font-family: lato, sans-serif; + font-size: 15px; + line-height: 26px; + color: #444; + margin-bottom: 0 +} + +p img { + margin: 0 +} + +a, a:visited { + text-decoration: none; + transition: all .3s ease-in-out; + -webkit-transition: all .3s ease-in-out; + -moz-transition: all .3s ease-in-out; + -o-transition: all .3s ease-in-out; + outline: 0; + font-family: poppins, sans-serif +} + +a:hover { + text-decoration: none +} + +a:focus { + text-decoration: none; + outline: 0 +} + +p a, p a:visited { + line-height: inherit; + outline: 0 +} + +ul, ol { + margin-bottom: 0; + margin-top: 0; + padding: 0 +} + +ul { + margin: 0; + list-style-type: none +} + +ol { + list-style: decimal +} + +ol, ul.square, ul.circle, ul.disc { + margin-left: 0 +} + +ul.square { + list-style: square outside +} + +ul.circle { + list-style: circle outside +} + +ul.disc { + list-style: disc outside +} + +ul ul, ul ol, ol ol, ol ul { + margin: 0 +} + +ul ul li, ul ol li, ol ol li, ol ul li { + margin-bottom: 0 +} + +button { + cursor: pointer; + outline: none !important; + letter-spacing: 0 +} + +blockquote { + padding: 60px; + position: relative; + background: #853bfa +} + +blockquote:before { + content: '\f10d'; + font-family: fontawesome; + color: #fff; + font-size: 32px; + position: absolute; + left: 16px; + top: 46px +} + +blockquote p { + font-size: 17px; + color: #fff +} + +.blockquote-footer { + color: #fff +} + diff --git a/backend_theme_odoo12/static/src/scss/theme_style_backend.scss b/backend_theme_odoo12/static/src/scss/theme_style_backend.scss new file mode 100644 index 000000000..ae4d5c280 --- /dev/null +++ b/backend_theme_odoo12/static/src/scss/theme_style_backend.scss @@ -0,0 +1,1169 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins'); + +body { + font-size: 14px; + font-family: lato, sans-serif +} + +h1, h2, h3, h4, h5, h6 { + margin: 0; + font-family: poppins, sans-serif +} + +p { + font-family: lato, sans-serif; + font-size: 15px; + line-height: 26px; + color: #444; + margin-bottom: 0 +} + +p img { + margin: 0 +} + +a, a:visited { + text-decoration: none; + transition: all .3s ease-in-out; + -webkit-transition: all .3s ease-in-out; + -moz-transition: all .3s ease-in-out; + -o-transition: all .3s ease-in-out; + outline: 0; + font-family: poppins, sans-serif +} + +a:hover { + text-decoration: none +} + +a:focus { + text-decoration: none; + outline: 0 +} + +a { + color: #000000 !important; +} + +a:hover { + color: #4336fb; +} + +p a, p a:visited { + line-height: inherit; + outline: 0 +} + +ul, ol { + margin-bottom: 0; + margin-top: 0; + padding: 0 +} + +ul { + margin: 0; + list-style-type: none +} + +ol { + list-style: decimal +} + +ol, ul.square, ul.circle, ul.disc { + margin-left: 0 +} + +ul.square { + list-style: square outside +} + +ul.circle { + list-style: circle outside +} + +ul.disc { + list-style: disc outside +} + +ul ul, ul ol, ol ol, ol ul { + margin: 0 +} + +ul ul li, ul ol li, ol ol li, ol ul li { + margin-bottom: 0 +} + +input { + font-size: 14px !important; + border: 1px solid rgba(170, 170, 170, .3) !important; + padding: 10.72px 12.8px; + padding: .67rem .8rem; + display: block; + width: 100%; +// height: 37px !important; + padding: 2.375rem .75rem; + font-size: 1rem; + line-height: 1.5; + color: #495057 !important; + background-color: #fff !important; + background-clip: padding-box; + border: 0px solid #ced4da !important; + border-radius: 0 !important; + transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; +} + +button { + cursor: pointer; + outline: none !important; + letter-spacing: 0 +} + +blockquote { + padding: 60px; + position: relative; + background: #853bfa +} + +blockquote:before { + content: '\f10d'; + font-family: fontawesome; + color: #fff; + font-size: 32px; + position: absolute; + left: 16px; + top: 46px +} + +blockquote p { + font-size: 17px; + color: #fff +} + +.blockquote-footer { + color: #fff +} + +/*Menu Bar*/ +.o_main_navbar .cybro-main-menu { + max-height: 100vh; + min-width: 100%; + overflow: auto; + margin-top: 0; + z-index: 99; + height: 100vh; + width: 280px; + overflow-y: scroll; + background: #30363F; + box-shadow: 2px 0 32px rgba(0, 0, 0, .05); + -webkit-transition: all .3s ease 0s; + transition: all .3s ease 0s; + transform: none !important; + border: none; +} + +i.fa.fa-th-large { + font-size: 26px !important; + color: #4336fb !important; + margin-top: 10px; +} + +.cybro-main-menu a.dropdown-item.o_app { + position: relative; + display: block; + color: #8d97ad !important; + font-size: 15px; + text-transform: capitalize; + padding: 15px !important; + letter-spacing: 0; + font-weight: 400; + padding-left: 32px !important; +} + +.cybro-main-menu a.dropdown-item.o_app:hover { + color: #ffffff !important; +} + +.cybro-main-menu a:hover { + color: #fff !important; + background: #343942 !important; +} + +.dropdown-item.active, .dropdown-item:active { + color: #fff !important; + background: #343942; +} + +img.cybro-menuicon { + width: 28px; + margin-right: 10px; +} + +/*//Menu Bar*/ +/*Top bar*/ +.o_main_navbar { + position: relative; + height: 70px; + padding-top: 15px; + border-bottom: 1px solid #d8e3e7; + background-color: #ffffff !important; + color: #333 !important; +} + +.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { + height: 46px; + padding: 0 10px; + color: #333 !important; + line-height: 46px; + transition: .3s all ease; +} + +.o_main_navbar > ul > li > a:hover, .o_main_navbar > ul > li > label:hover { + background: none !important; + border: none; + color: #4336fb !important; +} + +.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar > button:hover, .o_main_navbar > button:focus { + background: none; + color: inherit; + color: #4336fb !important; +} + +.o_main_navbar .show .dropdown-toggle { + background-color: #ffffff !important; + color: #4336fb; +} + +li.o_user_menu a.dropdown-toggle { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + background: -webkit-linear-gradient(left, #8914fe 0%, #8063f5 100%); + background: linear-gradient(to right, #8914fe 0%, #8063f5 100%); + padding: 17px 38px; + color: #fff !important; + height: 70px; + font-size: 16px; + font-family: poppins, sans-serif; + margin-top: -15px; +} + +.o_user_menu a.dropdown-toggle:hover { + border: none; + color: #020202 !important; + background: linear-gradient(to right, #8914fe 0%, #8063f5 100%) !important; +} + +.o_main_navbar .o_user_menu .oe_topbar_avatar { + height: 45px; + transform: translateY(-2px); + margin-right: 9px; +} + +.dropdown-menu a:hover { + color: #4336fb !important; + background: #ffffff !important; +} + +.cybro-main-menu a:hover { + color: #fff !important; + background: #343942 !important; +} + +.btn-primary { + color: #fff; + background-color: #4336fb; + border-color: #4336fb; +} + +.btn { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + user-select: none; + border: 1px solid transparent; + padding: 1rem 1.5rem; + font-size: 1.08333333rem; + line-height: 1.5; + border-radius: 0px; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +.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 { + content: " "; + display: block; + position: absolute; + top: 0; + left: auto; + bottom: auto; + right: -10px; + border-top: 19px solid transparent; + border-bottom: 23px solid transparent; + border-right: none; + border-left: 11px solid white; + transition: border 0.2s ease 0s; + -moz-transform: scale(0.9999); +} + +.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled { + color: #4336fb; + font-size: 11px; + background-color: #e9ecef; + cursor: default; +} + +.o_control_panel { + border-bottom: 1px solid #d8e3e7; +} + +.o_form_view .o_form_statusbar { + border-bottom: 1px solid #d8e3e7; +} + +.o_mail_systray_item .o_notification_counter { + background: #4336fb; +} + +.o_MessagingMenu .o_MessagingMenu_counter { + background: #4336fb; + color: white; +} + +.o_searchview .o_searchview_facet .o_searchview_facet_label { + background-color: #4336fb; +} + +.o_searchview .o_searchview_input { + border: none !important; + padding: 4px 0 0 0; +} + +.o_searchview { + width: 96%; + border-radius: 33px; + border: none; + height: 40px; + padding-left: 20px; + padding-right: 40px; + letter-spacing: 0; + background: #f3eeff !important; + margin-top: 5px; +} + +.o_searchview button.btn-link { + color: #4336fb !important; +} + +.o_searchview_input_container input { + background: #f3eeff !important; + height: 34px; + color: #b1a7a7 !important; +} + +.o_searchview .o_searchview_more { + position: absolute; + top: 11px; + left: auto; + bottom: auto; + right: 14px; + color: #b1a7a7; +} + +.ui-autocomplete .ui-menu-item > a, .show .dropdown-menu .dropdown-item, .show .dropdown-menu .dropdown-header, .navbar-nav .show .dropdown-menu .dropdown-item, .navbar-nav .show .dropdown-menu .dropdown-header { + padding: 3px 20px; + transition: 0s !important; +} + +.ui-autocomplete .ui-menu-item > a:hover { + display: block; + color: #ffffff !important; +} + +.o_searchview_facet { + border-radius: 30px; + border: none !important; + margin: 6px 3px 6px 0 !important; +} + +.o_facet_values { + display: flex; + justify-content: center; + align-items: center; + border-radius: 30px !important; + background: #fff; + border-top-left-radius: 0px !important; + border-bottom-left-radius: 0px !important; +} + +span.o_searchview_facet_label { + border-radius: 30px; + border-top-right-radius: 0px; + border-bottom-right-radius: 0px; + padding: 3px 12px !important; +} + +.o_facet_values span { + padding: 0 2px 0 0px; + font-size: 12px; +} + +/*controll panel*/ + +.o_control_panel { + display: flex; + flex-flow: row wrap; + border-bottom: 1px solid darken($o-control-panel-background-color, 20%); + @include o-webclient-padding($top: 10px, $bottom: 10px); + background-color: $o-control-panel-background-color; + + > .breadcrumb { + width: 50%; + } + + &.o_breadcrumb_full > .breadcrumb { + width: 100%; + } + + > .o_cp_searchview { + width: 40%; + min-height: $o-cp-breadcrumb-height; + } + > .o_cp_left { + display: flex; + justify-content: space-between; + width: 50%; + margin-top: 5px; + } + > .o_cp_right { + display: flex; + width: 60%; + margin-top: 5px; + } +} + +.o_control_panel hr { + flex-basis: 100%; + background: #f0f4f5; +} + +.o_dropdown_menu .o_menu_item > .dropdown-item:hover { + color: #4336fb !important; +} + +.o_control_panel span.o_pager_counter { + font-size: 12px; +} + +.o_control_panel nav.o_cp_pager span.btn-group { + font-size: 12px !important; +} + +.o_control_panel button.fa.fa-chevron-left.btn.btn-secondary.o_pager_previous { + font-size: 12px; + padding-right: 4px; + padding-left: 5px; + padding-bottom: .8rem !important; + padding-top: .8rem !important; +} + +.o_control_panel button.fa.fa-chevron-right.btn.btn-secondary.o_pager_next { + font-size: 12px; + padding-left: 5px; + padding-right: 5px; + padding-bottom: .8rem !important; + padding-top: .8rem !important; +} + +.o_cp_bottom button.btn.btn-secondary.fa { + padding: 11px; + padding-bottom: .8rem !important; + padding-top: .8rem !important; + +} + +.o_cp_bottom button.btn.btn-link { + color: #4336fb; +} + +.o_cp_bottom button.btn.btn-link:hover { + color: #d45741; +} + +.o_cp_bottom button.o_dropdown_toggler_btn.btn.btn-secondary { + box-shadow: 1px 3px 12px 1px #e5e0f3d4; + margin-right: 8px; + padding: .8rem 1rem; + font-size: 12px; +} + +.o_control_panel .o_cp_left { + justify-content: flex-end; +} + +.o_control_panel button.btn.btn-secondary.o_button_import { + border: 1px solid #4336fb; +} + +.o_control_panel .btn-secondary:not(:disabled):not(.disabled):active, .o_control_panel .btn-secondary:not(:disabled):not(.disabled).active, .o_control_panel .show > .btn-secondary.dropdown-toggle { + color: #4336fb; + background-color: #ffffff; + border-color: #4336fb; +} + +.o_control_panel .btn-secondary:hover { + color: #4336fb; + background-color: #ffffff; + border-color: #4336fb; +} + +/*//Controll panel*/ +.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-active { + background: none; + background-color: #4336fb; + color: white; +} + +.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-default:hover { + background: none; + background-color: rgb(133, 53, 252); + border-color: #7C7BAD; + color: white; +} + +/*form header*/ +.o_control_panel.o_breadcrumb_full .o_cp_right { + order: 2; + width: auto; +} + +.o_control_panel.o_breadcrumb_full hr { + flex-basis: 0; +} + +.o_control_panel.o_breadcrumb_full ol.breadcrumb { + order: 1; +} + +.o_control_panel.o_breadcrumb_full .o_cp_left { + order: 3; + width: 58%; + justify-content: space-between; +} + +.o_control_panel.o_breadcrumb_full { + justify-content: space-between; +} + +.o_control_panel.o_breadcrumb_full .o_cp_buttons { + order: 2; +} + +.o_control_panel.o_breadcrumb_full aside.o_cp_sidebar { + order: 1; +} + +/*//Form Header*/ +.ui-autocomplete .ui-menu-item.ui-state-focus { + background-color: #4336fb; + color: #fff !important; +} + +.btn-group.o_date_range_buttons.d-none.d-md-inline-flex.float-right { + float: left !important; + margin-bottom: 5px; +} + +.btn-group.d-none.d-md-inline-block.float-right { + float: left !important; +} + +a.btn.btn-primary { + color: #fff !important; +} + +.btn-primary:hover { + background: #8255f7 !important; + border-color: #8255f7; +} + +.oe_kanban_card.oe_kanban_global_click.o_kanban_record { + box-shadow: 1px 3px 12px 1px #d2c9eab5; + margin-right: 8px; + padding: .8rem 1rem; + font-size: 12px; + border: none !important; +} + +.o_view_controller { + background: #fff; +} + +.o_field_widget.badge.badge-primary { + background: #4336fb; + padding: 5px 8px; + border-radius: 0px !important; +} + +.clearfix.o_form_sheet { + box-shadow: 1px 3px 12px 1px #d2c9eab5; + border: none !important; +} + +.o_form_sheet_bg { + background: #ffffff !important; +} + +ul.nav.nav-tabs li.nav-item a { + padding: 1rem 1rem; +} + +.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { + color: #4336fb !important; + background-color: #ffffff; + border: 1px solid #4336fb; + border-bottom: 0; +} + +.o_form_view .o_horizontal_separator { + color: #000000 !important; + font-weight: 500 !important; +} + +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); + border-radius: 10px; + background-color: #F5F5F5; +} + +::-webkit-scrollbar { + width: 12px; + background-color: #F5F5F5; +} + +::-webkit-scrollbar-thumb { + border-radius: 10px; + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); + background-color: #555; +} + +.o_Discuss_content .o_ThreadView .o_Discuss_thread { + background: #f3eeff; +} + +.o_MessageList { + background: #f3eeff;; +} + +.o_Message { + background: #f3eeff;; +} + +.o_widget_Discuss .o_Discuss .o_DiscussSidebar { + border-top: 1px solid #cccccc; +} +.o_Discuss .o_Discuss_content { + background-color: white; +} + +.o_Discuss .o_DiscussSidebar { + background-color: #ffffff; + width: 300px; + color: #000000; + box-shadow: 13px 9px 21px 20px #f1f1f1; + box-shadow: 12px 0px 4px 6px black; +} + +.o_DiscussSidebarItem.o-active { + background-color: #ffffff; + box-shadow: 1px 3px 12px 1px #e5e0f3d4; +} + +.o_DiscussSidebar_item { + padding: 1rem 16px !important; + margin-bottom: 2px; +} + +.o_DiscussSidebarItem:hover { + background-color: #fff; + color: #4336fb; +} + +.o_DiscussSidebarItem_activeIndicator.o-item-active { + background-color: #ffffff; +} + +.o_DiscussSidebar_groupHeaderItem:hover { + color: #4336fb; +} + +.o_DiscussSidebarItem_commandSettings { + opacity: .5 !important; +} + +.o_DiscussSidebarItem_commandRename { + opacity: .5 !important; +} + +.o_Discuss .o_DiscussSidebar .o_DiscussSidebar_groupHeader .o_add:hover, .o_Discuss .o_DiscussSidebar .o_DiscussSidebar_groupHeader .o_add:focus, .o_Discuss .o_DiscussSidebar .o_DiscussSidebar_groupHeader .o_add.focus { + color: #4336fb; +} + +select { + border-radius: 0 !important; +// height: 37px; +} + +.o_field_monetary.o_field_number.o_input.o_field_widget.o_required_modifier { + border-radius: 0; + height: 43px; +} + +.datepicker .table-sm > tbody > tr > td.active, .datepicker .table-sm > tbody > tr > td .active { + background-color: #4336fb; + border-radius: 0 !important; +} + +.datepicker .table-sm > thead > tr > th { + border-radius: 0; +} + +.datepicker .table-sm > thead { + color: white; + background-color: #4336fb; +} + +.datepicker .table th, .datepicker .table td { + vertical-align: top; + border-top: 1px solid #ffffff; +} + +i.fa:hover { + color: #4336fb !important; +} + +.dropdown-menu.cybro-main-menu.show { + padding: 0 !important; + width: 320px !important; +} + +a.dropdown-item.o_app.cybro-mainmenu { + width: 100% !important; + text-align: left !important; + display: flex; + justify-content: flex-start !important; + align-items: center !important; + flex-direction: row !important; + padding: 1rem 1rem 1rem 2rem !important; +} + +.o_menu_apps .dropdown-menu.show .o-app-icon { + max-width: 3rem !important; + margin-right: 11px; +} + +.cybro-main-menu .input-group { + order: 2; +} + +.cybro-main-menu input.form-control { + order: 1; + border-bottom-left-radius: 30px !important; + border-top-left-radius: 30px !important; + font-size: 12px !important; + border: none !important; + outline: none !important; + color: #495057 !important; + &::placeholder{ + color: #000 !important; + } +} + +.cybro-main-menu .input-group-prepend { + order: 2; +} + +.cybro-main-menu .input-group-prepend { + border-top-right-radius: 30px !important; + border-bottom-right-radius: 30px !important; + background-color: #4336fb !important; + border: none !important; +} + +.cybro-main-menu .search-input .input-group { + background-color: #30363F !important; + box-shadow: none; +} + +.o_menu_apps .dropdown-menu .search-container .search-input .input-group { + box-shadow: none; +} + +.o_menu_apps .dropdown-menu .search-container .search-input .input-group input.form-control { + color: #495057 !important; + background-color: #f3eeff !important; + padding-left: 10px; +} + +.search-input.col-md-10.ml-auto.mr-auto.mb-2 { + margin: 0 !important; + width: 100%; +} + +.cybro-main-menu a.o-menu-search-result.dropdown-item.col-12.ml-auto.mr-auto { + padding-left: 30px !important; + font-size: 12px; + text-align: left !important; + width: 100%; + padding-right: 0px !important; + flex-wrap: wrap; + word-break: normal; + color: #fff !important; + +} + +.cybro-main-menu .search-results.col-md-10.ml-auto.mr-auto { + background: #30353f !important; + margin: 10px 0 !important; +} +.cybro-main-menu .search-results { + background: #30353f !important; + margin: 10px 0 !important; +} + +.o_menu_apps .dropdown-menu.show .form-row { + width: 100%; + margin: 25px 0px 0px 0px !important; +} + +.o_kanban_record { + border: none !important; + box-shadow: 2px 4px 8px 2px rgba(67, 54, 251, .1) !important; +} + +.o_searchview_input_container input { + background: #f3eeff !important; + height: 34px; + color: #b1a7a7 !important; + border-radius: 30px !important; +} + +.o_menu_apps .dropdown-menu .search-container .search-input .input-group .input-group-prepend span.fa { + color: #848484 !important; + font-size: 1.08333333rem; + margin-right: 1rem; + padding-top: 9px; + padding-left: 6px; +} + +@media (min-width: 1200px) { + .o_mail_discuss .o_mail_discuss_content { + margin-left: 218px !important; + } + .o_mail_discuss .o_mail_discuss_sidebar { + width: 218px; + } +} + +.o_MobileMessagingNavbar_tab.o-active { + color: #4336fb; +} + +@media (min-width: 767px) { + ul.o_menu_sections.collapse.show { + margin-top: 24px !important; + } + .o_web_client .o_mobile_search .o_mobile_search_header { + height: 46px; + margin-bottom: 10px; + width: 100%; + background-color: #4336fb !important; + color: white; + } + .o_searchview { + padding-right: 0 !important; + padding-left: 5px !important; + } + + button.o_enable_searchview.btn.fa.fa-search { + float: right !important; + height: 39px !important; + width: 33px !important; + background: #4336fb !important; + color: #fff !important; + border-top-right-radius: 30px !important; + border-bottom-right-radius: 30px !important; + } + .o_control_panel .btn.o_enable_searchview { + margin-left: 2%; + padding: 0px; + float: right; + background: white; + margin-right: -43px; + height: 40px; + border-top-right-radius: 20px; + margin-top: -1px; + border: 1px solid #f3eeff; + padding: 11px; + border-bottom-right-radius: 20px; + } + +} + +.o_Discuss .o_DiscussSidebar .o_DiscussSidebarItem.o_unread_message { + color: #6c757d !important; +} + +.o_Discuss .o_DiscussSidebar .o_DiscussSidebarItem > .badge { + color: white; + background-color: #443dfb !important; +} + +.o_onboarding.o_onboarding_blue .o_onboarding_wrap { + background-color: rgb(136, 63, 254); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(128, 98, 245)), to(#883ffe)); + background-image: -webkit-linear-gradient(top, rgb(136, 63, 254), #8062f5); + background-image: -moz-linear-gradient(top, rgba(96, 171, 195, 0.5), #4187AE); + background-image: -ms-linear-gradient(top, rgba(96, 171, 195, 0.5), #4187AE); + background-image: -o-linear-gradient(top, rgba(96, 171, 195, 0.5), #4187AE); + background-image: linear-gradient(to bottom, rgb(128, 98, 245), #883efd); + box-shadow: inset 0 -7px 20px -5px rgba(0, 0, 0, 0.3); + color: #fff; +} + +.o_onboarding_step_title .mt16 a { + color: #fff !important; +} + +h4.o_onboarding_step_title.mt16 a { + color: #fff !important; +} + +.o_onboarding_step_content_info p { + color: #ececec !important; +} + +.btn-info { + color: #fff !important; + background-color: #717171; + border-color: #717171; +} + +.o_cp_top { + width: 100%; +} +.o_cp_bottom { + width: 100%; +} +.o_menu_apps .dropdown-menu { + position :absolute !important; +} + +#sidebar_panel { + height: calc(100% - 0%); + position: fixed; + background: #30363F; + display: none; + width: 320px; + overflow-y: scroll; + -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ + scrollbar-width: none; /* Hide scrollbar for Firefox */ + z-index: 999; + padding-left: 16px; +} +#sidebar_panel::-webkit-scrollbar { + display: none; /* Hide scrollbar for Chrome, Safari and Opera */ +} +.sidebar_panel .sidebar { + padding: 0; + white-space: normal; + 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; +} +.fa.fa-bars.fa-lg { + padding: 16px; +} +.search_icons > .o-menu-search-result{ + width: 100%; + height: auto; + background-size: contain !important; + background-position: left !important; + background-repeat: no-repeat !important; + margin-top: 5px !important; + margin-bottom: 5px !important; + padding-left: 30px; + font-size: 12px; + white-space: normal; + word-wrap: normal; + line-height: 140%; + + &::before{ + content: '' !important; + } +} +.search-results{ + max-height: calc(100vh - 47px - 6em); + padding-right: 5px; + padding-left: 5px; + overflow-y: scroll; + margin-left: 0px !important; + margin-right: 0px !important; +} +.fa.fa-bars.fa-lg { + padding: 11px; + color: #4336fb; +} +.o_main_navbar .dropdown .dropdown-toggle, .o_main_navbar .o_menu_sections .dropdown .dropdown-toggle, .o_main_navbar .o_menu_systray .dropdown .dropdown-toggle, .o_main_navbar .o_nav_entry, .o_main_navbar .o_menu_sections .o_nav_entry, .o_main_navbar .o_menu_systray .o_nav_entry, .o_main_navbar > .o_menu_sections > div, .o_main_navbar > .o_menu_sections > div > a, .o_main_navbar .o_menu_systray > div, .o_main_navbar .o_menu_systray > div > a, .o_main_navbar .o_menu_toggle, .o_main_navbar .o_navbar_apps_menu, .o_main_navbar .o_menu_brand { + cursor: pointer; + color: black !important; +} +.a_app_menu_title { + color: #fff; +} +.input-group-text{ + padding: 0.8rem 0.6rem 1.0rem; + background-color: #4336fb; +} +.o_searchview .o_searchview_facet .o_facet_remove{ + margin-right: -7px; + margin-top: -3px; +} +.o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::before, .o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::after { + border-bottom: 26px solid transparent; +} +.o_field_statusbar > .o_statusbar_status > .o_arrow_button.o_arrow_button_current.disabled { + background-color: #4336fb; + } + +.o_field_statusbar > .o_statusbar_status > .o_arrow_button.o_arrow_button_current.disabled::after, .o_field_statusbar > .o_statusbar_status > .o_arrow_button.o_arrow_button_current.disabled::before { + border-left-color: #4336fb; +} +.btn-fill-odoo, .btn-odoo { + background-color: #4336fb; +} +.o_main_navbar .o_menu_systray > * > a .badge, .o_main_navbar .o_menu_systray > * > .dropdown > a .badge, .o_main_navbar .o_menu_systray > * > button .badge, .o_main_navbar .o_menu_systray > * > label .badge { + background-color: #4336fb; + border-radius: 20px; + color: #fff; +} +.o_onboarding_step_content.py-3.flex-grow-1.d-flex.flex-column.align-items-center.justify-content-around span { + color: #fff; +} +.custom-control-input:checked ~ .custom-control-label::before,.badge-primary{ + background-color: #4336fb !important; +} + + +.form-check-input{ + appearance: checkbox; + height: 14px !important; + accent-color: #4336fb !important; +} +.o_field_widget.o_field_many2one .o_external_button { + color: #4336fb !important; +} +.btn.btn-secondary.fa.o_external_button.fa-arrow-right { + color: #4336fb !important; +} +.text-success, .o_field_widget .fa.o_toggle_button_success, .o_activity_view .o_activity_summary_cell .o_activity_btn > .badge.planned, .o_mail_activity .o_activity_color_planned, .o_kanban_dashboard.o_account_kanban .o_account_dashboard_header .o_arrow_button.btn-secondary.o_action_done .fa-check { + color: #4336fb !important; +} +.text-bg-primary { + background-color: #4336fb !important; +} +.btn-link{ + color: #4336fb !important; +} +.o-menu-search-result { + color: #fff !important; +} +.o_searchview_facet_label.text-bg-odoo.fa.fa-filter { + background-color: #4336fb !important; +} + +.o_form_view .o_form_label { + line-height: 1.5 !important; +} +.o_form_view .o_input { + padding: 2px 0px; +} + +.o-form-buttonbox .btn.oe_stat_button > .o_button_icon { + color: #4336fb !important; +} +// .oe_grey +.p-2 { + padding: 0.699rem !important; +} +.btn.btn-outline-primary.o_form_button_create { + background-color: #4336fb; + color: #fff; +} +.btn-fill-odoo:disabled, .btn-odoo:disabled, .btn-fill-odoo.disabled, .disabled.btn-odoo { + background-color: #4336fb; +} +.o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector):not(.o_handle_cell):not(.o_list_button):not(.o_list_record_remove) { + padding: 3px; +} +.btn.btn-secondary.btn-sm.float-end.oe_kanban_action.oe_kanban_action_a { + + padding: 1rem 1.3rem; +} +.btn-primary:hover { + background: #4336fb !important; + border-color: #4336fb; +} +.o_progressbar .o_progress .o_progressbar_complete { + background-color: #4336fb !important; +} +.progress-bar { + background-color: #4336fb !important; +} +.o_calendar_renderer .o_calendar_widget .fc-timeGridDay-view .fc-widget-header.fc-today, .o_calendar_renderer .o_calendar_widget .fc-timeGridWeek-view .fc-widget-header.fc-today { + background-color: #4336fb !important; +} +.form-check-label::before{ +box-shadow: none !important; + border-color: var(--text-color) !important; + border-radius: 4px; + box-shadow: -2px 3px 10px #0000000F; + height: 14px; + width: 14px; + margin-right: 15px; +} + +.form-check-input:checked ~ .form-check-label::before{ +background-color:red !important; +border:3px solid red !important; +} +h1 input{ + font-size: inherit !important; +} +.oe_module_action { + flex-wrap: nowrap !important; +} +li.dropdown { + display: flex; +} \ No newline at end of file diff --git a/backend_theme_odoo12/static/src/xml/sidebar_menu_templates.xml b/backend_theme_odoo12/static/src/xml/sidebar_menu_templates.xml new file mode 100644 index 000000000..df033016c --- /dev/null +++ b/backend_theme_odoo12/static/src/xml/sidebar_menu_templates.xml @@ -0,0 +1,91 @@ + + + + + +