diff --git a/artify_backend_theme/README.rst b/artify_backend_theme/README.rst deleted file mode 100755 index e2bf07d12..000000000 --- a/artify_backend_theme/README.rst +++ /dev/null @@ -1,44 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Artify Backend Theme -==================== -* Artify Backend Theme module for Odoo 18 community editions - -Installation -============ - - www.odoo.com/documentation/18.0/administration/install.html - - Install our custom addon - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.odoo.com/documentation/18.0/legal/licenses.html) - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -* `Cybrosys Techno Solutions `__ -* Developer: (V18) ANFAS FAISAL K , Contact: odoo@cybrosys.com - -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/artify_backend_theme/__init__.py b/artify_backend_theme/__init__.py deleted file mode 100644 index add02bee8..000000000 --- a/artify_backend_theme/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from .hooks import init_hooks diff --git a/artify_backend_theme/__manifest__.py b/artify_backend_theme/__manifest__.py deleted file mode 100644 index b0fbef894..000000000 --- a/artify_backend_theme/__manifest__.py +++ /dev/null @@ -1,62 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-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": "Artify Backend Theme", - "description": "Minimalist and elegant backend " - "theme for Odoo 18, Backend Theme", - "summary": "Artify Backend Theme V18 is an attractive theme for backend", - "category": "Themes/Backend", - "version": "1.0", - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - "depends": ['base', 'web', 'mail'], - "data": [ - 'views/icons.xml', - 'views/layout.xml', - ], - 'assets': { - 'web.assets_frontend': [ - 'artify_backend_theme/static/src/scss/login.scss', - ], - 'web.assets_backend': [ - 'artify_backend_theme/static/src/xml/styles.xml', - 'artify_backend_theme/static/src/xml/top_bar.xml', - 'artify_backend_theme/static/src/scss/variables.scss', - 'artify_backend_theme/static/src/scss/navigation_bar.scss', - 'artify_backend_theme/static/src/scss/style.scss', - 'artify_backend_theme/static/src/scss/sidebar.scss', - 'artify_backend_theme/static/src/js/NavBarArtify.js' - ], - }, - 'images': [ - 'static/description/banner.jpg', - 'static/description/theme_screenshot.jpg', - ], - 'license': 'LGPL-3', - 'pre_init_hook': 'init_hooks', - 'post_init_hook': 'init_hooks', - 'installable': True, - 'application': False, - 'auto_install': False, -} diff --git a/artify_backend_theme/doc/RELEASE_NOTES.md b/artify_backend_theme/doc/RELEASE_NOTES.md deleted file mode 100644 index 555ae6f67..000000000 --- a/artify_backend_theme/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,8 +0,0 @@ -## Module - -#### 19.10.2024 - -#### Version 18.0.1.0.0 -#### ADD -- Initial commit for Artify Backend Theme - diff --git a/artify_backend_theme/hooks.py b/artify_backend_theme/hooks.py deleted file mode 100644 index 7956af7ee..000000000 --- a/artify_backend_theme/hooks.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -import base64 -from odoo import tools - - -def process_menu_item(menu): - """ - Process a menu item by updating its web_icon_data. - param: - menu (record): The menu item to process. - """ - menu_list = [ - 'Contacts', 'Link Tracker', 'Dashboards', 'Sales', 'Invoicing', - 'Inventory', 'Purchase', 'Calendar', 'Point of Sale', 'Website', - 'Notes', 'CRM', 'Surveys', 'Project', 'SMS Marketing', - 'Email Marketing', 'Repairs', 'Manufacturing', 'Timesheets', - 'Fleet', 'Lunch', 'Live Chat', 'Maintenance', 'Expenses', 'Time Off', - 'Attendances', 'Recruitment', 'Employees', 'Members', 'eLearning', - 'Events' - ] - if menu.name not in menu_list: - return - img_path = tools.misc.file_path( - f'artify_backend_theme/static/src/img/icons/{menu.name}.png') - with open(img_path, "rb") as img_file: - menu.write({'web_icon_data': base64.b64encode(img_file.read())}) - - -def init_hooks(env): - """ - Initialize hooks by updating the web_icon_data of certain menus. - param: - env (Environment): Odoo environment. - """ - menu_item = env['ir.ui.menu'].search([('parent_id', '=', False)]) - for menu in menu_item: - process_menu_item(menu) diff --git a/artify_backend_theme/static/description/banner.jpg b/artify_backend_theme/static/description/banner.jpg deleted file mode 100644 index a944cc38b..000000000 Binary files a/artify_backend_theme/static/description/banner.jpg and /dev/null differ diff --git a/artify_backend_theme/static/description/icon.png b/artify_backend_theme/static/description/icon.png deleted file mode 100644 index 2c9635d94..000000000 Binary files a/artify_backend_theme/static/description/icon.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/1.png b/artify_backend_theme/static/description/img/1.png deleted file mode 100644 index 59f6c045c..000000000 Binary files a/artify_backend_theme/static/description/img/1.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/2.png b/artify_backend_theme/static/description/img/2.png deleted file mode 100644 index 7c08ed026..000000000 Binary files a/artify_backend_theme/static/description/img/2.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/3.png b/artify_backend_theme/static/description/img/3.png deleted file mode 100644 index 7dd4a6d2c..000000000 Binary files a/artify_backend_theme/static/description/img/3.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/4.png b/artify_backend_theme/static/description/img/4.png deleted file mode 100644 index 00efa83c2..000000000 Binary files a/artify_backend_theme/static/description/img/4.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/5.png b/artify_backend_theme/static/description/img/5.png deleted file mode 100644 index b831b77c9..000000000 Binary files a/artify_backend_theme/static/description/img/5.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/6png.png b/artify_backend_theme/static/description/img/6png.png deleted file mode 100644 index b54f1dc9d..000000000 Binary files a/artify_backend_theme/static/description/img/6png.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/7.png b/artify_backend_theme/static/description/img/7.png deleted file mode 100644 index e97cb4439..000000000 Binary files a/artify_backend_theme/static/description/img/7.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/V-18-GIF.gif b/artify_backend_theme/static/description/img/V-18-GIF.gif deleted file mode 100644 index c1be84d03..000000000 Binary files a/artify_backend_theme/static/description/img/V-18-GIF.gif and /dev/null differ diff --git a/artify_backend_theme/static/description/img/arrows-repeat.svg b/artify_backend_theme/static/description/img/arrows-repeat.svg deleted file mode 100644 index 94fb8f7f9..000000000 --- a/artify_backend_theme/static/description/img/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/banner-bg-1.svg b/artify_backend_theme/static/description/img/banner-bg-1.svg deleted file mode 100644 index 7af9bab87..000000000 --- a/artify_backend_theme/static/description/img/banner-bg-1.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/banner-image.jpg b/artify_backend_theme/static/description/img/banner-image.jpg deleted file mode 100644 index a944cc38b..000000000 Binary files a/artify_backend_theme/static/description/img/banner-image.jpg and /dev/null differ diff --git a/artify_backend_theme/static/description/img/banner.svg b/artify_backend_theme/static/description/img/banner.svg deleted file mode 100644 index 3d4ed7a4a..000000000 --- a/artify_backend_theme/static/description/img/banner.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/check.svg b/artify_backend_theme/static/description/img/check.svg deleted file mode 100644 index 8bc79333d..000000000 --- a/artify_backend_theme/static/description/img/check.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/feature-star.svg b/artify_backend_theme/static/description/img/feature-star.svg deleted file mode 100644 index a913270e8..000000000 --- a/artify_backend_theme/static/description/img/feature-star.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/gear.svg b/artify_backend_theme/static/description/img/gear.svg deleted file mode 100644 index ce383059d..000000000 --- a/artify_backend_theme/static/description/img/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/hire-odoo.svg b/artify_backend_theme/static/description/img/hire-odoo.svg deleted file mode 100644 index 9cfec4e44..000000000 --- a/artify_backend_theme/static/description/img/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/life-ring-icon.svg b/artify_backend_theme/static/description/img/life-ring-icon.svg deleted file mode 100644 index b6c797ba1..000000000 --- a/artify_backend_theme/static/description/img/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/odoo-consultancy.svg b/artify_backend_theme/static/description/img/odoo-consultancy.svg deleted file mode 100644 index c2c27e608..000000000 --- a/artify_backend_theme/static/description/img/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/artify_backend_theme/static/description/img/odoo-licencing.svg b/artify_backend_theme/static/description/img/odoo-licencing.svg deleted file mode 100644 index 8a520b40f..000000000 --- a/artify_backend_theme/static/description/img/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/artify_backend_theme/static/description/img/patter.svg b/artify_backend_theme/static/description/img/patter.svg deleted file mode 100644 index 9b7b0d7cd..000000000 --- a/artify_backend_theme/static/description/img/patter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/puzzle-piece-icon.svg b/artify_backend_theme/static/description/img/puzzle-piece-icon.svg deleted file mode 100644 index ab5e56fa7..000000000 --- a/artify_backend_theme/static/description/img/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/responsive-backend-theme.png b/artify_backend_theme/static/description/img/responsive-backend-theme.png deleted file mode 100644 index 06611d78a..000000000 Binary files a/artify_backend_theme/static/description/img/responsive-backend-theme.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/screenshot-1.svg b/artify_backend_theme/static/description/img/screenshot-1.svg deleted file mode 100644 index 72eeb921b..000000000 --- a/artify_backend_theme/static/description/img/screenshot-1.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/screenshot-2.png b/artify_backend_theme/static/description/img/screenshot-2.png deleted file mode 100644 index e13b876da..000000000 Binary files a/artify_backend_theme/static/description/img/screenshot-2.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/screenshot-3.png b/artify_backend_theme/static/description/img/screenshot-3.png deleted file mode 100644 index be1acdfd5..000000000 Binary files a/artify_backend_theme/static/description/img/screenshot-3.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/screenshot-4.png b/artify_backend_theme/static/description/img/screenshot-4.png deleted file mode 100644 index 1d01e11fc..000000000 Binary files a/artify_backend_theme/static/description/img/screenshot-4.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/screenshot-5.svg b/artify_backend_theme/static/description/img/screenshot-5.svg deleted file mode 100644 index 923e355bf..000000000 --- a/artify_backend_theme/static/description/img/screenshot-5.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/screenshot-img.png b/artify_backend_theme/static/description/img/screenshot-img.png deleted file mode 100644 index a425d9ede..000000000 Binary files a/artify_backend_theme/static/description/img/screenshot-img.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/screenshot-main.png b/artify_backend_theme/static/description/img/screenshot-main.png deleted file mode 100644 index 575f8e676..000000000 Binary files a/artify_backend_theme/static/description/img/screenshot-main.png and /dev/null differ diff --git a/artify_backend_theme/static/description/img/thumbnail-image.jpg b/artify_backend_theme/static/description/img/thumbnail-image.jpg deleted file mode 100644 index 8036990d9..000000000 Binary files a/artify_backend_theme/static/description/img/thumbnail-image.jpg and /dev/null differ diff --git a/artify_backend_theme/static/description/img/translate.svg b/artify_backend_theme/static/description/img/translate.svg deleted file mode 100644 index eea729542..000000000 --- a/artify_backend_theme/static/description/img/translate.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/img/wrench-icon.svg b/artify_backend_theme/static/description/img/wrench-icon.svg deleted file mode 100644 index 4e0ce1d01..000000000 --- a/artify_backend_theme/static/description/img/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/artify_backend_theme/static/description/index.html b/artify_backend_theme/static/description/index.html deleted file mode 100644 index 2afb51427..000000000 --- a/artify_backend_theme/static/description/index.html +++ /dev/null @@ -1,996 +0,0 @@ - - - - - - - app index - - - - - - - - - - -
- - - -
-
-
-
- -
-
-
-
- -
- Supports: -
- Community -
- -
-
-
-
- Availability: -
- Odoo Online -
-
- Odoo.sh -
-
- On Premise -
-
-
-
-
-
- - - - -
-
- -
-
- - - - - - - - - - -
-
-
-
-
-

Our Features

- -

-
-
-
- -
-
- - -
-
-
- -
-
-
-
-
- SETTINGS - - -
- -
-
-
- Apps - -
- -
-
- -
- KANBAN VIEW - -
- -
-
-
- TREE VIEW - -
- -
-
-
- FORM VIEW - -
- -
-
-
-
- - -
-
-
-
-
-
-
- HIGHLIGHT -

Artify Backend Theme Settings

-

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

- - -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Apps

-

Easly accessible apps where it reveals the apps menu on just a click. Moreover, its also fully customisable with Artify backend theme.

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- HIGHLIGHT -

Responsive Layout

-

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

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Attractive User Interface

-

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

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- HIGHLIGHT -

Custom Form view

-

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

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Custom Form view

-

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

- -
-
- Grid item -
- -
-
-
- - -
-
-
-
- -
- - -
- - - - - - - -
-
-
-
-

- Fully Responsive
- Layout. -

- -
-

Now take advantage of everything your dashboard has to offer even on the go. Our - design are now fully responsive, enabling you to view and manage everything from the comfort of your - mobile device.

-
    -
  • Fully responsive
  • -
  • Fly-out hamburger menu on the left
  • -
  • Fits perfectly to all screen sizest
  • -
  • Quick access menu at the bottom in discuss
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- - - -
-
-
-
-
- -
- -
-
-
-
-

- Kanban View
- Layout -

- -
-

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

-
    -
  • Stages are Separated in View
  • -
  • New Color Combination
  • -
  • Modified Font
  • -
  • Clean Layout
  • -
  • Buttons with New Colors
  • -
  • Full Screen View
  • -
-
-
-
- -
-
- -
-
-
-
-

- List View
- Layout -

- -
-

Artify Backend Theme V18 Gives You The Fully Modified List View. This Table Design Gives You More Beauty for Your Odoo Backend. It will Give You a Clean Layout with the New Color Combination and a Modified Font.

-
    -
  • List View
  • -
  • Stages are Separated in View
  • -
  • New Color Combination
  • -
  • Modified Font
  • -
  • Clean Layout
  • -
  • Buttons with New Colors
  • -
  • Full Screen View
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- - -
-
-
-
-
- -
- -
-
-
-
-

- Form View
- Layout -

- -
-

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

-
    -
  • Modified Form Style
  • -
  • New Style for Required Field
  • -
  • Full Screen Form View
  • -
  • New Chatter Style Under Form View
  • -
  • New Looks for Tabs
  • -
  • New Looks for Status Button
  • -
-
-
-
- -
-
- - - - - - - - - -
- - - - - - - - \ No newline at end of file diff --git a/artify_backend_theme/static/description/theme_screenshot.jpg b/artify_backend_theme/static/description/theme_screenshot.jpg deleted file mode 100644 index 8036990d9..000000000 Binary files a/artify_backend_theme/static/description/theme_screenshot.jpg and /dev/null differ diff --git a/artify_backend_theme/static/src/img/code_logo.png b/artify_backend_theme/static/src/img/code_logo.png deleted file mode 100644 index 124152a05..000000000 Binary files a/artify_backend_theme/static/src/img/code_logo.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/form_view.jpg b/artify_backend_theme/static/src/img/form_view.jpg deleted file mode 100644 index 23b97be4b..000000000 Binary files a/artify_backend_theme/static/src/img/form_view.jpg and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Attendances.png b/artify_backend_theme/static/src/img/icons/Attendances.png deleted file mode 100644 index fc76628ea..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Attendances.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/CRM.png b/artify_backend_theme/static/src/img/icons/CRM.png deleted file mode 100644 index cd697f6bc..000000000 Binary files a/artify_backend_theme/static/src/img/icons/CRM.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Calendar.png b/artify_backend_theme/static/src/img/icons/Calendar.png deleted file mode 100644 index 4bd9e08bf..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Calendar.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Contacts.png b/artify_backend_theme/static/src/img/icons/Contacts.png deleted file mode 100644 index d76aab093..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Contacts.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Dashboards.png b/artify_backend_theme/static/src/img/icons/Dashboards.png deleted file mode 100644 index 698996340..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Dashboards.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Email Marketing.png b/artify_backend_theme/static/src/img/icons/Email Marketing.png deleted file mode 100644 index 117d7d323..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Email Marketing.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Employees.png b/artify_backend_theme/static/src/img/icons/Employees.png deleted file mode 100644 index 9dc8f5c63..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Employees.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Expenses.png b/artify_backend_theme/static/src/img/icons/Expenses.png deleted file mode 100644 index 4450dfbff..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Expenses.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Fleet.png b/artify_backend_theme/static/src/img/icons/Fleet.png deleted file mode 100644 index 8d5ebded2..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Fleet.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Inventory.png b/artify_backend_theme/static/src/img/icons/Inventory.png deleted file mode 100644 index 3aa14202a..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Inventory.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Invoicing.png b/artify_backend_theme/static/src/img/icons/Invoicing.png deleted file mode 100644 index fed5cf7c1..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Invoicing.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Link Tracker.png b/artify_backend_theme/static/src/img/icons/Link Tracker.png deleted file mode 100644 index 1efeafaa9..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Link Tracker.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Live Chat.png b/artify_backend_theme/static/src/img/icons/Live Chat.png deleted file mode 100644 index 644c0c025..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Live Chat.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Lunch.png b/artify_backend_theme/static/src/img/icons/Lunch.png deleted file mode 100644 index 21fb08b15..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Lunch.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Maintenance.png b/artify_backend_theme/static/src/img/icons/Maintenance.png deleted file mode 100644 index ba3cffaba..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Maintenance.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Manufacturing.png b/artify_backend_theme/static/src/img/icons/Manufacturing.png deleted file mode 100644 index a55ad8483..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Manufacturing.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Members.png b/artify_backend_theme/static/src/img/icons/Members.png deleted file mode 100644 index bea078226..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Members.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Notes.png b/artify_backend_theme/static/src/img/icons/Notes.png deleted file mode 100644 index 59ef13ce6..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Notes.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Point of Sale.png b/artify_backend_theme/static/src/img/icons/Point of Sale.png deleted file mode 100644 index 19b42a644..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Point of Sale.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Project.png b/artify_backend_theme/static/src/img/icons/Project.png deleted file mode 100644 index bf5001fee..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Project.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Purchase.png b/artify_backend_theme/static/src/img/icons/Purchase.png deleted file mode 100644 index b0383fe0d..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Purchase.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Recruitment.png b/artify_backend_theme/static/src/img/icons/Recruitment.png deleted file mode 100644 index 9afed7b40..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Recruitment.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Repairs.png b/artify_backend_theme/static/src/img/icons/Repairs.png deleted file mode 100644 index 4ee6967c2..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Repairs.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/SMS Marketing.png b/artify_backend_theme/static/src/img/icons/SMS Marketing.png deleted file mode 100644 index cbe445ea0..000000000 Binary files a/artify_backend_theme/static/src/img/icons/SMS Marketing.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Sales.png b/artify_backend_theme/static/src/img/icons/Sales.png deleted file mode 100644 index 3d99039bd..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Sales.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Surveys.png b/artify_backend_theme/static/src/img/icons/Surveys.png deleted file mode 100644 index 5df41ed33..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Surveys.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Time Off.png b/artify_backend_theme/static/src/img/icons/Time Off.png deleted file mode 100644 index c55a9d367..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Time Off.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Timesheets.png b/artify_backend_theme/static/src/img/icons/Timesheets.png deleted file mode 100644 index cca179874..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Timesheets.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/Website.png b/artify_backend_theme/static/src/img/icons/Website.png deleted file mode 100644 index 6be3c375d..000000000 Binary files a/artify_backend_theme/static/src/img/icons/Website.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/apps.png b/artify_backend_theme/static/src/img/icons/apps.png deleted file mode 100644 index adb73fb34..000000000 Binary files a/artify_backend_theme/static/src/img/icons/apps.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/close.png b/artify_backend_theme/static/src/img/icons/close.png deleted file mode 100644 index a9413831d..000000000 Binary files a/artify_backend_theme/static/src/img/icons/close.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/discuss.png b/artify_backend_theme/static/src/img/icons/discuss.png deleted file mode 100644 index e3e34dbbe..000000000 Binary files a/artify_backend_theme/static/src/img/icons/discuss.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/eLearning.png b/artify_backend_theme/static/src/img/icons/eLearning.png deleted file mode 100644 index e022e6cf5..000000000 Binary files a/artify_backend_theme/static/src/img/icons/eLearning.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/monitor.png b/artify_backend_theme/static/src/img/icons/monitor.png deleted file mode 100644 index 80e391ccb..000000000 Binary files a/artify_backend_theme/static/src/img/icons/monitor.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/icons/settings.png b/artify_backend_theme/static/src/img/icons/settings.png deleted file mode 100644 index 0d3087a9c..000000000 Binary files a/artify_backend_theme/static/src/img/icons/settings.png and /dev/null differ diff --git a/artify_backend_theme/static/src/img/login-bg.jpg b/artify_backend_theme/static/src/img/login-bg.jpg deleted file mode 100644 index 1df614b00..000000000 Binary files a/artify_backend_theme/static/src/img/login-bg.jpg and /dev/null differ diff --git a/artify_backend_theme/static/src/img/sale_quotation.jpg b/artify_backend_theme/static/src/img/sale_quotation.jpg deleted file mode 100644 index 88aaf4052..000000000 Binary files a/artify_backend_theme/static/src/img/sale_quotation.jpg and /dev/null differ diff --git a/artify_backend_theme/static/src/img/sidebar.jpg b/artify_backend_theme/static/src/img/sidebar.jpg deleted file mode 100644 index 8a0de761a..000000000 Binary files a/artify_backend_theme/static/src/img/sidebar.jpg and /dev/null differ diff --git a/artify_backend_theme/static/src/js/NavBarArtify.js b/artify_backend_theme/static/src/js/NavBarArtify.js deleted file mode 100644 index 3a567f1f8..000000000 --- a/artify_backend_theme/static/src/js/NavBarArtify.js +++ /dev/null @@ -1,72 +0,0 @@ -/** @odoo-module */ - -import { NavBar } from '@web/webclient/navbar/navbar'; -import { patch } from "@web/core/utils/patch"; -import { useRef,onMounted } from "@odoo/owl"; - -patch(NavBar.prototype, { - setup() { - super.setup(); - this.SideBarPanel = useRef("sidebar_panel"); - this.openSidebar = useRef("openSidebar"); - this.closeSidebar = useRef("closeSidebar"); - this.topHeading = useRef("top_heading"); - this.mainNavBar = useRef("o_main_navbar"); - onMounted(()=>{ - // Using querySelector to find the element with the class '.o_action_manager'. - // This is a common approach when dealing with class-based selection. - // Important: Ensure that the element with the class '.o_action_manager' exists in the DOM. - this.actionManager = document.querySelector('.o_action_manager'); - }) - }, - - // Method: onClickOpenMenu - // Description: Handles the click event to open the menu. - onClickOpenMenu(event){ - // Show necessary elements when opening the menu. - this.closeSidebar.el.style.display = 'block' - this.openSidebar.el.style.display = 'none' - this.SideBarPanel.el.style.display = 'block' - - // Adjust styles for the action manager and top heading. - this.actionManager.style.marginLeft = '200px'; - this.actionManager.style.transition = 'all 0.1s linear'; - this.topHeading.el.style.marginLeft = '200px'; - this.topHeading.el.style.transition = 'all 0.1s linear'; - this.topHeading.el.style.width = 'auto'; - }, - - // Method: onClickCloseMenu - // Description: Handles the click event to close the menu. - onClickCloseMenu(event){ - // Show necessary elements when closing the menu - this.openSidebar.el.style.display = 'block'; - this.closeSidebar.el.style.display = 'none'; - this.SideBarPanel.el.style.display = 'none'; - - // Reset styles for the action manager and top heading. - this.actionManager.style.marginLeft = '0px'; - this.actionManager.style.transition = 'all 0.1s linear'; - this.topHeading.el.style.marginLeft = '0px'; - this.topHeading.el.style.transition = 'all 0.1s linear'; - this.topHeading.el.style.width = 'auto'; - - }, - - // Method: onClickMenuItem - // Description: Handles the click event for menu items. - onClickMenuItem(menu){ - // Hide the sidebar panel and reset styles for the action manager and top heading. - if (menu) { - this.menuService.selectMenu(menu); - this.SideBarPanel.el.style.display = 'none'; - this.actionManager.style.marginLeft = '0px' - this.topHeading.el.style.marginLeft = '0px'; - this.topHeading.el.style.transition = 'all .1s linear'; - this.topHeading.el.style.width = 'auto'; - this.closeSidebar.el.style.display = 'none'; - this.openSidebar.el.style.display = 'block'; - } - } - -}); diff --git a/artify_backend_theme/static/src/scss/login.scss b/artify_backend_theme/static/src/scss/login.scss deleted file mode 100644 index 62c69ce39..000000000 --- a/artify_backend_theme/static/src/scss/login.scss +++ /dev/null @@ -1,52 +0,0 @@ -// -main { - width: 100%; - background-repeat: no-repeat; - background-size: cover; -} - -//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; -} - -.o_frontend_to_backend_nav .o_frontend_to_backend_apps_menu{ - box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05); - padding: 10px 10px; - border-top: 3px solid #f88181 !important; - border-radius: 7px 7px 3px 3px; - overflow: auto; -} diff --git a/artify_backend_theme/static/src/scss/navigation_bar.scss b/artify_backend_theme/static/src/scss/navigation_bar.scss deleted file mode 100644 index fe15dd3d8..000000000 --- a/artify_backend_theme/static/src/scss/navigation_bar.scss +++ /dev/null @@ -1,21 +0,0 @@ -.o_main_navbar{ -background-color:$primary_color !important;} - -.o-mail-DiscussSystray-class > button { - color: black !important; -} -.o_menu_systray > button { - color: black !important; -} -.o_debug_manager > button{ - color: black !important; -} -.o_menu_sections_more > button{ - color: black !important; -} -.o_menu_toggle{ - color: black !important; - } -.o_last_breadcrumb_item{ - color: black !important; - } \ No newline at end of file diff --git a/artify_backend_theme/static/src/scss/sidebar.scss b/artify_backend_theme/static/src/scss/sidebar.scss deleted file mode 100644 index e2880f48e..000000000 --- a/artify_backend_theme/static/src/scss/sidebar.scss +++ /dev/null @@ -1,136 +0,0 @@ -#sidebar_panel { - - height: calc(100% - 0%); - position: fixed; - top: 0px; - background-color:#dedde1; - display: none; - width: 200px; - overflow-y: scroll; - -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ - scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 999; - border:1px solid; - border-color:transparent; - border-right-color: $secondary_color; -} -#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_logo { - padding-top: 20px; - text-align: center; - padding-bottom: 20px; -} -.sidebar_panel .sidebar .sidebar_logo img { - max-width: 150px; -} - -.sidebar_panel .sidebar .sidebar_head { - padding-top: 20px; - padding-left: 15px; - color: #6a7187; - font-size: 14px; -} - -.sidebar_panel .sidebar .sidebar_menu { - list-style: none; - margin: 0; - padding: 0; -} - -.sidebar_panel .sidebar .sidebar_menu li { - margin: 0; - padding: 0; - border: 0px; - display: block; -} - -.sidebar_panel .sidebar .sidebar_menu li a { - margin: 0; - border: 0px; - display: block; - cursor: pointer; - overflow: hidden; - padding: 8px 10px 8px 25px; - color: $secondary_color; - font-size: 14px; - transition:.3s all; -} -.sidebar_panel .sidebar .sidebar_menu li:hover a { - background: #1e2230; - color: #fff; -} -.sidebar_panel .nav-link { - opacity: .5; - transition:.3s all; -} -.sidebar_panel .sidebar a.nav-link.active { - color: #626262 !important; - opacity: 1; -} - -.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { - width: 20px; - margin-right: 8px; -} - -.navbar-toggler span { - display: block; - background-color: $secondary_color; - height: 3px; - width: 22px; - margin-top: 4px; - border-radius: 2px; - margin-bottom: 5px; - position: relative; - left: 0; - opacity: 1; - transition: all 0.35s ease-out; - transform-origin: center left; -} -/* top line needs a little padding */ -.navbar-toggler span:nth-child(1) { - margin-top: 0.3em; -} -/** - * Animate collapse into X. - */ -/* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */ -.navbar-toggler:not(.collapsed) span:nth-child(1) { - transform: translate(15%, -33%) rotate(45deg); -} -/* center line goes transparent */ -.navbar-toggler:not(.collapsed) span:nth-child(2) { - opacity: 0; -} -/* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button */ -.navbar-toggler:not(.collapsed) span:nth-child(3) { - transform: translate(15%, 33%) rotate(-45deg); -} -/** - * Animate collapse open into hamburger menu - */ -/* top line moves back to initial position and rotates back to 0 degrees */ -.navbar-toggler span:nth-child(1) { - transform: translate(0%, 0%) rotate(0deg); -} -/* middle line goes back to regular color and opacity */ -.navbar-toggler span:nth-child(2) { - opacity: 1; -} -/* bottom line goes back to initial position and rotates back to 0 degrees */ -.navbar-toggler span:nth-child(3) { - transform: translate(0%, 0%) rotate(0deg); -} - - - - diff --git a/artify_backend_theme/static/src/scss/style.scss b/artify_backend_theme/static/src/scss/style.scss deleted file mode 100644 index 55a271e02..000000000 --- a/artify_backend_theme/static/src/scss/style.scss +++ /dev/null @@ -1,1539 +0,0 @@ -@font-face { - font-family: "Nunito Sans", sans-serif; - src: url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap"); -} - -body { - font-family: "Nunito Sans", sans-serif !important; - color: #202121 !important; - - * { - list-style-type: none; - } -} - -.o_web_client { - background: #f4f7f6 !important; -} - -.navbar-toggler { - padding: 0.75rem 1.5rem; -} - -.top_heading { - display: flex; - - ul { - li { - list-style: none !important; - - span { - color: $secondary_color !important; - } - } - } - - div { - span { - color: $secondary_color !important; - text-transform: uppercase !important; - font-weight: normal; - font-size: 13px !important; - padding: 5px; - - @media screen and(max-width:992px) { - padding: 0px 5px !important; - } - - &:hover { - color: $sub_color2 !important; - background: #ced4da !important; - } - } - } - - .o_nav_entry { - color: $secondary_color !important; - text-transform: uppercase !important; - font-weight: normal; - font-size: 13px !important; - - @media screen and(max-width:992px) { - padding: 0px 5px !important; - } - - &:hover { - color: $sub_color2 !important; - background: transparent !important; - } - } -} - -.o_form_button_save { - // background-color: #3fb0ac; - // border-radius: 0; - font-size: 13px; - border: 1px solid #35a7a369 !important; - text-transform: uppercase !important; - padding: 6px 12px !important; - margin-left: 3px; - - &:hover { - background-color: white !important; - color: $secondary_color !important; - } -} - -.o_form_button_cancel { - font-size: 13px; - padding: 6px 12px !important; - border-color: #ffbcbc; - margin-left: 5px; -} - -.o_statusbar_buttons, -.o_DiscussSidebar { - .btn-primary { - background-color: #3fb0ac; - font-size: 11px; - border-radius: 3px !important; - border-color: #3fb0ac; - border: 1px solid !important; - border-color: #3fb0ac !important; - text-transform: uppercase !important; - padding: 7px 10px !important; - - &:hover { - background-color: white !important; - color: $secondary_color !important; - } - } - - .btn-secondary { - font-size: 12px; - padding: 6px 10px !important; - border-color: #3fb0ac; - border-radius: 5px; - } -} - -.o_control_panel { -// padding: 0px 30px; - - .o_control_panel_main { -// margin-top: 20px; - - .btn-secondary { - color: #202121; - background-color: transparent; - border-color: #202121 !important; -// height: 35px !important; - - &:hover { - color: #f88181 !important; - border-color: #f88181 !important; - } - - &.active { - color: #fff !important; - background-color: #f88181 !important; - border-color: #f88181 !important; - } - } - - .o_control_panel_breadcrumbs { -// width: 45% !important; - } - - .o_control_panel_navigation { -// width: 55% !important; -// height: 84px; - - .btn-group { - gap: 1px !important; - } - } - } - - .o_cp_pager { - .btn-secondary { - display: inline-block; -// width: 34px; -// height: 34px; - border: 1px solid; - border-radius: 50% !important; - cursor: pointer; - transition: all 0.3s ease-in-out; - border-color: #202121; - opacity: 1 !important; - - &:hover { - color: #f88181 !important; - border-color: #f88181 !important; - } - } - - .o_pager_previous { - margin-right: 10px; - } - } - - .o_breadcrumb { - font-size: 20px !important; - } -} - -.o_searchview .o_searchview_facet .o_searchview_facet_label { - background-color: #3fb0ac; - border-color: none; -} - -.o_searchview .o_searchview_facet { - border: none; -} - -.o_searchview { - position: relative; - background-color: white; - border-radius: 3px; - padding: 5px 25px 5px 5px; -} - -.o_searchview .o_searchview_icon { - top: 10px !important; - left: auto; - bottom: auto; - right: 9px !important; -} - -.o_control_panel>div { - margin: 15px 0px !important; -} - -.o_onboarding .o_onboarding_step .o_onboarding_step_content .o_onboarding_step_action { - font-size: 14px !important; - font-weight: 500 !important; -} - -.o_onboarding.o_onboarding_violet { - background-image: url(/artify_backend_theme/static/src/img/sale_quotation.jpg) !important; - background-size: cover !important; -} - -.o_onboarding_wrap { - padding: 40px 16px !important; -} - -.o_onboarding.o_onboarding_violet .o_onboarding_wrap { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%) !important; - background-color: transparent !important; -} - -.o_list_table { - thead { - tr { - th { - color: black; - } - } - } -} - -.ui-sortable { - tr { - td { - font-size: 13px !important; - vertical-align: middle !important; - } - } -} - -.bg-info-light { - background-color: #3fb0ac !important; -} - -.o_main_navbar { - height: auto; - padding: 8px 0px; - padding-left: 1px; - background: transparent !important; -} - -.o_field_number { - color: $secondary_color !important; - font-size: 15px !important; - font-weight: 700; -} - -.o_control_panel .breadcrumb>li { - text-transform: uppercase !important; - - a { - color: $secondary_color !important; - } -} - -.o_form_view .oe_button_box { - padding: 8px 10px !important; -} - -.o_form_view .o_form_statusbar>.o_statusbar_status>.o_arrow_button.btn-primary.disabled { - background-color: #3fb0ac !important; -} - -.o_form_view .o_form_statusbar>.o_statusbar_status>.o_arrow_button.btn-primary.disabled::before { - border-left-color: #3fb0ac !important; -} - -.o_form_view .o_form_statusbar>.o_statusbar_status>.o_arrow_button.btn-primary.disabled::after { - border-left-color: #3fb0ac !important; -} - -.o_form_view .o_form_statusbar { - padding: 15px !important; - margin-bottom: 40px !important; - margin-top: -45px !important; -} - -.o_form_view .o_form_sheet_bg>.o_form_sheet { - border-radius: 8px !important; - border: none !important; - margin-top: 0px !important; - margin-bottom: 60px !important; - max-width: 1500px !important; - - @media screen and(max-width:992px) { - margin: 50px !important - } -} - -.o_form_view .o_form_sheet_bg { - background: url(/artify_backend_theme/static/src/img/form_view.jpg) !important; - padding-top: 45px !important; -} - -.o_field_widget.o_datepicker .o_datepicker_button { - top: 10px !important; - right: 10px !important; -} - -.o_form_view .o_row { - width: 103% !important; - margin: 0 !important; -} - -.o_form_view .o_form_label { - color: $secondary_color !important; - font-size: 15px; -} - -.nav { - justify-content: start !important; -} - -.o_form_view .o_notebook { - margin-top: 40px !important; -} - -.ui-autocomplete .ui-menu-item.o_m2o_dropdown_option>a { - color: $secondary_color !important; -} - -.nav-tabs .nav-link { - color: $secondary_color !important; - font-size: 15px !important; -} - -.nav-tabs .nav-link.active { - font-size: 17px !important; - font-weight: normal; - border-bottom-color: white !important; - border-bottom-width: 2px !important; -} - -td { - a { - color: $secondary_color !important; - } -} - -.o_form_view .oe_button_box .btn.oe_stat_button { - height: auto !important; -} - -.o_form_view .oe_button_box .btn.oe_stat_button>.o_stat_info, -.o_form_view .oe_button_box .btn.oe_stat_button>span { - margin-bottom: 0px !important; -} - -.bg-light, -.o-mail-DiscussSidebar { - background-size: cover; - background-position: center; - background-image: linear-gradient(#eff8f3c2, #f2ebebd4), url(/artify_backend_theme/static/src/img/sidebar.jpg); -} - -.o_DiscussSidebarMailbox { - color: #efefef; - padding: 10px 15px; - - .o_DiscussSidebarMailbox_item { - margin-left: 8px; - } - - .o_ThreadIcon { - font-size: 15px; - } -} - -.o_DiscussSidebarMailbox:hover { - color: black; -} - -.o_DiscussSidebarMailbox.o-active { - background: transparent; - color: #f88181; - font-weight: 700; -} - -.o_DiscussSidebarCategory_title { - font-size: 16px; - font-weight: 700; - color: white; -} - -.o_DiscussSidebarCategory_header { - margin: 12px 15px; -} - -.o_DiscussSidebarCategory_title { - font-size: 16px; - font-weight: 700; - color: white !important; - letter-spacing: 1px; -} - -.o_DiscussSidebarCategory_command { - color: white !important; -} - -.o_DiscussSidebarCategory_item { - color: #ffffffab !important; -} - -.o_DiscussSidebarCategoryItem_command:not(:hover) { - color: black !important; -} - -.o_ThreadViewTopbar { - height: 57.25px; - color: black; - letter-spacing: 1px; -} - -.o-mail-Thread { - margin: 30px; - box-shadow: 0px 0px 6px 4px #d9d7d769 !important; - border-radius: 5px; -} - -.o_Message_prettyBody { - p { - a { - background-color: #875a7b; - background-color: #3fb0ac !important; - font-size: 11px; - border-radius: 0 !important; - border-color: #3fb0ac; - border: 1px solid !important; - border-color: #3fb0ac !important; - text-transform: uppercase !important; - padding: 7px 10px !important; - } - } -} - -.o-mail-Message.o-mail-Message-active { - padding: 15px; -} - -.o-mail-Message-avatarContainer { - margin-top: 20px; -} - -.o-mail-Message-core { - padding-top: 20px; - padding-bottom: 20px; -} - -.o-mail-Message { - margin-left: 15px; - margin-right: 15px; - border-radius: 8px; - box-shadow: 0px 0px 6px 4px rgba(242, 242, 242, 1) !important; -} - -.sidebar_panel { - height: calc(100% - 0%); - position: fixed; - top: 0px; - // background-image: linear-gradient(to right top, #051937, #39235a, #7a1d69, #bb0060, #eb123e) !important; - display: none; - width: 200px !important; - overflow-y: scroll; - -ms-overflow-style: none; - scrollbar-width: none; - z-index: 999; - border: 1px solid; - border-color: transparent; - border-right-color: #173e43; - - @media screen and(max-width:992px) { - border: none !important; - box-shadow: 5px -1px 11px 0px rgba(245, 245, 245, 0.58); - } - - .sidebar { - .sidebar_logo { - padding-left: 25px; - text-align: left !important; - } - - .sidebar_head { - padding-top: 25px !important; - padding-left: 25px !important; - color: #202121 !important; - font-size: 25px !important; - padding-bottom: 10px !important; - font-weight: bold !important; - } - - .sidebar_menu li a { - display: block !important; - padding: 24px 36px !important; - font-size: 16px !important; - font-weight: bold !important; - color: #202121 !important; - cursor: pointer !important; - border-bottom: 1px solid #e6eaea !important; - opacity: 1; - - &:hover { - background: #f4f7f6 !important; - } - } - } -} - -.btn-primary { - background-color: #3fb0ac; - border-radius: 5px !important; - border-color: #3fb0ac; - text-transform: uppercase !important; - border: 1px solid !important; - border-color: #3fb0ac !important; - &:hover { - background-color: white !important; - color: $secondary_color !important; - } -} - -.badge-primary { - background-color: #3fb0ac; - font-size: 11px; - border-radius: 0 !important; - border-color: #3fb0ac; - border: 1px solid !important; - border-color: #3fb0ac !important; - text-transform: uppercase !important; - padding: 7px 10px !important; - font-weight: 400; - - &:hover { - background-color: white !important; - color: $secondary_color !important; - } -} - -.o_main_navbar .o_menu_sections { - margin: auto; -} - -.o_Message_content *:not(li) { - max-width: 100%; - overflow-x: visible; -} - -.o_Message_prettyBody p a { - padding: 4px 10px !important; - color: white; -} - -.o_Message_actionListContainer { - position: absolute; - top: -0.5rem; - left: auto; - bottom: auto; - right: 0; -} - -.btn-primary:disabled { - background-color: #3fb0ac !important; -} -// END - -.o_control_panel { - .o-dropdown--menu { - box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05); - padding: 10px 10px; - border-top: 3px solid $sub_color2 !important; - // border-radius: 7px 7px 3px 3px; - overflow: visible; - - // top: 10% !important; - .dropdown-item.active, - .dropdown-item.selected { - - padding-left: 10px !important; - - &:before { - position: absolute; - top: 3px; - left: 5px; - bottom: auto; - right: auto; - transform: translate(-1.5em, 90%); - font: 0.7em/1em FontAwesome; - color: #71639e; - content: "\f00c"; - - } - } - - .dropdown-item { - font-size: 14px; - color: #0b1c39; - text-transform: capitalize; - - &:focus { - padding-left: 15px !important; - } - - &:hover { - color: $sub_color2 !important; - } - - &:after { - position: absolute; - top: 4px; - left: auto; - bottom: auto; - right: -6px; - transform: translate(-0.6em, 0.6em); - } - } - } -} - -.o_optional_columns_dropdown_toggle { - top: 10px !important; - right: 5px !important; -} - -.o_list_view .o_list_table tfoot>tr>td { - padding: 15px !important; -} - -.navbar-toggler span { - background-color: #173e43; - height: 2px !important; - width: 30px !important; -} - -.o_MessageList { - background-color: transparent !important; -} - -.o_MessageActionList { - background-color: #80cac8; - border: 1px solid #80cac847; - border-radius: 0.3rem; -} - -.o_search_panel { - box-shadow: 0px 0px 6px 4px rgba(242, 242, 242, 1) !important; -} - -select.o_field_widget.o_input.o_input_dropdown .o_dropdown_button { - top: 10px !important; - right: 10px !important; -} - -.o_main_navbar .o_menu_brand { - color: #202121 !important; - font-size: 1.9rem; -} - -.o_menu_systray { - - .o_MessagingMenu_icon, - .fa-clock-o { - color: #202121 !important; - font-size: 22px !important; - } -} - -.o_content { - .o_kanban_view.o_kanban_ungrouped { - padding: 15px 20px !important; - margin: 20px 20px; - border-radius: 3px; - } - - .o_kanban_view .o_kanban_record { - border-radius: 5px; - margin: 15px; - box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.05); - -webkit-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.05); - transition: box-shadow 0.3s ease-out, transform 0.3s ease-out, opacity 0.2s ease-out; - border: none; - transform: translate(0px, 0px); - -webkit-transform: translate(0px, 0px); - -moz-transform: translate(0px, 0px); - -webkit-transition: 0.5s; - transition: 0.5s; - - &:hover { - transform: translate(0, -4px); - -webkit-transform: translate(0, -4px); - -moz-transform: translate(0, -4px); - -webkit-transition: 0.5s; - transition: 0.5s; - box-shadow: rgba(45, 45, 45, 0.05) 0px 2px 2px, rgba(49, 49, 49, 0.05) 0px 4px 4px, - rgba(42, 42, 42, 0.05) 0px 8px 8px, rgba(32, 32, 32, 0.05) 0px 16px 16px, - rgba(49, 49, 49, 0.05) 0px 32px 32px, rgba(35, 35, 35, 0.05) 0px 64px 64px; - } - - .o_kanban_record_title { - color: #202121; - font-size: 16px; - font-weight: 700; - } - - .badge-default { - color: #f88181 !important; - } - } -} - -.overlay_1 { - position: relative; - - :after { - content: " "; - height: 100%; - width: 100%; - z-index: 1000; - background: #00000014; - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - opacity: 0.5; - } -} - -.oe_module_icon { - border-radius: 50%; -} - -.o_search_panel { - flex: 0 0 240px; - - .o_search_panel_category_value header { - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: flex; - justify-content: space-between; - padding: 6px 6px 8px 0px; - } - - .list-group-item header.active { - background-color: $sub_color2 !important; - - .o_search_panel_label_title { - font-weight: 800 !important; - color: white !important; - - &:hover { - color: white !important; - } - } - } - - .o_search_panel_section { - .o_search_panel_section_header { - padding: 15px 0; - letter-spacing: 1px; - font-size: 16px; - } - } - - .list-group-item { - .o_search_panel_label_title { - width: 100%; - display: inline-block; - max-width: 100%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - vertical-align: top; - font-size: 14px; - font-weight: 500; - letter-spacing: 0.5px; - text-transform: uppercase; - color: #232323; - transition: color 0.3s ease; - - &:hover { - color: $sub_color2; - } - } - } -} - -/* width */ -::-webkit-scrollbar { - width: 8px; -} - -/* Track */ -::-webkit-scrollbar-track { - background: #f1f1f1; - border-radius: 10px; -} - -/* Handle */ -::-webkit-scrollbar-thumb { - background: #888; - border-radius: 5px; -} - -/* Handle on hover */ -::-webkit-scrollbar-thumb:hover { - background: #555; -} - -.o_search_panel_counter { - background-color: #f4f7f6 !important; - border-radius: 50%; - width: 25px; - text-align: center; - color: black !important; -} - -.o_search_panel .o_search_panel_category .o_search_panel_section_icon { - color: #ed7f80; -} - -.o_form_renderer .o_setting_container .position-sticky .settings_tab { - background: white; - -webkit-box-shadow: 1px 2px 15px 0px rgba(0, 0, 0, 0.29); - box-shadow: 1px 2px 15px 0px rgba(0, 0, 0, 0.29); - border-radius: 5px; - margin: 15px; -} - -.o_form_renderer .o_setting_container .position-sticky .settings_tab .tab { - color: $secondary_color; - - &:hover { - color: $primary_color; - } -} - -.o_form_renderer .o_setting_container .position-sticky .settings_tab .selected { - background: $secondary_color; - color: white; - - &:hover { - color: white; - } -} - -.o_content { - .o_form_view .o_form_sheet_bg>.o_form_sheet { - margin-top: 0px !important; - } -} - - - - -.o_required_modifier.o_input, -.o_required_modifier .o_input { - background: #ebebeb !important; - - &:focus { - background: white !important; - } -} - -.o_field_monetary { - padding-right: 23px !important; - margin-right: 8px !important; - border: none !important; - - span { - margin-right: 15px !important; - } -} - -.o_field_many2manytags { - border: none !important; - - .badge-pill { - height: 40px; - border-radius: 5px !important; - - .o_badge_text { - line-height: 3.1 !important; - } - } -} - -.o_form_view .o_row { - align-items: unset !important; -} - -.o_field_partner_autocomplete { - .o_input { - background: transparent !important; - border: 1px solid #d7d7d7 !important; - padding: 6px !important; - } -} - -// Responsive starts -@media screen and(max-width:992px) { - .o_action_manager.sidebar_margin { - margin-left: 0 !important; - } - - .sidebar_panel .sidebar { - position: relative; - padding-top: 0px !important; - } - - .sidebar_panel .sidebar_close { - display: block !important; - } -} - -@media screen and(max-width:480px) { - .sidebar_panel .sidebar .sidebar_logo img { - max-width: 112px; - } - - .sidebar_panel .sidebar .sidebar_logo { - padding-top: 20px; - text-align: center; - padding-bottom: 5px; - } -} - -@media screen and(max-width:576px) { - .o_form_renderer .o_setting_container { - display: block !important; - } -} - -.o-dropdown--menu { - @media screen and(max-width:992px) { - top: 75px !important; - } -} - -.o_NotificationGroup_imageContainer { - max-width: 55px !important; - padding: 0px; - width: 55px !important; - border-radius: 0% !important; - - .o_NotificationGroup_image { - width: 100%; - border-radius: 0% !important; - height: auto; - } -} - -.o_ThreadPreview_imageContainer { - max-width: 55px !important; - padding: 0px; - width: 40px !important; - border-radius: 0% !important; - - .o_ThreadPreview_image { - width: 100%; - border-radius: 0% !important; - height: auto; - } -} - -.o_ThreadPreview { - .o_ThreadPreview_partnerImStatusIcon { - height: 5px !important; - width: 5px !important; - border-radius: 50%; - } -} - -.o_MessagingMenu_dropdownMenu { - padding: 15px !important; -} - -.o_ChatWindowHeader { - background-color: #387f84; - color: #fff; - height: 40px; -} - -.o_ChatWindow_newMessageForm { - padding: 15px !important; -} - -.o_ChatWindow_newMessageFormInput { - outline: none; - border: 1px solid #dee2e6; - padding: 8px; - border-radius: 5px; -} - - -.o_list_table_ungrouped { - tbody { - tr { - .o_required_modifier { - background-color: transparent !important; - } - - td { - // padding: 10px !important; - vertical-align: middle !important; - - } - - td.o_required_modifier { - background-color: transparent !important; - - } - } - } -} - - -.o_form_view .o_horizontal_separator { - color: #173e43 !important; - font-weight: bold; - font-size: 14px; -} - -.o_ChatterTopbar_button { - color: #173e43 !important; -} - -.o_button_icon { - color: #3fb0ac !important; -} - - - -.o_list_table_ungrouped tbody tr td.o_required_modifier { - background-color: var(--table-bg) !important; -} - -.o_form_view .o_row { - width: 100% !important; -} - -.o_form_view .o_row>div { - margin-right: 0; - margin-left: 0; -} - - -.modal-body .o_form_sheet_bg .o_form_sheet.position-relative { - padding: 10px; -} - - -.o_group { - .o_input { - - width: 100%; - padding: 0.375rem 0.75rem; - font-weight: 400; - line-height: 1.5; - color: #000000; - border-radius: 0; - transition: outline 0.15s ease-in-out; - -webkit-border-radius: 0; - -moz-border-radius: 0; - -ms-border-radius: 0; - -o-border-radius: 0; - box-shadow: none; - border-color: 1px solid; - -webkit-transition: outline 0.15s ease-in-out; - -moz-transition: outline 0.15s ease-in-out; - -ms-transition: outline 0.15s ease-in-out; - -o-transition: outline 0.15s ease-in-out; - } -} - -.fa-bug { - color: black !important; -} - -.o_stat_info { - span { - color: #173e43 !important; - } -} - -.o_stat_value { - color: #173e43 !important; -} - -.o_form_view .o_form_uri>span:first-child { - color: #173e43 !important; -} - -.btn-link { - color: #173e43 !important; -} - -.o_field_many2manytags { - background: transparent !important; - border: 1px solid #d7d7d7 !important; - padding: 0; -} - -.oe_topbar_name { - color: black !important; -} - -.o_menu_sections { - .o-dropdown--menu { - box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05); - padding: 10px 10px; - border-top: 3px solid $sub_color2 !important; - border-radius: 7px 7px 3px 3px; - overflow: auto; - - // top: 10% !important; - .dropdown-item { -// padding: 6px 10px !important; - font-size: 14px; - color: #0b1c39; - text-transform: capitalize; - - &:hover { - color: $sub_color2 !important; - } - } - - &::before { - border-style: solid; - border-width: 0 6px 6px 6px; - border-color: transparent transparent $sub_color2 transparent; - content: ""; - top: -9px; - left: 43%; - position: absolute; - transition: 0.3s; - z-index: 999; - overflow: visible; - } - } - - .dropdown-item:focus { - color: $sub_color2 !important; - } -} - -.o_main_navbar .dropdown-toggle { - color: #3e5f61 !important; -} - - -.o_form_renderer .o_setting_container .settings>.app_settings_block h2, -.o_form_renderer .o_setting_container .settings>.app_settings_block .h2 { - color: initial !important; - font-style: initial !important; - font-weight: bolder !important; - font-size: 20px; - margin: 0 0 !important; - padding: -0.6rem 16px; -} - - -.o_menu_sections.d-none.d-md-flex.flex-grow-1.flex-shrink-1 { - color: #173e43 !important -} - - -.o_MessagingMenu_counter.badge { - background-color: darkcyan !important; -} - -.o_ActivityMenuView_counter.badge { - background-color: darkcyan !important; -} - - -.settings_tab { - width: 180px; -} - -.d-md-block { - display: flex !important; - align-items:center; -} - -.icon.d-none.d-md-block { - display: none !important; -} - -.breadcrumb-item.active { - color: currentColor; -} - -b, -strong { - font-weight: bold; -} - -.o_kanban_renderer .o_kanban_record .o_kanban_card_header_title { - font-weight: bold; -} - -.o_search_panel .o_search_panel_category .o_search_panel_section_icon { - color: #ed7f80 !important; -} - -.o_dropdown_title { - text-transform: initial; -} - -.o_kanban_renderer { - --KanbanRecord-margin-v: 26px; - --KanbanRecord-margin-h: 17px; -} - -.o_kanban_renderer .o_kanban_record .oe_kanban_color_0, -.o_kanban_renderer .o_kanban_quick_create { - font-weight: bold; - background-color: white; -} - -.o_kanban_renderer .o_kanban_record>div:not(.o_dropdown_kanban), -.o_kanban_renderer .o_kanban_quick_create { - border: 1px solid white; - background-color: white; -} - -.o_control_panel .o_cp_bottom_right { - align-items: center; -} - -::placeholder { - color: dimgray; -} - -.o_kanban_renderer.o_renderer.d-flex.o_kanban_ungrouped.align-content-start.flex-wrap.justify-content-start.o_res_partner_kanban { - padding: 27px; -} - -.text-muted { - --text-opacity: 1; -} - -.btn-secondary.disabled, -.btn-secondary:disabled { - color: #262e35; -} - -.fa.fa-bars {} - -.o_web_client .o_main_navbar { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - flex: 0 0 auto; - display: flex; - justify-content: space-between; -} - -.o_main_navbar .o_menu_systray { - align-items: center; - display: flex; -} - - -.dropdown-item.o_nav_entry.d-none { - margin-top: 7px; -} - -.top_heading div span { - color: #3e5f61 !important -} - -.top_heading .o_nav_entry { - color: black !important; -} - -.o_data_cell.cursor-pointer.o_field_cell.o_list_char.fw-bold { - color: black; -} - - - - -.d-none { - display: none; -} - - -.o_menu_sections.d-none { - display: flex !important; -} - -.o-dropdown.dropdown.o-dropdown--no-caret.d-none { - display: flex !important; -} - -.text-bg-danger { - color: #FFFFFF !important; - background-color: #f98f9e !important; -} - -td .o_field_widget .text-bg-success { - color: black !important; - background-color: #7fedb9 !important; -} - -.o_data_cell.cursor-pointer.o_field_cell.o_list_char.fw-bold { - color: #130101; - font-weight: bold; -} - -.o_field_statusbar>.o_statusbar_status>.o_arrow_button.o_arrow_button_current.disabled { - background-color: #3eb0ac; - color: #FFFFFF; -} - -.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: #3eb0ac; -} - -.btn-fill-odoo:hover, -.btn-odoo:hover { - color: #FFFFFF; - background-color: #3eb0ac; - border-color: #3eb0ac; -} - -.btn-fill-odoo, -.btn-odoo { - color: #FFFFFF; - background-color: #3fb0ac; - border-color: #3fb0ac; -} - -.btn-outline-primary:hover { - color: #FFFFFF; - background-color: #3eb0ac; - border-color: #3eb0ac; -} - -.btn-outline-primary { - color: #3eb0ac; - border-color: #3eb0ac; -} - -@media screen and (max-width: 992px) { - .o_form_view .o_form_sheet_bg>.o_form_sheet { - margin: 0px !important; - - } -} - -.btn.btn-info.btn-sm { - display-direction: row-reverse; -} - -.btn-secondary { - color: #000000 !important; - background-color: #FFFFFF; - border-color: #e7e7e7; - color: #66598f; -} - -.o_main_navbar .o_menu_sections .o_nav_entry, -.o_main_navbar .o_menu_sections .dropdown-toggle { - background-color: transparent !important; -} - -.o_cp_searchview .dropdown { - margin-top: 0 !important; -} - -.o_base_settings_view .o_form_renderer .o_setting_container .settings_tab .tab.selected { - color: white; -} - -.closeSidebar.icon { - width: 26px; -} - -.o-form-buttonbox .oe_stat_button { - margin-top: 0px; -} - -.o_control_panel_navigation .o_cp_pager .o_pager .o_pager_counter { - padding-top: 9px !important; - align-self: stretch !important; -} - -.o_mobile_menu_toggle .oi.oi-panel-right { - color: #111; - margin-top: 5px; -} - - - -@media (max-width: 915px) { - .o_main_navbar .o_menu_sections { - display: none !important; - } -} - -@media (max-width: 915px) { - .o_user_menu { - display: none !important; - } -} - -.o_kanban_mobile .o_x2m_control_panel .o_cp_buttons { - overflow-x: scroll; - -ms-overflow-style: none; - /* Hide scrollbar in IE/Edge */ - scrollbar-width: none; - /* Hide scrollbar in Firefox */ -} - -.o_kanban_mobile .o_x2m_control_panel .o_cp_buttons::-webkit-scrollbar { - display: none; -} - -.o_form_status_indicator { - margin-right: -10px !important; -} - -.o_main_navbar .o_menu_sections .o_nav_entry { -// color: #173e43; -} - -.o_menu_sections .o-dropdown.show { - background: #e0edfa; -} - -.o_list_view .o_list_renderer { - overflow-x: hidden; -} - -.dropdown-item .company_label { - font-size: 14px; -} - -.o_breadcrumb.align-self-stretch { - align-self: center !important; -} - -.o_control_panel .o_breadcrumb { - font-size: 15px !important; -} - -@media (min-width: 768px) { - .o_control_panel_breadcrumbs .align-self-md-end { - align-self: center !important; - } -} - -.o_form_view .o_field_widget.o_input_3ch input { - width: 100% !important; -} - -.o_form_view .o_field_integer.oe_inline { - max-width: 4rem !important; -} - -.o_setting_container .position-sticky ::-webkit-scrollbar { - display: none; -} - -@media (max-width: 767.98px) { - .o_base_settings_view .o_form_renderer .o_setting_container .settings_tab { - flex: 0 0 40px; - flex-direction: row; - position: relative; - overflow: hidden; - overflow-x: auto; - padding: 0; - height: auto !important; - width: auto; - border-bottom: none; - } -} - -.o_setting_container .position-sticky .settings_tab.h-100 { - height: auto !important; -} - -.o_form_view .oe_inline{ - width: auto !important; - padding-top: unset; - } - -.o_input.flex-grow-1.flex-shrink-1{ - padding-top: unset !important; - } - -.o_input{ - padding: inherit !important; - } - - -.o_field_property_definition .o_field_property_definition_type .o_input_dropdown input { - background-repeat: no-repeat; - background-size: contain; - padding-left: 25px !important; - background-position-x: 0px; - background-position-y: 3px; - background-size: 20px; -} - - - .o_main_navbar .o_nav_entry, .o_main_navbar .dropdown-toggle { - color: #3e5f61 !important; -} - - -@media (max-width: 767.98px) { - .o_user_menu .o_user_avatar { - margin-right: 0px !important; - } -} diff --git a/artify_backend_theme/static/src/scss/variables.scss b/artify_backend_theme/static/src/scss/variables.scss deleted file mode 100644 index 8d9fe0ecd..000000000 --- a/artify_backend_theme/static/src/scss/variables.scss +++ /dev/null @@ -1,5 +0,0 @@ -$primary_color: #E63946; -$secondary_color: #173e43; -$secondary_color2: #173e43; -$sub_color1: #a381f8; -$sub_color2: #f88181; \ No newline at end of file diff --git a/artify_backend_theme/static/src/xml/styles.xml b/artify_backend_theme/static/src/xml/styles.xml deleted file mode 100644 index 462967106..000000000 --- a/artify_backend_theme/static/src/xml/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - d-flex align-items-center - - - \ No newline at end of file diff --git a/artify_backend_theme/static/src/xml/top_bar.xml b/artify_backend_theme/static/src/xml/top_bar.xml deleted file mode 100644 index f491f8e05..000000000 --- a/artify_backend_theme/static/src/xml/top_bar.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - top_heading - - - - - - - - - - -
- - - \ No newline at end of file diff --git a/artify_backend_theme/views/icons.xml b/artify_backend_theme/views/icons.xml deleted file mode 100644 index 030516a28..000000000 --- a/artify_backend_theme/views/icons.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/artify_backend_theme/views/layout.xml b/artify_backend_theme/views/layout.xml deleted file mode 100644 index 6a184c4a6..000000000 --- a/artify_backend_theme/views/layout.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - \ No newline at end of file diff --git a/code_backend_theme/README.rst b/code_backend_theme/README.rst deleted file mode 100644 index e4ab29a31..000000000 --- a/code_backend_theme/README.rst +++ /dev/null @@ -1,49 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Code Backend Theme -================== -* Code Backend Theme module for Odoo 18 community editions. This is a Minimalist -and Elegant Backend Theme for Odoo 18. This theme will change your -Old Experience to a New Experience with Odoo. - -Configuration -------- - - www.odoo.com/documentation/18.0/setup/install.html - - Install our custom addon - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Credits -------- -Developer: (V18) Swaraj R, (V17) ADVAITH BG, Contact: odoo@cybrosys.com - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://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 - -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com" - -Further information ------------------ -HTML Description: ``__ diff --git a/code_backend_theme/__init__.py b/code_backend_theme/__init__.py deleted file mode 100644 index 1d229480e..000000000 --- a/code_backend_theme/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -from .hooks import test_pre_init_hook, test_post_init_hook diff --git a/code_backend_theme/__manifest__.py b/code_backend_theme/__manifest__.py deleted file mode 100644 index b2a399414..000000000 --- a/code_backend_theme/__manifest__.py +++ /dev/null @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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": "Code Backend Theme", - "version": "18.0.1.0.0", - "category": "Themes/Backend", - "summary": "Code Backend Theme is an attractive theme for backend", - "description": """Minimalist and elegant theme for Odoo backend""", - "author": "Cybrosys Techno Solutions", - "company": "Cybrosys Techno Solutions", - "maintainer": "Cybrosys Techno Solutions", - "website": "https://www.cybrosys.com", - "depends": ["web", "mail"], - "data": [ - "views/layout_templates.xml", - "views/base_menus.xml", - ], - "assets": { - "web.assets_backend": [ - "code_backend_theme/static/src/xml/settings_templates.xml", - "code_backend_theme/static/src/xml/top_bar_templates.xml", - "code_backend_theme/static/src/scss/theme_accent.scss", - "code_backend_theme/static/src/scss/navigation_bar.scss", - "code_backend_theme/static/src/scss/datetimepicker.scss", - "code_backend_theme/static/src/scss/theme.scss", - "code_backend_theme/static/src/scss/sidebar.scss", - "code_backend_theme/static/src/js/fields/colors.js", - 'code_backend_theme/static/src/js/web_navbar_appmenu' - '/webNavbarAppMenu.js', - ], - "web.assets_frontend": [ - "code_backend_theme/static/src/scss/login.scss", - ], - }, - "images": [ - "static/description/banner.jpg", - "static/description/theme_screenshot.jpg", - ], - "license": "LGPL-3", - "installable": True, - "auto_install": False, - "application": False, - "pre_init_hook": "test_pre_init_hook", - "post_init_hook": "test_post_init_hook", -} diff --git a/code_backend_theme/doc/RELEASE_NOTES.md b/code_backend_theme/doc/RELEASE_NOTES.md deleted file mode 100644 index f8227347a..000000000 --- a/code_backend_theme/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,5 +0,0 @@ -## Module -#### 09.10.2024 -#### Version 18.0.1.0.0 -##### ADD -Initial commit for Code Backend Theme diff --git a/code_backend_theme/hooks.py b/code_backend_theme/hooks.py deleted file mode 100644 index aa540d10d..000000000 --- a/code_backend_theme/hooks.py +++ /dev/null @@ -1,407 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -import base64 -from odoo.modules import get_module_resource - - -def test_pre_init_hook(cr): - """pre init hook""" - menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) - for menu in menu_item: - if menu.name == 'Contacts': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Contacts.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Link Tracker': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Link Tracker.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Dashboards': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Dashboards.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Sales': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Sales.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Invoicing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Invoicing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Inventory': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Inventory.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Purchase': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Purchase.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Calendar': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Calendar.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'CRM': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'CRM.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'To-do': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Note.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Website': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Website.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Point of Sale': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Point of Sale.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Manufacturing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Manufacturing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Repairs': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Repairs.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Email Marketing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Email Marketing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'SMS Marketing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'SMS Marketing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Project': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Project.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Surveys': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Surveys.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Employees': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Employees.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Recruitment': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Recruitment.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Attendances': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Attendances.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Time Off': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Time Off.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Expenses': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Expenses.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Maintenance': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Maintenance.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Live Chat': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Live Chat.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Lunch': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Lunch.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Fleet': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Fleet.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Timesheets': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Timesheets.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Events': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Events.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'eLearning': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'eLearning.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Members': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Members.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - - -def test_post_init_hook(cr): - """post init hook""" - menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) - for menu in menu_item: - if menu.name == 'Contacts': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Contacts.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Link Tracker': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Link Tracker.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Dashboards': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Dashboards.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Sales': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Sales.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name in ('Invoicing', 'Accounting'): - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Invoicing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Inventory': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Inventory.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Purchase': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Purchase.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Calendar': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Calendar.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'CRM': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'CRM.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Note': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Note.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Website': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Website.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Point of Sale': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Point of Sale.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Manufacturing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Manufacturing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Repairs': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Repairs.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Email Marketing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Email Marketing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'SMS Marketing': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'SMS Marketing.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Project': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Project.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Surveys': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Surveys.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Employees': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Employees.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Recruitment': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Recruitment.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Attendances': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Attendances.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Time Off': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Time Off.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Expenses': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Expenses.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Maintenance': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Maintenance.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Live Chat': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Live Chat.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Lunch': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Lunch.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Fleet': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Fleet.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Timesheets': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Timesheets.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Events': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Events.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'eLearning': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'eLearning.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) - if menu.name == 'Members': - img_path = get_module_resource( - 'code_backend_theme', 'static', 'src', 'img', - 'icons', 'Members.png') - menu.write({'web_icon_data': base64.b64encode( - open(img_path, "rb").read())}) diff --git a/code_backend_theme/static/description/assets/icons/check.png b/code_backend_theme/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/code_backend_theme/static/description/assets/icons/check.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/chevron.png b/code_backend_theme/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/code_backend_theme/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/cogs.png b/code_backend_theme/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/code_backend_theme/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/consultation.png b/code_backend_theme/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/code_backend_theme/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/ecom-black.png b/code_backend_theme/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/code_backend_theme/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/education-black.png b/code_backend_theme/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/code_backend_theme/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/hotel-black.png b/code_backend_theme/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/code_backend_theme/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/license.png b/code_backend_theme/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/code_backend_theme/static/description/assets/icons/license.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/lifebuoy.png b/code_backend_theme/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/code_backend_theme/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/manufacturing-black.png b/code_backend_theme/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/code_backend_theme/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/pos-black.png b/code_backend_theme/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/code_backend_theme/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/puzzle.png b/code_backend_theme/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/code_backend_theme/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/restaurant-black.png b/code_backend_theme/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/code_backend_theme/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/service-black.png b/code_backend_theme/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/code_backend_theme/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/trading-black.png b/code_backend_theme/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/code_backend_theme/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/training.png b/code_backend_theme/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/code_backend_theme/static/description/assets/icons/training.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/update.png b/code_backend_theme/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/code_backend_theme/static/description/assets/icons/update.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/user.png b/code_backend_theme/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/code_backend_theme/static/description/assets/icons/user.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/icons/wrench.png b/code_backend_theme/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/code_backend_theme/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/categories.png b/code_backend_theme/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/code_backend_theme/static/description/assets/misc/categories.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/check-box.png b/code_backend_theme/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/code_backend_theme/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/compass.png b/code_backend_theme/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/code_backend_theme/static/description/assets/misc/compass.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/corporate.png b/code_backend_theme/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/code_backend_theme/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/customer-support.png b/code_backend_theme/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/code_backend_theme/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/cybrosys-logo.png b/code_backend_theme/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/code_backend_theme/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/features.png b/code_backend_theme/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/code_backend_theme/static/description/assets/misc/features.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/logo.png b/code_backend_theme/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/code_backend_theme/static/description/assets/misc/logo.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/pictures.png b/code_backend_theme/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/code_backend_theme/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/pie-chart.png b/code_backend_theme/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/code_backend_theme/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/right-arrow.png b/code_backend_theme/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/code_backend_theme/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/star.png b/code_backend_theme/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/code_backend_theme/static/description/assets/misc/star.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/support.png b/code_backend_theme/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/code_backend_theme/static/description/assets/misc/support.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/misc/whatsapp.png b/code_backend_theme/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/code_backend_theme/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/1.png b/code_backend_theme/static/description/assets/modules/1.png deleted file mode 100644 index 5238bdeab..000000000 Binary files a/code_backend_theme/static/description/assets/modules/1.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/2.png b/code_backend_theme/static/description/assets/modules/2.png deleted file mode 100644 index 1ae7cfe3b..000000000 Binary files a/code_backend_theme/static/description/assets/modules/2.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/3.png b/code_backend_theme/static/description/assets/modules/3.png deleted file mode 100644 index 3c3ff1afb..000000000 Binary files a/code_backend_theme/static/description/assets/modules/3.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/4.png b/code_backend_theme/static/description/assets/modules/4.png deleted file mode 100644 index 3fae4631e..000000000 Binary files a/code_backend_theme/static/description/assets/modules/4.png and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/5.gif b/code_backend_theme/static/description/assets/modules/5.gif deleted file mode 100644 index 2a5f8e659..000000000 Binary files a/code_backend_theme/static/description/assets/modules/5.gif and /dev/null differ diff --git a/code_backend_theme/static/description/assets/modules/6.png b/code_backend_theme/static/description/assets/modules/6.png deleted file mode 100644 index 7f2815273..000000000 Binary files a/code_backend_theme/static/description/assets/modules/6.png and /dev/null differ diff --git a/code_backend_theme/static/description/banner.jpg b/code_backend_theme/static/description/banner.jpg deleted file mode 100644 index 95c54923f..000000000 Binary files a/code_backend_theme/static/description/banner.jpg and /dev/null differ diff --git a/code_backend_theme/static/description/icon.png b/code_backend_theme/static/description/icon.png deleted file mode 100644 index 0fffab04f..000000000 Binary files a/code_backend_theme/static/description/icon.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/1.png b/code_backend_theme/static/description/images/1.png deleted file mode 100644 index 965988570..000000000 Binary files a/code_backend_theme/static/description/images/1.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/Cybrosys R.png b/code_backend_theme/static/description/images/Cybrosys R.png deleted file mode 100644 index da4058087..000000000 Binary files a/code_backend_theme/static/description/images/Cybrosys R.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/GIF 05.gif b/code_backend_theme/static/description/images/GIF 05.gif deleted file mode 100644 index 272d6aae6..000000000 Binary files a/code_backend_theme/static/description/images/GIF 05.gif and /dev/null differ diff --git a/code_backend_theme/static/description/images/Gif 01.gif b/code_backend_theme/static/description/images/Gif 01.gif deleted file mode 100644 index 5b2a3e587..000000000 Binary files a/code_backend_theme/static/description/images/Gif 01.gif and /dev/null differ diff --git a/code_backend_theme/static/description/images/Gif 022.gif b/code_backend_theme/static/description/images/Gif 022.gif deleted file mode 100644 index db0cf52c8..000000000 Binary files a/code_backend_theme/static/description/images/Gif 022.gif and /dev/null differ diff --git a/code_backend_theme/static/description/images/Poster-modal.psd b/code_backend_theme/static/description/images/Poster-modal.psd deleted file mode 100644 index ad22908b9..000000000 Binary files a/code_backend_theme/static/description/images/Poster-modal.psd and /dev/null differ diff --git a/code_backend_theme/static/description/images/apps.png b/code_backend_theme/static/description/images/apps.png deleted file mode 100644 index 871d1b069..000000000 Binary files a/code_backend_theme/static/description/images/apps.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/arrows-repeat.svg b/code_backend_theme/static/description/images/arrows-repeat.svg deleted file mode 100644 index 94fb8f7f9..000000000 --- a/code_backend_theme/static/description/images/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/banner.jpg b/code_backend_theme/static/description/images/banner.jpg deleted file mode 100644 index 95c54923f..000000000 Binary files a/code_backend_theme/static/description/images/banner.jpg and /dev/null differ diff --git a/code_backend_theme/static/description/images/capture (1).png b/code_backend_theme/static/description/images/capture (1).png deleted file mode 100644 index 8824deafc..000000000 Binary files a/code_backend_theme/static/description/images/capture (1).png and /dev/null differ diff --git a/code_backend_theme/static/description/images/check.png b/code_backend_theme/static/description/images/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/code_backend_theme/static/description/images/check.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/check.svg b/code_backend_theme/static/description/images/check.svg deleted file mode 100644 index 8bc79333d..000000000 --- a/code_backend_theme/static/description/images/check.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/chevron.png b/code_backend_theme/static/description/images/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/code_backend_theme/static/description/images/chevron.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/cogs.png b/code_backend_theme/static/description/images/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/code_backend_theme/static/description/images/cogs.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/consultation.png b/code_backend_theme/static/description/images/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/code_backend_theme/static/description/images/consultation.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/discuss.png b/code_backend_theme/static/description/images/discuss.png deleted file mode 100644 index d09774ba6..000000000 Binary files a/code_backend_theme/static/description/images/discuss.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/ecom-black.png b/code_backend_theme/static/description/images/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/code_backend_theme/static/description/images/ecom-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/education-black.png b/code_backend_theme/static/description/images/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/code_backend_theme/static/description/images/education-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/email.svg b/code_backend_theme/static/description/images/email.svg deleted file mode 100644 index 15291cdc3..000000000 --- a/code_backend_theme/static/description/images/email.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/employees.png b/code_backend_theme/static/description/images/employees.png deleted file mode 100644 index f1f4a745f..000000000 Binary files a/code_backend_theme/static/description/images/employees.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/error_purchase.png b/code_backend_theme/static/description/images/error_purchase.png deleted file mode 100644 index 74a84c667..000000000 Binary files a/code_backend_theme/static/description/images/error_purchase.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/feature-star.svg b/code_backend_theme/static/description/images/feature-star.svg deleted file mode 100644 index a913270e8..000000000 --- a/code_backend_theme/static/description/images/feature-star.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/gear.svg b/code_backend_theme/static/description/images/gear.svg deleted file mode 100644 index ce383059d..000000000 --- a/code_backend_theme/static/description/images/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/graph.png b/code_backend_theme/static/description/images/graph.png deleted file mode 100644 index 71a6d8cdd..000000000 Binary files a/code_backend_theme/static/description/images/graph.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/groupby.png b/code_backend_theme/static/description/images/groupby.png deleted file mode 100644 index ee2dfc831..000000000 Binary files a/code_backend_theme/static/description/images/groupby.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/hire-odoo.svg b/code_backend_theme/static/description/images/hire-odoo.svg deleted file mode 100644 index 9cfec4e44..000000000 --- a/code_backend_theme/static/description/images/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/hotel-black.png b/code_backend_theme/static/description/images/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/code_backend_theme/static/description/images/hotel-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/invoice_wizard.png b/code_backend_theme/static/description/images/invoice_wizard.png deleted file mode 100644 index 08bed7e22..000000000 Binary files a/code_backend_theme/static/description/images/invoice_wizard.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/kanban_view.png b/code_backend_theme/static/description/images/kanban_view.png deleted file mode 100644 index b86a44f97..000000000 Binary files a/code_backend_theme/static/description/images/kanban_view.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/license.png b/code_backend_theme/static/description/images/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/code_backend_theme/static/description/images/license.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/life-ring-icon.svg b/code_backend_theme/static/description/images/life-ring-icon.svg deleted file mode 100644 index b6c797ba1..000000000 --- a/code_backend_theme/static/description/images/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/lifebuoy.png b/code_backend_theme/static/description/images/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/code_backend_theme/static/description/images/lifebuoy.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/login.png b/code_backend_theme/static/description/images/login.png deleted file mode 100644 index 8b3618bbc..000000000 Binary files a/code_backend_theme/static/description/images/login.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/manufacturing-black.png b/code_backend_theme/static/description/images/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/code_backend_theme/static/description/images/manufacturing-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/odoo-consultancy.svg b/code_backend_theme/static/description/images/odoo-consultancy.svg deleted file mode 100644 index c2c27e608..000000000 --- a/code_backend_theme/static/description/images/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/code_backend_theme/static/description/images/odoo-licencing.svg b/code_backend_theme/static/description/images/odoo-licencing.svg deleted file mode 100644 index 8a520b40f..000000000 --- a/code_backend_theme/static/description/images/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/code_backend_theme/static/description/images/phone.svg b/code_backend_theme/static/description/images/phone.svg deleted file mode 100644 index b7bd7f251..000000000 --- a/code_backend_theme/static/description/images/phone.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/code_backend_theme/static/description/images/photo-capture.png b/code_backend_theme/static/description/images/photo-capture.png deleted file mode 100644 index 06c111758..000000000 Binary files a/code_backend_theme/static/description/images/photo-capture.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/pngwing.jpg b/code_backend_theme/static/description/images/pngwing.jpg deleted file mode 100644 index b4ff4e91d..000000000 Binary files a/code_backend_theme/static/description/images/pngwing.jpg and /dev/null differ diff --git a/code_backend_theme/static/description/images/pos-black.png b/code_backend_theme/static/description/images/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/code_backend_theme/static/description/images/pos-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/poster.psd b/code_backend_theme/static/description/images/poster.psd deleted file mode 100644 index 281991bda..000000000 Binary files a/code_backend_theme/static/description/images/poster.psd and /dev/null differ diff --git a/code_backend_theme/static/description/images/product.png b/code_backend_theme/static/description/images/product.png deleted file mode 100644 index c7cefc21b..000000000 Binary files a/code_backend_theme/static/description/images/product.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/product_kanban.png b/code_backend_theme/static/description/images/product_kanban.png deleted file mode 100644 index 5d64e117a..000000000 Binary files a/code_backend_theme/static/description/images/product_kanban.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/purchase_list.png b/code_backend_theme/static/description/images/purchase_list.png deleted file mode 100644 index 5b906b6a1..000000000 Binary files a/code_backend_theme/static/description/images/purchase_list.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/puzzle-piece-icon.svg b/code_backend_theme/static/description/images/puzzle-piece-icon.svg deleted file mode 100644 index ab5e56fa7..000000000 --- a/code_backend_theme/static/description/images/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/puzzle.png b/code_backend_theme/static/description/images/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/code_backend_theme/static/description/images/puzzle.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/recruitment.png b/code_backend_theme/static/description/images/recruitment.png deleted file mode 100644 index 5284ee7dc..000000000 Binary files a/code_backend_theme/static/description/images/recruitment.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/restaurant-black.png b/code_backend_theme/static/description/images/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/code_backend_theme/static/description/images/restaurant-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/sale_form.png b/code_backend_theme/static/description/images/sale_form.png deleted file mode 100644 index 500f53282..000000000 Binary files a/code_backend_theme/static/description/images/sale_form.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/sale_kanban.png b/code_backend_theme/static/description/images/sale_kanban.png deleted file mode 100644 index 2297d1a7c..000000000 Binary files a/code_backend_theme/static/description/images/sale_kanban.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/service-black.png b/code_backend_theme/static/description/images/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/code_backend_theme/static/description/images/service-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/settngs.png b/code_backend_theme/static/description/images/settngs.png deleted file mode 100644 index 79c10d7df..000000000 Binary files a/code_backend_theme/static/description/images/settngs.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/sidebar.png b/code_backend_theme/static/description/images/sidebar.png deleted file mode 100644 index 848d1e4a3..000000000 Binary files a/code_backend_theme/static/description/images/sidebar.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/star (1) 2.svg b/code_backend_theme/static/description/images/star (1) 2.svg deleted file mode 100644 index 5ae9f507a..000000000 --- a/code_backend_theme/static/description/images/star (1) 2.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme/static/description/images/support (1) 1.svg b/code_backend_theme/static/description/images/support (1) 1.svg deleted file mode 100644 index 7d37a8f30..000000000 --- a/code_backend_theme/static/description/images/support (1) 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme/static/description/images/support-email.svg b/code_backend_theme/static/description/images/support-email.svg deleted file mode 100644 index eb70370d6..000000000 --- a/code_backend_theme/static/description/images/support-email.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/code_backend_theme/static/description/images/theme_menu.png b/code_backend_theme/static/description/images/theme_menu.png deleted file mode 100644 index 235363961..000000000 Binary files a/code_backend_theme/static/description/images/theme_menu.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/tick-mark.svg b/code_backend_theme/static/description/images/tick-mark.svg deleted file mode 100644 index 2dbb40187..000000000 --- a/code_backend_theme/static/description/images/tick-mark.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/timeoff.png b/code_backend_theme/static/description/images/timeoff.png deleted file mode 100644 index 45fa4d899..000000000 Binary files a/code_backend_theme/static/description/images/timeoff.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/trading-black.png b/code_backend_theme/static/description/images/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/code_backend_theme/static/description/images/trading-black.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/training.png b/code_backend_theme/static/description/images/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/code_backend_theme/static/description/images/training.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/update.png b/code_backend_theme/static/description/images/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/code_backend_theme/static/description/images/update.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/user.png b/code_backend_theme/static/description/images/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/code_backend_theme/static/description/images/user.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/user_error.png b/code_backend_theme/static/description/images/user_error.png deleted file mode 100644 index b8f2a79cd..000000000 Binary files a/code_backend_theme/static/description/images/user_error.png and /dev/null differ diff --git a/code_backend_theme/static/description/images/v15-banner.jpg b/code_backend_theme/static/description/images/v15-banner.jpg deleted file mode 100644 index 263eccea1..000000000 Binary files a/code_backend_theme/static/description/images/v15-banner.jpg and /dev/null differ diff --git a/code_backend_theme/static/description/images/whatsapp 1.svg b/code_backend_theme/static/description/images/whatsapp 1.svg deleted file mode 100644 index 0bfaf8fc6..000000000 --- a/code_backend_theme/static/description/images/whatsapp 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme/static/description/images/whatsapp.svg b/code_backend_theme/static/description/images/whatsapp.svg deleted file mode 100644 index b618aea1d..000000000 --- a/code_backend_theme/static/description/images/whatsapp.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/wrench-icon.svg b/code_backend_theme/static/description/images/wrench-icon.svg deleted file mode 100644 index 4e0ce1d01..000000000 --- a/code_backend_theme/static/description/images/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme/static/description/images/wrench.png b/code_backend_theme/static/description/images/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/code_backend_theme/static/description/images/wrench.png and /dev/null differ diff --git a/code_backend_theme/static/description/index.html b/code_backend_theme/static/description/index.html deleted file mode 100644 index 7d10fa7b0..000000000 --- a/code_backend_theme/static/description/index.html +++ /dev/null @@ -1,1241 +0,0 @@ - - - - - - - app index - - - - - - - - - - -
- - - - -
-
-
-
- -
-
-
-
- -
- Supports: -
- Community -
-
-
-
-
- Availability: -
- Odoo - Online -
-
- - Odoo.sh -
-
- On - Premise -
-
-
-
-
-
- - - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-

Our Features

- -

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

-
-
-
-
- - -
-
- - - -
-
-
- -
-
- -
-
-
- - -
-
-
-
-
- - -
-
-
- -
-
-
-
-
- Sidebar - -

Sidebar with New Menu Icons

-
- -
-
-
- Apps - -

Available apps view as cards in new look

-
- -
-
-
- Employees -

Kanban view of employees

-
- -
-
-
- Error in purchase -

Error is showing in style in purchase page

-
- -
-
-
- New product -

create new product in style

-
- -
-
-
- Kanban view of sale oredrs -

Kanban view of sale orders in new color pattern

-
- -
-
-
- Login -

Login page in classy look

-
- -
-
-
- Group by -

Group By View

-
- -
-
-
- Settings page -

Settings page in new color pattern

-
- -
-
-
- Product kanban -

product page in kanban view

-
- -
-
-
- Discuss page -

Discuss page in new style

-
- -
-
-
- Purchase List -

Purchase list view in new style

-
- -
-
-
- Wizard Popup -

Wizards in new style

-
- -
-
-
- User Error -

User error in color pattern

-
- -
-
-
- Date picking -

Stylish Date picking option

-
- -
-
-
- Recruitment Kanban -

Recruitment Kanban View With Ribbons

-
- -
-
-
- Graph -

Graphs with Sidebar

-
- -
-
-
-
- - -
-
-
-
-
-
-
- HIGHLIGHT -

All-New Menu Design

-

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

- - -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Easily Access Sidebar Menu

-

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

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- -
- - -
- - - - - - - -
-
-
-
-

- Fully Responsive Layout
-

- -
-

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

-
    -
  • Fully responsive
  • -
  • Fly-out hamburger menu on the left
  • -
  • Fits perfectly to all screen sizes
  • -
  • Quick access menu at the bottom in discuss
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- -
-
-
-
-
- -
- -
-
-
-
-

- List View
- - - - - - - -

- -
-

Code Backend Theme V18 Gives You - The Fully Modified List View. This Table Design Gives - You More Beauty for Your Odoo Backend. It will Give You - a Clean Layout with the New Color Combination and a - Modified Font.

-
    -
  • Stages are Separated in View
  • -
  • New Color Combination
  • -
  • Modified Font
  • -
  • Clean Layout
  • -
  • Buttons with New Colors
  • -
  • Full Screen View -
  • -
-
-
-
-
-
- -
-
-
-
-

- Kanban Group View
-

- -
-

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

-
    -
  • Stages are Separated in View
  • -
  • New Color Combination
  • -
  • Modified Font
  • -
  • Clean Layout
  • -
  • Buttons with New Colors
  • -
  • Full Screen View
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- -
-
-
-
-
- -
- -
-
-
-
-

- Form View
- - - - - - - -

- -
-

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

-
    -
  • Modified Form Style
  • -
  • New Style for Required Field
  • -
  • Full Screen Form View
  • -
  • New Chatter Style Under Form View
  • -
  • New Looks for Tabs
  • -
  • New Looks for Status Button
  • -
-
-
-
-
-
- - - - - - - - -
- - -
- - - - - \ No newline at end of file diff --git a/code_backend_theme/static/description/screenshots/10.newlookoftabs.png b/code_backend_theme/static/description/screenshots/10.newlookoftabs.png deleted file mode 100644 index a365ac470..000000000 Binary files a/code_backend_theme/static/description/screenshots/10.newlookoftabs.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/11.recruitment.png b/code_backend_theme/static/description/screenshots/11.recruitment.png deleted file mode 100644 index cf5f0a453..000000000 Binary files a/code_backend_theme/static/description/screenshots/11.recruitment.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/12.saleskanban.png b/code_backend_theme/static/description/screenshots/12.saleskanban.png deleted file mode 100644 index cd444ffc3..000000000 Binary files a/code_backend_theme/static/description/screenshots/12.saleskanban.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/13.modified kanban employee (1).png b/code_backend_theme/static/description/screenshots/13.modified kanban employee (1).png deleted file mode 100644 index 3d30005f7..000000000 Binary files a/code_backend_theme/static/description/screenshots/13.modified kanban employee (1).png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/13.modified kanban employee (2).png b/code_backend_theme/static/description/screenshots/13.modified kanban employee (2).png deleted file mode 100644 index 3d30005f7..000000000 Binary files a/code_backend_theme/static/description/screenshots/13.modified kanban employee (2).png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/15.sidebarwithlistview.png b/code_backend_theme/static/description/screenshots/15.sidebarwithlistview.png deleted file mode 100644 index a15a09f28..000000000 Binary files a/code_backend_theme/static/description/screenshots/15.sidebarwithlistview.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/16grapghview (1).png b/code_backend_theme/static/description/screenshots/16grapghview (1).png deleted file mode 100644 index f30cacb89..000000000 Binary files a/code_backend_theme/static/description/screenshots/16grapghview (1).png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/17.attendanceview.png b/code_backend_theme/static/description/screenshots/17.attendanceview.png deleted file mode 100644 index 93001bcef..000000000 Binary files a/code_backend_theme/static/description/screenshots/17.attendanceview.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/2.groupbyview.png b/code_backend_theme/static/description/screenshots/2.groupbyview.png deleted file mode 100644 index babf27bf5..000000000 Binary files a/code_backend_theme/static/description/screenshots/2.groupbyview.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/3.settings page.png b/code_backend_theme/static/description/screenshots/3.settings page.png deleted file mode 100644 index ea62e8cde..000000000 Binary files a/code_backend_theme/static/description/screenshots/3.settings page.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/4.discusspage.png b/code_backend_theme/static/description/screenshots/4.discusspage.png deleted file mode 100644 index c81b6bdac..000000000 Binary files a/code_backend_theme/static/description/screenshots/4.discusspage.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/5.productskanaban (2).png b/code_backend_theme/static/description/screenshots/5.productskanaban (2).png deleted file mode 100644 index 8305b920c..000000000 Binary files a/code_backend_theme/static/description/screenshots/5.productskanaban (2).png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/6.purchase view.png b/code_backend_theme/static/description/screenshots/6.purchase view.png deleted file mode 100644 index 140a74fa7..000000000 Binary files a/code_backend_theme/static/description/screenshots/6.purchase view.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/7.productviewsmartbuttons.png b/code_backend_theme/static/description/screenshots/7.productviewsmartbuttons.png deleted file mode 100644 index 1f30fcf11..000000000 Binary files a/code_backend_theme/static/description/screenshots/7.productviewsmartbuttons.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/8error (1).png b/code_backend_theme/static/description/screenshots/8error (1).png deleted file mode 100644 index 447fa0183..000000000 Binary files a/code_backend_theme/static/description/screenshots/8error (1).png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/Form view.png b/code_backend_theme/static/description/screenshots/Form view.png deleted file mode 100644 index b531c1b4f..000000000 Binary files a/code_backend_theme/static/description/screenshots/Form view.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/all_screens.png b/code_backend_theme/static/description/screenshots/all_screens.png deleted file mode 100644 index dda177cbe..000000000 Binary files a/code_backend_theme/static/description/screenshots/all_screens.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/easily-access-menu.gif b/code_backend_theme/static/description/screenshots/easily-access-menu.gif deleted file mode 100644 index 08340f307..000000000 Binary files a/code_backend_theme/static/description/screenshots/easily-access-menu.gif and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/kanbangroupview.png b/code_backend_theme/static/description/screenshots/kanbangroupview.png deleted file mode 100644 index 0c0aea204..000000000 Binary files a/code_backend_theme/static/description/screenshots/kanbangroupview.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/listview.png b/code_backend_theme/static/description/screenshots/listview.png deleted file mode 100644 index a81604571..000000000 Binary files a/code_backend_theme/static/description/screenshots/listview.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/login.png b/code_backend_theme/static/description/screenshots/login.png deleted file mode 100644 index cb6e824f5..000000000 Binary files a/code_backend_theme/static/description/screenshots/login.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/menu_focus.png b/code_backend_theme/static/description/screenshots/menu_focus.png deleted file mode 100644 index dc7b00c8b..000000000 Binary files a/code_backend_theme/static/description/screenshots/menu_focus.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/modal.png b/code_backend_theme/static/description/screenshots/modal.png deleted file mode 100644 index b89e182ca..000000000 Binary files a/code_backend_theme/static/description/screenshots/modal.png and /dev/null differ diff --git a/code_backend_theme/static/description/screenshots/resp-gif.gif b/code_backend_theme/static/description/screenshots/resp-gif.gif deleted file mode 100644 index f6939e09a..000000000 Binary files a/code_backend_theme/static/description/screenshots/resp-gif.gif and /dev/null differ diff --git a/code_backend_theme/static/description/theme_screenshot.jpg b/code_backend_theme/static/description/theme_screenshot.jpg deleted file mode 100644 index 3f54bc8c8..000000000 Binary files a/code_backend_theme/static/description/theme_screenshot.jpg and /dev/null differ diff --git a/code_backend_theme/static/src/img/code_logo.png b/code_backend_theme/static/src/img/code_logo.png deleted file mode 100644 index 124152a05..000000000 Binary files a/code_backend_theme/static/src/img/code_logo.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Attendances.png b/code_backend_theme/static/src/img/icons/Attendances.png deleted file mode 100644 index 6f2e83d36..000000000 Binary files a/code_backend_theme/static/src/img/icons/Attendances.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/CRM.png b/code_backend_theme/static/src/img/icons/CRM.png deleted file mode 100644 index 01e326198..000000000 Binary files a/code_backend_theme/static/src/img/icons/CRM.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Calendar.png b/code_backend_theme/static/src/img/icons/Calendar.png deleted file mode 100644 index bfa7e4761..000000000 Binary files a/code_backend_theme/static/src/img/icons/Calendar.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Contacts.png b/code_backend_theme/static/src/img/icons/Contacts.png deleted file mode 100644 index 5865350a0..000000000 Binary files a/code_backend_theme/static/src/img/icons/Contacts.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Dashboards.png b/code_backend_theme/static/src/img/icons/Dashboards.png deleted file mode 100644 index 0ab419664..000000000 Binary files a/code_backend_theme/static/src/img/icons/Dashboards.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Email Marketing.png b/code_backend_theme/static/src/img/icons/Email Marketing.png deleted file mode 100644 index 66c873ab5..000000000 Binary files a/code_backend_theme/static/src/img/icons/Email Marketing.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Employees.png b/code_backend_theme/static/src/img/icons/Employees.png deleted file mode 100644 index 85aff52c1..000000000 Binary files a/code_backend_theme/static/src/img/icons/Employees.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Events.png b/code_backend_theme/static/src/img/icons/Events.png deleted file mode 100644 index b0c5e7188..000000000 Binary files a/code_backend_theme/static/src/img/icons/Events.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Expenses.png b/code_backend_theme/static/src/img/icons/Expenses.png deleted file mode 100644 index 67406ddc3..000000000 Binary files a/code_backend_theme/static/src/img/icons/Expenses.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Fleet.png b/code_backend_theme/static/src/img/icons/Fleet.png deleted file mode 100644 index 422959bf3..000000000 Binary files a/code_backend_theme/static/src/img/icons/Fleet.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Inventory.png b/code_backend_theme/static/src/img/icons/Inventory.png deleted file mode 100644 index 5dd73dd19..000000000 Binary files a/code_backend_theme/static/src/img/icons/Inventory.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Invoicing.png b/code_backend_theme/static/src/img/icons/Invoicing.png deleted file mode 100644 index 9be39f578..000000000 Binary files a/code_backend_theme/static/src/img/icons/Invoicing.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Link Tracker.png b/code_backend_theme/static/src/img/icons/Link Tracker.png deleted file mode 100644 index b468d30c4..000000000 Binary files a/code_backend_theme/static/src/img/icons/Link Tracker.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Live Chat.png b/code_backend_theme/static/src/img/icons/Live Chat.png deleted file mode 100644 index 60a44e72e..000000000 Binary files a/code_backend_theme/static/src/img/icons/Live Chat.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Lunch.png b/code_backend_theme/static/src/img/icons/Lunch.png deleted file mode 100644 index d8a2e95b9..000000000 Binary files a/code_backend_theme/static/src/img/icons/Lunch.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Maintenance.png b/code_backend_theme/static/src/img/icons/Maintenance.png deleted file mode 100644 index a0bb8a72b..000000000 Binary files a/code_backend_theme/static/src/img/icons/Maintenance.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Manufacturing.png b/code_backend_theme/static/src/img/icons/Manufacturing.png deleted file mode 100644 index 4b922f995..000000000 Binary files a/code_backend_theme/static/src/img/icons/Manufacturing.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Members.png b/code_backend_theme/static/src/img/icons/Members.png deleted file mode 100644 index c538782c8..000000000 Binary files a/code_backend_theme/static/src/img/icons/Members.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Note.png b/code_backend_theme/static/src/img/icons/Note.png deleted file mode 100644 index 329f473e2..000000000 Binary files a/code_backend_theme/static/src/img/icons/Note.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Point of Sale.png b/code_backend_theme/static/src/img/icons/Point of Sale.png deleted file mode 100644 index bbdb5a1d4..000000000 Binary files a/code_backend_theme/static/src/img/icons/Point of Sale.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Project.png b/code_backend_theme/static/src/img/icons/Project.png deleted file mode 100644 index c22fe19fb..000000000 Binary files a/code_backend_theme/static/src/img/icons/Project.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Purchase.png b/code_backend_theme/static/src/img/icons/Purchase.png deleted file mode 100644 index 457740d18..000000000 Binary files a/code_backend_theme/static/src/img/icons/Purchase.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Recruitment.png b/code_backend_theme/static/src/img/icons/Recruitment.png deleted file mode 100644 index b3a2dc763..000000000 Binary files a/code_backend_theme/static/src/img/icons/Recruitment.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Repairs.png b/code_backend_theme/static/src/img/icons/Repairs.png deleted file mode 100644 index 0547711f1..000000000 Binary files a/code_backend_theme/static/src/img/icons/Repairs.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/SMS Marketing.png b/code_backend_theme/static/src/img/icons/SMS Marketing.png deleted file mode 100644 index 6b90e20d8..000000000 Binary files a/code_backend_theme/static/src/img/icons/SMS Marketing.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Sales.png b/code_backend_theme/static/src/img/icons/Sales.png deleted file mode 100644 index 6259ec78e..000000000 Binary files a/code_backend_theme/static/src/img/icons/Sales.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Surveys.png b/code_backend_theme/static/src/img/icons/Surveys.png deleted file mode 100644 index f422f46e2..000000000 Binary files a/code_backend_theme/static/src/img/icons/Surveys.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Time Off.png b/code_backend_theme/static/src/img/icons/Time Off.png deleted file mode 100644 index c34cde490..000000000 Binary files a/code_backend_theme/static/src/img/icons/Time Off.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Timesheets.png b/code_backend_theme/static/src/img/icons/Timesheets.png deleted file mode 100644 index 3c552b3e6..000000000 Binary files a/code_backend_theme/static/src/img/icons/Timesheets.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/Website.png b/code_backend_theme/static/src/img/icons/Website.png deleted file mode 100644 index cd10570fa..000000000 Binary files a/code_backend_theme/static/src/img/icons/Website.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/apps.png b/code_backend_theme/static/src/img/icons/apps.png deleted file mode 100644 index ce5cf33fc..000000000 Binary files a/code_backend_theme/static/src/img/icons/apps.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/close.png b/code_backend_theme/static/src/img/icons/close.png deleted file mode 100644 index c6ea25feb..000000000 Binary files a/code_backend_theme/static/src/img/icons/close.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/discuss.png b/code_backend_theme/static/src/img/icons/discuss.png deleted file mode 100644 index 382b72f87..000000000 Binary files a/code_backend_theme/static/src/img/icons/discuss.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/eLearning.png b/code_backend_theme/static/src/img/icons/eLearning.png deleted file mode 100644 index e0cd5c2a5..000000000 Binary files a/code_backend_theme/static/src/img/icons/eLearning.png and /dev/null differ diff --git a/code_backend_theme/static/src/img/icons/settings.png b/code_backend_theme/static/src/img/icons/settings.png deleted file mode 100644 index 7ff68e472..000000000 Binary files a/code_backend_theme/static/src/img/icons/settings.png and /dev/null differ diff --git a/code_backend_theme/static/src/js/fields/colors.js b/code_backend_theme/static/src/js/fields/colors.js deleted file mode 100644 index 176e0291c..000000000 --- a/code_backend_theme/static/src/js/fields/colors.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @odoo-module **/ -import { getColor } from "@web/core/colors/colors"; - -// To change the default colours of odoo. -var code_backend_color = ["#556ee6", "#f1b44c", "#50a5f1", "#ffbb78", "#34c38f", - "#98df8a", "#d62728","#ff9896", "#9467bd", "#c5b0d5", "#8c564b", - "#c49c94", "#e377c2", "#f7b6d2","#7f7f7f", "#c7c7c7", "#bcbd22", - "#dbdb8d", "#17becf", "#9edae5"]; -for (let i=0;i { - const openSidebarElement = this.openElement.el - const closeSidebarElement = this.closeElement.el - const sidebarLinkElements = this.sidebarLinks.el.children; - if (sidebarLinkElements) { - Array.from(sidebarLinkElements).forEach(link => { - link.addEventListener('click', sidebarLinkHandler); - }); - } - if (openSidebarElement) { - openSidebarElement.addEventListener('click', openSidebarHandler); - } - if (closeSidebarElement) { - closeSidebarElement.addEventListener('click', closeSidebarHandler); - } - }); - - onWillUnmount(() => { - const openSidebarElement = this.openElement.el - const closeSidebarElement = this.closeElement.el - const sidebarLinkElements = this.sidebarLinks.el.children; - if (openSidebarElement) { - openSidebarElement.removeEventListener('click', openSidebarHandler); - } - if (closeSidebarElement) { - closeSidebarElement.removeEventListener('click', closeSidebarHandler); - } - if (sidebarLinkElements) { - Array.from(sidebarLinkElements).forEach(link => { - link.removeEventListener('click', sidebarLinkHandler); - }); - } - }); - }, - - openSidebar() { - this.root.el.nextElementSibling.style.marginLeft = '200px'; - this.root.el.nextElementSibling.style.transition = 'all .1s linear'; - const openSidebarElement = this.openElement.el - const closeSidebarElement = this.closeElement.el - if (openSidebarElement) openSidebarElement.style.display = 'none'; - if (closeSidebarElement) closeSidebarElement.style.display = 'block'; - if (this.root.el.lastChild && this.root.el.lastChild.nodeType === Node.ELEMENT_NODE) { - this.root.el.lastChild.style.display = 'block'; - } - if (this.topHeading.el && this.topHeading.el.nodeType === Node.ELEMENT_NODE) { - this.topHeading.el.style.marginLeft = '200px'; - this.topHeading.el.style.transition = 'all .1s linear'; - this.topHeading.el.style.width = 'auto'; - } - }, - - closeSidebar() { - console.log('Sidebar closed', this.topHeading); - this.root.el.nextElementSibling.style.marginLeft = '0px'; - this.root.el.nextElementSibling.style.transition = 'all .1s linear'; - const openSidebarElement = this.openElement.el - const closeSidebarElement = this.closeElement.el - if (openSidebarElement) openSidebarElement.style.display = 'block'; - if (closeSidebarElement) closeSidebarElement.style.display = 'none'; - if (this.root.el.lastChild && this.root.el.lastChild.nodeType === Node.ELEMENT_NODE) { - this.root.el.lastChild.style.display = 'none'; - } - if (this.topHeading.el && this.topHeading.el.nodeType === Node.ELEMENT_NODE) { - this.topHeading.el.style.marginLeft = '0px'; - this.topHeading.el.style.width = '100%'; - } - }, - - handleSidebarLinkClick(event) { - const closeSidebarElement = this.closeElement.el - if (closeSidebarElement) closeSidebarElement.style.display = 'none'; - if (this.topHeading.el && this.topHeading.el.nodeType === Node.ELEMENT_NODE) { - this.topHeading.el.style.marginLeft = '0px'; - } - if (this.topHeading.el && this.topHeading.el.nodeType === Node.ELEMENT_NODE) { - this.topHeading.el.style.marginLeft = '0px'; - this.topHeading.el.style.width = '100%'; - } - const li = event.currentTarget; - const a = li.firstElementChild; - const id = a.getAttribute('data-id'); - document.querySelector('header').className = id; - Array.from(this.sidebarLinks.el.children).forEach(li => { - li.firstElementChild.classList.remove('active'); - }); - a.classList.add('active'); - this.closeSidebar(); - } -}); \ No newline at end of file diff --git a/code_backend_theme/static/src/scss/datetimepicker.scss b/code_backend_theme/static/src/scss/datetimepicker.scss deleted file mode 100644 index 9eed96fdd..000000000 --- a/code_backend_theme/static/src/scss/datetimepicker.scss +++ /dev/null @@ -1,65 +0,0 @@ -// Date time picker colour changes for the theme -.datepicker { - .table-sm { - > thead { - > tr > .prev { - color: #fff !important; - background-color: $primary_accent !important; - &:hover{ - background-color: darken($primary_accent, 10%) !important; - } - > .fa{ - color: #fff !important; - } - } - > tr > .next { - color: #fff !important; - background-color: $primary_accent !important; - &:hover{ - background-color: darken($primary_accent, 10%) !important; - } - > .fa{ - color: #fff !important; - } - } - > tr > .picker-switch { - color: #fff !important; - background-color: $primary_accent !important; - &:hover{ - background-color: darken($primary_accent, 10%) !important; - } - } - } - > tbody > tr > td { - &.today:before { - border-bottom-color: $primary_accent !important; - } - &.active { - background-color: $primary_accent !important; - } - } - } -} -.picker-switch { - span.fa { - margin: 0; - @include transition($btn-transition); - &.primary { - background-color: $primary_accent; - color: white; - &:hover { - background-color: darken($primary_accent, 20%); - } - } - } -} -.daterangepicker .drp-calendar .calendar-table thead tr:first-child { - color: #FFFFFF; - background-color: $primary_accent; -} -.daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active, .daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active:hover { - background-color: $primary_accent; -} -.daterangepicker .drp-calendar .calendar-table thead tr:first-child th.prev:hover, .daterangepicker .drp-calendar .calendar-table thead tr:first-child th.next:hover { - background-color: darken($primary_accent, 20%); -} diff --git a/code_backend_theme/static/src/scss/login.scss b/code_backend_theme/static/src/scss/login.scss deleted file mode 100644 index c78b3ce38..000000000 --- a/code_backend_theme/static/src/scss/login.scss +++ /dev/null @@ -1,140 +0,0 @@ -#wrapwrap > main { - background: #f8f8fb; -} -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; -} -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; -} diff --git a/code_backend_theme/static/src/scss/navigation_bar.scss b/code_backend_theme/static/src/scss/navigation_bar.scss deleted file mode 100644 index 59c6c1c8c..000000000 --- a/code_backend_theme/static/src/scss/navigation_bar.scss +++ /dev/null @@ -1,324 +0,0 @@ -.o_form_statusbar{ - .o_statusbar_buttons{ - .btn{ - margin-right: 30px !important; - } - } -} -.o_cp_left{ - .btn{ - margin-right: 30px !important; - } -} -.o_calendar_buttons > button > .fa{ -color: #ffffff !important; -} -.o_main_navbar, .btn-primary, .btn-primary:active, .o_searchview_facet_label { - background-color: $primary_accent !important; - color: $inverse_accent !important; -} -.o_search_panel_section_icon { - color: $primary_accent !important; -} -.btn-secondary { - border-radius: 0; - border: solid 1px $primary_accent !important; - color: $primary_accent !important; -}o_list_table -.o_list_view .o_list_table thead { - position: sticky; - top: 0; -} -.breadcrumb-item > a, .o_menu_item > a { - color: $primary_accent !important; -} -.fa-trash { - color: #f46a6a !important; -} -.o_main_navbar > a:hover { - background-color: lighten($primary_accent, 10%) !important; -} -.o_main_navbar > .o_menu_sections > li > a:hover, .o_main_navbar > .o_menu_systray > li > a:hover, .o_main_navbar > .o_menu_sections > li.show > a, .o_main_navbar > .o_menu_systray > li.show > a { - background-color: lighten($primary_accent, 10%) !important; -} -.o_main_navbar > .o_menu_apps > li > a:hover, .o_main_navbar > .o_menu_apps > li > a:active { - background-color: lighten($primary_accent, 10%) !important; -} -.o_main_navbar > .o_menu_apps > .dropdown.show > .dropdown-menu.show { - max-height: 100vh !important; - height: 93vh !important; -} -.o_mail_discuss_sidebar { - background-color: #1c2833; -} -.dropdown-toggle:after { - background-color: lighten($primary_accent, 10%) !important; -} -.o_external_button { - border: none !important; -} -.o_field_x2many_list_row_add > a { - color: $primary_accent !important; -} -.nav-item > a { - color: $primary_accent !important; -} -.o_main_navbar > .o_menu_apps > li > a > i { - color: $inverse_accent !important; - font-size: 16px !important; -} -.o_form_uri > span { - color: $primary_accent !important; -} -.o_required_modifier.o_input { - background-color: $inverse_accent !important; - color: $primary_accent !important; - border-left: solid 3px #f46a6a !important; -} -.o_input { - border: solid 1px $primary_accent !important; - color: $primary_accent !important; -} -.o-no-caret > i, button[aria-pressed=true] { - color: $inverse_accent !important; -} -.o_loading { - background-color: $primary_accent; -} -.fas { - color: $inverse_accent !important; -} -.dashboard_mainbar { - width: 100%; -} -.a_app_menu_title { - display: none; -} -.o_menu_apps > .dropdown.show > .dropdown-menu.show:hover .a_app_menu_title { - display: inline-block; - width: 200px; -} -.o_required_modifier.o_input, .o_required_modifier.o_input { - background-color: $inverse_accent !important; - color: $primary_accent !important; - border-left: solid 3px #f46a6a !important; -} -.o_required_modifier .o_input, .o_required_modifier .o_input { - background-color: $inverse_accent !important; -} -.dropdown-toggle:after { - background-color: #ffffff00 !important; -} -.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { - background-color: $inverse_accent !important; - color: $primary_accent !important; - border-left: solid 3px #f46a6a !important; -} -.o_datepicker.o_field_date.o_field_widget.o_required_modifier > input { - background-color: $inverse_accent !important; - color: $primary_accent !important; - border-left: solid 3px #f46a6a !important; -} -.ui-state-active { - background-color: $primary_accent !important; - color: $inverse_accent !important; -} -.oe_search_bgnd { - background-color: lighten($primary_accent, 20%) !important; - color: $inverse_accent !important; -} -.oe_search_tab { - background-color: $primary_accent !important; - color: $inverse_accent !important; -} -.o_horizontal_separator { - color: $primary_accent !important -} -.o_field_widget.o_field_image .o_form_image_controls { - background-color: $primary_accent !important; -} -.o_field_widget.o_field_image .o_form_image_controls > button { - color: $inverse_accent !important; -} -.dropdown-item.o_app.mt0:hover , .dropdown-item.o_app.mt0:hover > .a_app_menu_title{ -background-color: $primary_accent !important; -color: $inverse_accent !important; -} -div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::before { -background-color: $primary_accent !important; -} -div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::before { -background-color: $primary_accent !important; -} -.o_mail_systray_item .o_mail_systray_dropdown .o_mail_systray_dropdown_top .o_filter_button.active { -color: $primary_accent; -text-decoration: none; -} -.o_mail_user_status.o_user_online { -color: #fff !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled::after { - border-left-color: $primary_accent; -} -.btn-link { -font-weight: 400; -color: $primary_accent !important; -text-decoration: none; -} -.o_thread_window_header { -background-color: $primary_accent !important; -} -.o_thread_window_close,.o_thread_window_expand{ -color: $inverse_accent !important; -} -.o_menu_sections, .o_menu_systray, .o_web_client > header{ -background: $primary_accent !important; -} -.fa-building-o{ -color: white !important; -} -.o_button_import, .oe_import_file{ -background: #5aa29f !important; -color: white !important; -border: solid 2px #5aa29f !important; -} -.o_button_import:hover, .oe_import_file:hover,.o_button_import:active, .oe_import_file:active{ -background: white !important; -color: #5aa29f !important; -border: solid 2px #5aa29f !important; -} -.o_form_button_save,.o_form_button_edit{ -background: #7BA94F !important; -color: white !important; -border: solid 2px #7BA94F !important; -} -.o_form_button_save:hover,.o_form_button_edit:hover,.o_form_button_save:active,.o_form_button_edit:active{ -background: white !important; -color: #7BA94F !important; -border: solid 2px #7BA94F !important; -} -.o-kanban-button-new, .o_list_button_add,.o_form_button_create{ -background: #b9408d !important; -color: white !important; -border: solid 2px #b9408d !important; -} -.o-kanban-button-new:hover, .o_list_button_add:hover,.o_form_button_create:hover,.o-kanban-button-new:active, .o_list_button_add:active,.o_form_button_create:active{ -background: white !important; -color: #b9408d !important; -border: solid 2px #b9408d !important; -} -.o_form_button_cancel,.o_import_cancel{ -background: #cf4137 !important; -color: white !important; -border: solid 2px #cf4137 !important; -} -.o_form_button_cancel:hover,.o_import_cancel:hover,.o_form_button_cancel:active,.o_import_cancel:active{ -background: white !important; -color: #cf4137 !important; -border: solid 2px #cf4137 !important; -} -.report_button{ -border-radius: 0 !important; -border: solid 2px $primary_accent; -background: $primary_accent !important; -} -.report_button:hover,.report_button:active{ -border-radius: 0 !important; -border: solid 2px $primary_accent !important; -color: $primary_accent !important; -background: $inverse_accent !important; -} -.btn-primary{ -border-radius: 0 !important; -} -.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{ -border: none; -border-bottom: solid; -font-weight: bold; -} -.o_data_row:has(.custom-control-input:checked){ -background: blue !important; -} -.o_field_one2many{ - .o_list_view{ - .table-responsive{ - max-height:50vh; - } - } -} -thead { -position: sticky; -position: -webkit-sticky; -top: 0; -} -.o_list_view .o_list_table tbody{ - position: sticky; - top: 30px; -} -.o_list_view{ - .o_list_table{ - thead{ - z-index:999; - } - } -} -.o_list_view .table-responsive .table{ - width: max-content !important; - min-width: 100%; - thead - { - z-index:999; - tr:nth-child(1) th{ - position: sticky; - top: 0; - z-index: 999; - background-color: #eeeeee !important; - } - } -} -.o_list_view .o_list_table tbody{ -position:initial !important; -} -.o_list_view .table-responsive .table thead{ -z-index: 1; -} -.o_optional_columns_dropdown_toggle{ -z-index: 999; -} -.o_home_menu_background:not(.o_home_menu_background_custom) .o_main_navbar{ - max-height:100px; -} -.o_progressbar .o_progress .o_progressbar_complete { -background-color: #3d9bbb; -} -.o_cp_left .btn { - margin-right: 10px !important; -} -.o_main_navbar .o_menu_sections { - flex-wrap: wrap !important; -} -.o_section_and_note_list_view{ - width:98%; -} -.o_list_renderer{ - margin-left: 21px; -} -.o_notebook .nav{ - background: none; -} -.o-form-buttonbox{ - margin-left:-15px; - margin-right:-15px; -} -.o-mail-DiscussSystray-class > button { - color: black !important; -} -.o_menu_systray > button { - color: black !important; -} -.o_debug_manager > button{ - color: black !important; -} -.o_menu_sections_more > button{ - color: black !important; -} \ No newline at end of file diff --git a/code_backend_theme/static/src/scss/sidebar.scss b/code_backend_theme/static/src/scss/sidebar.scss deleted file mode 100644 index 4944cdf66..000000000 --- a/code_backend_theme/static/src/scss/sidebar.scss +++ /dev/null @@ -1,92 +0,0 @@ -#sidebar_panel { - height: calc(100% - 0%); - position: fixed; - top: 0px; - background-color: #2a3042; - display: none; - width: 200px; - overflow-y: scroll; - -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ - scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 999; -} -#sidebar_panel::-webkit-scrollbar { - display: none; /* Hide scrollbar for Chrome, Safari and Opera */ -} -.sidebar_panel .sidebar { - padding: 0; - white-space: nowrap; - padding-bottom: 20px; - padding-top: 5px; -} -.sidebar_panel .sidebar_close { - text-align: end; - display: none; - position: sticky; - height: 35px; - padding-top: 5px; - top: 0; - background: #2a3042; - z-index: 1; -} -.sidebar_panel .sidebar_close a#closeSidebar { - font-size: 18px; - margin-right: 10px; - color: #ffffff; - opacity: .3; -} -.sidebar_panel .sidebar_close a#closeSidebar img { - width: 15px; -} -.sidebar_panel .sidebar .sidebar_logo { - padding-top: 20px; - text-align: center; - padding-bottom: 20px; -} -.sidebar_panel .sidebar .sidebar_logo img { - max-width: 150px; -} -.sidebar_panel .sidebar .sidebar_head { - padding-top: 20px; - padding-left: 15px; - color: #6a7187; - font-size: 14px; -} -.sidebar_panel .sidebar .sidebar_menu { - list-style: none; - margin: 0; - padding: 0; -} -.sidebar_panel .sidebar .sidebar_menu li { - margin: 0; - padding: 0; - border: 0px; - display: block; -} -.sidebar_panel .sidebar .sidebar_menu li a { - margin: 0; - border: 0px; - display: block; - cursor: pointer; - overflow: hidden; - padding: 8px 10px 8px 25px; - color: #ffffff; - font-size: 13px; - transition:.3s all; -} -.sidebar_panel .sidebar .sidebar_menu li:hover a { - background: #1e2230; - color: #fff; -} -.sidebar_panel .nav-link { - opacity: .5; - transition:.3s all; -} -.sidebar_panel .sidebar a.nav-link.active { - color: #fff !important; - opacity: 1; -} -.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { - width: 20px; - margin-right: 8px; -} diff --git a/code_backend_theme/static/src/scss/theme.scss b/code_backend_theme/static/src/scss/theme.scss deleted file mode 100644 index 9b525fcfc..000000000 --- a/code_backend_theme/static/src/scss/theme.scss +++ /dev/null @@ -1,1692 +0,0 @@ -//Top Bar -@font-face { - font-family: 'Poppins' !important; - src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap'); -} -body { - font-family: 'Poppins', sans-serif !important; - background-color: #f8f8fb; -} -a { - color: $primary_accent; -} -a:hover { - color: $primary_hover; -} -a.btn { - height: auto !important; -} -.o_main_navbar, .o_searchview_facet_label { - background-color: transparent !important; - color: $f_color !important; - border:1px !important; -} -.o_menu_sections, .o_menu_systray, .o_web_client > header{ - background: $bg_white !important; -} -.oe_topbar_name { - color: $f_color !important; -} -.o_main_navbar > .o_menu_apps > li > a > i { - color: $f_color !important; - font-size: 16px !important; -} -.o_main_navbar { - align-items: center; - border-bottom: 0px solid #5f5e97 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - background-color: #fff !important; -} -.top_heading { - display: flex; - justify-content: flex-start; - align-items: center; - width: 100%; -} -.top_heading ul { - margin-bottom: 0 !important; -} -.top_heading > a { - margin-left: 10px; - font-size: 20px; -} -.top_heading li { - list-style: none; -} -.o-no-caret > i, button[aria-pressed="true"] { - color: $f_color !important; -} -.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { - height: 46px; - padding: 0 5px; - color: $f_color !important; - line-height: 46px; -} -.o_main_navbar > .o_menu_sections > li > a:hover, -.o_main_navbar > .o_menu_systray > li > a:hover, -.o_main_navbar > .o_menu_sections > li.show > a, -.o_main_navbar > .o_menu_systray > li.show > a { - background-color: $bg_white !important; -} -.topbar_icon .fa { - color: #555b6d !important; - font-size: 20px !important -} -.o_main_navbar .o_user_menu .oe_topbar_avatar { - height: 35px; - width: 35px; -} -.o_MessagingMenu_counter { - background-color: #556ee6; - color: #fff !important; -} -.o_mail_systray_item .o_notification_counter { - background: #556ee6 !important; -} -.o_control_panel { - background: #f8f8fb !important; - border:none !important; -} -.o_facet_remove.oi.oi-close.btn.btn-link{ - margin-top: -10px; - margin-right: -5px !important; -} -.js_quantity.form-control.quantity.text-center{ - height:3.4rem !important; -} -.o_searchview { - border: 1px solid #ddd; - padding-left: 12px; - padding-right: 20px; - -webkit-box-shadow: none; - box-shadow: none; - border-radius: 5px; - padding-top: 6px; - height: 43px; -} -.o_searchview .o_searchview_facet { - border: 1px solid #ddd; - background: #f8f8fb; - border-radius: 10px; - padding: 0 2px; - max-height:30px; -} -.o_cp_bottom_right span.o_dropdown_title { - color: #555b6d; -} -.o_cp_bottom_left .o_form_button_cancel { - margin-right: 5px !important; - padding: 6px 8px !important; - color: #fff !important; - background-color: #f46a6a !important; - border-color: #f46a6a !important; -} -.o_cp_bottom_left .o_form_button_cancel:hover { - background-color: #cf5a5a !important; - border-color: #c35555 !important; -} -.o_control_panel { - border-bottom: none important; - margin: 15px 15px 0 15px; - background-color: #ffffff !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - border-radius: 5px; -} -.o_form_view, -.o_widget_Discuss { - background: #f8f8fb; -} -.o_form_statusbar .o_statusbar_buttons .btn { - margin-right: 15px !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):after { - border-top: 21px solid transparent !important; - border-bottom: 17px solid transparent !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before { - right: -11px; - border-left-color: $primary_accent; -} -// Top Bar End - -// Button -.btn { - display: inline-block; - font-weight: 400 !important; - line-height: 1.5 !important; - color: #495057; - text-align: center; - vertical-align: middle; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-color: transparent; - border: 1px solid transparent; - padding: 6px 15px !important; - border-radius: 4px !important; - -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; - transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - height: 40px !important; - margin-bottom: 2px; -} -.btn-primary { - color: #fff !important; - background-color: $primary_accent !important; - border-color: $primary_accent !important; -} -.btn-primary:hover { - color: #fff !important; - background-color: $primary_hover !important; - border-color: #4458b8 !important; -} -.btn-primary:active { - color: #fff !important; - background-color: #4458b8 !important; - border-color: #4053ad !important; -} -.btn-check:focus+.btn-primary, .btn-primary:focus { - color: #fff; - background-color: #485ec4 !important; - border-color: #4458b8 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; - box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; -} -.btn-primary i,.btn-primary span { - color: #fff !important; -} -.btn-secondary { - color: #fff !important; - background-color: #74788d !important; - border-color: #74788d !important; -} -.btn-secondary:hover { - color: #fff !important; - background-color: #636678 !important; - border-color: #5d6071 !important; -} -.btn-secondary:active { - color: #fff; - background-color: #5d6071 !important; - border-color: #575a6a !important; -} -.btn-check:focus+.btn-secondary, .btn-secondary:focus { - color: #fff; - background-color: #636678 !important; - border-color: #5d6071 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; - box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; -} -.btn-secondary i,.btn-secondary span { - color: #fff !important; -} -.btn-info { - color: #fff !important; - background-color: #50a5f1 !important; - border-color: #50a5f1 !important; -} -.btn-info:hover { - color: #fff !important; - background-color: #448ccd !important; - border-color: #4084c1 !important; -} -button[name="action_cancel"], -button[name="button_cancel"], -button[special="cancel"] { - color: #fff !important; - background-color: #f46a6a !important; - border-color: #f46a6a !important; -} -button[name="action_cancel"]:hover, -button[name="button_cancel"]:hover, -button[special="cancel"]:hover { - background-color: #cf5a5a !important; - border-color: #c35555 !important; -} -button[name="action_cancel"]:active, -button[name="button_cancel"]:active, -button[special="cancel"]:active { - color: #fff !important; - background-color: #c35555 !important; - border-color: #b75050 !important; -} -button[name="action_cancel"]:focus, -button[name="button_cancel"]:focus, -button[special="cancel"]:focus { - color: #fff !important; - background-color: #cf5a5a !important; - border-color: #c35555 !important; - -webkit-box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; - box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; -} -button[name="update_module"] { - margin-right: 2px; -} -.btn-warning, -button[name="action_uninstall"] { - color: #fff !important; - background-color: #f1b44c !important; - border-color: #f1b44c !important; -} -.btn-warning:hover, -button[name="action_uninstall"]:hover { - color: #fff !important; - background-color: #cd9941 !important; - border-color: #c1903d !important; -} -.btn-warning:active, -button[name="action_uninstall"]:active { - color: #fff !important; - background-color: #c1903d !important; - border-color: #b58739 !important; -} -.btn-warning:focus, -button[name="action_uninstall"]:focus { - color: #fff !important; - background-color: #cd9941 !important; - border-color: #c1903d !important; - -webkit-box-shadow: 0 0 0 0.15rem rgba(243,191,103,.50) !important; - box-shadow: 0 0 0 0.15rem rgba(243,191,1,.50) !important; -} - -.o_statusbar_status .o_arrow_button.btn-secondary { - border: solid 1px #556ee6 !important; - color: #556ee6 !important; - background-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary:hover:after { - border-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-primary { - border: solid 1px #556ee6 !important; - color: #fff !important; -} -.o_cp_bottom_right .btn-secondary { - background: #fff; - border-color: #dddddd !important; - margin-right: 5px !important; - padding : 6px 8px !important; -} -.o_cp_bottom_left .o_form_button_create { - color: #fff !important; - background-color: #74788d !important; - border-color: #74788d !important; - padding: 5px 15px !important; -} -.o_web_settings_invite { - margin-left: 7px; - position: relative; - top: -1px; -} -.o_form_view .oe_button_box .btn.oe_stat_button { - height: 44px !important; - opacity: 1 !important; - border-radius: 0px !important; -} -.oe_module_action .btn { - height: auto !important; -} -.o_cp_buttons a.btn { - display: flex !important; - align-items: center; -} -button.fa.fa-external-link.btn.btn-secondary.o_external_button { - padding: 2px !important; - color: #74788d !important; - background: none !important; -} -.o_statusbar_status.o_field_widget.o_readonly_modifier .btn { - margin-right: 0 !important; -} -.btn-group .btn { - margin-right: 3px; -} -.o_Composer_actionButton.o-last.o-has-current-partner-avatar.o-composer-is-compact { - height: 48px !important; - border-bottom-left-radius: 0px !important; - border-top-left-radius: 0px !important; -} -.oe_right .btn { - margin-left: 2px; -} -//Button End - -// Table -.table-sm th, .table-sm td { - padding: 0.5rem; -} -tr.o_data_row { - font-size: 15px; -} -.o_list_view .table-responsive .table thead tr:nth-child(1) th { - position: sticky; - top: 0; - z-index: 999; - background-color: #ffffff !important; -} -th.o_list_record_selector { - color: #495057 !important; - border-color: #eff2f7 !important; - background-color: #f8f9fa !important; -} -.table>:not(caption)>*>* { - padding: 1rem 1rem; - background-color: var(--bs-table-bg); - border-bottom-width: 1px; - -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); - box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); -} -.o_list_view .o_list_table thead > tr > th:not(.o_list_record_selector).o_list_number_th { - text-align: left !important; -} -.o_list_view .o_list_table thead > tr > th:not(.o_list_record_selector) { - border-left: none !important; -} -.table thead th { - vertical-align: bottom; - border-bottom: none; -} -.table th { - border-top: 1px solid #fff !important; -} -.o_list_view .o_list_table tfoot { - background-color: #fff !important; -} -.o_list_view .table-responsive .o_list_table tfoot tr:nth-child(1) td { - background-color: #fff !important; -} -.o_list_view .o_list_table tr:focus-within, -.o_list_view .o_list_table.table-striped tr:focus-within { - background-color: #fff !important; -} -// Table End - -// Checkbox -.custom-checkbox label { - position: relative; - cursor: pointer; -} -.custom-checkbox label:before { - content:''; - -webkit-appearance: none; - background-color: transparent; - border: 1px solid #0079bf; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); - padding: 10px; - display: inline-block; - position: relative; - vertical-align: middle; - cursor: pointer; - margin-right: 5px; - margin-top: 0px; -} -.custom-checkbox input:checked + label:after { - content: ''; - display: block; - position: absolute; - top: 2px; - left: 9px; - width: 6px; - height: 14px; - border: solid #0079bf; - border-width: 0 2px 2px 0; - transform: rotate(45deg); -} -.custom-checkbox label::before { - content: ''; - -webkit--webkit-appearance: none; - -moz-appearance: none; - appearance: none; - background-color: transparent; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); - padding: 10px; - display: inline-block; - position: relative; - vertical-align: middle; - cursor: pointer; - margin-right: 5px; -} -.custom-control-label::before { - position: absolute; - top: 0px !important; - left: 1px !important; - display: block; - width: 1rem; - height: 1rem; - pointer-events: none; - content: ""; - background-color: #FFFFFF; - border: 1px solid rgba(0,0,0,.25) !important; - box-shadow: none !important; - border-radius: 5 !important; - margin-top: -5px; -} -.custom-checkbox { - padding-left: 0rem !important; -} -.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { - background-color: $primary_accent; -} -.custom-checkbox input:checked + label::after { - content: ''; - display: block; - position: absolute; - top: 1px; - left: 9px; - width: 6px; - height: 14px; - border: solid #fff; - border-width: 0 2px 2px 0; - transform: rotate(45deg); -} -.dropdown-item .custom-checkbox input:checked + label::after { - content: ''; - display: block; - position: absolute; - top: 1px; - left: 19px; - width: 6px; - height: 14px; - border: solid #fff; - border-width: 0 2px 2px 0; - transform: rotate(45deg); -} -.custom-control-input:checked ~ .custom-control-label::before { - color: #ffffff; - background-color: #556ee6; - border-color: #556ee6; -} -.custom-control.custom-checkbox .custom-control-input:not(:checked):not(:indeterminate) ~ .custom-control-label:before { - background: none; - outline: none !important; -} -.o_list_selection_box { - display: inline-block; - padding: 0.375rem 0.75rem; - vertical-align: middle; - border: 1px solid rgba(85,110,230,.25)!important; - background-color: rgba(85,110,230,.25)!important; - color: $primary_accent !important; - border-radius: 5px; -} -.o_radio_input + .custom-control-label::before { - position: absolute !important; - top: 8.5px !important; - left: -1.5rem !important; - display: block !important; - width: 1rem !important; - height: 1rem !important; - pointer-events: none !important; - content: "" !important; - background-color: #FFFFFF !important; - border: #adb5bd solid 1px !important; -} -.custom-radio .custom-control-input:checked ~ .custom-control-label::after { - background: $primary_accent !important; - border-radius: 30px; -} -.o_form_view .o_form_statusbar { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: flex; - justify-content: space-between; - padding-left: 5px; - border-bottom: none !important; - background-color: white; - border-radius: 5px; -} -.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { - border-left: solid 3px #f46a6a !important; -} -.fa-building-o { - color: #555b6d !important; -} -// Sheet end - -//Discuss -.o_Discuss { - padding: 15px !important; - background: #f5f5f9 !important; -} -.o_Discuss .o_DiscussSidebar { - background-color: #ffffff !important; - color: #dee2e6 !important; - border-radius: 5px; - margin-right: 10px !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_DiscussSidebar_item.o-active { - color: #f46a6a !important; - font-weight: 500 !important; -} -.o_DiscussSidebarItem:hover { - background: none !important; -} -.o_DiscussSidebarItem { - cursor: pointer !important; - color: #74788d !important; - line-height: 24px !important; - padding: 10px 5px !important; -} -.o_DiscussSidebarItem_activeIndicator.o-item-active { - background: none !important; -} -.o_DiscussSidebar_item.o-active .fa { - color: #f46a6a !important; -} -.o_widget_Discuss .o_Discuss_content { - border-top: none !important; - background-color: #ffffff !important; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; -} -.o_DiscussSidebarItem_counter { - background-color: #f46a6a !important; - color: #fff !important; -} -.o_ThreadIcon_online { - color: #34c38f; -} -.o_Message_prettyBody table th { - color: $primary_accent !important; -} -.o_Message_prettyBody table thead tr td { - background-color: $primary_hover !important; -} -.o_DiscussSidebarMailbox.o-active { - background-color: #e9ecef; - color: #f46a6a !important; - font-weight: 500 !important; -} -.o_Discuss .o_DiscussSidebar { - color: #74788d !important; - line-height: 24px !important; - padding: 10px 5px !important; -} -.o_DiscussSidebarMailbox.o-starred-box .o_DiscussSidebarMailbox_counter { - border-color: #f46a6a !important; - background-color: #f46a6a !important; - color: #fff !important; -} -.o_list_buttons.d-flex button { - margin-right: 5px; -} -// Discuss End - -//Chatter @form -.o_FormRenderer_chatterContainer { - max-width: initial; - margin-top: 15px !important; - padding: 0 !important; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_ChatterContainer { - padding: 10px; - background: #fff; - border-radius: 5px; -} -.o_Discuss .o_Message .o_Message_prettyBody p a { - background: $primary_accent !important; -} -.o_Message.o-not-discussion { - background-color: #eff2f7; - margin: 5px; - border-radius: 5px; - border-bottom: none; -} -.o_Composer { - background-color: #fff; - border-radius: 0 0 5px 5px; - border: none !important; -} -//Chatter @form Ends - -//Chatter mini starts -.o_ChatWindow { - background-color: #fff !important; - border-radius: 5px 5px 0 0 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.25) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .25) !important; -} -.o_PartnerImStatusIcon_icon.o-offline { - color: #495057 !important; -} -.o_PartnerImStatusIcon_icon.o-online { - color: #34c38f !important; -} -.o_PartnerImStatusIcon_innerBackground { - color: white !important; -} -i.o_PartnerImStatusIcon_outerBackground.fa.fa-circle.fa-stack-1x { - color: #fff !important; -} -.o_ChatWindowHeader_item.o_ChatWindowHeader_rightArea .fa { - color: #fff !important; -} -.o_ChatWindowHeader { - background-color: #556ee6; - color: white !important; -} -//Chatter mini ends - -// Tabs Start -.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { - border: none; - border-bottom: solid; - font-weight: bold; - background: $primary_accent; - background-color: $primary_accent !important; - color: #ffffff !important; - border-radius: 5px; -} -.nav-link { - display: block; - padding: 1rem 2rem; -} -.o_form_view .o_notebook { - clear: both; - margin-top: 25px; - --notebook-margin-x: -32px; - --notebook-padding-x: 23px; -} -.nav-tabs { - border-bottom: none; -} -.nav-tabs .nav-link { - border: 1px solid #e3e3e3; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - border-bottom: none !important; -} -.nav-item > a { - color: #555b6d !important; -} -.nav-link:hover, .nav-link:focus { - border: 1px solid #e9e9e9 !important; - border-bottom: none !important; -} -ul.sidebar_menu .nav-link:hover,ul.sidebar_menu .nav-link:focus { - border: none !important; - border-bottom: none !important; -} -a#closeSidebar { - margin-left: 10px; -} -a#openSidebar { - margin-left: 10px; -} -// TAbs End - -// Font color -.o_horizontal_separator { - color: #495057 !important; -} -.btn-link { - font-weight: 400; - color: $primary_accent !important; - text-decoration: none; -} -.o_activity_view .o_record_selector { - color: #34c38f; -} -// Font color ends - -// Form -input { - display: block; - width: 100%; - font-size: 13px; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da !important; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border-radius: .25rem; - -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - box-shadow: none !important; - margin-bottom:10px !important; -} -select { - width: 100%; - height: 40px !important; - padding: 10px 20px; - font-size: 13px; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da !important; - border-radius: .25rem; - -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out; - box-shadow: none !important; - margin-bottom:10px !important; -} -.o_field_widget .o_input_dropdown .o_dropdown_button { - position: absolute; - top: 6px; - left: auto; - bottom: auto; - right: 9px; -} -.o_datepicker .o_datepicker_button { - position: absolute; - top: 6px; - left: auto; - bottom: auto; - right: 9px; - pointer-events: none; -} -.o_input { - border: solid 1px #ced4da !important; - color: #495057 !important; -} -.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, -.o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value { - color: #556ee6; -} -.o_form_view .oe_button_box .oe_stat_button .o_button_icon { - color: #556ee6; -} -// Form end - -// Search view -.o_searchview input.o_searchview_input { - border: none !important; - height: auto !important; - margin: 0 !important; - padding: 0px; -} -.o_base_settings .o_control_panel .o_panel .o_setting_search .searchIcon { - top: 9px; - right: 10px; -} -.o_base_settings .o_control_panel .o_panel .o_setting_search .searchInput { - padding: 10px 15px; -} -// Search view end - -// Settings page -.o_web_settings_invite { - margin-left: 7px; -} -.o_settings_container .o_setting_box .o_setting_right_pane { - margin-left: 32px !important; - border-left: 1px solid #dee2e6; - padding-left: 12px; -} -.o_setting_container { - background: #f8f8fb; - padding: 15px 0 0 0; -} -.o_base_settings .o_control_panel { - margin: 0; -} -.settings { - margin-left: 15px; - background-color: #ffffff !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - border-radius: 5px; -} -.settings_tab { - background-color: #ffffff !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - border-radius: 5px; -} -.o_base_settings .o_setting_container .settings_tab .selected, - .o_base_settings .o_setting_container .settings_tab .selected span { - box-shadow: none !important; - color: #f46a6a !important; - font-weight: 500 !important; - background: none !important; -} -.o_base_settings .o_setting_container .settings_tab .tab { - color: #74788d !important; -} -.o_setting_container .o_field_widget.o_field_many2one.o_with_button.oe_inline { - margin-left: 15px !important; -} -// Settings page end - -// Scrollbar starts -::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.19); - border-radius: 10px; - background-color: #F5F5F5; -} -::-webkit-scrollbar { - width: 12px; - background-color: #F5F5F5; -} -::-webkit-scrollbar-thumb { - border-radius: 10px; - -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.2); - background-color: #c9ccd6; -} -// Scrollbar ends - -// Common starts -.o_content { - margin: 15px; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - background-color: #f8f8fb; -} -.o_action { - background: #f8f8fb; -} -// Common ends - -// Kanban_view starts -.o_kanban_view { - border-radius: 5px; - background: #fff; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_kanban_view.o_kanban_ungrouped .o_kanban_record { - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_kanban_view .o_kanban_group { - background: #fff; - border-radius: 5px; - margin-right: 10px; -} -.o_kanban_view.o_kanban_grouped { - background-color: #f8f8fb; -} -.o_kanban_view.o_kanban_grouped .o_kanban_record, .o_kanban_view.o_kanban_grouped .o_kanban_quick_create { - border-radius: 5px; - margin-bottom: 10px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_kanban_view.o_kanban_dashboard .o_kanban_record .o_kanban_card_header + .container.o_kanban_card_content .o_kanban_primary_bottom.bottom_block { - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; - background: rgba(85,110,230,.25) !important; -} -.o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left { - border-bottom-left-radius: 5px; - border-top-left-radius: 5px; -} -.o_kanban_record::after { - border-bottom-left-radius: 5px; - border-top-left-radius: 5px; -} -.o_kanban_quick_create .o_form_view, -.o_kanban_quick_create .o_action, -.o_kanban_quick_create .o_content { - background: #fff; - margin: 0px; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} -.o_kanban_view .o_kanban_content .bg-primary { - border-radius: 5px 0 0 5px; -} -// Kanban_view ends - -// Canvas -canvas.chartjs-render-monitor { - width: 100% !important; - height: 100% !important; -} -// Canvas End - -// Apps menu starts -.o_search_panel { - border-right: none; - background-color: #ffffff; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.list-group-item-action { - width: 100%; - color: #74788d; - text-align: inherit; -} -.list-group-item-action:hover, .list-group-item-action:focus { - color: none !important; - background: none !important; -} -.o_search_panel .list-group-item header.active { - background: none !important; - color: #f46a6a !important; - font-weight: 500 !important; -} -.o_controller_with_searchpanel .o_renderer_with_searchpanel { - margin-left: 15px; -} -//Apps menu ends - -// Website app starts -.o_dashboards .o_website_dashboard { - background-color: #ffffff !important; -} -.o_dashboards .o_website_dashboard div.o_box { - box-shadow: none !important; -} -.o_inner_box { - background-color: $primary_accent !important; - border-radius: 5px; -} -.o_inner_box:hover { - background-color: $primary_hover !important; -} -// Website app ends - -// Purchase app starts -td.o_main { - background-color: $primary_accent !important; - border-radius: 5px; -} -td.o_main:hover { - background-color: $primary_hover !important; -} -.o_purchase_dashboard .table > thead > tr > td, -.o_purchase_dashboard .table tbody > tr > td { - border-radius: 5px; -} -//Purchase app ends - -// Input inside colour starts -.o_searchview .o_searchview_facet .o_facet_values { - border :1px solid white; -} -select, input { - color: #4c4c4c !important; -} -.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { - color: #4c4c4c !important; -} -.o_required_modifier.o_input, .o_required_modifier.o_input { - color: #4c4c4c !important; -} -.o_datepicker.o_field_date.o_field_widget.o_required_modifier > input { - color: #4c4c4c !important; -} -.o_field_widget.o_field_many2manytags .o_tag_color_0 { - max-height:20px; -} -// Input inside colour ends - -// Welcome demo starts -.o_onboarding_container.collapse.show { - border-radius: 5px !important; - margin: 15px 15px 0px 15px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_onboarding.o_onboarding_blue, -.o_onboarding.o_onboarding_blue .o_onboarding_step_title, -.o_onboarding.o_onboarding_blue .o_onboarding_step_action, -.o_onboarding.o_onboarding_blue a.o_onboarding_all_done, -.o_onboarding.o_onboarding_blue .o_onboarding_all_done > .fa, -.o_onboarding.o_onboarding_blue .o_onboarding_btn_close { - border-radius: 5px; -} -.o_onboarding { - border-radius: 5px; -} -// Welcome demo ends - -// Modal starts -.modal.o_technical_modal .modal-content { - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #f6f6f6; -} -.modal.o_technical_modal .modal-content .o_form_view, -.modal.o_technical_modal .modal-content .o_content, -.modal.o_technical_modal .modal-content .o_action { - background-color: #fff !important;; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} -.modal.show .modal-dialog { - display: -webkit-box; - display: -webkit-flex; - display: flex; - align-items: center; - min-height: calc(100% - 1rem); -} -.modal .o_form_view .o_group .o_field_widget { - width: 98% !important; -} -// Modal ends - -// Calendar starts -.o_calendar_view { - background: #fff; -} -// Calendar ends - -// Expense starts -.o_content .o_expense_container { - background: #fff; -} -// Expense ends - -// Lunch starts -.o_lunch_content .o_lunch_banner { - border-bottom: none !important; - background-color: #fff !important; - margin: 0 15px 10px 15px; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -// Lunch ends - -// Kiosk starts -.o_hr_attendance_kiosk_backdrop { - background-color: #f8f8fb !important; -} -.o_hr_attendance_kiosk_mode { - background-color: #fff !important; - border-radius: 0 0 5px 5px !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_hr_attendance_kiosk_mode .o_hr_attendance_user_badge { - border-radius: 5px 5px 0 0 !important; - border-top: none !important; - background: rgba(85,110,230,.25) !important; -} -.o_hr_attendance_sign_in_out_icon.fa-sign-in { - color: #fff !important; - background-color: $primary_accent !important; - border-color: $primary_accent !important; -} -.o_hr_attendance_sign_in_out_icon.fa-sign-in:hover { - color: #fff !important; - background-color: $primary_hover !important; - border-color: #4458b8 !important; -} -.o_hr_attendance_sign_in_out_icon.fa-sign-in:active { - color: #fff !important; - background-color: #4458b8 !important; - border-color: #4053ad !important; -} -.o_hr_attendance_sign_in_out_icon.fa-sign-in:focus { - color: #fff; - background-color: #485ec4 !important; - border-color: #4458b8 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; - box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; -} -.o_hr_attendance_kiosk_mode h3.mt0.mb0.text-muted { - color: $primary_accent !important; -} -.o_hr_attendance_button_employees div.mb16.mt16 { - margin-top: 4px !important; -} -// Kiosk ends - -// Timeoff starts -.o_timeoff_container { - background: #fff; -} -// Timeoff ends - -// Project .fa colours starts -.o_mail_activity .o_activity_color_planned { - color: #34c38f !important; -} -.o_mail_activity .o_activity_color_overdue { - color: #f46a6a !important; -} -.o_field_widget.o_priority > .o_priority_star.fa-star { - color: #f1b44c !important; -} -// Project .fa colours ends - -// Sale status icon starts -.bg-primary { - background-color: $primary_accent !important; -} -.bg-secondary { - background-color: $secondary_accent !important; -} -.bg-success-light { - color: #1f7556 !important; - background-color: #d6f3e9 !important; -} -.bg-info-light { - color: #306391 !important; - background-color: #dcedfc !important; -} -.bg-danger-light { - background-color: #fde1e1 !important; - color: #924040 !important; -} -.bg-warning-light { - background-color: #fcf0db !important; - color: #916c2e !important; -} -.o_field_widget.o_field_badge { - color: #464855; - background-color: #e3e4e8; -} -// Sale status icon end - -// Stock icon colors starts -.o_list_view .o_list_table .text-danger, -.o_list_view .o_list_table .oe_import .alert.text-error, -.oe_import .o_list_view .o_list_table .alert.text-error { - color: #f46a6a !important; -} -.text-danger { - color: #f1b44c !important; -} -.text-warning { - color: #f1b44c !important; -} -.text-error { - color: #f46a6a !important; -} -.text-success { - color: #34c38f !important; -} -// Stock icon colors ends - -// Badges starts -.badge-primary { - background-color: #556ee6 !important; -} -.badge-secondary { - background-color: #74788d; -} -.badge-success { - background-color: #34c38f; -} -.badge-info { - background-color: #50a5f1; -} -.badge-danger { - background-color: #f46a6a; -} -.badge-warning { - background-color: #f1b44c; -} -.badge-dark { - background-color: #343a40; -} -.bg-success { - background-color: #34c38f !important; -} -.bg-success-full { - background-color: #34c38f !important; -} -.bg-warning-full { - background-color: #f1b44c !important; -} -.bg-danger-full { - background-color: #f46a6a; -} -.o-planned { - color: #34c38f !important; -} -.o-overdue { - color: #f46a6a !important; -} -.o_progressbar_complete { - background-color: #34c38f !important; -} -// Badges ends - -// Alert starts -.alert-warning { - color: #916c2e; - background-color: #fcf0db; - border-color: #fbe9c9; -} -.alert-danger { - color: #924040; - background-color: #fde1e1; - border-color: #fcd2d2; -} -.alert-success { - color: #1f7556; - background-color: #d6f3e9; - border-color: #c2eddd; -} -.alert-info { - color: #306391; - background-color: #dcedfc; - border-color: #cbe4fb; -} -.toast { - border-radius: 5px !important; - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.toast-header { - border-bottom: 1px solid #fcd2d2 !important; - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; -} -.toast-body { - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; -} -.o_notification_manager { - top: auto !important; - bottom: 30px !important; -} -// Alert ends - -// Recruitment starts -div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::before, -div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::after { - left: 0.1rem !important; -} -div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::after { - top: 1.5px !important; -} -div.o_boolean_toggle.custom-control.custom-checkbox > label.custom-control-label::after { - top: 1px; -} -.o_kanban_view.o_kanban_dashboard.o_hr_recruitment_kanban .ribbon span { - background-color: #556ee6; -} -.o_kanban_view.o_kanban_dashboard.o_hr_recruitment_kanban.o_kanban_ungrouped .o_kanban_record:not(.o_kanban_ghost) { - height: 197px; -} -// Recruitment ends - -// Note editor starts -.note-popover .popover .popover-body, .panel-heading.note-toolbar { - padding: 5px !important; - border-bottom: none !important; - background: rgba(85, 110, 230, 0.25) !important; - border-radius: 5px 5px 0 0 ; -} -.note-editor .note-statusbar { - border-radius: 0 0 5px 5px; -} -.wysiwyg_iframe, .note-editor { - border: 1px, bold !important; - border-radius: 5px; -} -// Note editor ends - -// Progress starts -.oe_kanban_content .progress .progress-bar { - background-color: #556ee6; -} -.progress-bar.bg-muted-full { - background-color: #dee2e6; -} -// Progress ends - -// Email marketing starts -.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container { - background: rgba(85, 110, 230, 0.25); - color: #000; -} -.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container > input { - background: rgba(85, 110, 230, 0.25); -} -.o_field_widget.o_field_domain.o_inline_mode.o_edit_mode > .o_field_domain_panel { - top: -18px; -} -.o_domain_node .o_domain_selector_row > .o_domain_node_control_panel { - top: 5px; -} -.o_mail_emojis_dropdown { - bottom: 50px; -} -// Email marketing ends - -// Menu+ color starts -.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a { - background-color: #74788d; -} -.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a.dropdown-toggle { - background-color: #abadba; -} -// Menu+ color ends - -// Top menu bar starts -nav.o_main_navbar.small_nav { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - height: auto; -} -ul.o_menu_systray.topbar_icon { - margin-left: auto; -} -.o_main_navbar .o_user_menu > a { - display: flex; - align-items: center; -} -.oe_topbar_name { - max-width: 300px; - margin-left: 5px; - white-space: nowrap; - overflow: hidden; -} -ul.o_menu_sections { - padding-left: 20px; -} -@media (max-width: 1371px) { - nav.o_main_navbar { - display: flex; - justify-content: right; - height: auto; - } - ul.o_menu_systray.topbar_icon { - margin-left: auto; - } -} -@media (max-width: 575.98px) { - .o_main_navbar .o_menu_sections { - max-width: 200px; - overflow-x: auto; - flex-wrap: nowrap !important; - } - .o_search_panel { - flex: auto; - } -} -// Top menu bar ends - -// Datetimepicker starts -.datepicker td, -.datepicker td a, -.datepicker th, -.datepicker span { - padding: 0.5rem !important; -} -div.dropdown-menu.bootstrap-datetimepicker-widget { - width: auto !important; -} -// Datetimepicker ends - -// Groupby color starts -.o_list_view tbody > tr.o_group_header { - background-image: none !important; -} -.table-striped tbody tr.o_group_header:nth-of-type(odd) { - background-color: rgba(85,110,230,0.17); -} -.table-striped tbody tr.o_group_header:hover { - background-color: rgba(85,110,230,0.23); -} -// Group by color ends - -// Responsive starts -@media (max-width:992px) { - .o_action_manager.sidebar_margin { - margin: 0 !important; - } - .top_heading.sidebar_margin { - margin: 0 !important; - } - .sidebar_panel .sidebar { - position: relative; - padding-top: 0px !important; - } - .sidebar_panel .sidebar_close { - display: block !important; - } -} -@media (max-width:480px) { - ul.o_menu_apps { - padding-left: 25px; - } - .o_control_panel { - margin: 15px 10px 0 10px; - } - .o_control_panel > div { - flex-wrap: wrap; - } - .o_cp_top_left, .o_cp_top_right, - .o_cp_bottom_left, .o_cp_bottom_right { - width: 100%; - } - .o_widget_Discuss .o_Discuss.o-mobile:not(.o-adding-item) { - border: none !important; - } - html .o_web_client > .o_action_manager { - overflow: auto !important; - } - ul.o_menu_systray.topbar_icon li:nth-child(1) { - margin-left: 20px; - } - .o_main_navbar .o_user_menu { - margin-left: 20px; - } - .sidebar_panel .sidebar .sidebar_logo img { - max-width: 112px; - } - .sidebar_panel .sidebar .sidebar_logo { - padding-top: 20px; - text-align: center; - padding-bottom: 5px; - } - li.o_switch_company_menu.show .dropdown-menu.dropdown-menu-right.show { - right: auto !important; - left: 0px; - } - ul.o_menu_systray.topbar_icon .dropdown-menu.show{ - left: 0px !important; - right: auto !important; - } - ul.o_menu_systray.topbar_icon { - margin-left: 0; - } - .o_MessagingMenu_dropdownMenu.o-mobile { - top: 70px; - } - .o_control_panel .o_cp_bottom_right { - flex-wrap: wrap; - } - .o_form_view .o_form_statusbar { - flex-wrap: wrap; - } - .btn { - padding: 2px 10px !important; - height: 35px !important; - } - .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before, - .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):after { - border-top: 17px solid transparent !important; - border-bottom: 16px solid transparent !important; - } - .o_statusbar_status.o_field_widget.o_readonly_modifier { - width: 100%; - justify-content: flex-end; - margin-top: 5px; - } - .o_form_view .o_form_statusbar > .o_statusbar_buttons > .btn { - margin: 1px 0px 4px 0; - } - .o_form_statusbar .o_statusbar_buttons .btn { - margin-right: 5px !important; - } - .o_control_panel .o_cp_bottom_left > .o_cp_action_menus .o_dropdown_toggler_btn { - margin-right: 3px; - } - .o_form_view .o_form_sheet_bg > .o_form_sheet { - min-width: auto; - } - .nav-tabs .nav-link { - padding: 8px; - } - .modal.o_technical_modal.o_modal_full .modal-dialog .modal-content .modal-header { - background: $primary_accent; - } - .o_form_view .o_group .o_group_col_6 { - width: 100%; - } - .o_kanban_view.o_kanban_ungrouped .o_kanban_record { - flex-wrap: wrap; - } - .o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left { - border-radius: 5px; - } - .o_field_widget.o_field_image .o_form_image_controls > .fa.o_select_file_button { - background: #74788d; - } -} -//Responsive ends - -// New changes -.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 { - color: $f_color !important; -} -.o_content .o_expense_purple { - color: #556ee6; -} -.row.o_recruitment_kanban_boxes .custom-checkbox input:checked + label::after { - display:none -} - -// New fix -.o_form_view .oe_button_box + .oe_title, .o_form_view .oe_button_box + .oe_avatar + .oe_title { - width: 100% !important; -} -.form-check-input { - box-sizing: border-box; -} -.o_facet_values { - border: none !important; -} -// V17 Fixes -.o_main_navbar .o_menu_sections .o_nav_entry, .o_main_navbar .o_menu_sections .dropdown-toggle { - background: white !important; -} -.o_cp_searchview .btn.btn-primary { - max-height: 30px !important; - left: -4px !important; -} -.o_facet_remove.oi.oi-close.btn.btn-link { - margin-top: 0px; -} -.o_field_widget.o_field_badge { - background: none !important; -} -.o_list_view .table-responsive .table { - width: fit-content !important; - left: -14px; -} -// Remove button one2many field -.o_list_renderer .o_list_table > thead > tr > :last-child, .o_list_renderer .o_list_table > tbody > tr > :last-child, .o_list_renderer .o_list_table > tfoot > tr > :last-child { - vertical-align: middle; -} -// Dropdown toggle -.o_list_view .table-responsive .table thead tr:nth-child(1) th { - width: 80px; -} -// Oe chatter search bar -.btn-link.btn-action, .btn-link.btn-action:hover, .btn-link.btn-action:focus, .btn-link.btn-action:active, .btn-link.btn-action.active, .btn-link.text-action, .btn-link.text-action:hover, .btn-link.text-action:focus, .btn-link.text-action:active, .btn-link.text-action.active { - margin-top: 8px; -} -// Buttons inside table -.o_list_table .o_data_cell { - vertical-align: middle; -} -.o_form_view .o_notebook > .tab-content > .tab-pane > :first-child:not(.o_group) .o_field_x2many.o_field_x2many_list .o_list_renderer tr > .o_handle_cell:first-child, .o_form_view .o_notebook > .tab-content > .tab-pane > .o_invisible_modifier:first-child .o_field_x2many.o_field_x2many_list .o_list_renderer tr > .o_handle_cell:first-child { - width: 20px !important; -} -@media (min-width: 1200px) { - .o_calendar_sidebar_container .o_calendar_sidebar { - width: 300px; - } - button.o_date_item_cell > span.z-index-1 { - margin-left: -5px; - } -} -button.oe_stat_button { - border-color: #616263!important; -} -// Statusbar -@media (min-width: 1200px) { - .o_form_statusbar .o_statusbar_buttons .btn { - margin-right: 5px !important; - } - div.o_statusbar_status .btn-secondary { - all: initial !important; - } - div.o_statusbar_status .btn-secondary.dropdown-toggle { - display: none !important; - } - .o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_first):before, .o_field_statusbar_duration > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_first):before, .o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_first):after, .o_field_statusbar_duration > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_first):after, .o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_last):before, .o_field_statusbar_duration > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_last):before, .o_field_statusbar > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_last):after, .o_field_statusbar_duration > .o_statusbar_status > .o_arrow_button:not(.d-none):not(.o_last):after { - display: none !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary { - color: #74788d !important; - background-color: white !important; - border-color: white !important; - border-radius: 1px !important; - font-family: inherit !important; - height: 30px !important; - padding: 2px !important; - height: 30px !important; - line-height: 1px !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current { - color: white !important; - background-color: black !important; - font-family: inherit !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary { - border-top: 15px solid transparent !important; - border-left: 15px solid white !important; - border-bottom: 15px solid transparent !important; - height: 0px !important; - } - .o_form_view:not(.o_field_highlight) .o_field_many2one_selection .o_external_button, .o_form_view:not(.o_field_highlight) .o_field_many2one_selection .o_dropdown_button { - margin-top: -7px; - } -} -.o_kanban_primary_left .btn-primary { - height: 60px !important; -} -.btn{ - height: 42px !important; - margin-bottom: 0px !important; -} diff --git a/code_backend_theme/static/src/scss/theme_accent.scss b/code_backend_theme/static/src/scss/theme_accent.scss deleted file mode 100644 index 210b05536..000000000 --- a/code_backend_theme/static/src/scss/theme_accent.scss +++ /dev/null @@ -1,8 +0,0 @@ -$primary_accent: #556ee6 !default; -$secondary_accent: #334332 !default; -$inverse_accent: #ffffff !default; -$o-kanban-color-border-width: 8px; -$selected_row: #ffffff !default; -$bg_white: #ffffff !default; -$f_color: #555b6d !default; -$primary_hover: #485ec4 !default; diff --git a/code_backend_theme/static/src/xml/settings_templates.xml b/code_backend_theme/static/src/xml/settings_templates.xml deleted file mode 100644 index d9d599cf6..000000000 --- a/code_backend_theme/static/src/xml/settings_templates.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme/static/src/xml/top_bar_templates.xml b/code_backend_theme/static/src/xml/top_bar_templates.xml deleted file mode 100644 index c169d732e..000000000 --- a/code_backend_theme/static/src/xml/top_bar_templates.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - -
- - - diff --git a/code_backend_theme/views/base_menus.xml b/code_backend_theme/views/base_menus.xml deleted file mode 100644 index 7e7821c2e..000000000 --- a/code_backend_theme/views/base_menus.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - diff --git a/code_backend_theme/views/layout_templates.xml b/code_backend_theme/views/layout_templates.xml deleted file mode 100644 index 7c5cc4ecb..000000000 --- a/code_backend_theme/views/layout_templates.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - diff --git a/code_backend_theme_enterprise/README.rst b/code_backend_theme_enterprise/README.rst deleted file mode 100755 index 7146d9b17..000000000 --- a/code_backend_theme_enterprise/README.rst +++ /dev/null @@ -1,52 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Code Backend Theme Enterprise -================== -* Code Backend Theme module for Odoo 18 enterprise editions. This is a Minimalist and Elegant Backend Theme for Odoo 18. This theme will change your Old Experience to a New Experience with Odoo. - -Configuration -------------- - - www.odoo.com/documentation/18.0/setup/install.html - - Install our custom addon - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Credits -------- -Developers: (V15) Abhijith KP @ Cybrosys, - (V16) Ahammed Harshad P @ Cybrosys, - (V17) ADVAITH BG @ Cybrosys, - (V18) ATHIRA K @ Cybrosys -Contact: odoo@cybrosys.com - - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://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 - -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com" - -Further information ------------------ -HTML Description: ``__ diff --git a/code_backend_theme_enterprise/__init__.py b/code_backend_theme_enterprise/__init__.py deleted file mode 100644 index feb3ace16..000000000 --- a/code_backend_theme_enterprise/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: ATHIRA K (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 . -# -############################################################################# -from .hooks import test_pre_init_hook, test_post_init_hook diff --git a/code_backend_theme_enterprise/__manifest__.py b/code_backend_theme_enterprise/__manifest__.py deleted file mode 100644 index 203652aec..000000000 --- a/code_backend_theme_enterprise/__manifest__.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: ATHIRA K (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": "Code Backend Theme Enterprise", - "version": "18.0.1.0.0", - "category": "Themes/Backend", - "summary": "Minimalist and elegant backend theme for Odoo Enterprise", - "description": """Minimalist and elegant backend theme for Odoo Backend""", - "author": "Cybrosys Techno Solutions", - "company": "Cybrosys Techno Solutions", - "maintainer": "Cybrosys Techno Solutions", - "website": "https://www.cybrosys.com", - "depends": ["web_enterprise", "web"], - "data": [ - 'views/base_menus.xml', - ], - 'assets': { - 'web.assets_backend': [ - "code_backend_theme_enterprise/static/src/xml/top_bar_templates.xml", - "code_backend_theme_enterprise/static/src/xml/sidebar_templates.xml", - "code_backend_theme_enterprise/static/src/scss/sidebar.scss", - "code_backend_theme_enterprise/static/src/js/chrome/sidebar.js", - "code_backend_theme_enterprise/static/src/js/fields/colors.js", - "code_backend_theme_enterprise/static/src/scss/theme_accent.scss", - "code_backend_theme_enterprise/static/src/scss/datetimepicker.scss", - "code_backend_theme_enterprise/static/src/scss/theme.scss", - "https://fonts.googleapis.com/css2?family=Poppins:wght@400;700" - "&display=swap", - "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js", - ], - 'web.assets_frontend': [ - "code_backend_theme_enterprise/static/src/scss/login.scss", - "https://fonts.googleapis.com/css2?family=Poppins:wght@400;700" - "&display=swap", - ], - }, - 'images': [ - 'static/description/banner.jpg', - 'static/description/theme_screenshot.jpg', - ], - 'icon':'static/description/icon.png', - 'license': 'LGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, - 'pre_init_hook': 'test_pre_init_hook', - 'post_init_hook': 'test_post_init_hook', -} diff --git a/code_backend_theme_enterprise/doc/RELEASE_NOTES.md b/code_backend_theme_enterprise/doc/RELEASE_NOTES.md deleted file mode 100644 index 1e30edfb6..000000000 --- a/code_backend_theme_enterprise/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,5 +0,0 @@ -## Module -#### 19.10.2024 -#### Version 18.0.1.0.0 -##### ADD -Initial commit for Code Backend Theme Enterprise diff --git a/code_backend_theme_enterprise/hooks.py b/code_backend_theme_enterprise/hooks.py deleted file mode 100644 index 849a41ff7..000000000 --- a/code_backend_theme_enterprise/hooks.py +++ /dev/null @@ -1,721 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: ATHIRA K (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 . -# -############################################################################# -import base64 -from odoo.tools.misc import file_path - - -def test_pre_init_hook(cr): - """ - Hooks for Changing Menu Web_icon - """ - menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) - for menu in menu_item: - if menu.name == 'Contacts': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/contacts' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Link Tracker': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/link.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Dashboards': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/dashboard' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Sales': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/sales.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Accounting': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/accounting.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Inventory': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/inventory' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Purchase': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/purchase' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Calendar': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/calendar' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'CRM': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/crm.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Note': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/notes.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'To-do': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/notes.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Website': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/website.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Point of Sale': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/pos.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Manufacturing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/manufacturing.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Repairs': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/repair.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Email Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/email' - '-marketing.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'SMS Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/sms.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Project': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/project.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Surveys': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/survey.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Employees': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/employee' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Recruitment': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/recruitment.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Attendances': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/attendance.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Time Off': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/time-off' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Expenses': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/expense.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Maintenance': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/maintenance.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Live Chat': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/chat.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Lunch': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/restaurant.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Fleet': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/traffic.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Timesheets': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/timesheet' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Events': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/token.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'eLearning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/elearning' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Members': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/user.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - - if menu.name == 'Subscriptions': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/subscription.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Documents': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/documents' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Rental': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/rental.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Marketing Automation': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/marketing_automation.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'IoT': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/iot.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Helpdesk': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/help.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Planning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/planning' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Appraisal': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/appraisal' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Consolidation': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/consolidation.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Payroll': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/payroll.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Barcode': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/barcode.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Quality': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/quality.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'PLM': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/plm.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Field Service': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/field' - '-service.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Data Cleaning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/clean' - '-code.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Approvals': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/approvals' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Referrals': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/referrals' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Discuss': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/discuss.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Social Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/like.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - - -def test_post_init_hook(cr): - """ - post init hook - """ - menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) - for menu in menu_item: - if menu.name == 'Contacts': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/contacts' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Link Tracker': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/link.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Dashboards': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/dashboard' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Sales': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/sales.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Accounting': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/accounting.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Inventory': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/inventory' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Purchase': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/purchase' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Calendar': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/calendar' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'CRM': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/crm.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Note': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/notes.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'To-do': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/notes.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Website': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/website.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Point of Sale': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/pos.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Manufacturing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/manufacturing.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Repairs': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/repair.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Email Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/email' - '-marketing.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'SMS Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/sms.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Project': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/project.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Surveys': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/survey.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Employees': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/employee' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Recruitment': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/recruitment.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Attendances': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/attendance.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Time Off': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/time-off' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Expenses': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/expense.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Maintenance': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/maintenance.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Live Chat': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/chat.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Lunch': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/restuarant.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Fleet': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/traffic.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Timesheets': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/timesheet' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Events': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/token.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'eLearning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/elearning' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Members': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/user.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - - if menu.name == 'Subscriptions': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/subscription.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Documents': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/documents' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Rental': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/rental.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Marketing Automation': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/marketing_automation.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'IoT': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/iot.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Helpdesk': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/help.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Planning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/planning' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Appraisal': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/appraisal' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Consolidation': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons' - '/consolidation.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Payroll': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/payroll.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Barcode': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/barcode.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Quality': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/quality.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'PLM': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/plm.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Field Service': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/field' - '-service.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Data Cleaning': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/clean' - '-code.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Approvals': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/approvals' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Referrals': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/referrals' - '.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Discuss': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/discuss.png' - ) - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) - if menu.name == 'Social Marketing': - img_path = file_path( - 'code_backend_theme_enterprise/static/src/img/icons/like.png') - menu.write({'web_icon_data': base64.b64encode(open - (img_path, - "rb").read())}) diff --git a/code_backend_theme_enterprise/requirements.txt b/code_backend_theme_enterprise/requirements.txt deleted file mode 100644 index e2d3f39af..000000000 --- a/code_backend_theme_enterprise/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -xmltodict==0.13.0 diff --git a/code_backend_theme_enterprise/static/description/banner.jpg b/code_backend_theme_enterprise/static/description/banner.jpg deleted file mode 100644 index 092eafe18..000000000 Binary files a/code_backend_theme_enterprise/static/description/banner.jpg and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/icon.png b/code_backend_theme_enterprise/static/description/icon.png deleted file mode 100644 index 4bcd92668..000000000 Binary files a/code_backend_theme_enterprise/static/description/icon.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/apps.png b/code_backend_theme_enterprise/static/description/img/apps/apps.png deleted file mode 100644 index b1161883f..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/apps.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/dashboard.png b/code_backend_theme_enterprise/static/description/img/apps/dashboard.png deleted file mode 100644 index 19b1df2fa..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/dashboard.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/dashboard1.png b/code_backend_theme_enterprise/static/description/img/apps/dashboard1.png deleted file mode 100644 index bd83dd401..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/dashboard1.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/discuss.png b/code_backend_theme_enterprise/static/description/img/apps/discuss.png deleted file mode 100644 index 3bac2f87d..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/discuss.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/employees.png b/code_backend_theme_enterprise/static/description/img/apps/employees.png deleted file mode 100644 index 3550bc398..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/employees.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/error purchase.png b/code_backend_theme_enterprise/static/description/img/apps/error purchase.png deleted file mode 100644 index b820d5cf1..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/error purchase.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/inventory.png b/code_backend_theme_enterprise/static/description/img/apps/inventory.png deleted file mode 100644 index 48c6b4cbe..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/inventory.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/login.png b/code_backend_theme_enterprise/static/description/img/apps/login.png deleted file mode 100644 index 566fa4f13..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/login.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/new product page.png b/code_backend_theme_enterprise/static/description/img/apps/new product page.png deleted file mode 100644 index ebad39e7a..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/new product page.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/products.png b/code_backend_theme_enterprise/static/description/img/apps/products.png deleted file mode 100644 index 780749ae2..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/products.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/purchase.png b/code_backend_theme_enterprise/static/description/img/apps/purchase.png deleted file mode 100644 index c9c60a9cf..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/purchase.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/quotation.png b/code_backend_theme_enterprise/static/description/img/apps/quotation.png deleted file mode 100644 index 4bbc82162..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/quotation.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/sale main.png b/code_backend_theme_enterprise/static/description/img/apps/sale main.png deleted file mode 100644 index 4d6628629..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/sale main.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/sales kanban.png b/code_backend_theme_enterprise/static/description/img/apps/sales kanban.png deleted file mode 100644 index c8a30ccc9..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/sales kanban.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/apps/settings.png b/code_backend_theme_enterprise/static/description/img/apps/settings.png deleted file mode 100644 index e418a0658..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/apps/settings.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/arrows-repeat.svg b/code_backend_theme_enterprise/static/description/img/arrows-repeat.svg deleted file mode 100644 index 94fb8f7f9..000000000 --- a/code_backend_theme_enterprise/static/description/img/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/banner-bg-1.svg b/code_backend_theme_enterprise/static/description/img/banner-bg-1.svg deleted file mode 100644 index 7af9bab87..000000000 --- a/code_backend_theme_enterprise/static/description/img/banner-bg-1.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/banner.svg b/code_backend_theme_enterprise/static/description/img/banner.svg deleted file mode 100644 index 3d4ed7a4a..000000000 --- a/code_backend_theme_enterprise/static/description/img/banner.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/check.svg b/code_backend_theme_enterprise/static/description/img/check.svg deleted file mode 100644 index 8bc79333d..000000000 --- a/code_backend_theme_enterprise/static/description/img/check.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/feature-star.svg b/code_backend_theme_enterprise/static/description/img/feature-star.svg deleted file mode 100644 index a913270e8..000000000 --- a/code_backend_theme_enterprise/static/description/img/feature-star.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/front screen.png b/code_backend_theme_enterprise/static/description/img/front screen.png deleted file mode 100644 index b785c31f8..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/front screen.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/gear.svg b/code_backend_theme_enterprise/static/description/img/gear.svg deleted file mode 100644 index ce383059d..000000000 --- a/code_backend_theme_enterprise/static/description/img/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/hire-odoo.svg b/code_backend_theme_enterprise/static/description/img/hire-odoo.svg deleted file mode 100644 index 9cfec4e44..000000000 --- a/code_backend_theme_enterprise/static/description/img/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/life-ring-icon.svg b/code_backend_theme_enterprise/static/description/img/life-ring-icon.svg deleted file mode 100644 index b6c797ba1..000000000 --- a/code_backend_theme_enterprise/static/description/img/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/menu_focus.png b/code_backend_theme_enterprise/static/description/img/menu_focus.png deleted file mode 100644 index d73e7b808..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/menu_focus.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/odoo-consultancy.svg b/code_backend_theme_enterprise/static/description/img/odoo-consultancy.svg deleted file mode 100644 index c2c27e608..000000000 --- a/code_backend_theme_enterprise/static/description/img/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/code_backend_theme_enterprise/static/description/img/odoo-licencing.svg b/code_backend_theme_enterprise/static/description/img/odoo-licencing.svg deleted file mode 100644 index 8a520b40f..000000000 --- a/code_backend_theme_enterprise/static/description/img/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/code_backend_theme_enterprise/static/description/img/patter.svg b/code_backend_theme_enterprise/static/description/img/patter.svg deleted file mode 100644 index 9b7b0d7cd..000000000 --- a/code_backend_theme_enterprise/static/description/img/patter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/puzzle-piece-icon.svg b/code_backend_theme_enterprise/static/description/img/puzzle-piece-icon.svg deleted file mode 100644 index ab5e56fa7..000000000 --- a/code_backend_theme_enterprise/static/description/img/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/resp-gif.gif b/code_backend_theme_enterprise/static/description/img/resp-gif.gif deleted file mode 100644 index f6939e09a..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/resp-gif.gif and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-1.svg b/code_backend_theme_enterprise/static/description/img/screenshot-1.svg deleted file mode 100644 index 72eeb921b..000000000 --- a/code_backend_theme_enterprise/static/description/img/screenshot-1.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-2.png b/code_backend_theme_enterprise/static/description/img/screenshot-2.png deleted file mode 100644 index e13b876da..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/screenshot-2.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-3.png b/code_backend_theme_enterprise/static/description/img/screenshot-3.png deleted file mode 100644 index be1acdfd5..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/screenshot-3.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-4.png b/code_backend_theme_enterprise/static/description/img/screenshot-4.png deleted file mode 100644 index 1d01e11fc..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/screenshot-4.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-5.svg b/code_backend_theme_enterprise/static/description/img/screenshot-5.svg deleted file mode 100644 index 923e355bf..000000000 --- a/code_backend_theme_enterprise/static/description/img/screenshot-5.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-img.png b/code_backend_theme_enterprise/static/description/img/screenshot-img.png deleted file mode 100644 index a425d9ede..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/screenshot-img.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/screenshot-main.png b/code_backend_theme_enterprise/static/description/img/screenshot-main.png deleted file mode 100644 index 575f8e676..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/screenshot-main.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/translate.svg b/code_backend_theme_enterprise/static/description/img/translate.svg deleted file mode 100644 index eea729542..000000000 --- a/code_backend_theme_enterprise/static/description/img/translate.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/img/with sidebar.png b/code_backend_theme_enterprise/static/description/img/with sidebar.png deleted file mode 100644 index b54fc0f3f..000000000 Binary files a/code_backend_theme_enterprise/static/description/img/with sidebar.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/description/img/wrench-icon.svg b/code_backend_theme_enterprise/static/description/img/wrench-icon.svg deleted file mode 100644 index 4e0ce1d01..000000000 --- a/code_backend_theme_enterprise/static/description/img/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/description/index.html b/code_backend_theme_enterprise/static/description/index.html deleted file mode 100644 index 3e3b3205d..000000000 --- a/code_backend_theme_enterprise/static/description/index.html +++ /dev/null @@ -1,796 +0,0 @@ - - - - - - - app index - - - - - - - - - - -
- - - -
-
-
-
- -
-
-
-
- -
- Supports: - - - - -
- Enterprise -
-
-
-
-
- Availability: -
- Odoo Online -
-
- Odoo.sh -
-
- On Premise -
-
-
-
-
-
- - - - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-

Our Features

- -

info includes 300+ elements that you may need to create website without - external plugins.

-
-
-
-
-
-
-
- -

New structure

- -

Modified Structure for All Type Views.

-
- -
-
-
-
-
- -

New style

- -

New Style for Active Menus, Radio Buttons and Checkboxes.

-
- -
-
-
-
-
- -

Attractive color

- -

Attractive color combo.

-
- - -
-
-
-
-
- -

Look

- -

New Look for All Applications.

-
- -
-
-
-
-
- -

Layout

- -

A Clean layout and New Font Style.

-
- -
-
-
-
-
- -

Sidebar

- -

Sidebar with New Menu Icons.

-
- -
-
-
-
-
- - -
-
-
- -
-
-
-
-
- Sidebar - -

Sidebar with New Menu Icons

-
- -
-
-
- Apps - -

Available apps view as cards in new look

-
- -
-
-
- Employees -

Kanban view of employees

-
- -
-
-
- Error in purchase -

Error is showing in style in purchase page

-
- -
-
-
- New product -

create new product in style

-
- -
-
-
- Kanban view of sale oredrs -

Kanban view of sale orders in new color pattern

-
- -
-
-
- Login -

Login page in classy look

-
- -
-
-
-
- - -
-
-
-
-
-
-
- HIGHLIGHT -

Bold and Vibrant Color Palette

-

Vibrant Color Palette for a Fresh and Engaging Experience

- - -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

-

Effortless Navigation for a Smooth and Intuitive Experience

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- -
- - -
- - - - - - - -
-
-
-
-

- Streamlined Navigation with a
- Dynamic Sidebar. -

- -
-

Maximize Your Productivity with a Dynamic Sidebar for Easy Navigation and Quick Access!

-
    -
  • Appealing card hover style
  • -
  • Detailed product filtering
  • -
  • Modernized mini basket
  • -
  • Cutting-edge single product
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- - - - - - - - -
- - -
- - - - - \ No newline at end of file diff --git a/code_backend_theme_enterprise/static/description/theme_screenshot.jpg b/code_backend_theme_enterprise/static/description/theme_screenshot.jpg deleted file mode 100644 index 049bffede..000000000 Binary files a/code_backend_theme_enterprise/static/description/theme_screenshot.jpg and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/fonts/OFL.txt b/code_backend_theme_enterprise/static/src/fonts/OFL.txt deleted file mode 100644 index 246c977c9..000000000 --- a/code_backend_theme_enterprise/static/src/fonts/OFL.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/code_backend_theme_enterprise/static/src/fonts/Poppins-Regular.ttf b/code_backend_theme_enterprise/static/src/fonts/Poppins-Regular.ttf deleted file mode 100644 index 9f0c71b70..000000000 Binary files a/code_backend_theme_enterprise/static/src/fonts/Poppins-Regular.ttf and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/code_logo.png b/code_backend_theme_enterprise/static/src/img/code_logo.png deleted file mode 100644 index 124152a05..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/code_logo.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/accounting.png b/code_backend_theme_enterprise/static/src/img/icons/accounting.png deleted file mode 100644 index 845e1df3a..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/accounting.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg b/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg deleted file mode 100644 index 879876188..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/appraisal (1).svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal.png b/code_backend_theme_enterprise/static/src/img/icons/appraisal.png deleted file mode 100644 index 02cd99bd2..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/appraisal.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg b/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg deleted file mode 100644 index 505a0ed0b..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/appraisal.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/approvals.png b/code_backend_theme_enterprise/static/src/img/icons/approvals.png deleted file mode 100644 index 229a40da3..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/approvals.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/apps.png b/code_backend_theme_enterprise/static/src/img/icons/apps.png deleted file mode 100644 index a864b9e18..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/apps.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/apps.svg b/code_backend_theme_enterprise/static/src/img/icons/apps.svg deleted file mode 100644 index 38e2b9b06..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/apps.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/attendance.png b/code_backend_theme_enterprise/static/src/img/icons/attendance.png deleted file mode 100644 index b32242a2f..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/attendance.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/attendance.svg b/code_backend_theme_enterprise/static/src/img/icons/attendance.svg deleted file mode 100644 index 1c387fd52..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/attendance.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/barcode.png b/code_backend_theme_enterprise/static/src/img/icons/barcode.png deleted file mode 100644 index 2dc27379f..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/barcode.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/barcode.svg b/code_backend_theme_enterprise/static/src/img/icons/barcode.svg deleted file mode 100644 index 9f8c91103..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/barcode.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/calendar.png b/code_backend_theme_enterprise/static/src/img/icons/calendar.png deleted file mode 100644 index 67822553a..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/calendar.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/calendar.svg b/code_backend_theme_enterprise/static/src/img/icons/calendar.svg deleted file mode 100644 index 04a1fe0a6..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/calendar.svg +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/chat.png b/code_backend_theme_enterprise/static/src/img/icons/chat.png deleted file mode 100644 index 42ece2c9c..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/chat.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/chat.svg b/code_backend_theme_enterprise/static/src/img/icons/chat.svg deleted file mode 100644 index 90f3cf9f1..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/chat.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/clean-code.png b/code_backend_theme_enterprise/static/src/img/icons/clean-code.png deleted file mode 100644 index 36e26c3fa..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/clean-code.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg b/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg deleted file mode 100644 index 605e14ef9..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/clean-code.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/close.png b/code_backend_theme_enterprise/static/src/img/icons/close.png deleted file mode 100644 index c6ea25feb..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/close.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/consolidation.png b/code_backend_theme_enterprise/static/src/img/icons/consolidation.png deleted file mode 100644 index 5001fc9f3..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/consolidation.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg b/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg deleted file mode 100644 index 8d4b56f53..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/consolidation.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/contacts.png b/code_backend_theme_enterprise/static/src/img/icons/contacts.png deleted file mode 100644 index c2567974d..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/contacts.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/contacts.svg b/code_backend_theme_enterprise/static/src/img/icons/contacts.svg deleted file mode 100644 index 4cadaa966..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/contacts.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/contract.png b/code_backend_theme_enterprise/static/src/img/icons/contract.png deleted file mode 100644 index 3c91b67bf..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/contract.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/contract.svg b/code_backend_theme_enterprise/static/src/img/icons/contract.svg deleted file mode 100644 index 04f79cd27..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/contract.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/crm.png b/code_backend_theme_enterprise/static/src/img/icons/crm.png deleted file mode 100644 index 0de44ac08..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/crm.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/crm.svg b/code_backend_theme_enterprise/static/src/img/icons/crm.svg deleted file mode 100644 index da2b0a09c..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/crm.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/cutlery.png b/code_backend_theme_enterprise/static/src/img/icons/cutlery.png deleted file mode 100644 index a73312ce0..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/cutlery.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg b/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg deleted file mode 100644 index cb552234d..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/cutlery.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/dashboard.png b/code_backend_theme_enterprise/static/src/img/icons/dashboard.png deleted file mode 100644 index 94b9bd28b..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/dashboard.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg b/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg deleted file mode 100644 index e87151581..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/dashboard.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/discuss.png b/code_backend_theme_enterprise/static/src/img/icons/discuss.png deleted file mode 100644 index 22ced4927..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/discuss.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/discuss.svg b/code_backend_theme_enterprise/static/src/img/icons/discuss.svg deleted file mode 100644 index 328029558..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/discuss.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/documents.png b/code_backend_theme_enterprise/static/src/img/icons/documents.png deleted file mode 100644 index 9e4f6ab38..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/documents.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/documents.svg b/code_backend_theme_enterprise/static/src/img/icons/documents.svg deleted file mode 100644 index bb0f24d1c..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/documents.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/elearning.png b/code_backend_theme_enterprise/static/src/img/icons/elearning.png deleted file mode 100644 index 226dd3a1d..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/elearning.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/elearning.svg b/code_backend_theme_enterprise/static/src/img/icons/elearning.svg deleted file mode 100644 index b26c6ee1a..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/elearning.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png deleted file mode 100644 index fa2484d80..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg b/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg deleted file mode 100644 index fe48cbcee..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/email-marketing.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/employee.png b/code_backend_theme_enterprise/static/src/img/icons/employee.png deleted file mode 100644 index b3670bdd3..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/employee.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/employee.svg b/code_backend_theme_enterprise/static/src/img/icons/employee.svg deleted file mode 100644 index bcae689ad..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/employee.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/expense.png b/code_backend_theme_enterprise/static/src/img/icons/expense.png deleted file mode 100644 index 36a6729b9..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/expense.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/expense.svg b/code_backend_theme_enterprise/static/src/img/icons/expense.svg deleted file mode 100644 index caf1067fc..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/expense.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/field-service.png b/code_backend_theme_enterprise/static/src/img/icons/field-service.png deleted file mode 100644 index ed3e7f9eb..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/field-service.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/field-service.svg b/code_backend_theme_enterprise/static/src/img/icons/field-service.svg deleted file mode 100644 index 03704e6f5..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/field-service.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/help.png b/code_backend_theme_enterprise/static/src/img/icons/help.png deleted file mode 100644 index bcdd1d1e7..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/help.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/help.svg b/code_backend_theme_enterprise/static/src/img/icons/help.svg deleted file mode 100644 index f54afc09e..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/help.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/inventory.png b/code_backend_theme_enterprise/static/src/img/icons/inventory.png deleted file mode 100644 index 3362a8a71..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/inventory.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/inventory.svg b/code_backend_theme_enterprise/static/src/img/icons/inventory.svg deleted file mode 100644 index 8534ab83f..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/inventory.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/iot.png b/code_backend_theme_enterprise/static/src/img/icons/iot.png deleted file mode 100644 index 8f2cc8afc..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/iot.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/iot.svg b/code_backend_theme_enterprise/static/src/img/icons/iot.svg deleted file mode 100644 index dbc37dfad..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/iot.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/like.png b/code_backend_theme_enterprise/static/src/img/icons/like.png deleted file mode 100644 index ac9db2610..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/like.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/link.png b/code_backend_theme_enterprise/static/src/img/icons/link.png deleted file mode 100644 index 1ffbc50fd..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/link.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/maintenance.png b/code_backend_theme_enterprise/static/src/img/icons/maintenance.png deleted file mode 100644 index 74225d951..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/maintenance.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg b/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg deleted file mode 100644 index 09a26d1a3..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/maintenance.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png deleted file mode 100644 index 3f8d646b3..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg b/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg deleted file mode 100644 index 4dfc25de0..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/manufacturing.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg b/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg deleted file mode 100644 index c7f38b129..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/marketing-automation.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png b/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png deleted file mode 100644 index 9e550c07f..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/marketing_automation.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/notes.png b/code_backend_theme_enterprise/static/src/img/icons/notes.png deleted file mode 100644 index ab6811181..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/notes.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/notes.svg b/code_backend_theme_enterprise/static/src/img/icons/notes.svg deleted file mode 100644 index e3f9171ba..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/notes.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/payroll.png b/code_backend_theme_enterprise/static/src/img/icons/payroll.png deleted file mode 100644 index ac0a2f5b1..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/payroll.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/payroll.svg b/code_backend_theme_enterprise/static/src/img/icons/payroll.svg deleted file mode 100644 index 97500375b..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/payroll.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/planning.png b/code_backend_theme_enterprise/static/src/img/icons/planning.png deleted file mode 100644 index 349a7269d..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/planning.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/planning.svg b/code_backend_theme_enterprise/static/src/img/icons/planning.svg deleted file mode 100644 index 1c3979473..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/planning.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/plm.png b/code_backend_theme_enterprise/static/src/img/icons/plm.png deleted file mode 100644 index 1ef830ebb..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/plm.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/plm.svg b/code_backend_theme_enterprise/static/src/img/icons/plm.svg deleted file mode 100644 index 8a415d231..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/plm.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/pos.png b/code_backend_theme_enterprise/static/src/img/icons/pos.png deleted file mode 100644 index aa7eaa13c..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/pos.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/pos.svg b/code_backend_theme_enterprise/static/src/img/icons/pos.svg deleted file mode 100644 index 47adea086..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/pos.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/project.png b/code_backend_theme_enterprise/static/src/img/icons/project.png deleted file mode 100644 index 08cecdca6..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/project.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/project.svg b/code_backend_theme_enterprise/static/src/img/icons/project.svg deleted file mode 100644 index b2b2676bc..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/project.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/purchase.png b/code_backend_theme_enterprise/static/src/img/icons/purchase.png deleted file mode 100644 index fcc848d32..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/purchase.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/purchase.svg b/code_backend_theme_enterprise/static/src/img/icons/purchase.svg deleted file mode 100644 index c50ee22d2..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/purchase.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/quality.png b/code_backend_theme_enterprise/static/src/img/icons/quality.png deleted file mode 100644 index 89b31ee54..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/quality.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/quality.svg b/code_backend_theme_enterprise/static/src/img/icons/quality.svg deleted file mode 100644 index d43e80a5c..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/quality.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/recruitment.png b/code_backend_theme_enterprise/static/src/img/icons/recruitment.png deleted file mode 100644 index 687b83986..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/recruitment.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg b/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg deleted file mode 100644 index f14fac5ef..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/recruitment.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/referral.png b/code_backend_theme_enterprise/static/src/img/icons/referral.png deleted file mode 100644 index 3904830d1..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/referral.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/referral.svg b/code_backend_theme_enterprise/static/src/img/icons/referral.svg deleted file mode 100644 index 276211ca4..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/referral.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/rental.png b/code_backend_theme_enterprise/static/src/img/icons/rental.png deleted file mode 100644 index dbd1d57e4..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/rental.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/rental.svg b/code_backend_theme_enterprise/static/src/img/icons/rental.svg deleted file mode 100644 index 78142d8a0..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/rental.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/repair.png b/code_backend_theme_enterprise/static/src/img/icons/repair.png deleted file mode 100644 index 6755e3d16..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/repair.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/repair.svg b/code_backend_theme_enterprise/static/src/img/icons/repair.svg deleted file mode 100644 index a6179ad03..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/repair.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/restaurant.png b/code_backend_theme_enterprise/static/src/img/icons/restaurant.png deleted file mode 100644 index 348e1b015..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/restaurant.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sales.png b/code_backend_theme_enterprise/static/src/img/icons/sales.png deleted file mode 100644 index 14b6cdb26..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/sales.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sales.svg b/code_backend_theme_enterprise/static/src/img/icons/sales.svg deleted file mode 100644 index 398f19b04..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/sales.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/setting.svg b/code_backend_theme_enterprise/static/src/img/icons/setting.svg deleted file mode 100644 index 5e8228007..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/setting.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/settings.png b/code_backend_theme_enterprise/static/src/img/icons/settings.png deleted file mode 100644 index 32ac8386f..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/settings.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sms.png b/code_backend_theme_enterprise/static/src/img/icons/sms.png deleted file mode 100644 index 896fdce04..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/sms.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/sms.svg b/code_backend_theme_enterprise/static/src/img/icons/sms.svg deleted file mode 100644 index 8fedf6e77..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/sms.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/subscription.png b/code_backend_theme_enterprise/static/src/img/icons/subscription.png deleted file mode 100644 index 197c8b350..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/subscription.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/subscription.svg b/code_backend_theme_enterprise/static/src/img/icons/subscription.svg deleted file mode 100644 index 9cb1591d5..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/subscription.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/survey.png b/code_backend_theme_enterprise/static/src/img/icons/survey.png deleted file mode 100644 index 8b06c7f25..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/survey.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/survey.svg b/code_backend_theme_enterprise/static/src/img/icons/survey.svg deleted file mode 100644 index 1284fa526..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/survey.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/time-off.png b/code_backend_theme_enterprise/static/src/img/icons/time-off.png deleted file mode 100644 index 51cb50ef5..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/time-off.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/time-off.svg b/code_backend_theme_enterprise/static/src/img/icons/time-off.svg deleted file mode 100644 index 028d12a9c..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/time-off.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/timesheet.png b/code_backend_theme_enterprise/static/src/img/icons/timesheet.png deleted file mode 100644 index 005930736..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/timesheet.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg b/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg deleted file mode 100644 index 94dc41204..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/timesheet.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/token.png b/code_backend_theme_enterprise/static/src/img/icons/token.png deleted file mode 100644 index 3a146f46d..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/token.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/token.svg b/code_backend_theme_enterprise/static/src/img/icons/token.svg deleted file mode 100644 index 9f285a2cf..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/token.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/traffic.png b/code_backend_theme_enterprise/static/src/img/icons/traffic.png deleted file mode 100644 index 9e8069b6c..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/traffic.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/traffic.svg b/code_backend_theme_enterprise/static/src/img/icons/traffic.svg deleted file mode 100644 index 2b32b04a3..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/traffic.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/code_backend_theme_enterprise/static/src/img/icons/user.png b/code_backend_theme_enterprise/static/src/img/icons/user.png deleted file mode 100644 index fd275831a..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/user.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/website.png b/code_backend_theme_enterprise/static/src/img/icons/website.png deleted file mode 100644 index 9a5252fc5..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/icons/website.png and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/img/icons/website.svg b/code_backend_theme_enterprise/static/src/img/icons/website.svg deleted file mode 100644 index af6ba2798..000000000 --- a/code_backend_theme_enterprise/static/src/img/icons/website.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg b/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg deleted file mode 100644 index 8f15a21e6..000000000 Binary files a/code_backend_theme_enterprise/static/src/img/wall-wallpaper-concrete-colored-painted-textured-concept (1).jpg and /dev/null differ diff --git a/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js b/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js deleted file mode 100644 index 8f8cb1c14..000000000 --- a/code_backend_theme_enterprise/static/src/js/chrome/sidebar.js +++ /dev/null @@ -1,55 +0,0 @@ -// Utility function to apply CSS styles and class modifications -function adjustLayoutOnSidebarToggle(isOpen) { - const actionManager = $(".o_action_manager"); - const sidebarIcon = $(".side_bar_icon"); - const navbar = $(".o_main_navbar"); - const topHeading = $(".top_heading"); - - if (isOpen) { - $("#sidebar_panel").show(); - if (window.matchMedia("(min-width: 768px)").matches) { - actionManager.css({ 'margin-left': '200px', 'transition': 'all .1s linear' }); - sidebarIcon.css({ 'margin-left': '200px', 'transition': 'all .1s linear' }); - } - navbar.addClass("small_nav").addClass(navbar.data("id")); - actionManager.addClass("sidebar_margin").addClass(actionManager.data("id")); - topHeading.addClass("sidebar_margin").addClass(topHeading.data("id")); - } else { - $("#sidebar_panel").hide(); - actionManager.css({ 'margin-left': '0px' }); - sidebarIcon.css({ 'margin-left': '0px' }); - navbar.removeClass("small_nav").removeClass(navbar.data("id")); - actionManager.removeClass("sidebar_margin").removeClass(actionManager.data("id")); - topHeading.removeClass("sidebar_margin").removeClass(topHeading.data("id")); - } -} - -// Toggle sidebar visibility on click -$(document).on("click", "#openSidebar", () => { - $("#openSidebar").hide(); - $("#closeSidebar").show(); - adjustLayoutOnSidebarToggle(true); -}); - -$(document).on("click", "#closeSidebar", () => { - $("#closeSidebar").hide(); - $("#openSidebar").show(); - adjustLayoutOnSidebarToggle(false); -}); - -// Handle menu item clicks -$(document).on("click", ".sidebar a", function () { - const $this = $(this); - const menuItems = $(".sidebar a"); - - menuItems.removeClass("active"); - $this.addClass("active"); - - // Adjust the header to reflect the active menu - $("header").removeClass().addClass($this.data("id")); - - // Close sidebar after menu item selection - adjustLayoutOnSidebarToggle(false); - $("#closeSidebar").hide(); - $("#openSidebar").show(); -}); diff --git a/code_backend_theme_enterprise/static/src/js/fields/colors.js b/code_backend_theme_enterprise/static/src/js/fields/colors.js deleted file mode 100644 index 176e0291c..000000000 --- a/code_backend_theme_enterprise/static/src/js/fields/colors.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @odoo-module **/ -import { getColor } from "@web/core/colors/colors"; - -// To change the default colours of odoo. -var code_backend_color = ["#556ee6", "#f1b44c", "#50a5f1", "#ffbb78", "#34c38f", - "#98df8a", "#d62728","#ff9896", "#9467bd", "#c5b0d5", "#8c564b", - "#c49c94", "#e377c2", "#f7b6d2","#7f7f7f", "#c7c7c7", "#bcbd22", - "#dbdb8d", "#17becf", "#9edae5"]; -for (let i=0;i thead { - > tr > .prev { - color: #fff !important; - background-color: #556ee6 !important; - &:hover{ - background-color: darken(#556ee6, 10%) !important; - } - > .fa{ - color: #fff !important; - } - } - > tr > .next { - color: #fff !important; - background-color: #556ee6 !important; - &:hover{ - background-color: darken(#556ee6, 10%) !important; - } - > .fa{ - color: #fff !important; - } - } - > tr > .picker-switch { - color: #fff !important; - background-color: #556ee6 !important; - &:hover{ - background-color: darken(#556ee6, 10%) !important; - } - } - } - > tbody > tr > td { - &.today:before { - border-bottom-color: #556ee6 !important; - } - &.active { - background-color: #556ee6 !important; - } - } - } -} -.picker-switch { - span.fa { - margin: 0; - @include transition($btn-transition); - &.primary { - background-color: #556ee6; - color: white; - &:hover { - background-color: darken(#556ee6, 20%); - } - } - } -} -.daterangepicker .drp-calendar .calendar-table thead tr:first-child { - color: #FFFFFF; - background-color: #556ee6; -} -.daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active, .daterangepicker .drp-calendar .calendar-table tbody tr td:not(.off).active:hover { - background-color: #556ee6; -} -.daterangepicker .drp-calendar .calendar-table thead tr:first-child th.prev:hover, .daterangepicker .drp-calendar .calendar-table thead tr:first-child th.next:hover { - background-color: darken(#556ee6, 20%); -} diff --git a/code_backend_theme_enterprise/static/src/scss/login.scss b/code_backend_theme_enterprise/static/src/scss/login.scss deleted file mode 100644 index fe9f0dc02..000000000 --- a/code_backend_theme_enterprise/static/src/scss/login.scss +++ /dev/null @@ -1,147 +0,0 @@ -@font-face { - font-family: 'Poppins'; - src: url("/code_backend_theme_enterprise/static/src/fonts/Poppins-Regular.ttf") format('truetype'); -} -#wrapwrap > main { - background: #f8f8fb; -} -.navbar { - background: #fff !important; -} -body { - font-family: 'Poppins', sans-serif !important; -} -body.bg-100 { - background-color: #f8f8fb !important; -} -.card.o_database_list { - align-items: center; - max-width: 450px !important -} -.card.o_database_list .card-body { - background-color: #fff !important; - border-radius: 5px !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -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; -} diff --git a/code_backend_theme_enterprise/static/src/scss/sidebar.scss b/code_backend_theme_enterprise/static/src/scss/sidebar.scss deleted file mode 100644 index e0186ba47..000000000 --- a/code_backend_theme_enterprise/static/src/scss/sidebar.scss +++ /dev/null @@ -1,97 +0,0 @@ -#sidebar_panel { - height: calc(100% - 0%); - position: absolute; - top: 0px; - background-color: #2a3042; - display: none; - width: 200px; - overflow-y: scroll; - -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ - scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 1000; -} -#sidebar_panel::-webkit-scrollbar { - display: none; /* Hide scrollbar for Chrome, Safari and Opera */ -} -.sidebar_panel .sidebar { - padding: 0; - white-space: nowrap; - padding-bottom: 20px; - padding-top: 5px; -} -.sidebar_panel .sidebar_close { - text-align: end; - display: none; - position: sticky; - height: 35px; - padding-top: 5px; - top: 0; - background: #2a3042; - z-index: 1; -} -.sidebar_panel .sidebar_close a#closeSidebar { - font-size: 18px; - margin-right: 10px; - color: #ffffff; - opacity: .3; -} -.sidebar_panel .sidebar_close a#closeSidebar img { - width: 15px; -} -.sidebar_panel .sidebar .sidebar_logo { - padding-top: 20px; - text-align: center; - padding-bottom: 20px; -} -.sidebar_panel .sidebar .sidebar_logo img { - max-width: 150px; -} -.sidebar_panel .sidebar .sidebar_head { - padding-top: 20px; - padding-left: 15px; - color: #6a7187; - font-size: 14px; -} -.sidebar_panel .sidebar .sidebar_menu { - list-style: none; - margin: 0; - padding: 0; -} -.sidebar_panel .sidebar .sidebar_menu li { - margin: 0; - padding: 0; - border: 0px; - display: block; -} -.sidebar_panel .sidebar .sidebar_menu li a { - margin: 0; - border: 0px; - display: block; - cursor: pointer; - overflow: hidden; - padding: 8px 10px 8px 25px; - color: #ffffff; - font-size: 13px; - transition:.3s all; -} -.sidebar_panel .sidebar .sidebar_menu li:hover a { - background: #1e2230; - color: #fff; -} -.sidebar_panel .nav-link { - opacity: .5; - transition:.3s all; -} -.sidebar_panel .sidebar a.nav-link.active { - color: #fff !important; - opacity: 1; -} -.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { - width: 20px; - margin-right: 8px; -} -@media (max-width: 678px) { - .sidebar_panel .sidebar_close { - display: block !important; - } -} diff --git a/code_backend_theme_enterprise/static/src/scss/theme.scss b/code_backend_theme_enterprise/static/src/scss/theme.scss deleted file mode 100644 index c59407509..000000000 --- a/code_backend_theme_enterprise/static/src/scss/theme.scss +++ /dev/null @@ -1,1327 +0,0 @@ -@font-face { - font-family: 'Poppins'; - src: url("/code_backend_theme_enterprise/static/src/fonts/Poppins-Regular.ttf") format('truetype'); -} -.o_form_view .o_notebook > .o_notebook_headers { - margin-left: -16px; - margin-right: -16px; - border-bottom: 1px solid #C9CCD2 !important; -} -.o_notebook_content .o-checkbox label{ - left: 5px !important; -} -.text-info{ - color: #444B5A !important; -} -.nav-tabs { - border-bottom: 0 !important; -} -.nav-tabs .nav-item { - margin-bottom: 0; -} -.nav-tabs .nav-link { - border: 1px solid #e3e3e3; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - border-bottom: 1px solid!important; -} -// Search result -.search_icons{ - width:50px; - height:50px; -} -.o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:hover, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:focus, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:active { - color: #091124; - border-top-color: #714B67; - border-radius: 5px 5px 0px 0px; -} -button.o_hr_attendance_sign_in_out_icon{ - height: 70px !important; -} -.o_field_widget .o_input_dropdown > input, .o_field_widget.o_datepicker > input { - padding: 5%; -} -.o_field_widget .o_input_dropdown > input { - cursor: pointer; - padding: 5%; -} -.o_main_navbar .dropdown .dropdown-toggle:hover, .o_main_navbar .o_nav_entry:hover, .o_main_navbar > .o_menu_sections > div:hover, .o_main_navbar > .o_menu_sections > div > a:hover, .o_main_navbar .o_menu_systray > div:hover, .o_main_navbar .o_menu_systray > div > a:hover, .o_main_navbar .o_menu_toggle:hover, .o_main_navbar .o_navbar_apps_menu:hover, .o_main_navbar .o_menu_brand:hover, .o_main_navbar .dropdown .dropdown-toggle:focus, .o_main_navbar .o_nav_entry:focus, .o_main_navbar > .o_menu_sections > div:focus, .o_main_navbar > .o_menu_sections > div > a:focus, .o_main_navbar .o_menu_systray > div:focus, .o_main_navbar .o_menu_systray > div > a:focus, .o_main_navbar .o_menu_toggle:focus, .o_main_navbar .o_navbar_apps_menu:focus, .o_main_navbar .o_menu_brand:focus, .o_main_navbar .dropdown .focus.dropdown-toggle, .o_main_navbar .focus.o_nav_entry, .o_main_navbar > .o_menu_sections > div.focus, .o_main_navbar > .o_menu_sections > div > a.focus, .o_main_navbar .o_menu_systray > div.focus, .o_main_navbar .o_menu_systray > div > a.focus, .o_main_navbar .focus.o_menu_toggle, .o_main_navbar .focus.o_navbar_apps_menu, .o_main_navbar .focus.o_menu_brand { - color: #555b6d; -} -// Top Bar -body { - font-family: 'Poppins', sans-serif !important; - background-color: #f8f8fb; -} -a { - color: #556ee6; -} -a:hover { - color: #485ec4; -} -a.btn { - height: auto !important; - margin: 0.25rem; -} -.o_main_navbar, .o_searchview_facet_label { - color: #555b6d !important; - border:1px !important; -} -.oe_title{ - padding: 10px; -} -.oe_topbar_name { - color: #555b6d !important; -} -.o_main_navbar > .o_menu_apps > li > a > i { - color: #555b6d !important; - font-size: 16px !important; -} -.o_main_navbar { - height: 100%; - display: flex; - justify-content: none; - align-items: left; - border-bottom: 0px solid #5f5e97 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; -} -.top_heading { - display: flex; - justify-content: center; - align-items: center; -} -.top_heading ul { - margin-bottom: 0 !important; -} -.top_heading > a { - margin-left: 10px; - font-size: 20px; -} -.top_heading li { - list-style: none; -} -.o-no-caret > i, button[aria-pressed="true"] { - color: #555b6d !important; -} -.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { - height: 46px; - padding: 0 5px; - color: #555b6d !important; - line-height: 46px; -} -.topbar_icon .fa { - color: #555b6d !important; - font-size: 20px !important -} -.o_main_navbar .o_user_menu .oe_topbar_avatar { - height: 35px; - width: 35px; -} -.o_MessagingMenu_counter { - background-color: #556ee6; - color: #fff !important; -} -.o_mail_systray_item .o_notification_counter { - background: #556ee6 !important; -} -.o_control_panel { - background: #f8f8fb ; - border:none !important; -} -.o_searchview .o_searchview_icon { - position: absolute; - top: 11px; - left: auto; - bottom: auto; - right: 8px; -} -.o_facet_remove{ - position: inherit !important; -} -.o_cp_bottom_right span.o_dropdown_title { - color: #555b6d; -} -.o_cp_bottom_left .o_form_button_cancel { - margin-right: 5px !important; - padding: 6px 8px !important; - color: #fff !important; - background-color: #f46a6a !important; - border-color: #f46a6a !important; -} -.o_cp_bottom_left .o_form_button_cancel:hover { - background-color: #cf5a5a !important; - border-color: #c35555 !important; -} -.o_control_panel { - border-bottom: none important; - background-color: #ffffff ; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - border-radius: 5px; -} -.o_form_view, -.o_widget_Discuss { - background: #f8f8fb; -} -.o_form_statusbar .o_statusbar_buttons .btn { - margin-right: 15px !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):after { - border-top: 21px solid transparent !important; - border-bottom: 17px solid transparent !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before { - right: -11px; - border-left-color: #556ee6 !important; -} -.o_form_view .o_notebook > .o_notebook_headers { - overflow-y: hidden !important; -} -//Top Bar End -.btn-primary { - color: #fff !important; - background-color: #556ee6 !important; - border-color: #556ee6 !important; -} -.btn-primary:hover { - color: #fff !important; - background-color: #485ec4 !important; - border-color: #4458b8 !important; -} -.btn-primary:active { - color: #fff !important; - background-color: #4458b8 !important; - border-color: #4053ad !important; -} -.btn-check:focus+.btn-primary, .btn-primary:focus { - color: #fff; - background-color: #485ec4 !important; - border-color: #4458b8 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; - box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; -} -.btn-primary i,.btn-primary span { - color: #fff !important; -} -.o_statusbar_buttons .btn-secondary{ - margin: 0.25rem; - color: #fff !important; - background-color: #74788d !important; - border-color: #74788d !important; -} -.btn-secondary:hover { - color: #fff !important; - background-color: #636678 !important; - border-color: #5d6071 !important; -} -.btn-secondary:active { - color: #fff; - background-color: #5d6071 !important; - border-color: #575a6a !important; -} -.btn-check:focus+.btn-secondary, .btn-secondary:focus { - color: #fff; - background-color: #636678 !important; - border-color: #5d6071 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; - box-shadow: 0 0 0 .15rem rgba(137,140,158,.5) !important; -} -.btn-info { - color: #fff !important; - background-color: #50a5f1 !important; - border-color: #50a5f1 !important; -} -.btn-info:hover { - color: #fff !important; - background-color: #448ccd !important; - border-color: #4084c1 !important; -} -button[name="action_cancel"], -button[name="button_cancel"], -button[special="cancel"] { - color: #fff !important; - background-color: #f46a6a !important; - border-color: #f46a6a !important; -} -button[name="action_cancel"]:hover, -button[name="button_cancel"]:hover, -button[special="cancel"]:hover { - background-color: #cf5a5a !important; - border-color: #c35555 !important; -} -button[name="action_cancel"]:active, -button[name="button_cancel"]:active, -button[special="cancel"]:active { - color: #fff !important; - background-color: #c35555 !important; - border-color: #b75050 !important; -} -button[name="action_cancel"]:focus, -button[name="button_cancel"]:focus, -button[special="cancel"]:focus { - color: #fff !important; - background-color: #cf5a5a !important; - border-color: #c35555 !important; - -webkit-box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; - box-shadow: 0 0 0 0.15rem rgba(246,128,128,.50) !important; -} -button[name="update_module"] { - margin-right: 2px; -} -.btn-warning, -button[name="action_uninstall"] { - color: #fff !important; - background-color: #f1b44c !important; - border-color: #f1b44c !important; -} -.btn-warning:hover, -button[name="action_uninstall"]:hover { - color: #fff !important; - background-color: #cd9941 !important; - border-color: #c1903d !important; -} -.btn-warning:active, -button[name="action_uninstall"]:active { - color: #fff !important; - background-color: #c1903d !important; - border-color: #b58739 !important; -} -.btn-warning:focus, -button[name="action_uninstall"]:focus { - color: #fff !important; - background-color: #cd9941 !important; - border-color: #c1903d !important; - -webkit-box-shadow: 0 0 0 0.15rem rgba(243,191,103,.50) !important; - box-shadow: 0 0 0 0.15rem rgba(243,191,1,.50) !important; -} -.o_statusbar_status { - margin-top: 5px !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary { - color: #556ee6 !important; - background-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current { - color: #fff !important; - background-color: #556ee6 !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary::after { - border-left-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current::after { - border-left-color: #556ee6 !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary::before { - border-left-color: #556ee6 !important; -} -.o_cp_bottom_right .btn-secondary { - background: #fff; - border-color: #dddddd !important; - margin-right: 5px !important; - padding : 6px 8px !important; -} -.o_cp_bottom_left .o_form_button_create { - color: #fff !important; - background-color: #74788d !important; - border-color: #74788d !important; - padding: 5px 15px !important; -} -.o_web_settings_invite { - margin-left: 7px; - position: relative; - top: -1px; -} -.o_form_view .oe_button_box .btn.oe_stat_button { - opacity: 1 !important; - border-radius: 0px !important; -} -.oe_module_action .btn { - height: auto !important; -} -.o_cp_buttons a.btn { - display: flex !important; - align-items: center; -} -button.fa.fa-external-link.btn.btn-secondary.o_external_button { - padding: 2px !important; - color: #74788d !important; - background: none !important; -} -.o_statusbar_status.o_field_widget.o_readonly_modifier .btn { - margin-right: 0 !important; -} -.btn-group .btn { - margin-right: 3px; -} -.o_Composer_actionButton.o-last.o-has-current-partner-avatar.o-composer-is-compact { - height: 48px !important; - border-bottom-left-radius: 0px !important; - border-top-left-radius: 0px !important; -} -.oe_right .btn { - margin-left: 2px; -} -//Button End - -// Table Starts -.table-sm th, .table-sm td { - padding: 0.5rem; -} -tr.o_data_row { - font-size: 15px; -} -.o_list_renderer .table thead tr:nth-child(1) th { - position: sticky; - top: 0; - z-index: 999; - background-color: #ffffff !important; -} -th.o_list_record_selector { - color: #495057 !important; - border-color: #eff2f7 !important; - background-color: #f8f9fa !important; -} -.table > * > * { - padding: 1rem 1rem; - background-color: var(--bs-table-bg); - border-bottom-width: 1px; - -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); - box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); -} -.o_list_renderer .o_list_table thead > tr > th:not(.o_list_record_selector).o_list_number_th { - text-align: left !important; -} -.o_list_renderer .o_list_table thead > tr > th:not(.o_list_record_selector) { - border-left: none !important; -} -.o_list_renderer .o_list_table thead > tr > td{ - padding-left: var(--ListRenderer-table-padding-h) ; -} -.table thead th { - vertical-align: bottom; - border-bottom: none; -} -.table th { - border-top: 1px solid #fff !important; -} -.o_list_renderer .o_list_table tfoot { - background-color: #fff !important; -} -.o_list_renderer .o_list_table tfoot tr:nth-child(1) td { - background-color: #fff !important; -} -.o_list_renderer .o_list_table tr:focus-within, -.o_list_renderer .o_list_table.table-striped tr:focus-within { - background-color: #fff !important; -} -// Table End - -// Sheet -.o_form_view .o_form_sheet_bg { - border-bottom: none; - background: #ffffff !important; - box-shadow: none !important; - border-radius: 5px; -} -.o_field_widget { - display: inline; -} -.o_field_radio .o_vertical{ - display: flex !important; -} -.o_form_view .o_form_statusbar { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: flex; - justify-content: space-between; - padding-left: 5px; - border-bottom: none !important; - background-color: white; - border-radius: 5px; -} -.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { - border-left: solid 3px #f46a6a !important; -} -.o_field_many2one_extra{ - margin-left: 30px; -} -// // Sheet end - -// Discuss -.o_Discuss { - padding: 15px !important; - background: #f5f5f9 !important; -} -.o_Discuss .o_DiscussSidebar { - background-color: #ffffff !important; - color: #dee2e6 !important; - border-radius: 5px; - margin-right: 10px !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_DiscussSidebar_item.o-active { - color: #f46a6a !important; - font-weight: 500 !important; -} -.o_DiscussSidebarItem:hover { - background: none !important; -} -.o_DiscussSidebarItem { - cursor: pointer !important; - color: #74788d !important; - line-height: 24px !important; - padding: 10px 5px !important; -} -.o_DiscussSidebarItem_activeIndicator.o-item-active { - background: none !important; -} -.o_DiscussSidebar_item.o-active .fa { - color: #f46a6a !important; -} -.o_widget_Discuss .o_Discuss_content { - border-top: none !important; - background-color: #ffffff !important; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; -} -.o_DiscussSidebarItem_counter { - background-color: #f46a6a !important; - color: #fff !important; -} -.o_ThreadIcon_online { - color: #34c38f; -} -.o_Message_prettyBody table th { - color: #556ee6 !important; -} -.o_Message_prettyBody table thead tr td { - background-color: #485ec4 !important; -} -// Discuss End - -// Chatter @form -.o_FormRenderer_chatterContainer { - max-width: initial; - margin-top: 15px !important; - padding: 0 !important; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_ChatterContainer { - padding: 0px; - background: #fff; - border-radius: 5px; -} -.o_Discuss .o_Message .o_Message_prettyBody p a { - background: #556ee6 !important; -} -.o_Message.o-not-discussion { - background-color: #eff2f7; - margin: 5px; - border-radius: 5px; - border-bottom: none; -} -.o_Composer { - background-color: #fff; - border-radius: 0 0 5px 5px; - border: none !important; -} -//Chatter @form Ends - -//Chatter mini starts -.o_ChatWindow { - background-color: #fff !important; - border-radius: 5px 5px 0 0 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.25) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .25) !important; -} -.o_PartnerImStatusIcon_icon.o-offline { - color: #495057 !important; -} -.o_PartnerImStatusIcon_icon.o-online { - color: #34c38f !important; -} -.o_PartnerImStatusIcon_innerBackground { - color: white !important; -} -i.o_PartnerImStatusIcon_outerBackground.fa.fa-circle.fa-stack-1x { - color: #fff !important; -} -.o_ChatWindowHeader_item.o_ChatWindowHeader_rightArea .fa { - color: #fff !important; -} -.o_ChatWindowHeader { - background-color: #556ee6; - color: white !important; -} -// Chatter mini ends - -// Tabs Start -.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { - border: none; - border-bottom: solid; - font-weight: bold; - background: #556ee6 !important; - color: #ffffff !important; - border-radius: 5px; -} -.o_form_view .o_notebook { - clear: both; - margin-top: 25px; -} -.nav-tabs { - border-bottom: none; -} -.nav-tabs .nav-link { - border: 1px solid #e3e3e3; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - border-bottom: none !important; -} -.nav-item > a { - color: #555b6d !important; -} -.nav-link:hover, .nav-link:focus { - border: 1px solid #e9e9e9 !important; - border-bottom: none !important; -} -ul.sidebar_menu .nav-link:hover,ul.sidebar_menu .nav-link:focus { - border: none !important; - border-bottom: none !important; -} -// Tabs End - -// Font color -.o_horizontal_separator { - color: #495057 !important; -} -.btn-link { - font-weight: 400; - color: #556ee6 !important; - text-decoration: none; -} -.o_activity_view .o_record_selector { - color: #34c38f; -} -// Font color ends - -// Form -input { - display: block; - width: 100%; - height: 20px !important; - padding: 10px !important; - font-size: 13px; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - margin-bottom:10px; -} -.o_searchview input { - margin:0px !important; -} -.o-settings-form-view input, - .o_form_sheet_bg input { - height: 14px !important; - padding: 0px !important; -} -.o_field_widget .o_input_dropdown .o_dropdown_button { - position: absolute; - top: 6px; - left: auto; - bottom: auto; - right: 9px; -} -.o_field_widget.o_field_many2many_tags .badge, .o_field_widget.o_field_many2many_tags_avatar .badge{ - height: 27px !important; -} -.o_datepicker .o_datepicker_button { - position: absolute; - top: 6px; - left: auto; - bottom: auto; - right: 9px; - pointer-events: none; -} -.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, -.o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value { - color: #556ee6; -} -.o_form_view .oe_button_box .oe_stat_button .o_button_icon { - color: #556ee6; - line-height: 0px !important; -} -.o_form_view .o_field_boolean{ - max-width: 100px !important; -} -.o_notebook_content .o_field_boolean .form-check{ - float: none; - margin-right: 5px !important; -} -.o_form_label div.d-flex { - align-items: baseline !important; -} -// Form end - -// Apps menu starts -.o_search_panel { - border-right: none; - background-color: #ffffff; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.list-group-item-action { - width: 100%; - color: #74788d; - text-align: inherit; -} -.list-group-item-action:hover, .list-group-item-action:focus { - color: none !important; - background: none !important; -} -.o_search_panel .list-group-item header.active { - background: none !important; - color: #f46a6a !important; - font-weight: 500 !important; -} -.o_controller_with_searchpanel .o_renderer_with_searchpanel { - margin-left: 15px; -} -.oe_module_action .btn { - margin-top: 2px !important; - height: 30px !important; -} -// Apps menu ends - -// Website app starts -.o_dashboards .o_website_dashboard { - background-color: #ffffff !important; -} -.o_dashboards .o_website_dashboard div.o_box { - box-shadow: none !important; -} -.o_inner_box { - background-color: #556ee6 !important; - border-radius: 5px; -} -.o_inner_box:hover { - background-color: #485ec4 !important; -} -// Website app ends - -// Purchase app starts -td.o_main { - background-color: #556ee6 !important; - border-radius: 5px; -} -td.o_main:hover { - background-color: #485ec4 !important; -} -.o_purchase_dashboard .table > thead > tr > td, -.o_purchase_dashboard .table tbody > tr > td { - border-radius: 5px; -} -// Purchase app ends - -// Input inside colour starts -select, input { - color: #4c4c4c !important; - height: 20px !important; - scale: 0.9; -} -.o_required_modifier > .o_input_dropdown > .ui-autocomplete-input { - color: #4c4c4c !important; -} -.o_required_modifier.o_input, .o_required_modifier.o_input { - color: #4c4c4c !important; -} -.o_datepicker.o_field_date.o_field_widget.o_required_modifier > input { - color: #4c4c4c !important; -} -// Input inside colour ends - -// Welcome demo starts -.o_onboarding_container.collapse.show { - border-radius: 5px !important; - margin: 15px 15px 0px 15px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_onboarding.o_onboarding_blue, -.o_onboarding.o_onboarding_blue .o_onboarding_step_title, -.o_onboarding.o_onboarding_blue .o_onboarding_step_action, -.o_onboarding.o_onboarding_blue a.o_onboarding_all_done, -.o_onboarding.o_onboarding_blue .o_onboarding_all_done > .fa, -.o_onboarding.o_onboarding_blue .o_onboarding_btn_close { - border-radius: 5px; -} -.o_onboarding { - border-radius: 5px; -} -// Welcome demo ends - -// Modal starts -.modal.o_technical_modal .modal-content { - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #f6f6f6; -} -.modal.o_technical_modal .modal-content .o_form_view, -.modal.o_technical_modal .modal-content .o_content, -.modal.o_technical_modal .modal-content .o_action { - background-color: #fff !important;; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} -.modal.show .modal-dialog { - display: -webkit-box; - display: -webkit-flex; - display: flex; - align-items: center; - min-height: calc(100% - 1rem); -} -.modal .o_form_view .o_group .o_field_widget { - width: 98% !important; -} -// Modal ends - -// Calendar starts -.o_calendar_view { - background: #fff; -} -// Calendar ends - -// Expense starts -.o_content .o_expense_container { - background: #fff; -} -// Expense ends - -// Lunch starts -.o_lunch_content .o_lunch_banner { - border-bottom: none !important; - background-color: #fff !important; - margin: 0 15px 10px 15px; - border-radius: 5px; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -// Lunch ends - -// Kiosk starts -.o_hr_attendance_kiosk_backdrop { - background-color: #f8f8fb !important; -} -.o_hr_attendance_kiosk_mode { - background-color: #fff !important; - border-radius: 0 0 5px 5px !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.o_hr_attendance_kiosk_mode .o_hr_attendance_user_badge { - border-radius: 5px 5px 0 0 !important; - border-top: none !important; - background: rgba(85,110,230,.25) !important; -} -.o_hr_attendance_sign_in_out_icon { - color: #fff !important; - background-color: #556ee6 !important; - border-color: #556ee6 !important; -} -.o_hr_attendance_sign_in_out_icon:hover { - color: #fff !important; - background-color: #485ec4 !important; - border-color: #4458b8 !important; -} -.o_hr_attendance_sign_in_out_icon:active { - color: #fff !important; - background-color: #4458b8 !important; - border-color: #4053ad !important; -} -.o_hr_attendance_sign_in_out_icon:focus { - color: #fff; - background-color: #485ec4 !important; - border-color: #4458b8 !important; - -webkit-box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; - box-shadow: 0 0 0 .15rem rgba(111,132,234,.5) !important; -} -.o_hr_attendance_kiosk_mode h3.mt0.mb0.text-muted { - color: #556ee6 !important; -} -.o_hr_attendance_button_employees div.mb16.mt16 { - margin-top: 4px !important; -} -// Kiosk ends - -// Timeoff starts -.o_timeoff_container { - background: #fff; -} -// Timeoff ends - -// Project .fa colours starts -.o_mail_activity .o_activity_color_planned { - color: #34c38f !important; -} -.o_mail_activity .o_activity_color_overdue { - color: #f46a6a !important; -} -.o_field_widget.o_priority > .o_priority_star.fa-star { - color: #f1b44c !important; -} -// Project .fa colours ends - -// Sale status icon starts -.bg-primary { - background-color: #556ee6 !important; -} -.bg-secondary { - background-color: #334332 !important; -} -.bg-success-light, .text-bg-success { - color: #1f7556 !important; - background-color: #d6f3e9 !important; -} -.bg-info-light, .text-bg-info { - color: #306391 !important; - background-color: #dcedfc !important; -} -.bg-danger-light, .text-bg-danger { - background-color: #fde1e1 !important; - color: #924040 !important; -} -.bg-warning-light, .text-bg-warning { - background-color: #fcf0db !important; - color: #916c2e !important; -} -// Stock icon colors starts -.o_list_renderer .o_list_table .text-danger, -.o_list_renderer .o_list_table .oe_import .alert.text-error, -.oe_import .o_list_renderer .o_list_table .alert.text-error { - color: #f46a6a !important; -} -.text-danger { - color: #f1b44c !important; -} -.text-warning { - color: #f1b44c !important; -} -.text-error { - color: #f46a6a !important; -} -.text-success { - color: #34c38f !important; -} -// Stock icon colors ends - -// Badges starts -.text-bg-primary { - background-color: #556ee6 !important; -} -.text-bg-secondary { - background-color: #74788d; -} -.text-bg-success { - background-color: #34c38f; -} -.text-bg-info { - background-color: #50a5f1; -} -.text-bg-danger { - background-color: #f46a6a; -} -.text-bg-warning { - background-color: #f1b44c; -} -.text-bg-dark { - background-color: #343a40; -} -.bg-success { - background-color: #34c38f !important; -} -.bg-success-full { - background-color: #34c38f !important; -} -.bg-warning-full { - background-color: #f1b44c !important; -} -.bg-danger-full { - background-color: #f46a6a; -} -.o-planned { - color: #34c38f !important; -} -.o-overdue { - color: #f46a6a !important; -} -.o_progressbar_complete { - background-color: #34c38f !important; -} -// Badges ends - -// Alert starts -.alert-warning { - color: #916c2e; - background-color: #fcf0db; - border-color: #fbe9c9; -} -.alert-danger { - color: #924040; - background-color: #fde1e1; - border-color: #fcd2d2; -} -.alert-success { - color: #1f7556; - background-color: #d6f3e9; - border-color: #c2eddd; -} -.alert-info { - color: #306391; - background-color: #dcedfc; - border-color: #cbe4fb; -} -.toast { - border-radius: 5px !important; - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; -} -.toast-header { - border-bottom: 1px solid #fcd2d2 !important; - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; -} -.toast-body { - color: #924040 !important; - background-color: #fde1e1 !important; - border-color: #fcd2d2 !important; -} -.o_notification_manager { - top: auto !important; - bottom: 30px !important; -} -// Alert ends - -// Recruitment starts -div.o_boolean_toggle.form-check.o-checkbox > label.form-check-label::before, -div.o_boolean_toggle.form-check.o-checkbox > label.form-check-label::after { - left: 0.1rem !important; -} -div.o_boolean_toggle.form-check.o-checkbox > input.form-check-input:checked + label.form-check-label::after { - top: 1.5px !important; - left: 10px !important; -} -div.o_boolean_toggle.form-check.o-checkbox > label.form-check-label::after { - top: 1px; -} -.o_kanban_renderer.o_kanban_dashboard.o_hr_recruitment_kanban .ribbon span { - background-color: #556ee6 !important; -} -.o_kanban_renderer.o_kanban_dashboard.o_hr_recruitment_kanban.o_kanban_ungrouped .o_kanban_record:not(.o_kanban_ghost) { - height: 197px; -} -// Recruitment ends - -// Note editor starts -.note-popover .popover .popover-body, .panel-heading.note-toolbar { - padding: 5px !important; - border-bottom: none !important; - background: rgba(85, 110, 230, 0.25) !important; - border-radius: 5px 5px 0 0 ; -} -.note-editor .note-statusbar { - border-radius: 0 0 5px 5px; -} -.wysiwyg_iframe, .note-editor { - border-radius: 5px; -} -// Note editor ends - -// Progress starts -.oe_kanban_content .progress .progress-bar { - background-color: #556ee6; -} -.progress-bar.bg-muted-full { - background-color: #dee2e6; -} -// Progress ends - -// Email marketing starts -.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container { - background: rgba(85, 110, 230, 0.25); - color: #000; -} -.o_domain_node.o_domain_tree.o_domain_selector > .o_domain_debug_container > input { - background: rgba(85, 110, 230, 0.25); -} -.o_field_widget.o_field_domain.o_inline_mode.o_edit_mode > .o_field_domain_panel { - top: -18px; -} -.o_domain_node .o_domain_selector_row > .o_domain_node_control_panel { - top: 5px; -} -.o_mail_emojis_dropdown { - bottom: 50px; -} -// Email marketing ends - -// Menu+ color starts -.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a { - background-color: #74788d; -} -.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a.dropdown-toggle { - background-color: #abadba; -} -// Menu+ color ends - -// Datetimepicker starts -.datepicker td, -.datepicker td a, -.datepicker th, -.datepicker span { - padding: 0.5rem !important; -} -div.dropdown-menu.bootstrap-datetimepicker-widget{ - width: auto !important; -} -// Datetimepicker ends - -// Group by color starts -.o_list_renderer tbody > tr.o_group_header { - background-color: #dddddd !important; -} -.table-striped tbody tr.o_group_header:nth-of-type(odd) { - background-color: rgba(85,110,230,0.17); -} -.table-striped tbody tr.o_group_header:hover { - background-color: rgba(85,110,230,0.23); -} -// Group by color ends -.o_dropdown .o_dropdown_title{ - padding : 0px; -} -.o_searchview .o_searchview_input_container .o_searchview_facet { - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - flex: 0 0 auto; - margin: 1px 3px 0 0; - max-width: 100%; - position: relative; - height: 24px !important; - justify-content: center !important; - align-items: center !important; -} -.o_searchview_input { - padding: 0 5px !important; -} -.o_menu_brand { - font-size: 20px !important; - color: #555b6d !important; -} -.o_content > .o_list_renderer > .table:not(.o_list_table_grouped) > tbody > tr:not(.o_list_table_grouped) > td { - padding: 10px 4px; -} -@media (min-width: 992px) and (max-width: 1533.98px){ - .o_form_view .oe_button_box, .o_form_view .o_notebook > .o_notebook_headers{ - margin-left: -16px !important; - margin-right: -16px !important; - } -} -.o_form_view .o_field_widget.o_field_one2many > div, .o_form_view .o_field_widget.o_field_many2many > div { - width: 100%; - padding: 0 15px; -} -.o_form_view .o_field_widget{ - margin-bottom: 0px !important; -} -.reminder_day { - display: flex; - flex-wrap: nowrap; -} -.o_home_menu_background { - background: linear-gradient(-135deg,#1867b9 0,#9d3be0 100%) !important; - background-size: cover; -} -.o_group_buttons .btn { - margin-right: 5px; -} -.btn.btn-link.o-kanban-button-new { - background: #74788d !important; - border: solid 2px #74788d !important; - color: #fff !important; -} -.o_gantt_button_scale.btn.btn-secondary { - margin-right: 2px; -} -div.o_input > .o_input { - margin-bottom: 0 !important; - background: none; -} -.o_input.p-0 { - padding-left: 3px !important; -} -.o_form_view .o_form_uri { - display: inline-block; - color: #556ee6 !important; -} -.o_search_panel .list-group-item .o_search_panel_label_title{ - color: unset !important; -} -.o_menu_search_input{ - margin-top: 1rem; - border: none !important; -} -.o_NotificationGroup_date{ - color: #556ee6; -} -.o_ThreadPreview_date{ - color: #556ee6; -} -.timesheet-timer button.btn_start_timer { - color: #FFFFFF; - background-color: #544FEA; - border-color: #544FEA; - text-transform: uppercase; -} -.timesheet-timer button.btn_start_timer:hover { - color: #FFFFFF; - background-color: #0854aa;; - border-color: #0854aa;; -} -.o_account_reports_page .account_report_line_name a { - color: #556ee6; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content:hover{ - color: #556ee6; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:focus{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:hover{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:active{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:visited{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:focus-within{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content.o_group_open:target{ - color: #556ee6 !important; -} -.o_list_renderer .o_list_table.o_list_table_grouped > tbody > tr.o_group_header.o_group_has_content{ - &:hover{ - color: #556ee6 !important; - } - &:visited{ - color: #556ee6 !important; - } - &:focus{ - color: #556ee6 !important; - } - &:focus-within{ - color: #556ee6 !important; - } - &:active{ - color: #556ee6 !important; - } -} -.o_Discuss .o_Message .o_Message_prettyBody p a { - background: #556ee6 !important; - color: white; -} -@media (max-width: 1371px) { - nav.o_main_navbar { - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-flex-wrap: wrap; - justify-content: left; - height: auto; - flex-wrap: nowrap; - } -} -//scrollbar starts -::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.19); - border-radius: 10px; - background-color: #F5F5F5; -} -::-webkit-scrollbar { - width: 12px; - background-color: #F5F5F5; -} -::-webkit-scrollbar-thumb { - border-radius: 10px; - -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.2); - background-color: #c9ccd6; -} -//scrollbar ends - -// V17 Fixes -.o_web_client .o_navbar { - background: linear-gradient(to right, #159957, #155799); -} -.o_home_menu { - background: linear-gradient(to right, #159957, #155799); -} -.o_home_menu .o_app .o_app_icon { - background: #2B2A4C; -} -.o_home_menu .o_app .o_caption { - color: white; -} -.fa-arrow-circle-right:before { - margin: 10px; -} -.o_home_menu_background .fa-arrow-circle-right:before { - color: white !important; -} -.fa-arrow-circle-left:before { - margin: -25px; -} -.o_home_menu_background .fa-arrow-circle-left:before { - color: white !important; -} -@media (max-width: 678px) { - .o-form-buttonbox > .oe_stat_button { - width: 90px; - } -} -.o_searchview .o_searchview_icon { - display: none !important; -} -.form-check .form-check-input { - margin-left: -2.5em; -} -.o_list_record_selector .form-check-input { - margin-left: -1.5em; -} -.o_list_record_selector.o_list_controller .form-check-input { - margin-left: -2.2em; -} -.o_home_menu_background .oe_topbar_name { - color: white !important; -} -.o_home_menu_background .o_main_navbar .o_menu_toggle.o_menu_toggle_back { - color: white !important; -} diff --git a/code_backend_theme_enterprise/static/src/scss/theme_accent.scss b/code_backend_theme_enterprise/static/src/scss/theme_accent.scss deleted file mode 100644 index 210b05536..000000000 --- a/code_backend_theme_enterprise/static/src/scss/theme_accent.scss +++ /dev/null @@ -1,8 +0,0 @@ -$primary_accent: #556ee6 !default; -$secondary_accent: #334332 !default; -$inverse_accent: #ffffff !default; -$o-kanban-color-border-width: 8px; -$selected_row: #ffffff !default; -$bg_white: #ffffff !default; -$f_color: #555b6d !default; -$primary_hover: #485ec4 !default; diff --git a/code_backend_theme_enterprise/static/src/xml/sidebar_templates.xml b/code_backend_theme_enterprise/static/src/xml/sidebar_templates.xml deleted file mode 100644 index 54e3e217f..000000000 --- a/code_backend_theme_enterprise/static/src/xml/sidebar_templates.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - diff --git a/code_backend_theme_enterprise/static/src/xml/top_bar_templates.xml b/code_backend_theme_enterprise/static/src/xml/top_bar_templates.xml deleted file mode 100644 index c3dfd9611..000000000 --- a/code_backend_theme_enterprise/static/src/xml/top_bar_templates.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code_backend_theme_enterprise/views/base_menus.xml b/code_backend_theme_enterprise/views/base_menus.xml deleted file mode 100644 index 3eba80c10..000000000 --- a/code_backend_theme_enterprise/views/base_menus.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/hue_backend_theme/README.rst b/hue_backend_theme/README.rst deleted file mode 100644 index 7f3b25ceb..000000000 --- a/hue_backend_theme/README.rst +++ /dev/null @@ -1,48 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Hue Backend Theme -================== -* Hue Backend Theme module for Odoo 17 community editions. This is a Minimalist and Elegant Backend Theme for Odoo 17. This theme will change your Old Experience to a New Experience with Odoo. - -Configuration -------------- - - www.odoo.com/documentation/17.0/setup/install.html - - Install our custom addon - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Credits -------- -Developer: (V17) Developer ADVAITH BG, Contact: odoo@cybrosys.com - (V18) Developer SWARAJ R, Contact: odoo@cybrosys.com - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://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 - -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com" - -Further information ------------------ -HTML Description: ``__ diff --git a/hue_backend_theme/__init__.py b/hue_backend_theme/__init__.py deleted file mode 100644 index 68348c212..000000000 --- a/hue_backend_theme/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -from . import models diff --git a/hue_backend_theme/__manifest__.py b/hue_backend_theme/__manifest__.py deleted file mode 100644 index e785f5e56..000000000 --- a/hue_backend_theme/__manifest__.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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": "Hue Backend Theme", - "version": "18.0.1.0.0", - "category": "Themes/Backend", - "summary": "Hue Backend Theme is an attractive theme for Odoo backend", - "description": """Minimalist and elegant theme for Odoo backend""", - "author": "Cybrosys Techno Solutions", - "company": "Cybrosys Techno Solutions", - "maintainer": "Cybrosys Techno Solutions", - "website": "https://www.cybrosys.com", - "depends": ["web", "mail"], - "data": [ - "views/layout_templates.xml", - "views/res_config_settings_views.xml", - ], - "assets": { - "web.assets_backend": [ - "hue_backend_theme/static/src/components/app_menu/side_menu.xml", - "hue_backend_theme/static/src/layout/style/layout_colors.scss", - "hue_backend_theme/static/src/components/app_menu/menu_order.css", - "hue_backend_theme/static/src/layout/style/layout_style.scss", - "hue_backend_theme/static/src/layout/style/sidebar.scss", - "hue_backend_theme/static/src/components/app_menu/search_apps.js", - # 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/' - # 'jquery.min.js', - ], - "web.assets_frontend": [ - "hue_backend_theme/static/src/layout/style/login.scss", - ], - }, - "images": [ - "static/description/banner.jpg", - "static/description/theme_screenshot.jpg", - ], - 'icon': 'static/description/icon.png', - "license": "LGPL-3", - "installable": True, - "auto_install": False, - "application": False, -} diff --git a/hue_backend_theme/doc/RELEASE_NOTES.md b/hue_backend_theme/doc/RELEASE_NOTES.md deleted file mode 100644 index b38630b8b..000000000 --- a/hue_backend_theme/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,11 +0,0 @@ -## Module - -#### 16.10.2024 - -#### Version 18.0.1.0.0 - -##### ADD - -- Initial commit for Hue Backend Theme - - diff --git a/hue_backend_theme/models/__init__.py b/hue_backend_theme/models/__init__.py deleted file mode 100644 index 50a05b05b..000000000 --- a/hue_backend_theme/models/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -from . import res_company -from . import res_config_settings diff --git a/hue_backend_theme/models/res_company.py b/hue_backend_theme/models/res_company.py deleted file mode 100644 index 58424c83b..000000000 --- a/hue_backend_theme/models/res_company.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -from odoo import fields, models - - -class ResCompany(models.Model): - """ - To inherit res company model. - """ - _inherit = 'res.company' - - background_image = fields.Binary(string="Background Image", - attachment=True) diff --git a/hue_backend_theme/models/res_config_settings.py b/hue_backend_theme/models/res_config_settings.py deleted file mode 100644 index 9a8d2a06c..000000000 --- a/hue_backend_theme/models/res_config_settings.py +++ /dev/null @@ -1,91 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Swaraj R (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 . -# -############################################################################# -from odoo import fields, models - - -class ResConfigSettings(models.TransientModel): - """ - Inherit settings model. - """ - _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='hue_backend_theme.' - 'appbar_color', - default='#000000') - primary_accent = fields.Char(string="Navbar color", - config_parameter='hue_backend_theme.' - 'primary_accent_color', - default='#A53860') - kanban_bg_color = fields.Char(string="Kanban Bg Color", - config_parameter='hue_backend_theme.' - 'kanban_bg_color', - default='#F7F7F7') - primary_hover = fields.Char(string="Hover Primary Color", - config_parameter='hue_backend_theme.' - 'primary_hover', - default='#953256') - light_hover = fields.Char(string="Light Hover", - config_parameter='hue_backend_theme.light_hover', - default='#d5d5d5') - appbar_text = fields.Char(string="Home Menu Text Color", - config_parameter='hue_backend_theme.appbar_text', - default='#F7F8F7') - appbar_hover = fields.Char(string="AppBar Hover", - config_parameter='hue_backend_theme.' - 'appbar_hover', - default='#953256') - - def config_color_settings(self): - """ - To return dict of colors. - """ - colors = { - 'full_bg_img': self.env.user.company_id.background_image, - 'appbar_color': self.env['ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.appbar_color'), - 'primary_accent': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.primary_accent_color'), - 'secondary_color': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.secondary_color'), - 'kanban_bg_color': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.kanban_bg_color'), - 'primary_hover': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.primary_hover'), - 'light_hover': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.light_hover'), - 'appbar_text': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.appbar_text'), - 'appbar_hover': self.env[ - 'ir.config_parameter'].sudo().get_param( - 'hue_backend_theme.appbar_hover') - } - return colors diff --git a/hue_backend_theme/static/description/banner.jpg b/hue_backend_theme/static/description/banner.jpg deleted file mode 100644 index 1769d70dc..000000000 Binary files a/hue_backend_theme/static/description/banner.jpg and /dev/null differ diff --git a/hue_backend_theme/static/description/icon.png b/hue_backend_theme/static/description/icon.png deleted file mode 100644 index 0bd952eae..000000000 Binary files a/hue_backend_theme/static/description/icon.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/1.png b/hue_backend_theme/static/description/img/1.png deleted file mode 100644 index 9d182ed83..000000000 Binary files a/hue_backend_theme/static/description/img/1.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/2.png b/hue_backend_theme/static/description/img/2.png deleted file mode 100644 index 3eb73c76a..000000000 Binary files a/hue_backend_theme/static/description/img/2.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/3.png b/hue_backend_theme/static/description/img/3.png deleted file mode 100644 index 164d35e78..000000000 Binary files a/hue_backend_theme/static/description/img/3.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/3image.jpg b/hue_backend_theme/static/description/img/3image.jpg deleted file mode 100644 index 30cd5d766..000000000 Binary files a/hue_backend_theme/static/description/img/3image.jpg and /dev/null differ diff --git a/hue_backend_theme/static/description/img/4.png b/hue_backend_theme/static/description/img/4.png deleted file mode 100644 index 277128050..000000000 Binary files a/hue_backend_theme/static/description/img/4.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/5.png b/hue_backend_theme/static/description/img/5.png deleted file mode 100644 index cca1fd531..000000000 Binary files a/hue_backend_theme/static/description/img/5.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/6.png b/hue_backend_theme/static/description/img/6.png deleted file mode 100644 index 64329bdc4..000000000 Binary files a/hue_backend_theme/static/description/img/6.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/7.png b/hue_backend_theme/static/description/img/7.png deleted file mode 100644 index 7acf13a38..000000000 Binary files a/hue_backend_theme/static/description/img/7.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/8.png b/hue_backend_theme/static/description/img/8.png deleted file mode 100644 index a414d04f7..000000000 Binary files a/hue_backend_theme/static/description/img/8.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/app_bar.png b/hue_backend_theme/static/description/img/app_bar.png deleted file mode 100644 index 13169af76..000000000 Binary files a/hue_backend_theme/static/description/img/app_bar.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/arrows-repeat.svg b/hue_backend_theme/static/description/img/arrows-repeat.svg deleted file mode 100644 index 94fb8f7f9..000000000 --- a/hue_backend_theme/static/description/img/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/banner-bg-1.svg b/hue_backend_theme/static/description/img/banner-bg-1.svg deleted file mode 100644 index 7af9bab87..000000000 --- a/hue_backend_theme/static/description/img/banner-bg-1.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/banner.png b/hue_backend_theme/static/description/img/banner.png deleted file mode 100644 index 76747bf7b..000000000 Binary files a/hue_backend_theme/static/description/img/banner.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/banner.svg b/hue_backend_theme/static/description/img/banner.svg deleted file mode 100644 index 3d4ed7a4a..000000000 --- a/hue_backend_theme/static/description/img/banner.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/check.svg b/hue_backend_theme/static/description/img/check.svg deleted file mode 100644 index 8bc79333d..000000000 --- a/hue_backend_theme/static/description/img/check.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/custom_form_view.png b/hue_backend_theme/static/description/img/custom_form_view.png deleted file mode 100644 index 33ce846e3..000000000 Binary files a/hue_backend_theme/static/description/img/custom_form_view.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/customizable_ui.png b/hue_backend_theme/static/description/img/customizable_ui.png deleted file mode 100644 index 93b65cded..000000000 Binary files a/hue_backend_theme/static/description/img/customizable_ui.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/customization_settings.png b/hue_backend_theme/static/description/img/customization_settings.png deleted file mode 100644 index f9d9dc3fc..000000000 Binary files a/hue_backend_theme/static/description/img/customization_settings.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/feature-star.svg b/hue_backend_theme/static/description/img/feature-star.svg deleted file mode 100644 index a913270e8..000000000 --- a/hue_backend_theme/static/description/img/feature-star.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/gear.svg b/hue_backend_theme/static/description/img/gear.svg deleted file mode 100644 index ce383059d..000000000 --- a/hue_backend_theme/static/description/img/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/hero.png b/hue_backend_theme/static/description/img/hero.png deleted file mode 100644 index 87e4b66e8..000000000 Binary files a/hue_backend_theme/static/description/img/hero.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/hire-odoo.svg b/hue_backend_theme/static/description/img/hire-odoo.svg deleted file mode 100644 index 9cfec4e44..000000000 --- a/hue_backend_theme/static/description/img/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/kanban_view.png b/hue_backend_theme/static/description/img/kanban_view.png deleted file mode 100644 index 2c4d47fb7..000000000 Binary files a/hue_backend_theme/static/description/img/kanban_view.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/life-ring-icon.svg b/hue_backend_theme/static/description/img/life-ring-icon.svg deleted file mode 100644 index b6c797ba1..000000000 --- a/hue_backend_theme/static/description/img/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/odoo-consultancy.svg b/hue_backend_theme/static/description/img/odoo-consultancy.svg deleted file mode 100644 index c2c27e608..000000000 --- a/hue_backend_theme/static/description/img/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/hue_backend_theme/static/description/img/odoo-licencing.svg b/hue_backend_theme/static/description/img/odoo-licencing.svg deleted file mode 100644 index 8a520b40f..000000000 --- a/hue_backend_theme/static/description/img/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/hue_backend_theme/static/description/img/patter.svg b/hue_backend_theme/static/description/img/patter.svg deleted file mode 100644 index 9b7b0d7cd..000000000 --- a/hue_backend_theme/static/description/img/patter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/puzzle-piece-icon.svg b/hue_backend_theme/static/description/img/puzzle-piece-icon.svg deleted file mode 100644 index ab5e56fa7..000000000 --- a/hue_backend_theme/static/description/img/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/responsive-backend-theme.png b/hue_backend_theme/static/description/img/responsive-backend-theme.png deleted file mode 100644 index a804ac40b..000000000 Binary files a/hue_backend_theme/static/description/img/responsive-backend-theme.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/screenshot-1.svg b/hue_backend_theme/static/description/img/screenshot-1.svg deleted file mode 100644 index 72eeb921b..000000000 --- a/hue_backend_theme/static/description/img/screenshot-1.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/screenshot-2.png b/hue_backend_theme/static/description/img/screenshot-2.png deleted file mode 100644 index e13b876da..000000000 Binary files a/hue_backend_theme/static/description/img/screenshot-2.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/screenshot-3.png b/hue_backend_theme/static/description/img/screenshot-3.png deleted file mode 100644 index be1acdfd5..000000000 Binary files a/hue_backend_theme/static/description/img/screenshot-3.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/screenshot-4.png b/hue_backend_theme/static/description/img/screenshot-4.png deleted file mode 100644 index 1d01e11fc..000000000 Binary files a/hue_backend_theme/static/description/img/screenshot-4.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/screenshot-5.svg b/hue_backend_theme/static/description/img/screenshot-5.svg deleted file mode 100644 index 923e355bf..000000000 --- a/hue_backend_theme/static/description/img/screenshot-5.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/screenshot-img.png b/hue_backend_theme/static/description/img/screenshot-img.png deleted file mode 100644 index a425d9ede..000000000 Binary files a/hue_backend_theme/static/description/img/screenshot-img.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/screenshot-main.png b/hue_backend_theme/static/description/img/screenshot-main.png deleted file mode 100644 index 575f8e676..000000000 Binary files a/hue_backend_theme/static/description/img/screenshot-main.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/setting_search.png b/hue_backend_theme/static/description/img/setting_search.png deleted file mode 100644 index 02d4fdcde..000000000 Binary files a/hue_backend_theme/static/description/img/setting_search.png and /dev/null differ diff --git a/hue_backend_theme/static/description/img/template.jpg b/hue_backend_theme/static/description/img/template.jpg deleted file mode 100644 index 1769d70dc..000000000 Binary files a/hue_backend_theme/static/description/img/template.jpg and /dev/null differ diff --git a/hue_backend_theme/static/description/img/translate.svg b/hue_backend_theme/static/description/img/translate.svg deleted file mode 100644 index eea729542..000000000 --- a/hue_backend_theme/static/description/img/translate.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/img/wrench-icon.svg b/hue_backend_theme/static/description/img/wrench-icon.svg deleted file mode 100644 index 4e0ce1d01..000000000 --- a/hue_backend_theme/static/description/img/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/hue_backend_theme/static/description/index.html b/hue_backend_theme/static/description/index.html deleted file mode 100644 index 5baae5621..000000000 --- a/hue_backend_theme/static/description/index.html +++ /dev/null @@ -1,780 +0,0 @@ - - - - - - - app index - - - - - - - - - - -
- - - -
-
-
-
- -
-
-
-
- -
- Supports: -
- Community -
-
-
-
-
- Availability: -
- Odoo Online -
-
- Odoo.sh -
-
- On Premise -
-
-
-
-
-
- - - - -
-
- -
-
- - - - -
-
-
-
-
-

Our Features

- -

info includes 300+ elements that you may need to create website without - external plugins.

-
-
-
-
-
-
-
- -

Customising theme

- -

Hue backend theme provides a fully configurable theme settings menu.

-
- -
-
-
-
-
- -

Smooth navigation

- -

Easily accessible sidebar where it reveals the sidebar menu on just a click.

-
- -
-
-
-
-
- -

Highly responsive

- -

Critical highlights of the Hue backend theme is that it was genuinely responsive.

-
- - -
-
-
-
-
- -

Elegant kanban view

- -

Colorful & elegant kanban view.

-
- -
-
-
-
-
- -

Colourful form view

- -

Fully modified and colorful form view.

-
- -
-
-
-
-
- -

Elegants in view

- -

Elegant User Interface.

-
- -
-
-
-
-
- - -
-
-
- -
-
- - - -
-
-
-

Theme Features

-
-
-
-
- HIGHLIGHT -

App Bar

-

Easily accessible sidebar where it reveals the sidebar - menu on just a click. Moreover, its also fully - customisable with Hue backend theme.

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Kanban view

-

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

- -
-
- Grid item -
- -
-
-
- - - -
-
-
-
- HIGHLIGHT -

Hue Backend Theme Settings

-

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

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Custom Form view

-

Hue Backend theme provides a fully modified and - colorful form view with the full view experience.

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- HIGHLIGHT -

Attractive Customizable User Interface

-

It provides fully attractive, - and an elegant User Interface which is - completely customizable.

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Advanced Searching for App Menus

-

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

- -
-
- Grid item -
- -
-
-
- - -
-
-
-
- -
- - -
- - - - - - - -
-
-
-
-

- Truly
- Responsive -

- -
-

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

-
    -
  • Appealing card hover style
  • -
  • Detailed product filtering
  • -
  • Modernized mini basket
  • -
  • Cutting-edge single product
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- - - -
-
-
-
-
- -
- -
-
-
-
-

- Stunning
- Pages -

- -
-

Hue Backend Theme V18 is an Attractive Theme for Your - Odoo 18. This Theme Will Improve - Your Experience With Odoo.

-
    -
  • Visually Stunning Design
  • -
  • Customizable Layouts
  • -
  • User-Friendly Navigation
  • -
-
-
-
- -
-
- - - - - - - - -
- - - - - - - - \ No newline at end of file diff --git a/hue_backend_theme/static/description/theme_screenshot.jpg b/hue_backend_theme/static/description/theme_screenshot.jpg deleted file mode 100644 index 71ac3a473..000000000 Binary files a/hue_backend_theme/static/description/theme_screenshot.jpg and /dev/null differ diff --git a/hue_backend_theme/static/src/components/app_menu/menu_order.css b/hue_backend_theme/static/src/components/app_menu/menu_order.css deleted file mode 100644 index 74ce973da..000000000 --- a/hue_backend_theme/static/src/components/app_menu/menu_order.css +++ /dev/null @@ -1,118 +0,0 @@ -.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; -} -.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_base_settings_view .o_form_renderer { - --settings__tab-color: #111827; -} -.o_main_navbar .dropdown-menu.show { - max-height: none !important; - min-width: 100vw; - min-height: 100vh; - overflow: auto; - margin-top: 0px; -} -.o-mail-DiscussSidebar .btn { - padding: 0 !important; -} - -.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%; -} - -.sidebar_panel .o-dropdown, -.sidebar_panel .CallSystrayMenuContainer, -.sidebar_panel .MessagingMenuContainer, -.sidebar_panel .o_switch, -.sidebar_panel .o_menu_systray_item, -.sidebar_panel .o_edit_website_container, -.sidebar_panel .o_ActivityMenuView{ - //**display: none !important;**// -} - -.sidebar_panel .o_debug_manager, -.sidebar_panel .o_switch_company_menu, -.sidebar_panel .o-mail-DiscussSystray-class{ - display: none !important; -} -.sidebar_panel .o_menu_systray button{ - display: none !important; -} -.sidebar_panel .o_menu_systray .o_user_menu button{ - display: block !important; -} -.dropdown-item{ - text-decoration: none !important; -} -.dropdown-menu.fullscreen-menu.show { - inset: -5px auto auto 0px !important; -} -.search-container.has-results -.search-results { - margin-left: 100px !important; - color: white !important; -} diff --git a/hue_backend_theme/static/src/components/app_menu/search_apps.js b/hue_backend_theme/static/src/components/app_menu/search_apps.js deleted file mode 100644 index fd5b4d5b5..000000000 --- a/hue_backend_theme/static/src/components/app_menu/search_apps.js +++ /dev/null @@ -1,137 +0,0 @@ -/** @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 { useService } from "@web/core/utils/hooks"; -const commandProviderRegistry = registry.category("command_provider"); -import { useRef, onMounted, useSubEnv } from "@odoo/owl"; -import { patch } from "@web/core/utils/patch"; - -patch(NavBar.prototype, { - // To modify the Navbar properties and functions. - setup() { - super.setup() - var self = this; - this._search_def = this.createDeferred(); - let { apps, menuItems } = computeAppsAndMenuItems - (this.menuService.getMenuAsTree("root")); - this._apps = apps; - this._searchableMenus = menuItems; - this.fetch_data(); - this.search_container = useRef('search_container'); - this.search_input = useRef('search_input'); - this.app_menu = useRef('app_menu'); - this.search_results = useRef('search_results'); - onMounted(() => { - this.setClass(); - }) - }, - createDeferred() { - let deferred = {}; - - deferred.promise = new Promise((resolve, reject) => { - deferred.resolve = resolve; - deferred.reject = reject; - }); - - return deferred; -}, - async fetch_data() { - // To fetch colors from database. - this.orm = useService("orm") - var result = await this.orm.call("res.config.settings", - "config_color_settings", [0]) - if (result.primary_accent) { - document.documentElement.style.setProperty("--primary-accent", - result.primary_accent); - } - if (result.appbar_hover !== false){ - document.documentElement.style.setProperty("--appbar-hover", - result.appbar_hover); - } - 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.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.kanban_bg_color !== false){ - document.documentElement.style.setProperty("--kanban-bg-color", - result.kanban_bg_color); - } - }, - setClass() { - // Set variable for html elements. - this.$search_container = this.search_container.el; - this.$search_input = this.search_input.el; - this.$search_results = this.search_results.el; - this.$app_menu = this.app_menu.el; - this.$dropdown_menu = this.search_container.el.parentElement; - }, - _searchMenusSchedule() { - // Hide / Show based on search input. - 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() { - // App menu search 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.empty() - var resultsHtml = "" - results.forEach(function(result) { - resultsHtml += "

" + result["name"] + "

" - }) - this.$search_results.append(resultsHtml); - }, - onAppClick(app) { - this.onNavBarDropdownItemSelection(app); - } -}) diff --git a/hue_backend_theme/static/src/components/app_menu/side_menu.xml b/hue_backend_theme/static/src/components/app_menu/side_menu.xml deleted file mode 100644 index 23f16babe..000000000 --- a/hue_backend_theme/static/src/components/app_menu/side_menu.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - -
- -
-
-
- - - - -
-
-
diff --git a/hue_backend_theme/static/src/layout/style/layout_colors.scss b/hue_backend_theme/static/src/layout/style/layout_colors.scss deleted file mode 100644 index 329f44c45..000000000 --- a/hue_backend_theme/static/src/layout/style/layout_colors.scss +++ /dev/null @@ -1,35 +0,0 @@ -$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; -$bg_dark: var(--bg-dark) !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: #A53860; - --primary-accent-border: #ffffff; - --app-bar-accent: #000000; - --full-screen-bg: url(/hue_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; - --bg-dark: #060204 !important; - --f-color: #555b6d !important; - --color-white : #ffffff !important; - --color-black : #0F1114 !important; - --primary-hover: #953256; - --light-hover: #d5d5d5 ; - --appbar-hover: #953256; - --btn-primary: #953256; - --btn-secondary: #ffffff; - --btn-info: #281f22; - --fullscreen-bg-color: #C5F0FC !important; -} diff --git a/hue_backend_theme/static/src/layout/style/layout_style.scss b/hue_backend_theme/static/src/layout/style/layout_style.scss deleted file mode 100644 index 0bf0769ee..000000000 --- a/hue_backend_theme/static/src/layout/style/layout_style.scss +++ /dev/null @@ -1,999 +0,0 @@ -//Fonts Start -/* Latin-ext */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* Latin */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* Latin-ext */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Cp2ywxg089UriAWCrCBamC2QX.woff2) format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* Latin */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Cp2ywxg089UriAWCrCBimCw.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* Latin-ext */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Cp2ywxg089UriASitCBamC2QX.woff2) format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* Latin */ -@font-face { - font-family: 'DM Sans'; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(https://fonts.gstatic.com/s/dmsans/v6/rP2Cp2ywxg089UriASitCBimCw.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -//End of fonts -html .o_web_client > .o_action_manager{ - margin-left: 80px !important; - @media (max-width: 768px) { - margin-left: 0px !important; - } -} -body{ - font-family: 'DM Sans', sans-serif !important; -} -.btn{ - border-radius: 0px !important; -} -.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; -} -a:hover { - color: var(--primary-hover); -} -.app_bar .app_container a:hover{ - background:var(--secoundary-hover) !important; -} -.fullscreen-menu{ - height: 100vh; - 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: 0px; - left: -1px; - padding: 2.5rem 0; -} -.fullscreen-menu > .search-container > button.fullscreen-close{ - position: absolute; - top: 55px; - left: 160px; - border-style: none; - background: transparent; - color: var(--app-menu-font-color); - font-size: 2rem; - opacity: 1; - text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); - @media (max-width: 768px) { - position: absolute; - top: -45px; - left: 20px !important; - } - @media (max-width: 992px) { - position: absolute; - top: -45px; - left: 0px; - } -} -.fullscreen-menu > .search-container{ - margin-top: 30px !important; -} -.a_app_menu_title{ - color: var(--app-menu-font-color) !important; - text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.50); - font-size: 14px; -} -.o_main_navbar{ - background-color:var(--primary-accent) !important; - border-bottom: 1px solid var(--primary-hover) !important; - margin-left: 80px; - @media (max-width: 768px) { - margin-left: 0px; - } -} -.dropdown-toggle:hover { - &:hover{ - background-color: var(--light-hover) !important; - } -} -.o_user_menu .o_user_avatar{ - border-radius: 50% !important; - margin-right: 0.5rem; -} -.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 -.o_menu_sections .o-dropdown .dropdown-toggle:hover:hover{ - background-color: var(--primary-hover) !important; -} -//Icon color -.o_searchview .o_searchview_facet .o_searchview_facet_label { - background-color: var(--primary-accent) !important; -} -.o_searchview .o_searchview_facet{ - border: none !important; - background: #e2e2e0 -} -.o_searchview .o_searchview_facet .o_searchview_facet_label { - background-color: #EEEEEE !important; -} -.btn-secondary { - color: var(--bg-dark) !important; - background-color: var(--btn-secondary) !important; - border-color: var(--light-hover) !important; - margin:0 5px 0 0; - &:hover{ - background-color: var(--light-hover) !important; - color: var(--bg-dark) !important; - border-color: var(--light-hover) !important; - i{ - color: var(--color-white) !important; - } - span{ - color: var(--color-white) !important; - } - } - i{ - color: var(--color-black) !important; - margin-right: 0.2rem; - } - span{ - color: var(--color-black) !important; - } -} -.o_statusbar_buttons > .btn-secondary { - color: var(--bg-dark) !important; - span{ - color: var(--bg-dark) !important; - } -} -.o_statusbar_status button{ - border-radius: 0px !important; -} - -.btn-secondary:hover span, .btn-secondary:hover i { - color: var(--color-black) !important; -} -.o_searchview { - background-color: var(--bg-white) !important; - border: 1px solid #ccc; - border-radius: 3px; - padding: 1px 25px 3px 5px; -} -.o_searchview .o_searchview_input_container { - display: flex; - flex-flow: row wrap; - position: relative; - border-radius: 0px; -} -.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: 3px; - position: relative; - padding: 2px 5px; -} -.o_searchview .o_searchview_input_container .o_searchview_facet .o_searchview_facet_label { - align-items: center; - color: var(--bg-dark) !important; - -webkit-box-flex: 0; - flex: 0 0 auto; - padding: 0 3px; - border-radius: 3px 0px 0px 3px; - display: flex; - max-width: 100%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - vertical-align: top; - background-color: transparent !important; -} -.o_searchview_facet .o_facet_values{ - display: flex; - align-items: center; - border: none !important; -} -//Module icon -.oe_module_icon { - width: 70px; - max-height: 70px; - max-width: 23%; - float: left; - border-radius: 0px; -} -.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: 0px; - -} -//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: 0px; -} -//Dropdown -.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: 0px; -} -//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: 0px; -} -.o_kanban_view.o_kanban_ungrouped .o_kanban_record { - -webkit-box-flex: 1; - flex: 1 1 auto; - width: 300px; - margin: 4px 8px; - border-radius: 0px; -} -.o_kanban_view .o_column_quick_create .o_quick_create_folded .o_kanban_add_column { - margin-right: 8px; - display: inline-block; - padding: 10px 14px; - background-color: rgba(73, 80, 87, 0.1); - border-radius: 0px; -} -.o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image_fill_left .o_kanban_image_inner_pic, .o_kanban_view .o_kanban_record.o_kanban_record_has_image_fill .o_kanban_image .o_kanban_image_inner_pic { - position: absolute; - top: auto; - left: auto; - bottom: 0; - right: 0; - max-height: 25px; - max-width: 80%; - background: var(--bg-white) !important; - box-shadow: -1px -1px 0 1px var(--bg-white) !important; - border-radius: 0px; - margin: 5px; -} -.o_kanban_record.oe_kanban_global_click:focus{ - outline: thin solid var(--primary-accent) !important; -} -.o_purchase_dashboard .table > thead > tr > td, .o_purchase_dashboard .table tbody > tr > td { - text-align: center; - width: 25%; - height: 33px; - vertical-align: middle; - border-top: 1px solid var(--bg-white) !important; - background-color: #f9f9f5; - border-radius: 0px; -} -.o_kanban_renderer.o_kanban_ungrouped { - min-height: 100%; - align-content: flex-start; - -webkit-flex-flow: row wrap; - flex-flow: row wrap; - -webkit-box-pack: start; - justify-content: flex-start; - padding: 8px 8px; - background-color: var(--kanban-bg-color) !important; -} -//Chatter -.o_Message.o-not-discussion { - background-color: #f8f9fa; - border-radius: 0px; -} -//Field dropdown -.o_settings_container .o_setting_box .o_setting_right_pane .o_field_widget { - width: 50%; - -webkit-box-flex: 0; - flex: 0 0 auto; - border-radius: 0px; -} -.o_settings_container .o_setting_box .o_setting_right_pane .o_input_dropdown > .o_input { - width: 100%; - border-radius: 0px; -} -//Form input -.o_input{ - border: 1px solid var(--primary-accent) !important; - border-radius: 0px !important; -} -.o_form_view .o_horizontal_separator { - color: var(--primary-accent) !important; -} -//Required -.o_form_view .o_form_uri > span:first-child{ - color:var(--primary-accent) !important; -} -.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, .o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value -{ - color:var(--primary-accent) !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::after, -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::before -{ - border: none !important; -} -.o_field_widget .o_input_dropdown > input { - cursor: pointer; - border-radius: 0px; -} -.o_field_widget .o_input_dropdown > input, .o_field_widget.o_datepicker > input { - padding-right: 14px; - border-radius: 0px; -} -.o_form_view .o_group .o_field_widget { - width: 100%; - border-radius: 0px; -} -.oe_form_field_html .note-editable { - font: inherit !important; - font-family: inherit !important; - line-height: inherit !important; - color: inherit !important; - border-radius: 0px; -} -.o_form_view .oe_avatar > img { - max-width: 90px; - max-height: 90px; - vertical-align: top; - border: 1px solid #dee2e6; - border-radius: 0px; -} -.o_form_view .o_form_statusbar > .o_field_widget { - align-self: center; - margin-bottom: 0px; - border-radius: 0px; -} -//Settings -.settings_tab { - background-color: var(--primary-accent) !important; - -webkit-box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03) !important; - box-shadow: 0 0.75rem 1.5rem rgba(18,38,63, .03) !important; - border-radius: 0px; -} -.o_web_settings_invite{ - height: 25.1px !important; - margin: 8px 5px 0 0 !important; - padding-bottom: 24px !important; -} -.o_base_settings .o_setting_container .settings_tab .selected { - box-shadow: none !important; -} -.o_base_settings .o_control_panel .o_panel .o_setting_search .searchInput { - border-bottom: 1px solid var(--primary-accent) !important -} -.o_select_file_button{ - background-color: var(--primary-accent) !important; - color: var(--color-white) !important; -} -//Statusbar -.btn-warning:active, -button[name="action_uninstall"]:active { - color: #fff !important; - background-color: #c1903d !important; - border-color: #b58739 !important; -} -.btn-warning:focus, -button[name="action_uninstall"]:focus { - color: #fff !important; - background-color: #cd9941 !important; - border-color: #c1903d !important; - -webkit-box-shadow: 0 0 0 0.15rem rgba(243,191,103,.50) !important; - box-shadow: 0 0 0 0.15rem rgba(243,191,1,.50) !important; -} -.btn-fill-secondary.disabled, .disabled.btn-secondary, .btn-fill-secondary:disabled, .btn-secondary:disabled { - color: #212529 !important; - background-color: #fff !important; - border-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-secondary { - background-color: #fff ; -} -.o_statusbar_status .o_arrow_button.btn-secondary:hover:after { - border-color: #fff !important; -} -.o_statusbar_status .o_arrow_button.btn-primary { - border: solid 1px var(--primary-accent-border); - color: #fff !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled { - background-color: var(--primary-accent) !important; - color: #fff; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled:after, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled:before { - border-left-color: var(--primary-accent) !important; -} -//Avatar pic -.rounded-circle, .o_status, .o_calendar_invitation, .o_status_bubble, .o_Activity_detailsUserAvatar, .o_Activity_userAvatar { - border-radius: 0% !important; -} -.o_calendar_sidebar_container .ui-datepicker td.ui-datepicker-current-day a { - background-color: var(--primary-accent) !important; -} -.btn-fill-primary:hover, .btn-primary:hover, .btn-primary:hover, -.btn-fill-primary:focus, .btn-primary:focus, .btn-primary:focus, -.btn-fill-primary:active, .btn-primary:active, .btn-primary:active -{ - background:var(--primary-accent) !important; - border-color:var(--primary-accent) !important; -} -//Chat -.o_ChatWindowHeader { - background-color: var(--primary-accent) !important; -} -.o_ChatWindow_newMessageFormInput { - outline: none; - border: 1px solid #dee2e6; - border-radius: 0px; -} -a { - color: var(--primary-accent); - text-decoration: none; -} -//Buttons -.btn{ - border-radius: 0.3rem !important; - padding: 8px 25px; - transition: all 0.4s linear; - &:hover{ - filter: brightness(95%) !important; - transition: all 0.4s linear; - } -} -.btn-fill-primary, .btn-primary{ - background-color:var(--primary-accent) !important; - font-weight: bold !important; - border: none; -} -.btn-primary { - color: #fff; - background-color: var(--btn-primary) !important; - margin: 0 5px 0 0; - -webkit-box-shadow: 0px 0px 5px 5px rgba(242, 234, 237, 1); - -moz-box-shadow: 0px 0px 5px 5px rgba(242, 234, 237, 1); - box-shadow: 0px 0px 5px 5px rgba(242, 234, 237, 1); - &:hover{ - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } -} -.btn-info{ - background-color: var(--btn-info) !important; - border-color: var(--btn-info) !important; - &:hover{ - color: var(--color-white) !important; - } -} -.btn-link { - font-weight: 400; - color: var(--primary-accent) !important; - text-decoration: none; -} -.btn-light{ - &:hover{ - color: var(--color-black) !important; - background-color: var(--light-hover) !important; - } -} -.btn-fill-light:not(:disabled):not(.disabled):active, -.btn-light:not(:disabled):not(.disabled):active, -.btn-fill-light:not(:disabled):not(.disabled).active, -.btn-light:not(:disabled):not(.disabled).active, -.show > .btn-fill-light.dropdown-toggle, -.show > .dropdown-toggle.btn-light{ - background-color: var(--light-hover) !important; -} -.ui-autocomplete .ui-menu-item.o_m2o_dropdown_option > a { - color: var(--primary-accent) !important; -} -button.dropdown-toggle, .o_switch_view{ - border: 1px solid #d4d4d4; -} - -.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: 0px; -} -//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: 0px; -} -//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: 0px; - &: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: 0px; -} -.dropdown-menu.show { - display: block; - border-radius: 0; -} -.o_mail_preview .o_mail_preview_image.o_mail_preview_app > img { - border-radius: 0px; -} -//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: 0px; -} -//Event -.text-center { - text-align: center !important; - border-radius: 0px; -} -//Form control icons -.o_form_view .oe_button_box .oe_stat_button .o_button_icon { - 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: 0px; -} -//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; - @media (max-width: 767.98px) { - .dropdown-item{ - padding: 0px !important; - } - } -} -//Discuss -.o_DiscussMobileMailboxSelection{ - padding: 1rem 0.5rem; -} -.o_Message_prettyBody{ - p{ - a{ - background-color: var(--primary-accent) !important; - color: var(--color-white) !important; - border-radius: 0px !important; - &:hover{ - background-color: var(--primary-hover) !important; - color: var(--color-white) !important; - } - } - } -} -//Datepicker -.bootstrap-datetimepicker-widget .accordion-toggle span.fa.primary{ - &:hover{ - background-color: var(--light-hover) !important; - } -} -.bootstrap-datetimepicker-widget .accordion-toggle span.fa.primary{ - color: var(--primary-accent) !important; -} -.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active { - background-color: var(--primary-accent) !important; - &:hover{ - background-color: var(--primary-hover) !important; - } -} -.bootstrap-datetimepicker-widget .datepicker table td.today::before { - border-bottom-color: var(--primary-accent) !important; -} -//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: 0px; - } - .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; - } - .breadcrumb{ - background-color: transparent !important; - } - .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 { - position: relative; - width: 100vw !important; - display: flex; - 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: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; - } -} -//Loading Indicator -.o_loading_indicator.o_loading > span{ - background-color: var(--bg-dark) !important; - border-color: var(--bg-dark) !important; - color: var(--color-white) !important; - border-radius: 3px !important; - padding: 10px 20px !important; - top: 50px !important; - left: 48% !important; - right: auto !important; - bottom: auto !important; - text-align: center !important; - box-shadow: 0px 6px 4px -1px rgba(0,0,0,0.46); - -webkit-box-shadow: 0px 6px 4px -1px rgba(0,0,0,0.46); - -moz-box-shadow: 0px 6px 4px -1px rgba(0,0,0,0.46); - @media (max-width: 767.98px) { - left: 40% !important; - } -} -.dropdown{ - margin-left: 10px; -} -.o_menu_brand{ - margin-left: 10px; - text-decoration:none !important; -} -.form-control{ - padding: 0px; -} -.o_input{ - border: none !important; -} -.a_app_menu_title{ - width: 85px !important; -} -.fullscreen-menu{ - margin-top:-32px!important; -} -.input-group{ - margin-left: 100px !important; -} -// V17 Fixes -.o_main_navbar .o_menu_sections .o_nav_entry, .o_main_navbar .o_menu_sections .dropdown-toggle { - background: var(--primary-accent) !important; - bottom: 1px !important; -} -.o_control_panel_actions .o_searchview { - padding-left: 10px !important; -} -.o_cp_searchview.input-group { - margin-left: 0px !important; -} -@media (min-width: 1534px) { - .o_content .table_responsive.o_list_renderer { - overflow-x: hidden !important; - } - .o_form_view .o_form_sheet { - width: 1102px; - } - .o_list_view .table-responsive .table { - left: -10px; - } - .o_list_table .o_data_row { - vertical-align: middle !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary { - margin: 0px !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current { - color: white !important; - background-color: var(--primary-accent) !important; - font-family: inherit !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary::after { - border-left-color: white !important; - border-top: 19px solid transparent !important; - border-bottom: 19px solid transparent !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current::after { - border-left-color: var(--primary-accent) !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary::before { - border-left-color: var(--primary-accent) !important; - border-top: 19px solid transparent !important; - border-bottom: 19px solid transparent !important; - } -} -.btn-primary { - background-color: var(--primary-accent) !important; -} -.o_main_navbar { - border-bottom: 0px !important; -} -.dropdown-menu.fullscreen-menu.show { - background-color: lightgrey; - display: block; - position: fixed; - padding: 10px; - top: 0; - left: 0; - bottom: 0; - right: 0; - z-index: 100; - overflow-x: hidden; - overflow-y: auto; - min-height: 100%; -} -@media (max-width: 768px) { - #sidebar_panel { - display: none; - } - .o_field_widget .o_statusbar_status { - position: absolute; - top: 0; - right: 0; - } - .o_statusbar_status .o_arrow_button.btn-secondary { - margin: 0px !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current { - color: white !important; - background-color: var(--primary-accent) !important; - font-family: inherit !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary::after { - border-left-color: white !important; - border-top: 19px solid transparent !important; - border-bottom: 19px solid transparent !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary.o_arrow_button_current::after { - border-left-color: var(--primary-accent) !important; - } - .o_statusbar_status .o_arrow_button.btn-secondary::before { - border-left-color: var(--primary-accent) !important; - border-top: 19px solid transparent !important; - border-bottom: 19px solid transparent !important; - } -} diff --git a/hue_backend_theme/static/src/layout/style/login.scss b/hue_backend_theme/static/src/layout/style/login.scss deleted file mode 100644 index 6a3f58b36..000000000 --- a/hue_backend_theme/static/src/layout/style/login.scss +++ /dev/null @@ -1,146 +0,0 @@ -#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; -} -.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; -} diff --git a/hue_backend_theme/static/src/layout/style/sidebar.scss b/hue_backend_theme/static/src/layout/style/sidebar.scss deleted file mode 100644 index 918be754a..000000000 --- a/hue_backend_theme/static/src/layout/style/sidebar.scss +++ /dev/null @@ -1,160 +0,0 @@ -#sidebar_panel { - height: calc(100% - 0%); - position: fixed; - background-color: var(--app-bar-accent) !important; - width: 82px; - overflow-y: scroll; - -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ - scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 3; - top: 0; -} -#sidebar_panel::-webkit-scrollbar { - display: none; /* Hide scrollbar for Chrome, Safari and Opera */ -} -.sidebar_panel{ - padding-top: 85px !important; - &:after { - content: ""; - position: fixed; - width: 80px; - height: 100px; - bottom: 0; - left: 0; - pointer-events: none !important; - background-image: linear-gradient(top, rgba(0,0,0,0) 0%, var(--bg-dark) 100%); - background-image: -o-linear-gradient(top, rgba(0,0,0,0) 0%, var(--bg-dark) 100%); - background-image: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, var(--bg-dark) 100%); - background-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, var(--bg-dark) 100%); - @media (max-width: 767.98px) { - display: none !important; - } - } -} -.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; -} -.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(--appbar-hover) !important; - color: #fff; -} -.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { - width: 22px; - width: 22px; - height: 22px; - border-radius: 0px; -} -.sidebar_panel .sidebar .sidebar_menu li .nav-link { - display: flex; - flex-direction: column; - align-items: center; - padding: 6px 10px 6px 10px; - text-decoration: none !important; -} - -.a_app_menu_title{ - margin: 10px !important; - white-space: normal; - text-align: center; - word-break: break-word; - width: 75px; -} -.o_menu_systray > *{ - &:last-child{ - display: block !important; - height: 80px !important; - position: fixed; - background-color: var(--app-bar-accent) !important; - max-width: 68px; - top: 0; - .dropdown-toggle{ - padding-left: 15px !important; - } - .dropdown-toggle .oe_topbar_name{ - display: none !important; - } - @media (max-width: 767.98px) { - display: none !important; - } - } -} -.sidebar_menu .o_menu_systray .o_user_menu .dropdown-toggle{ - width: 121%; - margin-left: 0%; - background-color: transparent; - border: none; - height: 80px; - img{ - width: 40px; - height: 40px; - } - &:hover{ - background-color: var(--appbar-hover) !important - } -} -.sidebar_menu .o_menu_systray .o_user_menu .o-dropdown--menu { - display: flex; - top: 10px !important; - left: 80px !important; - overflow: visible; - z-index: 2; - &:after{ - content: ''; - position: absolute; - display: block; - border-style: solid; - border-color: transparent #fff; - border-width: 10px 12px 10px 0; - top: 12%; - left: -12px; - } -} -.o_main_navbar .o_menu_systray{ - margin-right: 20px !important; -} -.o_main_navbar .o_MessagingMenu, -.o_main_navbar .o_mail_systray_item{ - margin-left: 10px !important; -} -.o_main_navbar .o_user_menu{ - display: none !important; -} -.o_main_navbar .o_menu_systray { - @media (max-width: 768px) { - margin-right: 0px !important; - } -} -.sidebar_menu > .o_menu_systray > .o_user_menu{ - margin-left: 0px; -} -.o_menu_systray .dropdown-toggle:hover:hover { - background-color: var(--primary-hover) !important; - text-decoration: none !important; -} -.o_menu_sections_more .o-dropdown--menu{ - position: absolute !important; -} diff --git a/hue_backend_theme/views/layout_templates.xml b/hue_backend_theme/views/layout_templates.xml deleted file mode 100644 index ae0724ae4..000000000 --- a/hue_backend_theme/views/layout_templates.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - diff --git a/hue_backend_theme/views/res_config_settings_views.xml b/hue_backend_theme/views/res_config_settings_views.xml deleted file mode 100644 index 8e03b8834..000000000 --- a/hue_backend_theme/views/res_config_settings_views.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - res.config.settings.view.inherit.hue.backend.theme - res.config.settings - - - - -

Hue Backend Theme

-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
diff --git a/multicolor_backend_theme/README.rst b/multicolor_backend_theme/README.rst deleted file mode 100644 index 621d87029..000000000 --- a/multicolor_backend_theme/README.rst +++ /dev/null @@ -1,52 +0,0 @@ -.. 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 - -Chameleon Multi color Backend Theme -=================================== -* Configurable multi color backend theme for Odoo 18,Only Admin can have the role to create, update, and removing the themes - -Installation -============ - - www.odoo.com/documentation/18.0/setup/install.html - - Install our custom addon - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -* Developer: - Linto CT @ Cybrosys - Sanjith Rashin @ Cybrosys - V14 Dino @ Cybrosys - V15 Sigha Ck @ Cybrosys - V16 Sigha Ck @ Cybrosys - V17 Fouzan M @ Cybrosys - V18 Rosmy John @ Cybrosys - -Contacts --------- -* Mail Contact : odoo@cybrosys.com - -Bug Tracker ------------ -Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. - -Maintainer -========== -.. 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: ``__ \ No newline at end of file diff --git a/multicolor_backend_theme/__init__.py b/multicolor_backend_theme/__init__.py deleted file mode 100644 index 50349d36a..000000000 --- a/multicolor_backend_theme/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import controllers -from . import models diff --git a/multicolor_backend_theme/__manifest__.py b/multicolor_backend_theme/__manifest__.py deleted file mode 100644 index 0bb085bf7..000000000 --- a/multicolor_backend_theme/__manifest__.py +++ /dev/null @@ -1,68 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-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": "Chameleon Multi Color Backend Theme", - "version": "18.0.1.0.0", - "category": "Themes/Backend", - "summary": "Configurable multi color backend theme for Odoo 18", - "description": """ - Configurable multi color backend theme for Odoo 18, - Only Admin can have the role to create, update, and removing the themes. - """, - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - "website": "https://www.cybrosys.com", - "depends": ['web', 'mail'], - "data": [ - 'security/security_groups.xml', - 'security/ir.model.access.csv', - 'data/theme_data.xml', - 'views/login_templates.xml', - ], - "assets": { - 'web.assets_backend': [ - 'web/static/lib/jquery/jquery.js', - '/multicolor_backend_theme/static/src/xml/sidebar_menu_icon.xml', - '/multicolor_backend_theme/static/src/xml/systray_ext.xml', - '/multicolor_backend_theme/static/src/scss/theme_style_backend.scss', - '/multicolor_backend_theme/static/src/css/backend.css', - '/multicolor_backend_theme/static/src/wcolpick/wcolpick.css', - '/multicolor_backend_theme/static/src/js/sidebar_menu.js', - '/multicolor_backend_theme/static/src/wcolpick/wcolpick.js', - '/multicolor_backend_theme/static/src/js/search_apps.js', - '/multicolor_backend_theme/static/src/js/systray_item.js', - ], - 'web.assets_frontend': [ - 'multicolor_backend_theme/static/src/scss/theme_style.scss', - 'multicolor_backend_theme/static/src/js/login_page.js' - ], - }, - 'images': [ - 'static/description/banner.jpg', - 'static/description/theme_screenshot.jpg', - ], - 'license': 'LGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/multicolor_backend_theme/controllers/__init__.py b/multicolor_backend_theme/controllers/__init__.py deleted file mode 100644 index 936cfa373..000000000 --- a/multicolor_backend_theme/controllers/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import theme_config diff --git a/multicolor_backend_theme/controllers/theme_config.py b/multicolor_backend_theme/controllers/theme_config.py deleted file mode 100644 index 0c2adb1fe..000000000 --- a/multicolor_backend_theme/controllers/theme_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from odoo import http -from odoo.http import request - - -class LoginPage(http.Controller): - """Controller for the login page. This controller provides methods for - retrieving the active theme's main color, view font color, and theme font - color and updating the theme of the login page.""" - @http.route('/active_theme', auth='public', type='json') - def find_active_theme(self): - """find the active theme for updating theme of login page""" - active_theme = request.env['theme.config'].sudo().search([ - ('is_theme_active', '=', True) - ]) - return {'id': active_theme[0].id, - 'theme_main_color': active_theme[0].theme_main_color, - 'view_font_color': active_theme[0].view_font_color, - 'theme_font_color': active_theme[0].theme_font_color, - } if active_theme else [] diff --git a/multicolor_backend_theme/data/theme_data.xml b/multicolor_backend_theme/data/theme_data.xml deleted file mode 100644 index b0c2da7b3..000000000 --- a/multicolor_backend_theme/data/theme_data.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Theme 1 - #6fb702 - #fff - #333 - true - - - Theme 2 - #404a5e - #fff - #404a5e - false - - - Theme 3 - #f39b12 - #000 - #333 - false - - - \ No newline at end of file diff --git a/multicolor_backend_theme/doc/RELEASE_NOTES.md b/multicolor_backend_theme/doc/RELEASE_NOTES.md deleted file mode 100644 index c26a3f068..000000000 --- a/multicolor_backend_theme/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 18.10.2024 -#### Version 18.0.1.0.0 -#### ADD -- Initial Commit for Chameleon Multi color Backend Theme \ No newline at end of file diff --git a/multicolor_backend_theme/models/__init__.py b/multicolor_backend_theme/models/__init__.py deleted file mode 100644 index 936cfa373..000000000 --- a/multicolor_backend_theme/models/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import theme_config diff --git a/multicolor_backend_theme/models/theme_config.py b/multicolor_backend_theme/models/theme_config.py deleted file mode 100644 index b5eb7aa71..000000000 --- a/multicolor_backend_theme/models/theme_config.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# -from odoo import api, fields, models - - -class ThemeConfig(models.Model): - """Model for storing configuration settings related to the theme""" - _name = 'theme.config' - _description = "Model for storing configuration related to the theme" - - name = fields.Char(help="Theme name") - theme_main_color = fields.Char(help="main theme color") - view_font_color = fields.Char(help="backend font color") - theme_font_color = fields.Char(help="backend view font color") - is_theme_active = fields.Boolean(string="Active Theme") - - @api.model - def create_new_theme(self): - """function to create a new theme""" - theme_obj = self.create({ - 'theme_main_color': '#6fb702', - 'view_font_color': '#333', - 'theme_font_color': '#fff', - 'is_theme_active': False, - }) - theme_obj.name = 'Theme ' + str(theme_obj.id) - return theme_obj.read(['name', 'theme_main_color', 'view_font_color', - 'theme_font_color', 'is_theme_active']) - - @api.model - def update_active_theme(self, theme_id): - """function to update active theme""" - theme = {} - for record in self.search([]): - if record.is_theme_active: - theme['prev'] = record.id - record.is_theme_active = record.id == theme_id - return theme diff --git a/multicolor_backend_theme/security/ir.model.access.csv b/multicolor_backend_theme/security/ir.model.access.csv deleted file mode 100644 index 2749c50d5..000000000 --- a/multicolor_backend_theme/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_themes_manager,themes_selection,model_theme_config,multicolor_theme_manager_access,1,1,1,1 -access_themes_user,themes_selection,model_theme_config,base.group_user,1,0,0,0 \ No newline at end of file diff --git a/multicolor_backend_theme/security/security_groups.xml b/multicolor_backend_theme/security/security_groups.xml deleted file mode 100644 index bec6a2d95..000000000 --- a/multicolor_backend_theme/security/security_groups.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - Multicolor Backend Theme - User access levels for Theme selection - 10 - - - Administrator - - - - \ No newline at end of file diff --git a/multicolor_backend_theme/static/description/banner.jpg b/multicolor_backend_theme/static/description/banner.jpg deleted file mode 100644 index bb7e05e2d..000000000 Binary files a/multicolor_backend_theme/static/description/banner.jpg and /dev/null differ diff --git a/multicolor_backend_theme/static/description/icon.png b/multicolor_backend_theme/static/description/icon.png deleted file mode 100644 index 5868f8070..000000000 Binary files a/multicolor_backend_theme/static/description/icon.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/access.png b/multicolor_backend_theme/static/description/img/access.png deleted file mode 100644 index cc8d29322..000000000 Binary files a/multicolor_backend_theme/static/description/img/access.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/admin_access.png b/multicolor_backend_theme/static/description/img/admin_access.png deleted file mode 100644 index 687eed838..000000000 Binary files a/multicolor_backend_theme/static/description/img/admin_access.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/adv_search_1.png b/multicolor_backend_theme/static/description/img/adv_search_1.png deleted file mode 100644 index ea140b8b3..000000000 Binary files a/multicolor_backend_theme/static/description/img/adv_search_1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/arrows-repeat.svg b/multicolor_backend_theme/static/description/img/arrows-repeat.svg deleted file mode 100644 index 94fb8f7f9..000000000 --- a/multicolor_backend_theme/static/description/img/arrows-repeat.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/banner-bg-1.svg b/multicolor_backend_theme/static/description/img/banner-bg-1.svg deleted file mode 100644 index 7af9bab87..000000000 --- a/multicolor_backend_theme/static/description/img/banner-bg-1.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/banner.svg b/multicolor_backend_theme/static/description/img/banner.svg deleted file mode 100644 index 3d4ed7a4a..000000000 --- a/multicolor_backend_theme/static/description/img/banner.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/chatbot1.png b/multicolor_backend_theme/static/description/img/chatbot1.png deleted file mode 100644 index 567475725..000000000 Binary files a/multicolor_backend_theme/static/description/img/chatbot1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/check.svg b/multicolor_backend_theme/static/description/img/check.svg deleted file mode 100644 index 8bc79333d..000000000 --- a/multicolor_backend_theme/static/description/img/check.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/color_picker_1.png b/multicolor_backend_theme/static/description/img/color_picker_1.png deleted file mode 100644 index 8d9343728..000000000 Binary files a/multicolor_backend_theme/static/description/img/color_picker_1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/exp_sidebar.png b/multicolor_backend_theme/static/description/img/exp_sidebar.png deleted file mode 100644 index 511fc0150..000000000 Binary files a/multicolor_backend_theme/static/description/img/exp_sidebar.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/exp_sidebar_1.png b/multicolor_backend_theme/static/description/img/exp_sidebar_1.png deleted file mode 100644 index 6c62bfda8..000000000 Binary files a/multicolor_backend_theme/static/description/img/exp_sidebar_1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/feature-star.svg b/multicolor_backend_theme/static/description/img/feature-star.svg deleted file mode 100644 index a913270e8..000000000 --- a/multicolor_backend_theme/static/description/img/feature-star.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/form_view.png b/multicolor_backend_theme/static/description/img/form_view.png deleted file mode 100644 index f3638c30d..000000000 Binary files a/multicolor_backend_theme/static/description/img/form_view.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/gear.svg b/multicolor_backend_theme/static/description/img/gear.svg deleted file mode 100644 index ce383059d..000000000 --- a/multicolor_backend_theme/static/description/img/gear.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/hero.gif b/multicolor_backend_theme/static/description/img/hero.gif deleted file mode 100644 index ceb5a4f98..000000000 Binary files a/multicolor_backend_theme/static/description/img/hero.gif and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/hire-odoo.svg b/multicolor_backend_theme/static/description/img/hire-odoo.svg deleted file mode 100644 index 9cfec4e44..000000000 --- a/multicolor_backend_theme/static/description/img/hire-odoo.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/kanban_view.png b/multicolor_backend_theme/static/description/img/kanban_view.png deleted file mode 100644 index a2986d4d2..000000000 Binary files a/multicolor_backend_theme/static/description/img/kanban_view.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/life-ring-icon.svg b/multicolor_backend_theme/static/description/img/life-ring-icon.svg deleted file mode 100644 index b6c797ba1..000000000 --- a/multicolor_backend_theme/static/description/img/life-ring-icon.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/login_page.png b/multicolor_backend_theme/static/description/img/login_page.png deleted file mode 100644 index 33c7555a7..000000000 Binary files a/multicolor_backend_theme/static/description/img/login_page.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/min_sidebar_1.png b/multicolor_backend_theme/static/description/img/min_sidebar_1.png deleted file mode 100644 index be6af8853..000000000 Binary files a/multicolor_backend_theme/static/description/img/min_sidebar_1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/odoo-consultancy.svg b/multicolor_backend_theme/static/description/img/odoo-consultancy.svg deleted file mode 100644 index c2c27e608..000000000 --- a/multicolor_backend_theme/static/description/img/odoo-consultancy.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/multicolor_backend_theme/static/description/img/odoo-licencing.svg b/multicolor_backend_theme/static/description/img/odoo-licencing.svg deleted file mode 100644 index 8a520b40f..000000000 --- a/multicolor_backend_theme/static/description/img/odoo-licencing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/multicolor_backend_theme/static/description/img/patter.svg b/multicolor_backend_theme/static/description/img/patter.svg deleted file mode 100644 index 9b7b0d7cd..000000000 --- a/multicolor_backend_theme/static/description/img/patter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/puzzle-piece-icon.svg b/multicolor_backend_theme/static/description/img/puzzle-piece-icon.svg deleted file mode 100644 index ab5e56fa7..000000000 --- a/multicolor_backend_theme/static/description/img/puzzle-piece-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/responsive_screenshot.png b/multicolor_backend_theme/static/description/img/responsive_screenshot.png deleted file mode 100644 index 4ed18d7aa..000000000 Binary files a/multicolor_backend_theme/static/description/img/responsive_screenshot.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/translate.svg b/multicolor_backend_theme/static/description/img/translate.svg deleted file mode 100644 index eea729542..000000000 --- a/multicolor_backend_theme/static/description/img/translate.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/img/tree_view_1.png b/multicolor_backend_theme/static/description/img/tree_view_1.png deleted file mode 100644 index 7ac0f3f8f..000000000 Binary files a/multicolor_backend_theme/static/description/img/tree_view_1.png and /dev/null differ diff --git a/multicolor_backend_theme/static/description/img/wrench-icon.svg b/multicolor_backend_theme/static/description/img/wrench-icon.svg deleted file mode 100644 index 4e0ce1d01..000000000 --- a/multicolor_backend_theme/static/description/img/wrench-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/multicolor_backend_theme/static/description/index.html b/multicolor_backend_theme/static/description/index.html deleted file mode 100644 index 60917724f..000000000 --- a/multicolor_backend_theme/static/description/index.html +++ /dev/null @@ -1,781 +0,0 @@ - - - - - - - app index - - - - - - - - - - -
- - - -
-
-
-
- -
-
-
-
- -
- Supports: -
- Community -
- -
-
-
-
- Availability: -
- Odoo Online -
-
- Odoo.sh -
-
- On Premise -
-
-
-
-
-
- - - - -
-
- -
-
- - - - - - - - -
-
-
-
-
-

Our Features

- -

info includes 300+ elements that you may need to create website without - external plugins.

-
-
-
-
-
-
-
- -

Fonts in style

-

Modified Font

-
- -
-
-
-
-
- -

Elegant colours

-

New Color Combination to experience

-
- -
-
-
-
-
- -

Views in new look

-

Full Screen View available

-
- - -
-
-
-
-
- -

New layout

-

You are getting a Clean Layout

-
- -
-
-
-
-
- -

Separate stages

-

Stages are separated in view

-
- -
-
-
-
-
- -

New buttons

-

Buttons with new colors

-
- -
-
-
-
-
- - -
-
-
- -
-
-
-
-
- Access to the theme - -

You can provide access to the theme from here.

-
- -
-
-
- Advanced Search - -

Advanced search option available.

-
- -
-
-
- Chatbot - -

Customised chatbot is shown here.

-
- -
-
-
- Expanded sidebar - -

You can expand your sidebar to view apps with their names.

-
- -
-
-
- Form view - -

Customised form view.

-
- -
-
-
- Kanban view - -

Cusomised kanban view.

-
- -
-
-
- Collapsed sidebar - -

Collapsed sidebar can be seen here.

-
- -
-
-
- Tree view - -

Customised tree view can be seen from here.

-
- -
-
-
-
- - -
-
-
- - - -
-
-
-
- HIGHLIGHT -

Quick Customization at Your Fingertips!

-

Instantly chose colors for the view in a single click from the navbar.

- -
-
- Grid item -
- -
-
- -
-
-
- HIGHLIGHT -

Navigate with Ease

-

A Sidebar Tailored to Boost Productivity and Style.

- -
-
- Grid item -
- -
-
-
- - - - -
-
-
-
- -
- - -
- - - - - - - -
-
-
-
-

- Empower Your Workspace
- with Colors that Inspire -

- -
-

This feature set highlights ease of access, real-time feedback, and accessibility, - making it highly convenient for users who prefer a straightforward and visually - pleasing way to customize their workspace.

-
    -
  • Navbar Color Picker
  • -
  • Quick activate Button
  • -
  • Customizable Color Palettes
  • -
  • Consistent Design Across Modules
  • -
-
-
-
-
-
-
- -
- -
-
-
-
- - - -
-
-
-
-
- -
- -
-
-
-
-

- Fully Responsive
- Layout -

- -
-

Now take advantage of everything your dashboard has to offer even on the go. Our - design are now fully responsive, enabling you to view and manage everything from the comfort of your - mobile device.

-
    -
  • Detailed product filtering
  • -
  • Modernized mini basket
  • -
  • Cutting-edge single product
  • -
-
-
-
- -
-
- - - - - - - - -
- - - - - - - - \ No newline at end of file diff --git a/multicolor_backend_theme/static/description/theme_screenshot.jpg b/multicolor_backend_theme/static/description/theme_screenshot.jpg deleted file mode 100644 index afdcd20be..000000000 Binary files a/multicolor_backend_theme/static/description/theme_screenshot.jpg and /dev/null differ diff --git a/multicolor_backend_theme/static/src/css/backend.css b/multicolor_backend_theme/static/src/css/backend.css deleted file mode 100644 index b4ef60273..000000000 --- a/multicolor_backend_theme/static/src/css/backend.css +++ /dev/null @@ -1,5 +0,0 @@ -:root{ - --theme_main_color: #AD7B90 !default; - --theme_font_color: black !default; - --view_font_color - } \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/img/dashboard-header.jpg b/multicolor_backend_theme/static/src/img/dashboard-header.jpg deleted file mode 100644 index 6a1044f6f..000000000 Binary files a/multicolor_backend_theme/static/src/img/dashboard-header.jpg and /dev/null differ diff --git a/multicolor_backend_theme/static/src/js/login_page.js b/multicolor_backend_theme/static/src/js/login_page.js deleted file mode 100644 index 972e823b6..000000000 --- a/multicolor_backend_theme/static/src/js/login_page.js +++ /dev/null @@ -1,20 +0,0 @@ -/** @odoo-module **/ - -import publicWidget from "@web/legacy/js/public/public_widget"; -import { rpc } from "@web/core/network/rpc"; - -publicWidget.registry.loginPage = publicWidget.Widget.extend({ - selector: '.oe_login_buttons', - async start() { - var data = await rpc('/active_theme') - if (data) { - this.$('.cybro-login-btn').css({ - 'background-color': data.theme_main_color, - 'color': data.theme_font_color - }); - this.$('.cybro-super-btn').css({ - 'color': data.view_font_color - }); - } - } -}) \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/js/search_apps.js b/multicolor_backend_theme/static/src/js/search_apps.js deleted file mode 100644 index 5ba7f3c40..000000000 --- a/multicolor_backend_theme/static/src/js/search_apps.js +++ /dev/null @@ -1,74 +0,0 @@ -/** @odoo-module */ - -import { NavBar } from "@web/webclient/navbar/navbar"; -const { fuzzyLookup } = require('@web/core/utils/search'); -import { computeAppsAndMenuItems } from "@web/webclient/menus/menu_helpers"; -const { onMounted } = owl; -import { patch } from "@web/core/utils/patch"; - -patch(NavBar.prototype, { - // For advance search bar feature, and this will enable a global search for apps and related content - setup() { - super.setup(); - 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"); - this.$dropdown_menu = $(".dropdown-menu"); - }, - // to show the search results - _searchMenusSchedule() { - 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)); - }, - // function for searching all apps and content - _searchMenus() { - 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; - } - // 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 content - 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)); - var resultsHtml = "" - results.forEach(function(result) { - resultsHtml += "

" + result["name"] + "

" - }) - this.$search_results.empty().append(resultsHtml) - }, -}); \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/js/sidebar_menu.js b/multicolor_backend_theme/static/src/js/sidebar_menu.js deleted file mode 100644 index 6dd66b31c..000000000 --- a/multicolor_backend_theme/static/src/js/sidebar_menu.js +++ /dev/null @@ -1,43 +0,0 @@ -/** @odoo-module **/ - -import { NavBar } from "@web/webclient/navbar/navbar"; -import { patch } from "@web/core/utils/patch"; - -patch(NavBar.prototype, { - onclickOpenSidebar(){ - $("#openSidebar").hide(); - $("#closeSidebar").show(); - $("#sidebar_panel").css({'display':'block'}); - //add class in navbar - var navbar = $(".o_main_navbar"); - var navbar_id = navbar.data("id"); - $("nav").addClass(navbar_id); - navbar.addClass("small_nav"); - //add class in action-manager - var action_manager = $(".o_action_manager"); - var action_manager_id = action_manager.data("id"); - $("div").addClass(action_manager_id); - action_manager.addClass("sidebar_margin"); - //add class in top_heading - var top_head = $(".top_heading"); - var top_head_id = top_head.data("id"); - $("div").addClass(top_head_id); - top_head.addClass("sidebar_margin"); - }, - onclickCloseSidebar(){ - $("#closeSidebar").hide(); - $("#openSidebar").show(); - $("#sidebar_panel").css({'display':'none'}); - $(".o_action_manager").css({'margin-left': '0px'}); - //remove class in navbar - var navbar = $(".o_main_navbar"); - var navbar_id = navbar.data("id"); - $("nav").removeClass(navbar_id); - navbar.removeClass("small_nav"); - //remove class in action-manager - var action_manager = $(".o_action_manager"); - var action_manager_id = action_manager.data("id"); - $("div").removeClass(action_manager_id); - action_manager.removeClass("sidebar_margin"); - }, -}); \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/js/systray_item.js b/multicolor_backend_theme/static/src/js/systray_item.js deleted file mode 100644 index f2ef8090d..000000000 --- a/multicolor_backend_theme/static/src/js/systray_item.js +++ /dev/null @@ -1,177 +0,0 @@ -/** @odoo-module **/ - -import { NavBar } from "@web/webclient/navbar/navbar"; -import { patch } from "@web/core/utils/patch"; -import { useService } from "@web/core/utils/hooks"; -import { useState, onWillStart} from "@odoo/owl"; -import { user } from "@web/core/user"; - -patch(NavBar.prototype, { - setup(...args) { - super.setup(...args); - this.state = useState({ - theme_data: {}, - selected_theme: {} - }); - this.editMode = false; - this.orm = useService("orm"); - this.notification = useService('notification'); - this.current_theme = {}; - this.themes_by_id = {}; -// this.user = useService("user"); - onWillStart(async () => { - var self = this; - this.user = await user.hasGroup("multicolor_backend_theme.multicolor_theme_manager_access"); - const theme_data = await this.orm.searchRead('theme.config', [], ['name', 'is_theme_active', 'theme_font_color', 'theme_main_color', 'view_font_color']); - return $.when(theme_data).then((theme_data) => { - self.state.theme_data = theme_data; - theme_data.forEach(theme => { - if (theme.is_theme_active) { - self.selected_theme = theme; - } - self.themes_by_id[theme.id] = theme; - }) - if (!self.selected_theme) { - self.selected_theme = theme_data[0]; - self.selected_theme.is_theme_active = true; - } - self.state.selected_theme = self.selected_theme; - self.onClickApply(); - }); - }); - }, - // Handle the onChange event for selecting a theme. - onChangeTheme() { - let themeId = parseInt($('.theme_select').val()); - this.state.selected_theme = this.themes_by_id[themeId]; - const colorProperties = ['theme_main_color', 'theme_font_color', 'view_font_color']; - colorProperties.forEach(property => { - document.getElementById(property).style.backgroundColor = this.state.selected_theme[property]; - }); - this.onChangeActive(); - }, - // Handle the event for selecting base color. - onClickBaseColor(){ - var self = this; - const selectedTheme = this.themes_by_id[parseInt($('.theme_select').val())] - const colorProperties = ['theme_main_color', 'theme_font_color', 'view_font_color']; - colorProperties.forEach(property => { - $('#' + property).loads({ - layout: 'hex', - flat: false, - enableAlpha: false, - color: self.selected_theme.property, - onSubmit: function(ev) { - let elId = $(ev.el).attr('id'); - $('#' + elId).css('background-color', '#' + ev.hex); - $('#' + elId).val("#" + ev.hex); - $('#' + elId).hides(); - self._onchangeColor($(ev.el), ev.hex); - }, - onLoaded: function(ev) { - $('.picker').css('color', 'green'); - }, - onChange: function(ev) { - let elId = $(ev.el).attr('id'); - $('#' + elId).setColor(ev.hex, false); - } - }); - }) - }, - // Function to update color on backend. - _onchangeColor(element, data) { - let current_theme = this.themes_by_id[$('.theme_select').val()]; - let colorCode = '#' + data; - if (colorCode != current_theme[element.attr('id')]) { - current_theme[element.attr('id')] = colorCode; - this.themes_by_id[current_theme.id][element.attr('id')] = '#' + data; - let field = element.attr('id'); - this.orm.write('theme.config', [current_theme.id], { - [field]: colorCode, - }); - }; - }, - // Handle the onClick event for applying the selected theme. - async onClickApply(){ - if (this.state.selected_theme) { - this.appliedTheme = this.state.selected_theme; - document.documentElement.style.setProperty("--theme_main_color", this.state.selected_theme.theme_main_color); - document.documentElement.style.setProperty("--theme_font_color", this.state.selected_theme.theme_font_color); - document.documentElement.style.setProperty("--view_font_color", this.state.selected_theme.view_font_color); - $('.cybro-main-menu .input-group-text').css({ - 'background-color': this.state.selected_theme.theme_main_color, - 'border-color': this.state.selected_theme.theme_main_color, - 'color': this.state.selected_theme.theme_font_color, - }); - $('.o_loading').css({ - 'background-color': this.state.selected_theme.theme_main_color, - 'color': this.state.selected_theme.theme_font_color, - }); - $('.btn-primary').css({ - 'background-color': this.state.selected_theme.theme_main_color, - 'color': this.state.selected_theme.theme_font_color, - }); - $('.o-mail-ChatWindow-header').attr('style', `background-color: ${this.state.selected_theme.theme_main_color} !important; color: ${this.state.selected_theme.theme_font_color};`); - - } - let curr_theme_id = parseInt($('.theme_select').val()); - if (curr_theme_id){ - let result = await this.orm.call('theme.config','update_active_theme',[curr_theme_id]); - this.themes_by_id[result['prev']].is_theme_active = false; - this.themes_by_id[curr_theme_id].is_theme_active = true; - this.onChangeActive(); - this.notification.add("Theme has been successfully updated", - { type: 'success' }, 3000 - ); - }; - }, - // Handle the onClick event for creating new theme. - async onClickCreate(){ - let result = await this.orm.call('theme.config', 'create_new_theme',[]); - this.state.selected_theme = result[0]; - this.state.theme_data.push(result[0]); - this.themes_by_id[result[0].id] = result[0]; - this.onChangeActive(); - }, - // Handle the onClick event for deleting theme. - async onClickRemove(){ - let themeId = parseInt($('.theme_select').val()); - let currentTheme = this.themes_by_id[themeId]; - if (currentTheme.is_theme_active) { - this.notification.add("You cannot delete an active theme.", - { type: 'danger' }, 3000 - ); - } else { - this.orm.unlink('theme.config', [themeId]); - this.state.theme_data = this.state.theme_data.filter(data => data.id !== themeId); - this.state.selected_theme = this.appliedTheme; - }; - this.onChangeActive(); - }, - // Function to edit name of theme. - async onEditName() { - this.editMode = !this.editMode; - let themeInput = document.getElementById('themeName'); - let editIcon = document.getElementById('editIcon'); - if (this.editMode) { - themeInput.removeAttribute('readonly'); - themeInput.style.backgroundColor = '#e4eaec'; - editIcon.classList.remove('fa-pencil'); - editIcon.classList.add('fa-check'); - } else { - themeInput.setAttribute('readonly', 'readonly'); - themeInput.style.backgroundColor = 'white'; - editIcon.classList.remove('fa-check'); - editIcon.classList.add('fa-pencil'); - this.orm.write('theme.config', [this.state.selected_theme.id] , { - name: themeInput.value - }); - this.state.selected_theme.name = themeInput.value; - this.themes_by_id[this.state.selected_theme.id].name = themeInput.value; - }; - }, - // Function to set active selected theme. - onChangeActive() { - document.getElementById('active_theme').style.display = this.state.selected_theme.is_theme_active ? 'block' : 'none'; - }, -}); \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/scss/theme_style.scss b/multicolor_backend_theme/static/src/scss/theme_style.scss deleted file mode 100644 index c07e448d4..000000000 --- a/multicolor_backend_theme/static/src/scss/theme_style.scss +++ /dev/null @@ -1,202 +0,0 @@ -@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 -} -/*==============login================*/ -.oe_website_login_container { - padding: 1rem 5rem 5rem; - background: #f1f4f5; -} -.oe_login_form, .oe_signup_form, .oe_reset_password_form { - color: #fff !important; -} -.oe_login_form, .oe_signup_form, .oe_reset_password_form { - max-width: 360px; - position: relative; - margin: 50px auto; - border-radius: 7px; - padding: 3rem; - background: #ffffff; - box-shadow: 0 0 11px 0px #4477d4; -} - -.oe_login_form input { - height: 40px !important; - border-radius: 0 !important; - background: #fff !important; - border: 1px solid #ffffff; -} - -.oe_login_form i.fa.fa-database { - margin-left: 6px; -} - -.oe_login_form a.btn.btn-secondary { - display: flex; - justify-content: space-between; - align-items: center; - border-radius: 0 !important; -} -.cybro-login-btn { - height: 47px; - border-radius: 0; - //background: #3e8df7 !important; - border: none; - //color: #ffffff !important; - font-size: 16px; -} -.cybro-super-btn { - //color: #fff; - font-size: 14px; - text-decoration: none; -} -.cybro-super-btn:hover { - color: black !important; - text-decoration: none; -} -.cybro-bg footer{ - background: #303641 !important; - color: #fff; - padding-top: 2rem; -} -.cybro-bg .navbar { - background: #303641 !important; - color: #fff; -} -.cybro-bg footer a,.cybro-bg footer p,.cybro-bg header a,.cybro-bg header p { - color: #fff; -} -.cybro-bg .navbar-light .navbar-nav .nav-link { - color: #ffffff !important; -} -.homepage .dropdown-menu.js_usermenu.dropdown-menu-right.show { - background: #303641; -} -.oe_website_login_container .btn-secondary { - color: #FFFFFF; - background-color: #afafaf; - border-color: #afafae; -} -input { - border: 1px solid #e4eaec !important; -} -.oe_login_form, .oe_signup_form, .oe_reset_password_form { - color: #37474f !important; - font-weight: 300 !important; -} -form label { - font-weight: 300 !important; -} -/*==============//login================*/ diff --git a/multicolor_backend_theme/static/src/scss/theme_style_backend.scss b/multicolor_backend_theme/static/src/scss/theme_style_backend.scss deleted file mode 100644 index 8bfb984fa..000000000 --- a/multicolor_backend_theme/static/src/scss/theme_style_backend.scss +++ /dev/null @@ -1,1794 +0,0 @@ -@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); - -body { - font-size: 14px; - font-family: lato, sans-serif; -} - -h1, h2, h3, h4, h5, h6 { - margin: 0; - font-family: 'Roboto', sans-serif; -} - -p { - font-family: lato, sans-serif; - font-size: 15px; - line-height: 26px; - color: #555; - 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: 'Roboto', 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 -} - -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: inherit !important; - padding: 2.375rem .75rem; - font-size: inherit !important; - line-height: inherit !important; - color: #495057; - background-color: #fff; - 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: #3e8df7 !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:hover { - color: #fff !important; - background: #f3f7fe !important; -} - -.dropdown-item.active, .dropdown-item:active { - color: #fff !important; - background: rgba(11, 105, 227, 0.05) !important; -} - -img.cybro-menuicon { - width: 28px; - margin-right: 10px; -} - -/*//Menu Bar*/ -/*Top bar*/ -.o_main_navbar { - position: relative; - height: 60px; - padding-top: 6px; - border-bottom: 1px solid #d8e3e7; - color: #fff !important; -} - -.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { - height: 46px; - padding: 0 10px; - 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: #000 !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: #000 !important; -} - -li.o_user_menu a.dropdown-toggle { - display: -webkit-box; - display: -ms-flexbox; - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 0px 38px; - color: #fff !important; - height: 60px; - font-size: 14px; - font-family: 'Roboto', sans-serif; - margin-top: -5px !important; -} - -.o_user_menu a.dropdown-toggle:hover { - border: none; - color: #020202 !important; -} - -.o_main_navbar .o_user_menu .oe_topbar_avatar { - height: 35px; - transform: translateY(-2px); - margin-right: 9px; -} - -.cybro-main-menu a:hover { - color: #fff !important; - background: #f3f7fe !important; -} - -.btn { - display: inline-block; - font-weight: 300; - text-align: center; - white-space: nowrap; - vertical-align: middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - padding: .429rem 1rem; - font-size: 1rem; - line-height: 1.571429; - border-radius: .215rem; - border-top-left-radius: 0.215rem; - border-bottom-left-radius: 0.215rem; - -webkit-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; - -o-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; - transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .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 { - font-size: 11px; - background-color: #e9ecef; - cursor: default; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled { - color: black; -} - -.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: #dc3545; - box-shadow: 0px 0px 2px -1px #000000; - -} - -.o_searchview .o_searchview_input { - border: none !important; - padding: 0px 0 0 0; -} - -.o_searchview { - - width: 96%; - display: block; - font-size: 1rem; - line-height: 1.571429; - color: #76838f; - background-color: #fff; - background-image: none; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #e4eaec; - border-top-color: rgb(228, 234, 236); - border-right-color: rgb(228, 234, 236); - border-bottom-color: rgb(228, 234, 236); - border-left-color: rgb(228, 234, 236); - border-radius: .215rem; - border-top-right-radius: 0.215rem; - border-bottom-right-radius: 0.215rem; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - -} - -.o_searchview_more { - position: absolute; - top: 0px !important; - left: auto; - bottom: auto; - right: 0px !important; - padding: 13px; -} - -.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; - color: #000 !important; -} - -.ui-autocomplete .ui-menu-item > a:hover { - display: block; - background-color: #1d517f !important; - color: #fff !important; -} -.ui-autocomplete .ui-menu-item.o_m2o_dropdown_option:hover { - background: #1d507f; -} -.ui-state-focus{ - background-color: #1d517f !important; - color: #fff !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_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_control_panel button.btn.btn-secondary.fa { - padding: 11px; - padding-bottom: .8rem !important; - padding-top: .8rem !important; - -} - -.o_control_panel button.o_dropdown_toggler_btn.btn.btn-secondary.dropdown-toggle { - margin-right: 8px; - padding: 1rem 1rem; - font-size: 12px; - border: 1px solid #e4eaec; - animation: show-navbar-dropdown .5s ease forwards; -} - -.o_control_panel .o_cp_left { - justify-content: flex-end; -} - -/*//Controll panel*/ -.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-active { - background: none; - background-color: grey; - color: black; -} - -.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-default:hover { - background: none; - background-color: darkgrey; - 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*/ -.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; - background-color:var(--theme_main_color) !important; - -} -.o_Activity_detailsButton.btn.py-0.btn-link.btn-primary { - color: var(--theme_main_color) !important; - background-color: transparent !important; -} -.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 { - padding: 5px 8px; - border-radius: 0px !important; -} - -.clearfix.o_form_sheet { - box-shadow: 1px 3px 12px 1px #d2c9eab5; - border: none !important; -} - -.modal.o_technical_modal .modal-content .modal-footer button.btn-primary { - background-color: grey; - color: black; -} - -.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 { - background-color: #ffffff; -} - -.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; - position: relative; - width: 5px; -} - -::-webkit-scrollbar { - width: 5px; - background-color: #F5F5F5; - position: absolute; -} - -::-webkit-scrollbar-thumb { - border-radius: 0px; - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); - background-color: #c8c8c8; -} - -.o_mail_discuss_content .o_mail_thread { - background: #f1f1f1; -} - -.o_mail_discuss .o_mail_discuss_content { - background-color: white; -} - -.o_mail_discuss .o_mail_discuss_sidebar { - background-color: #ffffff; - color: #000000; - box-shadow: 13px 9px 21px 20px #f1f1f1; - box-shadow: 12px 0px 4px 6px black; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_active { - background-color: #ffffff; - //box-shadow: 1px 3px 12px 1px #e5e0f3d4; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_mail_discuss_title_main { - padding: 1rem 16px !important; - margin-bottom: 2px; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item:hover { - background-color: #fff; - //color: #3e8df7; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title h4.o_mail_open_channels:hover { - color: black; -} -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title h4:hover { - color: black !important; -} - -span.fa.fa-cog.o_mail_channel_settings { - opacity: .5 !important; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add:hover, .o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add:focus, .o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add.focus { - color: black; -} - -select { - border-radius: 0 !important; - height: inherit !important; -} - -.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: #3e8df7; - border-radius: 0 !important; -} - -.datepicker .table-sm > thead > tr > th { - border-radius: 0; -} - -.datepicker .table-sm > thead { - color: white; - background-color: #3e8df7; -} - -.datepicker .table th, .datepicker .table td { - vertical-align: top; - border-top: 1px solid #ffffff; -} - -.dropdown-menu.cybro-main-menu.show { - padding: 0 !important; - width: 240px !important; - top: 52px !important; - border-radius: 0px !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: 2rem !important; - margin-right: 11px; - border-radius: 100%; -} - -.cybro-main-menu .input-group { - order: 2; -} - -.cybro-main-menu input.form-control { - outline: none !important; - display: block; - padding: .429rem 1rem; - font-size: 1rem; - line-height: 1.571429; - color: #76838f; - font-size: 12px !important; - background-color: #fff; - background-image: none; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #e4eaec; - border-top-color: rgb(228, 234, 236); - border-right-color: rgb(228, 234, 236); - border-bottom-color: rgb(228, 234, 236); - border-left-color: rgb(228, 234, 236); - border-radius: .215rem; - border-top-right-radius: 0.215rem; - border-bottom-right-radius: 0.215rem; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} - -.cybro-main-menu .input-group-prepend { - order: 2; -} - -.cybro-main-menu .input-group-text { - -webkit-box-shadow: none; - box-shadow: none; - border-radius: 3px !important; - border-top-left-radius: 0 !important; - border-bottom-left-radius: 0 !important; -} - -.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: 10px !important; - font-size: 12px; - text-align: left !important; - width: 100%; - padding-right: 0px !important; - flex-wrap: wrap; - word-break: normal; - color: #8d97ad !important; -} - -.cybro-main-menu .search-results .ml-auto .mr-auto { - background: #fff; - margin: 0px 0 !important; - color: #8d97ad !important; - flex: 100% !important; - max-width: 100%; -} - -.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_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_unread_message { - color: #6c757d !important; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item > .badge { - color: white; - background-color: #3e8df7 !important; -} - -/*.o_onboarding.o_onboarding_blue .o_onboarding_wrap { - background: #3e8df7 !important; - 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_main_navbar > .o_menu_brand { - display: block; - float: left; - margin-right: 35px; - user-select: none; - font-size: 15px; - font-weight: 400; - line-height: 46px; - cursor: pointer; - background-color:var(--theme_main_color) !important; - color:var(--o_menu_brand) !important; -} - -.o_mail_systray_item.o_no_notification > a { - opacity: 1; -} -.o_main_navbar .o_menu_sections .dropdown-toggle{ - background: transparent; - color:var(--o_menu_brand) !important; -} -.o_menu_systray .o_website_systray { - background-color: red !important; -} -.dropdown-menu.cybro-main-menu.show { - transition: all .5s; - width: 260px; - background: #fff; - color: rgba(163, 175, 183, .9); - font-family: Roboto, sans-serif; - -webkit-box-shadow: 3px 0 6px 0 rgba(0, 0, 0, .05), 3px 0 15px 0 rgba(0, 0, 0, .1); - box-shadow: 3px 0 6px 0 rgba(0, 0, 0, .05), 3px 0 15px 0 rgba(0, 0, 0, .1); - -ms-transform: translate(-240px, 0); - -webkit-transform: translate3d(-240px, 0, 0); - transform: translate3d(-240px, 0, 0); - scrollbar-width: thin; -} - -.cybro-main-menu a.dropdown-item.o_app:hover { - - color: #37474f !important; - background-color: rgba(11, 105, 227, .05) !important; - -} - -.dropdown-menu.cybro-main-menu .search-input { - flex: 0 0 100% !important; - max-width: 100% !important; -} - .o_searchview .o_searchview_facet .o_searchview_facet_label{ - background-color:var(--theme_main_color) !important; - } -.badge-primary{ - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color) !important; -} -.o_form_view .oe_button_box .oe_stat_button .o_button_icon{ - color:var(--theme_main_color) !important; - -} -.o_dashboards .o_website_dashboard .o_dashboard_common .o_inner_box{ - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color) !important; -} -.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, .o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value { - color:var(--view_font_color) !important; - -} -.btn-link { - color:var(--view_font_color) !important; - -} -.o_form_view .o_form_uri > span:first-child{ - color:var(--view_font_color) !important; -} -.o_dashboards .o_website_dashboard div.o_box h2, .o_dashboards .o_website_dashboard div.o_box h4{ - color:var(--theme_main_color) !important; - -} -.sidebar_app_name { - color:var(--theme_font_color) !important; -} -.fa.fa-comments { -// color:var(--theme_main_color) !important; -} -.o_loading{ - - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color) !important; -} -.o_search_panel .o_search_panel_category .o_search_panel_section_icon { - color:var(--theme_main_color) !important; - -} -.o-mail-ChatWindow-header { - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color) !important; -} -.o_dashboard_sales .o_link_enable .o_highlight{ - color:var(--theme_main_color) !important; - -} -.o_field_widget.o_field_many2one .o_external_button{ - color:var(--view_font_color) !important; -}.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled::after, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled::before { - border-left-color: var(--theme_main_color) !important; -} -.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::before, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child)::after{ -border-top: 19px solid transparent; -border-bottom: 14px solid transparent; -} -.custom-control-input:checked ~ .custom-control-label::before { - color:var(--theme_font_color) !important; - background-color:var(--theme_main_color) !important; - background-color:var(--theme_main_color) !important; -} -.d-block { - color:var(--view_font_color) !important; -} -.btn-primary { - -webkit-box-shadow: none; - box-shadow: none; - background-color:var(--theme_main_color) !important; -// color:var(--theme_font_color) !important; -} - -.btn-primary.focus, .btn-primary.hover, .btn-primary:focus, .btn-primary:hover { - -webkit-box-shadow: none; - box-shadow: none; -} - -.fa.fa-search { - color: #fff !important; -} - -/*Placholder*/ -::-webkit-input-placeholder { - color: #76838f; - font-size: 12px; -} - -::-moz-placeholder { - color: #76838f; - font-size: 12px; -} - -:-ms-input-placeholder { - color: #76838f; - font-size: 12px; -} - -::placeholder { - color: #76838f; - font-size: 12px; -} - -/*//place holder*/ -.form-control { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 2.573rem; - font-weight: 100; - border-color: #e4eaec; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: -webkit-box-shadow .25s linear, border .25s linear, color .25s linear, background-color .25s linear; - -o-transition: box-shadow .25s linear, border .25s linear, color .25s linear, background-color .25s linear; - transition: box-shadow .25s linear, border .25s linear, color .25s linear, background-color .25s linear; - -webkit-appearance: none; - -moz-appearance: none; -} - -.form-control.focus, .form-control:focus { - border-color: #3e8ef7; - -webkit-box-shadow: none; - box-shadow: none; -} - -.o_searchview .o_searchview_autocomplete li.o-selection-focus { - background-color: #ffffff !important; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_active { - //background-color: #212529; - //box-shadow: inset 3px 0 0 #3e8df7; -} - -.o_control_panel > .o_cp_right { - display: -webkit-box; - display: -webkit-flex; - display: flex; - width: 60%; - margin-top: 1px; -} - -.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_active { - //background-color: #e8e8e8; - //box-shadow: inset 3px 0 0 #3e8df7; -} - -.o_onboarding.o_onboarding_violet .o_onboarding_wrap { - background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(96, 112, 195, 0.5)), to(#475DA4)); - background-image: -moz-linear-gradient(top, rgba(96, 112, 195, 0.5), #475DA4); - background-image: -ms-linear-gradient(top, rgba(96, 112, 195, 0.5), #475DA4); - background-image: -o-linear-gradient(top, rgba(96, 112, 195, 0.5), #475DA4); - background-image: linear-gradient(to bottom, rgba(96, 112, 195, 0.5), #475DA4); - box-shadow: inset 0 -7px 20px -5px rgba(0, 0, 0, 0.3); - background: #3e8df7; - background-color:var(--theme_main_color) !important; - -} - -.sidebar-menus { - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - flex-direction: column; - padding: 1rem 0; - -} -.sidebar-menus a { - padding: .5rem 1rem; - display: flex; - justify-content: center; - align-items: center; - margin-bottom: 14px; - transition:.3s all; -} -.sidebar-menus a:hover { - background: #e3e3e3; -} -.sidebar-menus a.active { - background: - #d7d7d7; -} -.sidebar_panel .sidebar .sidebar_menu li a .sidebar_img { - max-width: 3rem; - margin-right: 8px; -} -.cybro-sidebar-qweb span.o-app-name { - display: none; -} - -.cybro-sidebar-qweb .sidebar-menus { - background: #fff; - box-shadow: 2px 1px 5px 0px - rgba(103, 103, 103, 0.19); - position: relative; - z-index: 5; - height: 100vh; - overflow-y: auto; -} - -.cybro-sidebar-qweb .sidebar-menus img.o-app-icon { - width: 30px; - border-radius: 100%; -} - -.cybro-sidebar-qweb { - position: absolute; -} - -.o_required_modifier.o_input, .o_required_modifier .o_input { - background-color: #f7f7f7 !important; -} - -button.btn.btn-primary span { - font-weight: 400; -} - -.sidebar-user { - padding: 4rem 0.5rem; - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: flex; - color: #fff; - justify-content: center; - align-items: center; - background-size: cover; - background-position: center; - overflow: hidden; -} - -.sidebar-user img { - width: 50px; - border-radius: 30px; -} - -.sidebar-user img { - margin-right: 10px; -} - -.sidebar-overlay { - position: absolute; - width: 100%; - height: 100%; - background: #000; - opacity: .6; - z-index: 2; -} - -.sidebar-user span, .sidebar-user img { - position: relative; - z-index: 5; -} - -span.sidebar-username { - font-size: 12px; - color: rgba(255, 255, 255, .6); -} - -i.fa.fa-ellipsis-v { - color: #fff !important; -} - -.o_web_client .o_mobile_search .o_mobile_search_header { - height: 46px; - margin-bottom: 10px; - width: 100%; - background-color: #3e8df7; - color: white; -} - -.btn-secondary { - font-weight: 500; -} - -.btn-secondary.disabled, .btn-secondary:disabled { - color: #000000; - background-color: #fff; - border-color: #fff; - font-weight: 500 !important; -} - -button.btn.btn-secondary.o_mail_discuss_button_mark_all_read.disabled.d-none.d-md-inline-block { - font-weight: 600 !important; - color: black !important; - border: 1px solid #7b7b7b; -} - -.btn-secondary { - font-weight: 500; -} - -aside.o_cp_sidebar button.o_dropdown_toggler_btn.btn.btn-secondary.dropdown-toggle { - margin-right: 8px; - padding: 6px 9px !important; - font-size: 12px; - border: 1px solid #e4eaec; - border-radius: 5px; -} - -.o_cp_buttons { - order: 2; -} - -.o_control_panel.o_breadcrumb_full aside.o_cp_sidebar { - order: 1; -} - -.o_control_panel.o_breadcrumb_full .o_cp_left { - order: 3; - width: 58%; - justify-content: space-between; - padding: 10px 55px !important; -} - -li.o_user_menu span.oe_topbar_name { - display: none; -} - -.oe_kanban_global_click.o_kanban_record_has_image_fill.o_res_partner_kanban.o_kanban_record { - box-shadow: none !important; - border-bottom: 1px solid #f2f2f2 !important; - margin: 0; - align-items: center; -} - -.o_kanban_view.o_res_partner_kanban.o_kanban_ungrouped { - padding: 0; -} - -div#o_employee_main img { - border-radius: 100%; - box-shadow: none; -} - -.o_kanban_image_fill_left.d-none.d-md-block { - border-radius: 100%; - min-height: 60px !important; - min-width: 60px !important; - max-width: 60px; - max-height: 60px; - margin-left: 5px !important; -} - -.oe_kanban_global_click.o_kanban_record_has_image_fill.o_hr_kanban_record.o_kanban_record { - align-items: center; - box-shadow: none !important; - border-bottom: 1px solid #f2f2f2 !important; - margin: 0; - border-right: 1px solid #f2f2f2 !important; -} - -.o_kanban_view.o_hr_employee_kanban.o_kanban_ungrouped { - padding: 0; -} - -@keyframes show-navbar-dropdown { - 0% { - transition: visibility .25s, opacity .25s, transform .25s; - transform: translate(0, 10px) perspective(200px) rotateX(-2deg); - opacity: 0 - } - 100% { - transform: translate(0, 0); - opacity: 1 - } -} - -@keyframes hide-navbar-dropdown { - from { - opacity: 1 - } - to { - transform: translate(0, 10px); - opacity: 0 - } -} - -.o_main_navbar .show .dropdown-toggle { - background-color: transparent; -} - -.o_main_navbar .dropdown-menu.show { - max-height: 90vh; - min-width: 100%; - overflow: auto; - color:#747575; - margin-top: 0; - animation: show-navbar-dropdown .5s ease forwards; - pointer-events: auto; - opacity: 1; -} - -.o_menu_sections .dropdown-menu.show { - margin-top: 52px; -} - -ul.o_menu_sections li.show .dropdown-toggle { - - color: #000 !important; -} - -/*theme selector start */ -// .themes_selector { -// display: none; -// } - -.themes_selector { - background: #fff; - width: 500px; - height: 300px; - -} - -.o-dropdown--menu{ -overflow: unset !important; -} - -.themes_selector .themes_list { - width: 100%; - border-right: 1px solid #ced3da; - padding: 0.2rem 1rem; - display: -webkit-box; - display: -webkit-flex; - display: -webkit-box; - display: -webkit-flex; - display: flex; - align-items: center; - justify-content: start; - font-size: 12px; -} -.selected_theme { - width: 100%; -} -.theme_data { - display: -webkit-box; - display: -webkit-flex; - display: -webkit-box; - display: -webkit-flex; - display: flex; - justify-content: space-between; - flex-wrap: wrap; - padding: 10px; -} -.color_selector { - width: 100%; - display: flex; - justify-content: center; - padding-top: 1rem; - order: 4; -} -.color_selector > div { - display: flex; - flex-direction: column; -} -.theme_data p { - width: max-content; - margin: 0 !important; -} -.row.name div.cell { - display: -webkit-box; - display: -webkit-flex; - display: flex; - justify-content: left; - align-items: center; - width: 100%; - input { - padding: 0; - } -} -.row.name { - padding-bottom: 1rem; - width: 80% !important; - order: 1; -} -.row.name #name { - border: none !important; - height: auto !important; - padding: 0px; - width: auto; - font-size: 12px !important; - margin: 0px 0px; -} -.row.theme_image .cell { - width: 100%; - text-align: left; - justify-content: flex-start !important; -} -.cell .fa-check { - color: #0cbb5d; -} -.row.theme_main_color { - position: relative; -} -.row.theme_main_color .color { - width: 30px; - height: 30px; - cursor: pointer; -} -.row.theme_font_color .color { - width: 30px; - height: 30px; - cursor: pointer; -} -.row.view_font_color .color { - width: 30px; - height: 30px; - cursor: pointer; -} -.header_buttons.row { - display: flex; - justify-content: space-around; - align-items: center; - font-size: 12px; -} - -.header_buttons.row { - display: flex; - justify-content: space-around; - align-items: center; - font-size: 12px; - box-shadow: 0 0 2px #ced4da; - padding: 0rem; - width: 100%; - margin: 0; -} -.header_buttons.row div { - flex-basis: 33.33%; - text-align: center; - padding: 1rem 0; - border: 1px solid #e4eaec; - cursor: pointer; -} -.row.name i{ - cursor: pointer; -} -.themes_selector.dropdown-menu-right .row { - margin: 0 !important; - width: 100%; -} -select.theme_select { - padding-left: 8px; - width: 100%; - margin-top: 1rem; - border: 1px solid #e4eaec; - color: #4c4c4c; - height: 27px; -} - -.img-picker img { - vertical-align: middle; - border-style: none; - width: 90%; - height: 60px; - float: left; - border: 1px solid #cacaca; -} -.image-container{ - display: flex; -} -.img-upload-btn { - position: relative; - overflow: hidden; - padding-top: 18% !important; -} -.img-picker input { - height: 60px !important; - max-height: 60px !important; - min-height: 60px !important; -} -.theme_extra { - order: 2; -} -.theme-active p { - display: flex; - justify-content: center; - background-color: var(--theme_main_color); - color: var(--theme_font_color) !important; - border-radius: 13px; - width: 48px; - float: right; -} -.row.theme_image { - order: 3; -} -.themes_selector.dropdown-menu-right .row p { - font-family: lato, sans-serif; - font-size: 11px; - line-height: 28px; - color: #676767; - margin-bottom: 0; -} - -.cp-color-picker { - z-index: 999; -} -.color { - width: 50px; - height: 50px; - border: 1px solid grey; -} - -.o_list_view .text-info td{ - color: #1d517f; -} -.oe_tooltip_string { - background-color: grey !important; -} -.oe_tooltip_help { - font-size: 11px; -} - -/*theme selector end */ - -@media (min-width: 1200px) { - .o_mail_discuss .o_mail_discuss_content { - margin-left: 218px !important; - } - .o_mail_discuss .o_mail_discuss_sidebar { - width: 218px; - } -} - -@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: #3e8df7 !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: #3e8df7 !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 #f1f1f1; - padding: 11px; - border-bottom-right-radius: 20px; - } -} - -@media (max-width: 767px) { - .cybro-sidebar { - display: none; - } - .o_cp_left { - position: static !important; - bottom: 0px; - z-index: 0; - background: #fff; - width: auto; - padding: 0 !important; - } - .o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label { - font-weight: 300; - } - .o_web_client .o_mobile_search .o_mobile_search_header .fa { - color: white !important; - } - .oe_website_login_container { - paddili.o_user_menu span.oe_topbar_name { - display: none; - } - ng: 1rem 1rem 5rem; - background: #f1f4f5; - } - .oe_login_form, .oe_signup_form, .oe_reset_password_form { - max-width: 99%; - position: relative; - margin: 50px auto; - border-radius: 7px; - padding: 3rem; - background: #ffffff; - box-shadow: 0 0 11px 0px #4477d4; - } -} - -.o_action_manager { - padding-left: 80px; -} -.o_cp_top { - width: 100%; -} -.o_cp_bottom { - width: 100%; -} - -.o_main_navbar { - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color) !important; - -} - -#sidebar_panel { - height: calc(100vh - 60px); - position: fixed; - background-color: #fff; - display: none; - width: 264px !important; - overflow-y: auto; - -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ - scrollbar-width: none; /* Hide scrollbar for Firefox */ - z-index: 999; - box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; -} -#sidebar_panel::-webkit-scrollbar { - display: none; /* Hide scrollbar for Chrome, Safari and Opera */ -} -.sidebar_panel .sidebar { - padding: 0; - white-space: normal; -} -.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; -} -.fa.fa-close.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); - background: #fff; - position: absolute; - overflow-y: auto; - padding: 0 20px; - box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; -} -.fa.fa-paint-brush { - padding: 14px; -} -div.o_boolean_toggle.custom-control.custom-checkbox > input.custom-control-input:checked + label.custom-control-label::before { - background-color:var(--theme_main_color) !important; -} -.text-primary { - color:var(--theme_main_color) !important; -} -.bg-primary { - background-color:var(--theme_main_color) !important; - color:var(--theme_font_color); -} -.oe_kanban_action.oe_kanban_action_a { - color:var(--theme_main_color) !important; - -} -.o_purchase_dashboard .table > thead > tr > td.o_main:hover, .o_purchase_dashboard .table tbody > tr > td.o_main { - background-color:var(--theme_main_color) !important; -} -.o_purchase_dashboard .table > thead > tr > td.o_main, .o_purchase_dashboard .table tbody > tr > td.o_main { - background-color:var(--theme_main_color) !important; -} -.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 { - - background-color:var(--theme_main_color) !important; - color: var(--theme_font_color) !important; -} -.mr-2 { - color:var(--theme_main_color) !important; -} - -.form-check-input{ - appearance: checkbox; - height: 14px !important; - accent-color:var(--theme_main_color) !important; -} -.o_field_statusbar > .o_statusbar_status > .o_arrow_button.o_arrow_button_current.disabled { - background-color:var(--theme_main_color) !important; -} -.text-bg-primary { - color: #FFFFFF !important; - background-color:var(--theme_main_color) !important; - } -.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: var(--theme_main_color) !important; -} -btn-fill-odoo, .btn-odoo { - color: #FFFFFF; - background-color: var(--theme_main_color) !important; - border-color: var(--theme_main_color) !important; -} -// .o_action_manager.sidebar_margin { -// // margin-left: 205px !important; -// } -a.text-primary:hover, a.text-primary:focus, button.text-primary:hover, button.text-primary:focus { - color: var(--theme_main_color) !important; -} -h1 input{ - font-size: inherit !important; -} -.o_MessagingMenu_icon.fa.fa-lg.fa-comments { - color: #fff !important; -} -li.themes_selector_li { - display: flex; -} -li.dropdown { - display: flex; -} -.o_phone_form_link.ms-3.d-inline-flex.align-items-center { - color: var(--view_font_color) !important; -} -.ms-3.d-inline-flex.align-items-center.o_field_phone_sms { - color:var(--view_font_color) !important; -} -.ms-3.d-inline-flex.align-items-center { - color: var(--view_font_color) !important; -} -.btn.btn-secondary.fa.o_external_button.fa-arrow-right { - color: var(--view_font_color) !important; -} -.o_stat_info.o_stat_value { - color: var(--view_font_color) !important; -} -.mb-5 { - margin-bottom: 1rem !important; -} - -.sidebar .search-container .search-input { - padding: 20px; - height: 70px; -} -.search-results .search-items { - white-space: nowrap; - text-overflow: ellipsis; - overflow-x: hidden; -} -.btn-outline-primary:hover { - color: #FFFFFF; - background-color: var(--theme_main_color) !important; - border-color: var(--theme_main_color) !important; -} -.nav-link { - color: var(--view_font_color) !important; -} -.o_progressbar .o_progress .o_progressbar_complete { - background-color:var(--theme_main_color) !important; -} -.o_main_navbar .o_menu_sections .o_nav_entry { - background-color: var(--theme_main_color) !important; - color: var(--theme_font_color) !important; -} -.o_onboarding_main .o_onboarding_step .o_onboarding_step_title, .o_onboarding_main .o_onboarding_step .o_onboarding_step_action, .o_onboarding_main .o_onboarding_step .o_onboarding_step_action__done, .o_onboarding_main .o_onboarding_step .o_onboarding_dot_isChecked { - color: var(--theme_font_color) !important; -} -.text-white-75 { - color: var(--theme_font_color) !important; -} -.o_onboarding_main .o_onboarding_step .o_onboarding_step_action { - border: 1px solid var(--theme_font_color) !important; -} -o_onboarding_main.o_onboarding_violet { - --o-onboarding-todo-color: var(--theme_font_color) !important; - --o-onboarding-bg_1-color: var(--theme_main_color) !important; - --o-onboarding-bg_2-color: var(--theme_main_color) !important; -} -.o_onboarding_main .o_onboarding_wrap { - - background-image: linear-gradient(to bottom, var(--theme_main_color), var(--theme_main_color)); -} -.dropdown-item.active, .dropdown-item:active { - color: var(--theme_font_color) !important; -} - -@media screen and (max-width: 768px) { - .themes_selector.show{ - right: 0; - } -} \ No newline at end of file diff --git a/multicolor_backend_theme/static/src/wcolpick/wcolpick.css b/multicolor_backend_theme/static/src/wcolpick/wcolpick.css deleted file mode 100644 index 3abbe5397..000000000 --- a/multicolor_backend_theme/static/src/wcolpick/wcolpick.css +++ /dev/null @@ -1,1121 +0,0 @@ - /* -Wcolpick - A Web Color Picker - -Copyright (C) 2017-2020 devpelux (Salvatore Peluso) -Find me on github: https://github.com/devpelux -Dual licensed under GPL v3.0 and MIT licenses. -(Based on Jose Vargas' Color Picker) - -Description, how to use, and examples: https://github.com/devpelux/wcolpick - -Last Edit: 2020/12/06 18:53 -*/ - - - -/* //////////////////////////////////////// - STANDARD LAYOUTS -////////////////////////////////////////*/ - - -/*////////// DEFAULT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -/*Main container*/ -.wcolpick { - position: absolute; - display: none; - width: 549px; - height: 276px; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - overflow: hidden; - text-align: left; - font-family: Arial; - direction: ltr; - border: 1px solid; - -webkit-border-radius: 7.5px; - -moz-border-radius: 7.5px; - border-radius: 7.5px; - z-index: 10; - /*Prevents selecting text when dragging the selectors*/ - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; -} -/*Color selector*/ -.wcolpick_color { - position: absolute; - top: 5px; - left: 5px; - width: 225px; - height: 225px; - overflow: hidden; - outline: 1px solid; - cursor: crosshair; -} -.wcolpick_color_overlay1 { - position: absolute; - top: 0px; - left: 0px; - width: 225px; - height: 225px; - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff',endColorstr='#00ffffff'); /* IE6-9 */ - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff',endColorstr='#00ffffff')"; /* IE8 */ - background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ - background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */ - background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* IE10+ */ - background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* Opera 11.10+ */ - background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); -} -.wcolpick_color_overlay2 { - position: absolute; - top: 0px; - left: 0px; - width: 225px; - height: 225px; - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000',endColorstr='#000000'); /* IE6-9 */ - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000',endColorstr='#000000')"; /* IE8 */ - background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */ - background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */ - background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* IE10+ */ - background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* Opera 11.10+ */ - background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); -} -/*Color selector indicator*/ -.wcolpick_selector_outer { - position: absolute; - width: 14px; - height: 14px; - margin: -8px 0px 0px -8px; - background: none; - border: 1px solid black; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; -} -.wcolpick_selector_inner { - position: absolute; - width: 12px; - height: 12px; - background: none; - border: 1px solid white; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; -} -/*Hue bar*/ -.wcolpick_hue { - position: absolute; - top: 5px; - left: 244px; - width: 20px; - height: 225px; - cursor: ns-resize; -} -.wcolpick_hue_underlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; - outline: 1px solid; -} -.wcolpick_hue_overlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; -} -/*Hue bar indicator*/ -.wcolpick_hue_arrs { - position: absolute; - left: -7px; - width: 34px; - height: 6px; - margin-top: -5px; -} -.wcolpick_hue_larr { - position: absolute; - width: 0px; - height: 0px; - border-style: solid; - border-color: transparent transparent transparent black; - border-width: 5px 0px 5px 6px; -} -.wcolpick_hue_rarr { - position: absolute; - right: 0px; - width: 0px; - height: 0px; - border-style: solid; - border-color: transparent black transparent transparent; - border-width: 5px 6px 5px 0px; -} -/*Alpha bar*/ -.wcolpick_alpha { - position: absolute; - top: 244px; - left: 5px; - width: 225px; - height: 20px; - cursor: ew-resize; -} -.wcolpick_alpha_underlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; - outline: 1px solid; -} -.wcolpick_alpha_overlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; -} -/*Alpha bar indicator*/ -.wcolpick_alpha_arrs { - position: absolute; - top: -7px; - left: 225px; - width: 6px; - height: 34px; - margin-left: -5px; -} -.wcolpick_alpha_darr { - position: absolute; - top: 0px; - width: 0px; - height: 0px; - border-style: solid; - border-color: black transparent transparent transparent; - border-width: 6px 5px 0px 5px; -} -.wcolpick_alpha_uarr { - position: absolute; - bottom: 0px; - width: 0px; - height: 0px; - border-style: solid; - border-color: transparent transparent black transparent; - border-width: 0px 5px 6px 5px; -} -/*Fields*/ -.wcolpick_field, .wcolpick_hex_field { - position: absolute; - width: 75px; - height: 30px; - overflow: hidden; - font-size: 11px; - border: 1px solid; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.wcolpick_hex_field { top: 115px; left: 467px; } -.wcolpick_rgb_r { top: 115px; left: 291px; } -.wcolpick_rgb_g { top: 156px; left: 291px; } -.wcolpick_rgb_b { top: 197px; left: 291px; } -.wcolpick_hsb_h { top: 115px; left: 379px; } -.wcolpick_hsb_s { top: 156px; left: 379px; } -.wcolpick_hsb_b { top: 197px; left: 379px; } -.wcolpick_alpha_field { top: 238px; left: 291px; } -/*Fields' labels*/ -.wcolpick_field_letter { - position: absolute; - left: -1px; - height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 10px; - max-width: 10px; - line-height: 30px; - text-align: center; - font-weight: bold; - z-index: 1; -} -/*Fields' text inputs*/ -.wcolpick_field input, .wcolpick_hex_field input { - position: absolute; - right: 15px; - height: 30px; - margin: 0px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0px; - line-height: 30px; - text-align: right; - font-family: Arial; - font-size: 11px; - border: none; - outline: none; -} -.wcolpick_hex_field input { right: 3px; } -/*Fields on focus*/ -.wcolpick_focus { border-color: black; } -/*Fields' up/down arrows*/ -.wcolpick_field_arrs { - position: absolute; - top: 0px; - right: 0px; - width: 7px; - height: 30px; - cursor: ns-resize; -} -.wcolpick_field_uarr { - position: absolute; - top: 4px; - width: 0px; - height: 0px; - border-style: solid; - border-color: transparent transparent black transparent; - border-width: 0px 3px 3px 3px; -} -.wcolpick_field_darr { - position: absolute; - bottom: 4px; - width: 0px; - height: 0px; - border-style: solid; - border-color: black transparent transparent transparent; - border-width: 3px 3px 0px 3px; -} -/*Fields' up/down arrows while using them*/ -.wcolpick_changing .wcolpick_field_uarr { border-bottom-color: black; } -.wcolpick_changing .wcolpick_field_darr { border-top-color: black; } -/*New and Current color*/ -.wcolpick_colors { - position: absolute; - top: 5px; - left: 291px; - width: 253px; - height: 102px; -} -.wcolpick_colors_underlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; - outline: 1px solid; -} -.wcolpick_new_color { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 50%; -} -.wcolpick_current_color { - position: absolute; - top: 50%; - left: 0px; - width: 100%; - height: 50%; -} -/*Submit button*/ -.wcolpick_submit { - position: absolute; - top: 238px; - left: 511px; - width: 31px; - height: 31px; - display: flex; - -webkit-justify-content: center; - -moz-justify-content: center; - justify-content: center; - -webkit-align-items: center; - align-items: center; - border: 1px solid; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; -} -.wcolpick_submit:hover { opacity: 0.6; cursor: pointer; } -.wcolpick_tear { - width: 15px; - height: 15px; - margin-top: 2px; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - border: none; - -webkit-border-radius: 80% 0 55% 50% / 55% 0 80% 50%; - -moz-border-radius: 80% 0 55% 50% / 55% 0 80% 50%; - border-radius: 80% 0 55% 50% / 55% 0 80% 50%; - -webkit-transform: rotateZ(-45deg); - -moz-transform: rotateZ(-45deg); - -ms-transform: rotateZ(-45deg); - -o-transform: rotateZ(-45deg); - transform: rotateZ(-45deg); -} -/*Checkerboards*/ -.wcolpick_checkerboards { - -webkit-background-size: 10px 10px; /* Chrome10+,Safari5.1+ */ - -moz-background-size: 10px 10px; /* FF3.6+ */ - -o-background-size: 10px 10px; /* Opera 11.10+ */ - background-size: 10px 10px; -} - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_full_ns .wcolpick_new_color { height: 100%; } -.wcolpick_full_ns .wcolpick_current_color, .wcolpick_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpick_rgbhex { width: 461px; } -.wcolpick_rgbhex .wcolpick_hex_field { left: 379px; } -.wcolpick_rgbhex .wcolpick_hsb_h, .wcolpick_rgbhex .wcolpick_hsb_s, .wcolpick_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpick_rgbhex .wcolpick_colors { width: 165px; } -.wcolpick_rgbhex .wcolpick_submit { left: 423px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_rgbhex_ns .wcolpick_new_color { height: 100%; } -.wcolpick_rgbhex_ns .wcolpick_current_color, .wcolpick_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpick_hex { width: 373px; } -.wcolpick_hex .wcolpick_hex_field { left: 291px; } -.wcolpick_hex .wcolpick_rgb_r, .wcolpick_hex .wcolpick_rgb_g, .wcolpick_hex .wcolpick_rgb_b, .wcolpick_hex .wcolpick_hsb_h, .wcolpick_hex .wcolpick_hsb_s, .wcolpick_hex .wcolpick_hsb_b, .wcolpick_hex .wcolpick_alpha_field { display: none; } -.wcolpick_hex .wcolpick_colors { width: 77px; } -.wcolpick_hex .wcolpick_submit { left: 313px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_hex_ns .wcolpick_hex_field { top: 238px; } -.wcolpick_hex_ns .wcolpick_new_color { height: 100%; } -.wcolpick_hex_ns .wcolpick_current_color, .wcolpick_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpick_noalpha { height: 235px; } -.wcolpick_noalpha .wcolpick_alpha, .wcolpick_noalpha .wcolpick_alpha_field { display: none; } -.wcolpick_noalpha .wcolpick_submit { top: 197px; } -/*hex layout - no submit button*/ -.wcolpick_hex_noalpha_ns .wcolpick_hex_field { top: 197px; } - - -/*////////// COMPACT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -.wcolpick_compact { width: 277px; height: 392px; } -.wcolpick_compact .wcolpick_field { width: 43px; } -.wcolpick_compact .wcolpick_hex_field { top: 355px; left: 5px; width: 64px; } -.wcolpick_compact .wcolpick_rgb_r { top: 277px; left: 77px; } -.wcolpick_compact .wcolpick_rgb_g { top: 277px; left: 127px; } -.wcolpick_compact .wcolpick_rgb_b { top: 277px; left: 177px; } -.wcolpick_compact .wcolpick_hsb_h { top: 317px; left: 77px; } -.wcolpick_compact .wcolpick_hsb_s { top: 317px; left: 127px; } -.wcolpick_compact .wcolpick_hsb_b { top: 317px; left: 177px; } -.wcolpick_compact .wcolpick_alpha_field { top: 277px; left: 227px; } -.wcolpick_compact .wcolpick_field input { right: 10px; } -.wcolpick_compact .wcolpick_hex_field input { right: 2px; } -.wcolpick_compact .wcolpick_colors { top: 277px; left: 5px; width: 66px; height: 72px; } -.wcolpick_compact .wcolpick_submit { top: 354px; left: 239px; } - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_compact_full_ns .wcolpick_current_color, .wcolpick_compact_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpick_compact_rgbhex { height: 354px; } -.wcolpick_compact_rgbhex .wcolpick_hex_field { top: 317px; left: 77px; } -.wcolpick_compact_rgbhex .wcolpick_hsb_h, .wcolpick_compact_rgbhex .wcolpick_hsb_s, .wcolpick_compact_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpick_compact_rgbhex .wcolpick_submit { top: 316px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_compact_rgbhex_ns .wcolpick_current_color, .wcolpick_compact_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpick_compact_hex { height: 314px; } -.wcolpick_compact_hex .wcolpick_hex_field { top: 277px; left: 101px; } -.wcolpick_compact_hex .wcolpick_rgb_r, .wcolpick_compact_hex .wcolpick_rgb_g, .wcolpick_compact_hex .wcolpick_rgb_b, .wcolpick_compact_hex .wcolpick_hsb_h, .wcolpick_compact_hex .wcolpick_hsb_s, .wcolpick_compact_hex .wcolpick_hsb_b, .wcolpick_compact_hex .wcolpick_alpha_field { display: none; } -.wcolpick_compact_hex .wcolpick_colors { width: 90px; height: 32px; } -.wcolpick_compact_hex .wcolpick_new_color { width: 50%; height: 100%; } -.wcolpick_compact_hex .wcolpick_current_color { top: 0; left: 50%; width: 50%; height: 100%; } -.wcolpick_compact_hex .wcolpick_submit { top: 276px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpick_compact_hex_ns .wcolpick_new_color { width: 100%; } -.wcolpick_compact_hex_ns .wcolpick_current_color, .wcolpick_compact_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpick_compact_noalpha { height: 359px; } -.wcolpick_compact_noalpha .wcolpick_field { width: 60px; } -.wcolpick_compact_noalpha .wcolpick_hex_field { top: 322px; } -.wcolpick_compact_noalpha .wcolpick_rgb_r { top: 244px; } -.wcolpick_compact_noalpha .wcolpick_rgb_g { top: 244px; left: 144px; } -.wcolpick_compact_noalpha .wcolpick_rgb_b { top: 244px; left: 211px; width: 59px; } -.wcolpick_compact_noalpha .wcolpick_hsb_h { top: 284px; } -.wcolpick_compact_noalpha .wcolpick_hsb_s { top: 284px; left: 144px; } -.wcolpick_compact_noalpha .wcolpick_hsb_b { top: 284px; left: 211px; width: 59px; } -.wcolpick_compact_noalpha .wcolpick_colors { top: 244px; } -.wcolpick_compact_noalpha .wcolpick_submit { top: 321px; } -/*rgbhex layout*/ -.wcolpick_compact_rgbhex_noalpha { height: 321px; } -.wcolpick_compact_rgbhex_noalpha .wcolpick_hex_field { top: 284px; width: 60px; } -.wcolpick_compact_rgbhex_noalpha .wcolpick_submit { top: 283px; } -/*hex layout*/ -.wcolpick_compact_hex_noalpha { height: 281px; } -.wcolpick_compact_hex_noalpha .wcolpick_hex_field { top: 244px; width: 60px; } -.wcolpick_compact_hex_noalpha .wcolpick_submit { top: 243px; } - - -/*////////// STANDARD LAYOUTS - RESPONSIVE //////////*/ - -@media screen and (max-width: 650px) { - - /*//// FULL LAYOUT ////*/ - .wcolpick { width: 277px; height: 392px; } - .wcolpick_field { width: 43px; } - .wcolpick_hex_field { top: 355px; left: 5px; width: 64px; } - .wcolpick_rgb_r { top: 277px; left: 77px; } - .wcolpick_rgb_g { top: 277px; left: 127px; } - .wcolpick_rgb_b { top: 277px; left: 177px; } - .wcolpick_hsb_h { top: 317px; left: 77px; } - .wcolpick_hsb_s { top: 317px; left: 127px; } - .wcolpick_hsb_b { top: 317px; left: 177px; } - .wcolpick_alpha_field { top: 277px; left: 227px; } - .wcolpick_field input { right: 10px; } - .wcolpick_hex_field input { right: 2px; } - .wcolpick_colors { top: 277px; left: 5px; width: 66px; height: 72px; } - .wcolpick_submit { top: 354px; left: 239px; } - - /*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpick_full_ns .wcolpick_current_color, .wcolpick_full_ns .wcolpick_submit { display: none; } - - /*//// RGBHEX LAYOUT ////*/ - .wcolpick_rgbhex { height: 354px; } - .wcolpick_rgbhex .wcolpick_hex_field { top: 317px; left: 77px; } - .wcolpick_rgbhex .wcolpick_hsb_h, .wcolpick_rgbhex .wcolpick_hsb_s, .wcolpick_rgbhex .wcolpick_hsb_b { display: none; } - .wcolpick_rgbhex .wcolpick_colors { width: 66px; } - .wcolpick_rgbhex .wcolpick_submit { top: 316px; left: 239px; } - - /*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpick_rgbhex_ns .wcolpick_current_color, .wcolpick_rgbhex_ns .wcolpick_submit { display: none; } - - /*//// HEX LAYOUT ////*/ - .wcolpick_hex { height: 314px; } - .wcolpick_hex .wcolpick_hex_field { top: 277px; left: 101px; } - .wcolpick_hex .wcolpick_rgb_r, .wcolpick_hex .wcolpick_rgb_g, .wcolpick_hex .wcolpick_rgb_b, .wcolpick_hex .wcolpick_hsb_h, .wcolpick_hex .wcolpick_hsb_s, .wcolpick_hex .wcolpick_hsb_b, .wcolpick_hex .wcolpick_alpha_field { display: none; } - .wcolpick_hex .wcolpick_colors { width: 90px; height: 32px; } - .wcolpick_hex .wcolpick_new_color { width: 50%; height: 100%; } - .wcolpick_hex .wcolpick_current_color { top: 0px; left: 50%; width: 50%; height: 100%; } - .wcolpick_hex .wcolpick_submit { top: 276px; left: 239px; } - - /*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpick_hex_ns .wcolpick_new_color { width: 100%; } - .wcolpick_hex_ns .wcolpick_current_color, .wcolpick_hex_ns .wcolpick_submit { display: none; } - - /*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ - /*full layout*/ - .wcolpick_noalpha { height: 359px; } - .wcolpick_noalpha .wcolpick_field { width: 60px; } - .wcolpick_noalpha .wcolpick_hex_field { top: 322px; } - .wcolpick_noalpha .wcolpick_rgb_r { top: 244px; } - .wcolpick_noalpha .wcolpick_rgb_g { top: 244px; left: 144px; } - .wcolpick_noalpha .wcolpick_rgb_b { top: 244px; left: 211px; width: 59px; } - .wcolpick_noalpha .wcolpick_hsb_h { top: 284px; } - .wcolpick_noalpha .wcolpick_hsb_s { top: 284px; left: 144px; } - .wcolpick_noalpha .wcolpick_hsb_b { top: 284px; left: 211px; width: 59px; } - .wcolpick_noalpha .wcolpick_colors { top: 244px; } - .wcolpick_noalpha .wcolpick_submit { top: 321px; } - /*rgbhex layout*/ - .wcolpick_rgbhex_noalpha { height: 321px; } - .wcolpick_rgbhex_noalpha .wcolpick_hex_field { top: 284px; width: 60px; } - .wcolpick_rgbhex_noalpha .wcolpick_submit { top: 283px; } - /*hex layout*/ - .wcolpick_hex_noalpha { height: 281px; } - .wcolpick_hex_noalpha .wcolpick_hex_field { top: 244px; width: 60px; } - .wcolpick_hex_noalpha .wcolpick_submit { top: 243px; } -} - - - - - -/* //////////////////////////////////////// - SMALL LAYOUTS -////////////////////////////////////////*/ - - -/*////////// DEFAULT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -/*Main container*/ -.wcolpickS { width: 394px; height: 202px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; } -/*Color selector*/ -.wcolpickS .wcolpick_color { top: 4px; left: 4px; width: 160px; height: 160px; } -.wcolpickS .wcolpick_color_overlay1 { width: 160px; height: 160px; } -.wcolpickS .wcolpick_color_overlay2 { width: 160px; height: 160px; } -/*Color selector indicator*/ -.wcolpickS .wcolpick_selector_outer { width: 12px; height: 12px; margin: -7px 0px 0px -7px; } -.wcolpickS .wcolpick_selector_inner { width: 10px; height: 10px; } -/*Hue bar*/ -.wcolpickS .wcolpick_hue { top: 4px; left: 177px; width: 15px; height: 160px; } -/*Hue bar indicator*/ -.wcolpickS .wcolpick_hue_arrs { left: -6px; width: 27px; height: 5px; margin-top: -4px; } -.wcolpickS .wcolpick_hue_larr { border-width: 4px 0px 4px 5px; } -.wcolpickS .wcolpick_hue_rarr { border-width: 4px 5px 4px 0px; } -/*Alpha bar*/ -.wcolpickS .wcolpick_alpha { top: 177px; left: 4px; width: 160px; height: 15px; } -/*Alpha bar indicator*/ -.wcolpickS .wcolpick_alpha_arrs { top: -6px; left: 160px; width: 5px; height: 27px; margin-left: -4px; } -.wcolpickS .wcolpick_alpha_darr { border-width: 5px 4px 0px 4px; } -.wcolpickS .wcolpick_alpha_uarr { border-width: 0px 4px 5px 4px; } -/*Fields*/ -.wcolpickS .wcolpick_field, .wcolpickS .wcolpick_hex_field { width: 52px; height: 20px; font-size: 8.5px; } -.wcolpickS .wcolpick_hex_field { top: 83px; left: 336px; } -.wcolpickS .wcolpick_rgb_r { top: 83px; left: 216px; } -.wcolpickS .wcolpick_rgb_g { top: 113px; left: 216px; } -.wcolpickS .wcolpick_rgb_b { top: 143px; left: 216px; } -.wcolpickS .wcolpick_hsb_h { top: 83px; left: 276px; } -.wcolpickS .wcolpick_hsb_s { top: 113px; left: 276px; } -.wcolpickS .wcolpick_hsb_b { top: 143px; left: 276px; } -.wcolpickS .wcolpick_alpha_field { top: 173px; left: 216px; } -/*Fields' labels*/ -.wcolpickS .wcolpick_field_letter { min-width: 8px; max-width: 8px; height: 20px; line-height: 20px; } -/*Fields' text inputs*/ -.wcolpickS .wcolpick_field input, .wcolpickS .wcolpick_hex_field input { right: 9px; height: 20px; line-height: 20px; font-size: 9px; } -.wcolpickS .wcolpick_hex_field input { right: 2px; } -/*Fields' up/down arrows*/ -.wcolpickS .wcolpick_field_arrs { width: 5px; height: 20px; } -.wcolpickS .wcolpick_field_uarr { top: 2px; border-width: 0px 2px 3px 2px; } -.wcolpickS .wcolpick_field_darr { bottom: 2px; border-width: 3px 2px 0px 2px; } -/*New and Current color*/ -.wcolpickS .wcolpick_colors { top: 4px; left: 216px; width: 174px; height: 70px; } -/*Submit button*/ -.wcolpickS .wcolpick_submit { top: 175px; left: 367px; width: 21px; height: 21px; } -.wcolpickS .wcolpick_tear { width: 9px; height: 9px; } - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_full_ns .wcolpick_new_color { height: 100%; } -.wcolpickS_full_ns .wcolpick_current_color, .wcolpickS_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpickS_rgbhex { width: 334px; } -.wcolpickS_rgbhex .wcolpick_hex_field { left: 276px; } -.wcolpickS_rgbhex .wcolpick_hsb_h, .wcolpickS_rgbhex .wcolpick_hsb_s, .wcolpickS_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpickS_rgbhex .wcolpick_colors { width: 114px; } -.wcolpickS_rgbhex .wcolpick_submit { left: 307px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_rgbhex_ns .wcolpick_new_color { height: 100%; } -.wcolpickS_rgbhex_ns .wcolpick_current_color, .wcolpickS_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpickS_hex { width: 274px; } -.wcolpickS_hex .wcolpick_hex_field { left: 216px; } -.wcolpickS_hex .wcolpick_rgb_r, .wcolpickS_hex .wcolpick_rgb_g, .wcolpickS_hex .wcolpick_rgb_b, .wcolpickS_hex .wcolpick_hsb_h, .wcolpickS_hex .wcolpick_hsb_s, .wcolpickS_hex .wcolpick_hsb_b, .wcolpickS_hex .wcolpick_alpha_field { display: none; } -.wcolpickS_hex .wcolpick_colors { width: 54px; } -.wcolpickS_hex .wcolpick_submit { left: 231px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_hex_ns .wcolpick_hex_field { top: 176px; } -.wcolpickS_hex_ns .wcolpick_new_color { height: 100%; } -.wcolpickS_hex_ns .wcolpick_current_color, .wcolpickS_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpickS_noalpha { height: 168px; } -.wcolpickS_noalpha .wcolpick_alpha, .wcolpickS_noalpha .wcolpick_alpha_field { display: none; } -.wcolpickS_noalpha .wcolpick_rgb_r, .wcolpickS_noalpha .wcolpick_hsb_h, .wcolpickS_noalpha .wcolpick_hex_field { top: 82px; } -.wcolpickS_noalpha .wcolpick_rgb_g, .wcolpickS_noalpha .wcolpick_hsb_s { top: 112px; } -.wcolpickS_noalpha .wcolpick_rgb_b, .wcolpickS_noalpha .wcolpick_hsb_b { top: 142px; } -.wcolpickS_noalpha .wcolpick_submit { top: 141px; } -/*hex layout - no submit button*/ -.wcolpickS_hex_noalpha_ns .wcolpick_hex_field { top: 142px; } - - -/*////////// COMPACT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -.wcolpickS_compact { width: 204px; height: 281px; } -.wcolpickS_compact .wcolpick_field { width: 31px; } -.wcolpickS_compact .wcolpick_hex_field { top: 256px; left: 3px; width: 51px; } -.wcolpickS_compact .wcolpick_rgb_r { top: 204px; left: 59px; } -.wcolpickS_compact .wcolpick_rgb_g { top: 204px; left: 95px; } -.wcolpickS_compact .wcolpick_rgb_b { top: 204px; left: 131px; } -.wcolpickS_compact .wcolpick_hsb_h { top: 230px; left: 59px; } -.wcolpickS_compact .wcolpick_hsb_s { top: 230px; left: 95px; } -.wcolpickS_compact .wcolpick_hsb_b { top: 230px; left: 131px; } -.wcolpickS_compact .wcolpick_alpha_field { top: 204px; left: 167px; } -.wcolpickS_compact .wcolpick_field input { right: 6.3px; } -.wcolpickS_compact .wcolpick_hex_field input { right: 1px; } -.wcolpickS_compact .wcolpick_colors { top: 204px; left: 4px; width: 51px; height: 48px; } -.wcolpickS_compact .wcolpick_submit { top: 255px; left: 178px; } - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_compact_full_ns .wcolpick_current_color, .wcolpickS_compact_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpickS_compact_rgbhex { height: 256px; } -.wcolpickS_compact_rgbhex .wcolpick_hex_field { top: 230px; left: 59px; } -.wcolpickS_compact_rgbhex .wcolpick_hsb_h, .wcolpickS_compact_rgbhex .wcolpick_hsb_s, .wcolpickS_compact_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpickS_compact_rgbhex .wcolpick_submit { top: 230px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_compact_rgbhex_ns .wcolpick_current_color, .wcolpickS_compact_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpickS_compact_hex { height: 230px; } -.wcolpickS_compact_hex .wcolpick_hex_field { top: 204px; left: 68px; } -.wcolpickS_compact_hex .wcolpick_rgb_r, .wcolpickS_compact_hex .wcolpick_rgb_g, .wcolpickS_compact_hex .wcolpick_rgb_b, .wcolpickS_compact_hex .wcolpick_hsb_h, .wcolpickS_compact_hex .wcolpick_hsb_s, .wcolpickS_compact_hex .wcolpick_hsb_b, .wcolpickS_compact_hex .wcolpick_alpha_field { display: none; } -.wcolpickS_compact_hex .wcolpick_colors { width: 60px; height: 22px; } -.wcolpickS_compact_hex .wcolpick_new_color { width: 50%; height: 100%; } -.wcolpickS_compact_hex .wcolpick_current_color { top: 0; left: 50%; width: 50%; height: 100%; } -.wcolpickS_compact_hex .wcolpick_submit { top: 204px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickS_compact_hex_ns .wcolpick_new_color { width: 100%; } -.wcolpickS_compact_hex_ns .wcolpick_current_color, .wcolpickS_compact_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpickS_compact_noalpha { height: 254px; } -.wcolpickS_compact_noalpha .wcolpick_field { width: 43px; } -.wcolpickS_compact_noalpha .wcolpick_hex_field { top: 229px; } -.wcolpickS_compact_noalpha .wcolpick_rgb_r { top: 177px; } -.wcolpickS_compact_noalpha .wcolpick_rgb_g { top: 177px; left: 107px; } -.wcolpickS_compact_noalpha .wcolpick_rgb_b { top: 177px; left: 155px; } -.wcolpickS_compact_noalpha .wcolpick_hsb_h { top: 203px; } -.wcolpickS_compact_noalpha .wcolpick_hsb_s { top: 203px; left: 107px; } -.wcolpickS_compact_noalpha .wcolpick_hsb_b { top: 203px; left: 155px; } -.wcolpickS_compact_noalpha .wcolpick_colors { top: 177px; } -.wcolpickS_compact_noalpha .wcolpick_submit { top: 228px; } -/*rgbhex layout*/ -.wcolpickS_compact_rgbhex_noalpha { height: 229px; } -.wcolpickS_compact_rgbhex_noalpha .wcolpick_hex_field { top: 203px; width: 43px; } -.wcolpickS_compact_rgbhex_noalpha .wcolpick_submit { top: 203px; } -/*hex layout*/ -.wcolpickS_compact_hex_noalpha { height: 203px; } -.wcolpickS_compact_hex_noalpha .wcolpick_hex_field { top: 177px; width: 43px; } -.wcolpickS_compact_hex_noalpha .wcolpick_submit { top: 177px; } - - -/*////////// SMALL LAYOUTS - RESPONSIVE //////////*/ - -@media screen and (max-width: 460px) { - - /*//// FULL LAYOUT ////*/ - .wcolpickS { width: 204px; height: 281px; } - .wcolpickS .wcolpick_field { width: 31px; } - .wcolpickS .wcolpick_hex_field { top: 256px; left: 3px; width: 51px; } - .wcolpickS .wcolpick_rgb_r { top: 204px; left: 59px; } - .wcolpickS .wcolpick_rgb_g { top: 204px; left: 95px; } - .wcolpickS .wcolpick_rgb_b { top: 204px; left: 131px; } - .wcolpickS .wcolpick_hsb_h { top: 230px; left: 59px; } - .wcolpickS .wcolpick_hsb_s { top: 230px; left: 95px; } - .wcolpickS .wcolpick_hsb_b { top: 230px; left: 131px; } - .wcolpickS .wcolpick_alpha_field { top: 204px; left: 167px; } - .wcolpickS .wcolpick_field input { right: 6.3px; } - .wcolpickS .wcolpick_hex_field input { right: 1px; } - .wcolpickS .wcolpick_colors { top: 204px; left: 4px; width: 51px; height: 48px; } - .wcolpickS .wcolpick_submit { top: 255px; left: 178px; } - - /*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickS_full_ns .wcolpick_current_color, .wcolpickS_full_ns .wcolpick_submit { display: none; } - - /*//// RGBHEX LAYOUT ////*/ - .wcolpickS_rgbhex { height: 256px; } - .wcolpickS_rgbhex .wcolpick_hex_field { top: 230px; left: 59px; } - .wcolpickS_rgbhex .wcolpick_hsb_h, .wcolpickS_rgbhex .wcolpick_hsb_s, .wcolpickS_rgbhex .wcolpick_hsb_b { display: none; } - .wcolpickS_rgbhex .wcolpick_submit { top: 230px; } - - /*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickS_rgbhex_ns .wcolpick_current_color, .wcolpickS_rgbhex_ns .wcolpick_submit { display: none; } - - /*//// HEX LAYOUT ////*/ - .wcolpickS_hex { height: 230px; } - .wcolpickS_hex .wcolpick_hex_field { top: 204px; left: 68px; } - .wcolpickS_hex .wcolpick_rgb_r, .wcolpickS_hex .wcolpick_rgb_g, .wcolpickS_hex .wcolpick_rgb_b, .wcolpickS_hex .wcolpick_hsb_h, .wcolpickS_hex .wcolpick_hsb_s, .wcolpickS_hex .wcolpick_hsb_b, .wcolpickS_hex .wcolpick_alpha_field { display: none; } - .wcolpickS_hex .wcolpick_colors { width: 60px; height: 22px; } - .wcolpickS_hex .wcolpick_new_color { width: 50%; height: 100%; } - .wcolpickS_hex .wcolpick_current_color { top: 0px; left: 50%; width: 50%; height: 100%; } - .wcolpickS_hex .wcolpick_submit { top: 204px; } - - /*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickS_hex_ns .wcolpick_new_color { width: 100%; } - .wcolpickS_hex_ns .wcolpick_current_color, .wcolpickS_hex_ns .wcolpick_submit { display: none; } - - /*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ - /*full layout*/ - .wcolpickS_noalpha { height: 254px; } - .wcolpickS_noalpha .wcolpick_field { width: 43px; } - .wcolpickS_noalpha .wcolpick_hex_field { top: 229px; } - .wcolpickS_noalpha .wcolpick_rgb_r { top: 177px; } - .wcolpickS_noalpha .wcolpick_rgb_g { top: 177px; left: 107px; } - .wcolpickS_noalpha .wcolpick_rgb_b { top: 177px; left: 155px; } - .wcolpickS_noalpha .wcolpick_hsb_h { top: 203px; } - .wcolpickS_noalpha .wcolpick_hsb_s { top: 203px; left: 107px; } - .wcolpickS_noalpha .wcolpick_hsb_b { top: 203px; left: 155px; } - .wcolpickS_noalpha .wcolpick_colors { top: 177px; } - .wcolpickS_noalpha .wcolpick_submit { top: 228px; } - /*rgbhex layout*/ - .wcolpickS_rgbhex_noalpha { height: 229px; } - .wcolpickS_rgbhex_noalpha .wcolpick_hex_field { top: 203px; width: 43px; } - .wcolpickS_rgbhex_noalpha .wcolpick_submit { top: 203px; } - /*hex layout*/ - .wcolpickS_hex_noalpha { height: 203px; } - .wcolpickS_hex_noalpha .wcolpick_hex_field { top: 177px; width: 43px; } - .wcolpickS_hex_noalpha .wcolpick_submit { top: 177px; } -} - - - - - -/* //////////////////////////////////////// - EXTRA-LARGE LAYOUTS -////////////////////////////////////////*/ - - -/*////////// DEFAULT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -/*Main container*/ -.wcolpickXL { width: 725px; height: 363px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } -/*Color selector*/ -.wcolpickXL .wcolpick_color { top: 7px; left: 7px; width: 300px; height: 300px; } -.wcolpickXL .wcolpick_color_overlay1 { width: 300px; height: 300px; } -.wcolpickXL .wcolpick_color_overlay2 { width: 300px; height: 300px; } -/*Color selector indicator*/ -.wcolpickXL .wcolpick_selector_outer { width: 16px; height: 16px; margin: -9px 0px 0px -9px; } -.wcolpickXL .wcolpick_selector_inner { width: 14px; height: 14px; } -/*Hue bar*/ -.wcolpickXL .wcolpick_hue { top: 7px; left: 324px; width: 25px; height: 300px; } -/*Hue bar indicator*/ -.wcolpickXL .wcolpick_hue_arrs { left: -8px; width: 41px; height: 7px; margin-top: -6px; } -.wcolpickXL .wcolpick_hue_larr { border-width: 6px 0px 6px 7px; } -.wcolpickXL .wcolpick_hue_rarr { border-width: 6px 7px 6px 0px; } -/*Alpha bar*/ -.wcolpickXL .wcolpick_alpha { top: 324px; left: 7px; width: 300px; height: 25px; } -/*Alpha bar indicator*/ -.wcolpickXL .wcolpick_alpha_arrs { top: -8px; left: 300px; width: 7px; height: 41px; margin-left: -6px; } -.wcolpickXL .wcolpick_alpha_darr { border-width: 7px 6px 0px 6px; } -.wcolpickXL .wcolpick_alpha_uarr { border-width: 0px 6px 7px 6px; } -/*Fields*/ -.wcolpickXL .wcolpick_field, .wcolpickXL .wcolpick_hex_field { width: 100px; height: 40px; font-size: 15px; } -.wcolpickXL .wcolpick_hex_field { top: 154px; left: 616px; } -.wcolpickXL .wcolpick_rgb_r { top: 154px; left: 382px; } -.wcolpickXL .wcolpick_rgb_g { top: 207px; left: 382px; } -.wcolpickXL .wcolpick_rgb_b { top: 260px; left: 382px; } -.wcolpickXL .wcolpick_hsb_h { top: 154px; left: 499px; } -.wcolpickXL .wcolpick_hsb_s { top: 207px; left: 499px; } -.wcolpickXL .wcolpick_hsb_b { top: 260px; left: 499px; } -.wcolpickXL .wcolpick_alpha_field { top: 313px; left: 382px; } -/*Fields' labels*/ -.wcolpickXL .wcolpick_field_letter { min-width: 15px; max-width: 15px; height: 40px; line-height: 40px; } -/*Fields' text inputs*/ -.wcolpickXL .wcolpick_field input, .wcolpickXL .wcolpick_hex_field input { right: 20px; height: 40px; line-height: 40px; font-size: 15px; } -.wcolpickXL .wcolpick_hex_field input { right: 4px; } -/*Fields' up/down arrows*/ -.wcolpickXL .wcolpick_field_arrs { width: 9px; height: 40px; } -.wcolpickXL .wcolpick_field_uarr { top: 5px; border-width: 0px 4px 4px 4px; } -.wcolpickXL .wcolpick_field_darr { bottom: 5px; border-width: 4px 4px 0px 4px; } -/*New and Current color*/ -.wcolpickXL .wcolpick_colors { top: 7px; left: 382px; width: 336px; height: 136px; } -/*Submit button*/ -.wcolpickXL .wcolpick_submit { top: 314px; left: 676px; width: 40px; height: 40px; } -.wcolpickXL .wcolpick_tear { width: 20px; height: 20px; } - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_full_ns .wcolpick_new_color { height: 100%; } -.wcolpickXL_full_ns .wcolpick_current_color, .wcolpickXL_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpickXL_rgbhex { width: 608px; } -.wcolpickXL_rgbhex .wcolpick_hex_field { left: 499px; } -.wcolpickXL_rgbhex .wcolpick_hsb_h, .wcolpickXL_rgbhex .wcolpick_hsb_s, .wcolpickXL_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpickXL_rgbhex .wcolpick_colors { width: 219px; } -.wcolpickXL_rgbhex .wcolpick_submit { left: 559px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_rgbhex_ns .wcolpick_new_color { height: 100%; } -.wcolpickXL_rgbhex_ns .wcolpick_current_color, .wcolpickXL_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpickXL_hex { width: 491px; } -.wcolpickXL_hex .wcolpick_hex_field { left: 382px; } -.wcolpickXL_hex .wcolpick_rgb_r, .wcolpickXL_hex .wcolpick_rgb_g, .wcolpickXL_hex .wcolpick_rgb_b, .wcolpickXL_hex .wcolpick_hsb_h, .wcolpickXL_hex .wcolpick_hsb_s, .wcolpickXL_hex .wcolpick_hsb_b, .wcolpickXL_hex .wcolpick_alpha_field { display: none; } -.wcolpickXL_hex .wcolpick_colors { width: 102px; } -.wcolpickXL_hex .wcolpick_submit { left: 412px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_hex_ns .wcolpick_hex_field { top: 313px; } -.wcolpickXL_hex_ns .wcolpick_new_color { height: 100%; } -.wcolpickXL_hex_ns .wcolpick_current_color, .wcolpickXL_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpickXL_noalpha { height: 314px; } -.wcolpickXL_noalpha .wcolpick_alpha, .wcolpickXL_noalpha .wcolpick_alpha_field { display: none; } -.wcolpickXL_noalpha .wcolpick_rgb_r, .wcolpickXL_noalpha .wcolpick_hsb_h, .wcolpickXL_noalpha .wcolpick_hex_field { top: 156px; } -.wcolpickXL_noalpha .wcolpick_rgb_g, .wcolpickXL_noalpha .wcolpick_hsb_s { top: 210px; } -.wcolpickXL_noalpha .wcolpick_rgb_b, .wcolpickXL_noalpha .wcolpick_hsb_b { top: 264px; } -.wcolpickXL_noalpha .wcolpick_submit { top: 266px; } -/*hex layout - no submit button*/ -.wcolpickXL_hex_noalpha_ns .wcolpick_hex_field { top: 264px; } - - -/*////////// COMPACT LAYOUTS //////////*/ - -/*//// FULL LAYOUT ////*/ -.wcolpickXL_compact { width: 365px; height: 516px; } -.wcolpickXL_compact .wcolpick_field { width: 56px; } -.wcolpickXL_compact .wcolpick_hex_field { top: 467px; left: 7px; width: 88px; } -.wcolpickXL_compact .wcolpick_rgb_r { top: 365px; left: 105px; } -.wcolpickXL_compact .wcolpick_rgb_g { top: 365px; left: 170px; } -.wcolpickXL_compact .wcolpick_rgb_b { top: 365px; left: 235px; } -.wcolpickXL_compact .wcolpick_hsb_h { top: 417px; left: 105px; } -.wcolpickXL_compact .wcolpick_hsb_s { top: 417px; left: 170px; } -.wcolpickXL_compact .wcolpick_hsb_b { top: 417px; left: 235px; } -.wcolpickXL_compact .wcolpick_alpha_field { top: 365px; left: 300px; } -.wcolpickXL_compact .wcolpick_field input { right: 12px; } -.wcolpickXL_compact .wcolpick_hex_field input { right: 3px; } -.wcolpickXL_compact .wcolpick_colors { top: 365px; left: 7px; width: 90px; height: 94px; } -.wcolpickXL_compact .wcolpick_submit { top: 467px; left: 316px; } - -/*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_compact_full_ns .wcolpick_current_color, .wcolpickXL_compact_full_ns .wcolpick_submit { display: none; } - -/*//// RGBHEX LAYOUT ////*/ -.wcolpickXL_compact_rgbhex { height: 466px; } -.wcolpickXL_compact_rgbhex .wcolpick_hex_field { top: 417px; left: 105px; } -.wcolpickXL_compact_rgbhex .wcolpick_hsb_h, .wcolpickXL_compact_rgbhex .wcolpick_hsb_s, .wcolpickXL_compact_rgbhex .wcolpick_hsb_b { display: none; } -.wcolpickXL_compact_rgbhex .wcolpick_submit { top: 417px; } - -/*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_compact_rgbhex_ns .wcolpick_current_color, .wcolpickXL_compact_rgbhex_ns .wcolpick_submit { display: none; } - -/*//// HEX LAYOUT ////*/ -.wcolpickXL_compact_hex { height: 414px; } -.wcolpickXL_compact_hex .wcolpick_hex_field { top: 365px; left: 135px; } -.wcolpickXL_compact_hex .wcolpick_rgb_r, .wcolpickXL_compact_hex .wcolpick_rgb_g, .wcolpickXL_compact_hex .wcolpick_rgb_b, .wcolpickXL_compact_hex .wcolpick_hsb_h, .wcolpickXL_compact_hex .wcolpick_hsb_s, .wcolpickXL_compact_hex .wcolpick_hsb_b, .wcolpickXL_compact_hex .wcolpick_alpha_field { display: none; } -.wcolpickXL_compact_hex .wcolpick_colors { width: 120px; height: 42px; } -.wcolpickXL_compact_hex .wcolpick_new_color { width: 50%; height: 100%; } -.wcolpickXL_compact_hex .wcolpick_current_color { top: 0; left: 50%; width: 50%; height: 100%; } -.wcolpickXL_compact_hex .wcolpick_submit { top: 365px; } - -/*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ -.wcolpickXL_compact_hex_ns .wcolpick_new_color { width: 100%; } -.wcolpickXL_compact_hex_ns .wcolpick_current_color, .wcolpickXL_compact_hex_ns .wcolpick_submit { display: none; } - -/*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ -/*full layout*/ -.wcolpickXL_compact_noalpha { height: 475px; } -.wcolpickXL_compact_noalpha .wcolpick_field { width: 78px; } -.wcolpickXL_compact_noalpha .wcolpick_hex_field { top: 426px; } -.wcolpickXL_compact_noalpha .wcolpick_rgb_r { top: 324px; } -.wcolpickXL_compact_noalpha .wcolpick_rgb_g { top: 324px; left: 192px; } -.wcolpickXL_compact_noalpha .wcolpick_rgb_b { top: 324px; left: 279px; width: 77px; } -.wcolpickXL_compact_noalpha .wcolpick_hsb_h { top: 376px; } -.wcolpickXL_compact_noalpha .wcolpick_hsb_s { top: 376px; left: 192px; } -.wcolpickXL_compact_noalpha .wcolpick_hsb_b { top: 376px; left: 279px; width: 77px; } -.wcolpickXL_compact_noalpha .wcolpick_colors { top: 324px; } -.wcolpickXL_compact_noalpha .wcolpick_submit { top: 426px; } -/*rgbhex layout*/ -.wcolpickXL_compact_rgbhex_noalpha { height: 425px; } -.wcolpickXL_compact_rgbhex_noalpha .wcolpick_hex_field { top: 376px; width: 78px; } -.wcolpickXL_compact_rgbhex_noalpha .wcolpick_submit { top: 376px; } -/*hex layout*/ -.wcolpickXL_compact_hex_noalpha { height: 373px; } -.wcolpickXL_compact_hex_noalpha .wcolpick_hex_field { top: 324px; width: 78px; } -.wcolpickXL_compact_hex_noalpha .wcolpick_submit { top: 324px; } - - -/*////////// EXTRA-LARGE LAYOUTS - RESPONSIVE //////////*/ - -@media screen and (max-width: 840px) { - - /*//// FULL LAYOUT ////*/ - .wcolpickXL { width: 365px; height: 516px; } - .wcolpickXL .wcolpick_field { width: 56px; } - .wcolpickXL .wcolpick_hex_field { top: 467px; left: 7px; width: 88px; } - .wcolpickXL .wcolpick_rgb_r { top: 365px; left: 105px; } - .wcolpickXL .wcolpick_rgb_g { top: 365px; left: 170px; } - .wcolpickXL .wcolpick_rgb_b { top: 365px; left: 235px; } - .wcolpickXL .wcolpick_hsb_h { top: 417px; left: 105px; } - .wcolpickXL .wcolpick_hsb_s { top: 417px; left: 170px; } - .wcolpickXL .wcolpick_hsb_b { top: 417px; left: 235px; } - .wcolpickXL .wcolpick_alpha_field { top: 365px; left: 300px; } - .wcolpickXL .wcolpick_field input { right: 12px; } - .wcolpickXL .wcolpick_hex_field input { right: 3px; } - .wcolpickXL .wcolpick_colors { top: 365px; left: 7px; width: 90px; height: 94px; } - .wcolpickXL .wcolpick_submit { top: 467px; left: 316px; } - - /*//// FULL LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickXL_full_ns .wcolpick_current_color, .wcolpickXL_full_ns .wcolpick_submit { display: none; } - - /*//// RGBHEX LAYOUT ////*/ - .wcolpickXL_rgbhex { height: 466px; } - .wcolpickXL_rgbhex .wcolpick_hex_field { top: 417px; left: 105px; } - .wcolpickXL_rgbhex .wcolpick_hsb_h, .wcolpickXL_rgbhex .wcolpick_hsb_s, .wcolpickXL_rgbhex .wcolpick_hsb_b { display: none; } - .wcolpickXL_rgbhex .wcolpick_submit { top: 417px; } - - /*//// RGBHEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickXL_rgbhex_ns .wcolpick_current_color, .wcolpickXL_rgbhex_ns .wcolpick_submit { display: none; } - - /*//// HEX LAYOUT ////*/ - .wcolpickXL_hex { height: 414px; } - .wcolpickXL_hex .wcolpick_hex_field { top: 365px; left: 135px; } - .wcolpickXL_hex .wcolpick_rgb_r, .wcolpickXL_hex .wcolpick_rgb_g, .wcolpickXL_hex .wcolpick_rgb_b, .wcolpickXL_hex .wcolpick_hsb_h, .wcolpickXL_hex .wcolpick_hsb_s, .wcolpickXL_hex .wcolpick_hsb_b, .wcolpickXL_hex .wcolpick_alpha_field { display: none; } - .wcolpickXL_hex .wcolpick_colors { width: 120px; height: 42px; } - .wcolpickXL_hex .wcolpick_new_color { width: 50%; height: 100%; } - .wcolpickXL_hex .wcolpick_current_color { top: 0px; left: 50%; width: 50%; height: 100%; } - .wcolpickXL_hex .wcolpick_submit { top: 365px; } - - /*//// HEX LAYOUT - NO SUBMIT BUTTON ////*/ - .wcolpickXL_hex_ns .wcolpick_new_color { width: 100%; } - .wcolpickXL_hex_ns .wcolpick_current_color, .wcolpickXL_hex_ns .wcolpick_submit { display: none; } - - /*//// ALL SUB-LAYOUTS - NO ALPHA CHANNEL ////*/ - /*full layout*/ - .wcolpickXL_noalpha { height: 475px; } - .wcolpickXL_noalpha .wcolpick_field { width: 78px; } - .wcolpickXL_noalpha .wcolpick_hex_field { top: 426px; } - .wcolpickXL_noalpha .wcolpick_rgb_r { top: 324px; } - .wcolpickXL_noalpha .wcolpick_rgb_g { top: 324px; left: 192px; } - .wcolpickXL_noalpha .wcolpick_rgb_b { top: 324px; left: 279px; width: 77px; } - .wcolpickXL_noalpha .wcolpick_hsb_h { top: 376px; } - .wcolpickXL_noalpha .wcolpick_hsb_s { top: 376px; left: 192px; } - .wcolpickXL_noalpha .wcolpick_hsb_b { top: 376px; left: 279px; width: 77px; } - .wcolpickXL_noalpha .wcolpick_colors { top: 324px; } - .wcolpickXL_noalpha .wcolpick_submit { top: 426px; } - /*rgbhex layout*/ - .wcolpickXL_rgbhex_noalpha { height: 425px; } - .wcolpickXL_rgbhex_noalpha .wcolpick_hex_field { top: 376px; width: 78px; } - .wcolpickXL_rgbhex_noalpha .wcolpick_submit { top: 376px; } - /*hex layout*/ - .wcolpickXL_hex_noalpha { height: 373px; } - .wcolpickXL_hex_noalpha .wcolpick_hex_field { top: 324px; width: 78px; } - .wcolpickXL_hex_noalpha .wcolpick_submit { top: 324px; } -} - - - - - -/* //////////////////////////////////////// - COLOR SCHEMES -////////////////////////////////////////*/ - - -/*////////// MAIN LIGHT COLOR SCHEME //////////*/ - -/*Main container*/ -.wcolpick_light { background: transparent; border-color: transparent; } -/*Color selector*/ -.wcolpick_light .wcolpick_color { outline-color: rgba(170, 170, 170, 0.5); } -/*Hue bar*/ -.wcolpick_light .wcolpick_hue_underlay { outline-color: rgba(170, 170, 170, 0.5); } -.wcolpick_light .wcolpick_hue_larr { border-left-color: black; } -.wcolpick_light .wcolpick_hue_rarr { border-right-color: black; } -/*Alpha bar*/ -.wcolpick_light .wcolpick_alpha_underlay { outline-color: rgba(170, 170, 170, 0.5); } -.wcolpick_light .wcolpick_alpha_darr { border-top-color: black; } -.wcolpick_light .wcolpick_alpha_uarr { border-bottom-color: black; } -/*Fields*/ -.wcolpick_light .wcolpick_field, .wcolpick_light .wcolpick_hex_field { background: white; border-color: #bdbdbd; } -.wcolpick_light .wcolpick_field_letter { background: #ededed; color: #777; } -.wcolpick_light .wcolpick_field input, .wcolpick_light .wcolpick_hex_field input { background: transparent; color: #555; } -.wcolpick_light .wcolpick_focus { border-color: #999; } -.wcolpick_light .wcolpick_field_uarr { border-bottom-color: #999; } -.wcolpick_light .wcolpick_field_darr { border-top-color: #999; } -.wcolpick_light .wcolpick_changing .wcolpick_field_uarr { border-bottom-color: #0caf1a; } -.wcolpick_light .wcolpick_changing .wcolpick_field_darr { border-top-color: #0caf1a; } -/*New and Current color*/ -.wcolpick_light .wcolpick_colors_underlay { outline-color: rgba(170, 170, 170, 0.5); } -/*Submit button*/ -.wcolpick_light .wcolpick_submit { background: white; border-color: #777; } -.wcolpick_light .wcolpick_tear { background: #777; } -/*Checkerboards*/ -.wcolpick_light .wcolpick_checkerboards { background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='rgb(204,204,204)' fill-rule='evenodd' d='M0 0h1v1H0V0zm1 1h1v1H1V1z'/%3E%3C/svg%3E"); } - - -/*////////// MAIN DARK COLOR SCHEME //////////*/ - -/*Main container*/ -.wcolpick_dark { background: transparent; border-color: transparent; } -/*Color selector*/ -.wcolpick_dark .wcolpick_color { outline-color: rgba(213, 213, 213, 0.5); } -/*Hue bar*/ -.wcolpick_dark .wcolpick_hue_underlay { outline-color: rgba(213, 213, 213, 0.5); } -.wcolpick_dark .wcolpick_hue_larr { border-left-color: white; } -.wcolpick_dark .wcolpick_hue_rarr { border-right-color: white; } -/*Alpha bar*/ -.wcolpick_dark .wcolpick_alpha_underlay { outline-color: rgba(213, 213, 213, 0.5); } -.wcolpick_dark .wcolpick_alpha_darr { border-top-color: white; } -.wcolpick_dark .wcolpick_alpha_uarr { border-bottom-color: white; } -/*Fields*/ -.wcolpick_dark .wcolpick_field, .wcolpick_dark .wcolpick_hex_field { background: black; border-color: #d5d5d5; } -.wcolpick_dark .wcolpick_field_letter { background: #d5d5d5; color: black; } -.wcolpick_dark .wcolpick_field input, .wcolpick_dark .wcolpick_hex_field input { background: transparent; color: #d5d5d5; } -.wcolpick_dark .wcolpick_focus { border-color: #adadad; } -.wcolpick_dark .wcolpick_field_uarr { border-bottom-color: #d5d5d5; } -.wcolpick_dark .wcolpick_field_darr { border-top-color: #d5d5d5; } -.wcolpick_dark .wcolpick_changing .wcolpick_field_uarr { border-bottom-color: #0caf1a; } -.wcolpick_dark .wcolpick_changing .wcolpick_field_darr { border-top-color: #0caf1a; } -/*New and Current color*/ -.wcolpick_dark .wcolpick_colors_underlay { outline-color: rgba(213, 213, 213, 0.5); } -/*Submit button*/ -.wcolpick_dark .wcolpick_submit { background: black; border-color: white; } -.wcolpick_dark .wcolpick_tear { background: white; } -/*Checkerboards*/ -.wcolpick_dark .wcolpick_checkerboards { background-color: #666; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='rgb(51,51,51)' fill-rule='evenodd' d='M0 0h1v1H0V0zm1 1h1v1H1V1z'/%3E%3C/svg%3E"); } - - -/*////////// ALTERNATIVE COLOR SCHEMES //////////*/ - -/*//// LIGHT FULL ////*/ -.wcolpick_light-full { background: white; border-color: #666; } - -/*//// DARK FULL ////*/ -.wcolpick_dark-full { background: black; border-color: white; } - - -/*////////// CHANGE COLOR OF THE HUE'S AND THE ALPHA'S ARROWS, IF REQUESTED //////////*/ - -/*Light color*/ -.wcolpick_lightArrs .wcolpick_hue_larr { border-left-color: white; } -.wcolpick_lightArrs .wcolpick_hue_rarr { border-right-color: white; } -.wcolpick_lightArrs .wcolpick_alpha_darr { border-top-color: white; } -.wcolpick_lightArrs .wcolpick_alpha_uarr { border-bottom-color: white; } -/*Dark color*/ -.wcolpick_darkArrs .wcolpick_hue_larr { border-left-color: black; } -.wcolpick_darkArrs .wcolpick_hue_rarr { border-right-color: black; } -.wcolpick_darkArrs .wcolpick_alpha_darr { border-top-color: black; } -.wcolpick_darkArrs .wcolpick_alpha_uarr { border-bottom-color: black; } - - -/*////////// CHANGE COLOR OF THE CHECKERBOARDS, IF REQUESTED //////////*/ - -/*Light color*/ -.wcolpick_lightCheckerboards .wcolpick_checkerboards { background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='rgb(204,204,204)' fill-rule='evenodd' d='M0 0h1v1H0V0zm1 1h1v1H1V1z'/%3E%3C/svg%3E"); } -/*Dark color*/ -.wcolpick_darkCheckerboards .wcolpick_checkerboards { background-color: #666; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='rgb(51,51,51)' fill-rule='evenodd' d='M0 0h1v1H0V0zm1 1h1v1H1V1z'/%3E%3C/svg%3E"); } - - -/*////////// CHANGE COLOR OF THE SUMBIT BUTTON, IF REQUESTED //////////*/ - -/*Light color*/ -.wcolpick_lightSubmit .wcolpick_submit { border-color: white; } -.wcolpick_lightSubmit .wcolpick_tear { background: white; } -/*Dark color*/ -.wcolpick_darkSubmit .wcolpick_submit { border-color: #777; } -.wcolpick_darkSubmit .wcolpick_tear { background: #777; } - - -/*////////// HIDE OUTLINES, IF REQUESTED //////////*/ - -.wcolpick_noCSOutline .wcolpick_color { outline-style: none; } -.wcolpick_noHOutline .wcolpick_hue_underlay { outline-style: none; } -.wcolpick_noAOutline .wcolpick_alpha_underlay { outline-style: none; } -.wcolpick_noNCOutline .wcolpick_colors_underlay { outline-style: none; } diff --git a/multicolor_backend_theme/static/src/wcolpick/wcolpick.js b/multicolor_backend_theme/static/src/wcolpick/wcolpick.js deleted file mode 100644 index 7a9033989..000000000 --- a/multicolor_backend_theme/static/src/wcolpick/wcolpick.js +++ /dev/null @@ -1,1028 +0,0 @@ -/* -Wcolpick - A Web Color Picker - -Copyright (C) 2017-2023 devpelux (Salvatore Peluso) -Find me on github: https://github.com/devpelux -Dual licensed under GPL v3 .0 and MIT licenses. -(Based on Jose Vargas' Color Picker) - -Description, how to use, and examples: https://github.com/devpelux/wcolpick - -Last Edit: 2023/05/05 18:53 -*/ - - -(function ($) { - var wcolpick = function () { - var - tpl = '
#
R
G
B
H
S
B
A
', - defaults = { - alphaOutline: true, - appendToBody: false, - arrowsColor: 'default', - backgroundColor: 'default', - border: 1, - borderColor: 'default', - checkersColor: 'default', - color: {h:0, s:0, b:20, a:1}, - colorOutline: true, - colorScheme: 'light-full', - colorSelOutline: true, - compactLayout: false, - enableAlpha: true, - enableSubmit: true, - enableUpDown: true, - fieldsBackground: 'default', - flat: true, - hueOutline: true, - layout: 'full', - livePreview: true, - polyfill: false, - position: 'auto', - readonlyFields: false, - readonlyHexField: false, - showEvent: 'click', - submitBackground: 'default', - submitColor: 'default', - variant: 'standard', - onBeforeShow: function () {}, - onChange: function () {}, - onDestroy: function () {}, - onHide: function () {}, - onLoaded: function () {}, - onShow: function () {}, - onSubmit: function () {} - }, - //Fill the inputs of the plugin - fillRGBFields = function (rgba, cal) { - $(cal).data('wcolpick').fields - .eq(1).val(rgba.r).end() - .eq(2).val(rgba.g).end() - .eq(3).val(rgba.b).end() - }, - - fillHSBFields = function (hsba, cal) { - $(cal).data('wcolpick').fields - .eq(4).val(Math.round(hsba.h)).end() - .eq(5).val(Math.round(hsba.s)).end() - .eq(6).val(Math.round(hsba.b)).end(); - }, - fillAlphaField = function (hsba, cal) { - $(cal).data('wcolpick').fields.eq(7).val(Math.round(hsba.a*100)).end(); - }, - fillHexField = function (hex, cal) { - if ($(cal).data('wcolpick').enableAlpha) $(cal).data('wcolpick').fields.eq(0).val(hex); - else $(cal).data('wcolpick').fields.eq(0).val(hex.substring(0,6)); - }, - //Set selector's color and selector's indicator position - setSelectorPos = function (hsba, cal) { - $(cal).data('wcolpick').selectorIndic.css({ - left: Math.round($(cal).data('wcolpick').size * hsba.s/100), - top: Math.round($(cal).data('wcolpick').size * (100-hsba.b)/100) - }); - }, - setSelectorColor = function (hsba, cal) { - if (isInternetExplorer()) { //Compatibility with IE 6-9 - var rgba = hsbaToRgba({h: Math.round(hsba.h), s: 100, b: 100, a: 255}); - $(cal).data('wcolpick').selector.css('backgroundColor', 'rgb('+rgba.r+','+rgba.g+','+rgba.b+')'); - } else $(cal).data('wcolpick').selector.css('backgroundColor', 'hsl('+Math.round(hsba.h)+','+100+'%,'+50+'%)'); - }, - //Set hue's arrows position - setHuePos = function (hsba, cal) { - $(cal).data('wcolpick').hue.css('top', Math.round($(cal).data('wcolpick').size - $(cal).data('wcolpick').size * hsba.h/360)); - }, - //Set alpha bar color and alpha's arrows position - setAlphaPos = function (hsba, cal) { - if ($(cal).data('wcolpick').enableAlpha) $(cal).data('wcolpick').alpha.css('left', Math.round($(cal).data('wcolpick').size * hsba.a)); - }, - setAlphaColor = function (rgba, cal) { - if ($(cal).data('wcolpick').enableAlpha) { - if (isInternetExplorer()) { //Compatibility with IE 6-9 - var end = rgbaToHex(rgba).substring(0,6); - $(cal).data('wcolpick').alphaBar.attr('style','filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr=0,endColorstr=#'+end+'); -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr=0,endColorstr=#'+end+')";'); - } else { - var begin = 'rgba('+rgba.r+','+rgba.g+','+rgba.b+',0)', end = 'rgba('+rgba.r+','+rgba.g+','+rgba.b+',1)'; - } $(cal).data('wcolpick').alphaBar.attr('style','background:-webkit-linear-gradient(left,'+begin+' 0%,'+end+' 100%); background:-moz-linear-gradient(left,'+begin+' 0%,'+end+' 100%); background:-ms-linear-gradient(left,'+begin+' 0%,'+end+' 100%); background:-o-linear-gradient(left,'+begin+' 0%,'+end+' 100%); background:linear-gradient(to right,'+begin+' 0%,'+end+' 100%);'); - } - }, - //Set current and new colors - setCurrentColor = function (rgba, cal) { - $(cal).data('wcolpick').currentColor.css('backgroundColor', 'rgba('+rgba.r+','+rgba.g+','+rgba.b+','+rgba.a+')'); - }, - setNewColor = function (rgba, cal) { - $(cal).data('wcolpick').newColor.css('backgroundColor', 'rgba('+rgba.r+','+rgba.g+','+rgba.b+','+rgba.a+')'); - }, - //Called when the new color is changed - change = function () { - var cal = $(this).parent().parent(), hsba, rgba, hex; - if (this.parentNode.className.indexOf('_alpha') > 0) { - hsba = { - h: cal.data('wcolpick').color.h, - s: cal.data('wcolpick').color.s, - b: cal.data('wcolpick').color.b, - a: fixAlpha(cal.data('wcolpick').fields.eq(7).val()/100) - }; - rgba = hsbaToRgba(hsba); - hex = rgbaToHex(rgba); - } else if (this.parentNode.className.indexOf('_hex') > 0) { - rgba = hexToRgba(adaptHex(cal.data('wcolpick').fields.eq(0).val(), cal)); - hsba = rgbaToHsba(rgba); - hex = rgbaToHex(rgba); - } else if (this.parentNode.className.indexOf('_hsb') > 0) { - hsba = fixHSBA({ - h: Math.round(cal.data('wcolpick').fields.eq(4).val()), - s: Math.round(cal.data('wcolpick').fields.eq(5).val()), - b: Math.round(cal.data('wcolpick').fields.eq(6).val()), - a: cal.data('wcolpick').color.a - }); - rgba = hsbaToRgba(hsba); - hex = rgbaToHex(rgba); - } else { - rgba = fixRGBA({ - r: Math.round(cal.data('wcolpick').fields.eq(1).val()), - g: Math.round(cal.data('wcolpick').fields.eq(2).val()), - b: Math.round(cal.data('wcolpick').fields.eq(3).val()), - a: cal.data('wcolpick').color.a - }); - hsba = rgbaToHsba(rgba); - hex = rgbaToHex(rgba); - } - //Store new color - cal.data('wcolpick').color = cloneHSBA(hsba, true); - //Show new color - setNewColor(rgba, cal.get(0)); - //Fill fields with new color - fillHSBFields(hsba, cal.get(0)); - fillAlphaField(hsba, cal.get(0)); - fillRGBFields(rgba, cal.get(0)); - fillHexField(hex, cal.get(0)); - //Setup other elements with new color - setSelectorPos(hsba, cal.get(0)); - setSelectorColor(hsba, cal.get(0)); - setHuePos(hsba, cal.get(0)); - setAlphaPos(hsba, cal.get(0)); - setAlphaColor(rgba, cal.get(0)); - //Fires onChange (bySetColor = false) - var hsla = hsbaToHsla(hsba); - cal.data('wcolpick').onChange.apply(cal.parent(), [{bySetColor:false, colorDiv:cal.get(0), el:cal.data('wcolpick').el, hex:hex.substring(0,6), hexa:hex, hsb:cloneHSBA(hsba, false), hsba:hsba, hsl:cloneHSLA(hsla, false), hsla:hsla, rgb:cloneRGBA(rgba, false), rgba:rgba}]); - }, - //Change style on blur and on focus of inputs - blur = function () { - $(this).parent().removeClass('wcolpick_focus'); - }, - focus = function () { - $(this).parent().parent().data('wcolpick').fields.parent().removeClass('wcolpick_focus'); - $(this).parent().addClass('wcolpick_focus'); - }, - //Increment/decrement arrows functions - downIncrement = function (ev) { - ev.preventDefault ? ev.preventDefault() : ev.returnValue = false; - var field = $(this).parent().find('input').focus(); - var current = { - el: $(this).parent().addClass('wcolpick_changing'), - max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : (this.parentNode.className.indexOf('_alpha') > 0 ? 100 : 255)), - y: ev.pageY, - field: field, - val: Math.round(field.val()), - preview: $(this).parent().parent().data('wcolpick').livePreview - }; - $(document).mouseup(current, upIncrement); - $(document).mousemove(current, moveIncrement); - }, - moveIncrement = function (ev) { - //livePreview = true: update colors | livePreview = false: update only field's value - ev.data.field.val(fixVal(Math.round(ev.data.val - ev.pageY + ev.data.y), 0, ev.data.max)); - if (ev.data.preview) change.apply(ev.data.field.get(0)); - return false; - }, - upIncrement = function (ev) { - //livePreview = true: do nothing | livePreview = false: update colors - if (!ev.data.preview) change.apply(ev.data.field.get(0)); - ev.data.el.removeClass('wcolpick_changing').find('input').focus(); - $(document).off('mouseup', upIncrement); - $(document).off('mousemove', moveIncrement); - return false; - }, - //Alpha slider functions - downAlpha = function (ev) { - ev.preventDefault ? ev.preventDefault() : ev.returnValue = false; - var current = { - cal: $(this).parent(), - x: $(this).offset().left, - preview: $(this).parent().data('wcolpick').livePreview - }; - $(document).on('mouseup touchend',current,upAlpha); - $(document).on('mousemove touchmove',current,moveAlpha); - //Update alpha value with selected value - var pageX = ((ev.type == 'touchstart') ? ev.originalEvent.changedTouches[0].pageX : ev.pageX); - change.apply( - current.cal.data('wcolpick').fields - .eq(7).val(Math.round(100 * fixVal(pageX - current.x, 0, current.cal.data('wcolpick').size) / current.cal.data('wcolpick').size)) - .get(0) - ); - return false; - }, - moveAlpha = function (ev) { - var pageX = ((ev.type == 'touchmove') ? ev.originalEvent.changedTouches[0].pageX : ev.pageX); - var alpha = Math.round(100 * fixVal(pageX - ev.data.x, 0, ev.data.cal.data('wcolpick').size) / ev.data.cal.data('wcolpick').size); - //livePreview = true: update colors | livePreview = false: update only position - if (ev.data.preview) change.apply(ev.data.cal.data('wcolpick').fields.eq(7).val(alpha).get(0)); - else setAlphaPos({a:alpha/100}, ev.data.cal.get(0)); - return false; - }, - upAlpha = function (ev) { - //livePreview = true: do nothing | livePreview = false: update colors - if (!ev.data.preview) { - var pageX = ((ev.type == 'touchend') ? ev.originalEvent.changedTouches[0].pageX : ev.pageX); - change.apply( - ev.data.cal.data('wcolpick').fields - .eq(7).val(Math.round(100 * fixVal(pageX - ev.data.x, 0, ev.data.cal.data('wcolpick').size) / ev.data.cal.data('wcolpick').size)) - .get(0) - ); - } - $(document).off('mouseup touchend',upAlpha); - $(document).off('mousemove touchmove',moveAlpha); - return false; - }, - //Hue slider functions - downHue = function (ev) { - ev.preventDefault ? ev.preventDefault() : ev.returnValue = false; - var current = { - cal: $(this).parent(), - y: $(this).offset().top, - preview: $(this).parent().data('wcolpick').livePreview - }; - $(document).on('mouseup touchend',current,upHue); - $(document).on('mousemove touchmove',current,moveHue); - //Update hue value with selected value - var pageY = ((ev.type == 'touchstart') ? ev.originalEvent.changedTouches[0].pageY : ev.pageY); - change.apply( - current.cal.data('wcolpick').fields - .eq(4).val(Math.round(360 * (current.cal.data('wcolpick').size - fixVal(pageY - current.y, 0, current.cal.data('wcolpick').size)) / current.cal.data('wcolpick').size)) - .get(0) - ); - return false; - }, - moveHue = function (ev) { - var pageY = ((ev.type == 'touchmove') ? ev.originalEvent.changedTouches[0].pageY : ev.pageY); - var hue = Math.round(360 * (ev.data.cal.data('wcolpick').size - fixVal(pageY - ev.data.y, 0, ev.data.cal.data('wcolpick').size)) / ev.data.cal.data('wcolpick').size); - //livePreview = true: update colors | livePreview = false: update only position - if (ev.data.preview) change.apply(ev.data.cal.data('wcolpick').fields.eq(4).val(hue).get(0)); - else setHuePos({h:hue}, ev.data.cal.get(0)); - return false; - }, - upHue = function (ev) { - //livePreview = true: do nothing | livePreview = false: update colors - if (!ev.data.preview) { - var pageY = ((ev.type == 'touchend') ? ev.originalEvent.changedTouches[0].pageY : ev.pageY); - change.apply( - ev.data.cal.data('wcolpick').fields - .eq(4).val(Math.round(360 * (ev.data.cal.data('wcolpick').size - fixVal(pageY - ev.data.y, 0, ev.data.cal.data('wcolpick').size)) / ev.data.cal.data('wcolpick').size)) - .get(0) - ); - } - $(document).off('mouseup touchend',upHue); - $(document).off('mousemove touchmove',moveHue); - return false; - }, - //Color selector functions - downSelector = function (ev) { - ev.preventDefault ? ev.preventDefault() : ev.returnValue = false; - var current = { - cal: $(this).parent(), - pos: $(this).offset(), - preview: $(this).parent().data('wcolpick').livePreview - }; - $(document).on('mouseup touchend',current,upSelector); - $(document).on('mousemove touchmove',current,moveSelector); - //Update saturation and brightness with selected values - var pageX, pageY; - if(ev.type == 'touchstart') {pageX = ev.originalEvent.changedTouches[0].pageX; pageY = ev.originalEvent.changedTouches[0].pageY;} else {pageX = ev.pageX; pageY = ev.pageY;} - change.apply( - current.cal.data('wcolpick').fields - .eq(6).val(Math.round(100 * (current.cal.data('wcolpick').size - fixVal(pageY - current.pos.top, 0, current.cal.data('wcolpick').size)) / current.cal.data('wcolpick').size)).end() - .eq(5).val(Math.round(100 * fixVal(pageX - current.pos.left, 0, current.cal.data('wcolpick').size) / current.cal.data('wcolpick').size)) - .get(0) - ); - return false; - }, - moveSelector = function (ev) { - var pageX, pageY; - if(ev.type == 'touchmove') {pageX = ev.originalEvent.changedTouches[0].pageX; pageY = ev.originalEvent.changedTouches[0].pageY;} else {pageX = ev.pageX; pageY = ev.pageY;} - var saturation = Math.round(100 * fixVal(pageX - ev.data.pos.left, 0, ev.data.cal.data('wcolpick').size) / ev.data.cal.data('wcolpick').size); - var brightness = Math.round(100 * (ev.data.cal.data('wcolpick').size - fixVal(pageY - ev.data.pos.top, 0, ev.data.cal.data('wcolpick').size)) / ev.data.cal.data('wcolpick').size); - //livePreview = true: update colors | livePreview = false: update only position - if (ev.data.preview) change.apply(ev.data.cal.data('wcolpick').fields.eq(6).val(brightness).end().eq(5).val(saturation).get(0)); - else setSelectorPos({s:saturation, b:brightness}, ev.data.cal.get(0)); - return false; - }, - upSelector = function (ev) { - //livePreview = true: do nothing | livePreview = false: update colors - if (!ev.data.preview) { - var pageX, pageY; - if(ev.type == 'touchend') {pageX = ev.originalEvent.changedTouches[0].pageX; pageY = ev.originalEvent.changedTouches[0].pageY; } else { pageX = ev.pageX; pageY = ev.pageY;} - change.apply( - ev.data.cal.data('wcolpick').fields - .eq(6).val(Math.round(100 * (ev.data.cal.data('wcolpick').size - fixVal(pageY - ev.data.pos.top, 0, ev.data.cal.data('wcolpick').size)) / ev.data.cal.data('wcolpick').size)).end() - .eq(5).val(Math.round(100 * fixVal(pageX - ev.data.pos.left, 0, ev.data.cal.data('wcolpick').size) / ev.data.cal.data('wcolpick').size)) - .get(0) - ); - } - $(document).off('mouseup touchend',upSelector); - $(document).off('mousemove touchmove',moveSelector); - return false; - }, - //Change values of the fields with up/down keys - keyDownFields = function(ev) { - if ($(this).parent().parent().data('wcolpick').enableUpDown) { - //Not triggered for hexadecimal field (there is no standard to define an order among the colors) - if (this.parentNode.className.indexOf('_hex_field') == -1) { - if (ev.which == 38 || ev.which == 40) { - ev.preventDefault(); - //Get the value from the selected element - var value = $(this).val(); - if (ev.which == 38) value++; //Up - else value--; //Down - //Set the new value and apply changes - change.apply($(this).val(value).get(0)); - } - } - } - }, - //Submit button - clickSubmit = function () { - var cal = $(this).parent(); - var hsba = cloneHSBA(cal.data('wcolpick').color, true); - var rgba = hsbaToRgba(hsba); - var hex = rgbaToHex(rgba); - cal.data('wcolpick').origColor = cloneHSBA(hsba, true); - setCurrentColor(rgba, cal.get(0)); - //Fires onSubmit - var hsla = hsbaToHsla(hsba); - cal.data('wcolpick').onSubmit({colorDiv:cal.get(0), el:cal.data('wcolpick').el, hex:hex.substring(0,6), hexa:hex, hsb:cloneHSBA(hsba, false), hsba:hsba, hsl:cloneHSLA(hsla, false), hsla:hsla, rgb:cloneRGBA(rgba, false), rgba:rgba}); - }, - //Restore original color by clicking on current color - restoreOriginal = function () { - var cal = $(this).parent().parent(); - var hsba = cloneHSBA(cal.data('wcolpick').origColor, true); - var rgba = hsbaToRgba(hsba); - var hex = rgbaToHex(rgba); - cal.data('wcolpick').color = cloneHSBA(hsba, true); - //Reapplies current color to all elements - fillHexField(hex, cal.get(0)); - fillRGBFields(rgba, cal.get(0)); - fillHSBFields(hsba, cal.get(0)); - fillAlphaField(hsba, cal.get(0)); - setSelectorPos(hsba, cal.get(0)); - setSelectorColor(hsba, cal.get(0)); - setHuePos(hsba, cal.get(0)); - setAlphaPos(hsba, cal.get(0)); - setAlphaColor(rgba, cal.get(0)); - setNewColor(rgba, cal.get(0)); - //Fires onChange (bySetColor = false) - var hsla = hsbaToHsla(hsba); - cal.data('wcolpick').onChange.apply(cal.parent(), [{bySetColor:false, colorDiv:cal.get(0), el:cal.data('wcolpick').el, hex:hex.substring(0,6), hexa:hex, hsb:cloneHSBA(hsba, false), hsba:hsba, hsl:cloneHSLA(hsla, false), hsla:hsla, rgb:cloneRGBA(rgba, false), rgba:rgba}]); - }, - //Fix alpha value, if the user enters a wrong value - fixAlpha = function (alpha) { - return fixVal(isNaN(alpha) ? 1 : alpha, 0, 1); - }, - //Remove alpha from hexadecimal, if alpha channel is disabled - adaptHex = function (hex, cal) { - if (hex === undefined) hex = '000000ff'; - if (!cal.data('wcolpick').enableAlpha) { - hex = removeAlpha(hex); - } - return hex; - }, - //Remove alpha value from hexadecimals/objects - removeAlpha = function (col) { - if (col !== undefined) { - if (typeof col === 'string') { - if (col.indexOf('#') != 0) { - if (col.length == 4) col = col.substring(0,3); - if (col.length == 8) col = col.substring(0,6); - } else { - if (col.length == 5) col = col.substring(0,4); - if (col.length == 9) col = col.substring(0,7); - } - } else if (col.a !== undefined) col.a = 1; - } - return col; - }, - //Clone color objects - cloneRGBA = function (rgba, withAlpha) { - if (rgba === undefined) return {r:0, g:0, b:0, a:1}; - if (withAlpha) { - if (rgba.a === undefined) return {r:rgba.r, g:rgba.g, b:rgba.b, a:1}; - else return {r:rgba.r, g:rgba.g, b:rgba.b, a:rgba.a}; - } else return {r:rgba.r, g:rgba.g, b:rgba.b}; - }, - cloneHSBA = function (hsba, withAlpha) { - if (hsba === undefined) return {h:0, s:0, b:0, a:1}; - if (withAlpha) { - if (hsba.a === undefined) return {h:hsba.h, s:hsba.s, b:hsba.b, a:1}; - else return {h:hsba.h, s:hsba.s, b:hsba.b, a:hsba.a}; - } else return {h:hsba.h, s:hsba.s, b:hsba.b}; - }, - cloneHSLA = function (hsla, withAlpha) { - if (hsla === undefined) return {h:0, s:0, l:0, a:1}; - if (withAlpha) { - if (hsla.a === undefined) return {h:hsla.h, s:hsla.s, l:hsla.l, a:1}; - else return {h:hsla.h, s:hsla.s, l:hsla.l, a:hsla.a}; - } else return {h:hsla.h, s:hsla.s, l:hsla.l}; - }, - //Compare color objects - compareHSBA = function (hsba1, hsba2) { - if (hsba1 === undefined || hsba2 === undefined) return false; - return (hsba1.h == hsba2.h && hsba1.s == hsba2.s && hsba1.b == hsba2.b && hsba1.a == hsba2.a); - }, - //Shows/hides the color picker - show = function (ev) { - //Prevent the trigger of any direct parent - if (ev) ev.stopPropagation(); - //cal is the color picker (dom object) - var cal = $('#' + $(this).data('wcolpickId')), overridePos = {}; - //Trying to access to a property (e.g. color) and, if is generated an error, abort! - try {var temp = cal.data('wcolpick').color;} - catch (e) {return this;} - //Polyfill fixes - if (ev && !cal.data('wcolpick').polyfill) ev.preventDefault(); - //Fires onBeforeShow - cal.data('wcolpick').onBeforeShow.apply(this, [{colorDiv:cal.get(0), el:cal.data('wcolpick').el, overridePos:overridePos}]); - //If flat is true, simply shows the color picker! - if (cal.data('wcolpick').flat) { - //Fires onShow - if (!(cal.data('wcolpick').onShow.apply(this, [{colorDiv:cal.get(0), el:cal.data('wcolpick').el}]) != false)) return this; - //Shows the picker and terminates - cal.show(); - return; - } - //Positions the color picker... - if (overridePos.left === undefined || isNaN(overridePos.left) || overridePos.top === undefined || isNaN(overridePos.top)) { - //Calculates the correctly position - var finalPos = {top:0, left:0}, pos = cal.data('wcolpick').appendedToBody ? $(this).offset() : $(this).position(); - if (cal.data('wcolpick').position == 'center') { //... on center of viewport - //Positions the color picker on top-left corner of viewport - finalPos.top = pos.top - ($(this).offset().top - $(window).scrollTop()); - finalPos.left = pos.left - ($(this).offset().left - $(window).scrollLeft()); - //Positions the color picker on center of viewport by adding coordinates - var centerViewport = {top:$(window).height()/2, left:$(window).width()/2}; - finalPos.top += centerViewport.top - cal.outerHeight()/2; - finalPos.left += centerViewport.left - cal.outerWidth()/2; - } else { //... automatically (default) - //Positions the color picker under his related html object - finalPos.top = pos.top + this.offsetHeight; - finalPos.left = pos.left; - //Fixes, if the color picker is showing outside of viewport - if (outOfViewportHeight(cal, $(this), this) && $(this).offset().top - $(window).scrollTop() >= cal.outerHeight()) { - finalPos.top -= (cal.outerHeight() + this.offsetHeight); - } - if (outOfViewportWidth(cal, $(this))) { - if ($(this).offset().left - $(window).scrollLeft() + this.offsetWidth >= cal.outerWidth()) { - finalPos.left -= (cal.outerWidth() - this.offsetWidth); - } else { - var leftMargin = $(this).offset().left - $(window).scrollLeft(); - var outWidth = leftMargin + cal.outerWidth() - $(window).width(); - if (leftMargin > outWidth) { finalPos.left -= outWidth; } else { finalPos.left -= leftMargin; } - } - } - } - //Applies the result - cal.css({top: finalPos.top + 'px', left: finalPos.left + 'px'}); - } else { - //Applies the user-defined position - cal.css({top: overridePos.top + 'px', left: overridePos.left + 'px'}); - } - //Fires onShow - if (!(cal.data('wcolpick').onShow.apply(this, [{colorDiv:cal.get(0), el:cal.data('wcolpick').el}]) != false)) return this; - //Shows the picker - cal.show(); - //Hides when user clicks outside - $('html').mousedown({cal:cal}, hide); - cal.mousedown(function(ev){ev.stopPropagation();}) - }, - hide = function (ev) { - var cal = $('#' + $(this).data('wcolpickId')); - if (ev) cal = ev.data.cal; - //Trying to access to a property (e.g. color) and, if is generated an error, abort! - try {var temp = cal.data('wcolpick').color;} - catch (e) {return this;} - //Fires onHide - if (!(cal.data('wcolpick').onHide.apply(this, [{colorDiv:cal.get(0), el:cal.data('wcolpick').el}]) != false)) return this; - //Hides the picker - cal.hide(); - $('html').off('mousedown', hide); - }, - //Detect if the color picker is out of viewport - outOfViewportHeight = function (cal, wrapEl, domEl) { - var calViewTop = wrapEl.offset().top - $(window).scrollTop() + domEl.offsetHeight; //Top of the color picker in viewport - var calHeight = cal.outerHeight(); //Height of the color picker - var viewHeight = $(window).height(); //Viewport height - return (calViewTop + calHeight > viewHeight); - }, - outOfViewportWidth = function (cal, wrapEl) { - var calViewLeft = wrapEl.offset().left - $(window).scrollLeft(); //Left of the color picker in viewport - var calWidth = cal.outerWidth(); //Width of the color picker - var viewWidth = $(window).width(); //Viewport width - return (calViewLeft + calWidth > viewWidth); - }, - //Destroys the color picker - destroy = function (ev) { - var cal = $('#' + $(this).data('wcolpickId')); - if (ev) cal = ev.data.cal; - //Fires onDestroy - if (!(cal.data('wcolpick').onDestroy.apply(this, [{colorDiv:cal.get(0), el:cal.data('wcolpick').el}]) != false)) return this; - //Destroys the picker - cal.remove(); - //Prevent firing of hide event on a destroyed object! //bySetColor - $('html').off('mousedown', hide); - }, - //Generate a random unique id - getUniqueID = (function () { - var cnt = Math.round(Math.random() * 10000); - return function () { - cnt += 1; - return cnt; - }; - })(), - //Used to detect if the browser in use is Microsoft Internet Explorer - isInternetExplorer = function () { - var isIE = (navigator.appName === 'Microsoft Internet Explorer'); - if (!isIE) return false; - var UA = navigator.userAgent.toLowerCase(); - var IEver = parseFloat(UA.match( /msie ([0-9]{1,}[\.0-9]{0,})/ )[1]); - var ngIE = (isIE && IEver < 10); - return ngIE; - }; - return { - init: function (opt) { - opt = $.extend({}, defaults, opt||{}); - //Set color - if (typeof opt.color === 'string') opt.color = hexToHsba(opt.color); - else if (opt.color.r !== undefined && opt.color.g !== undefined && opt.color.b !== undefined) opt.color = rgbaToHsba(fixRGBA(opt.color)); - else if (opt.color.h !== undefined && opt.color.s !== undefined && opt.color.b !== undefined) opt.color = fixHSBA(opt.color); - else if (opt.color.h !== undefined && opt.color.s !== undefined && opt.color.l !== undefined) opt.color = hslaToHsba(fixHSLA(opt.color)); - else opt.color = {h:0, s:0, b:0, a:1}; //Black = Error color - //Normalizes string options - opt.arrowsColor = opt.arrowsColor.toLowerCase(); - opt.checkersColor = opt.checkersColor.toLowerCase(); - opt.colorScheme = opt.colorScheme.toLowerCase(); - opt.layout = opt.layout.toLowerCase(); - opt.position = opt.position.toLowerCase(); - opt.showEvent = opt.showEvent.toLowerCase(); - opt.submitColor = opt.submitColor.toLowerCase(); - opt.variant = opt.variant.toLowerCase(); - if (typeof opt.fieldsBackground === 'string') opt.fieldsBackground = opt.fieldsBackground.toLowerCase(); - if (typeof opt.submitBackground === 'string') opt.submitBackground = opt.submitBackground.toLowerCase(); - //For each selected DOM element - return this.each(function () { - //If the element does not have an ID - if (!$(this).data('wcolpickId')) { - var options = $.extend({}, opt); - //Fixes color if alpha is disabled - if (!opt.enableAlpha) opt.color = removeAlpha(opt.color); - //Setup current color - options.origColor = cloneHSBA(opt.color, true); - // Set polyfill - if (typeof opt.polyfill == 'function') options.polyfill = opt.polyfill(this); - //Input field operations - options.input = $(this).is('input'); - //Polyfill fixes - if (options.polyfill && options.input && this.type === 'color') return; - //Generate and assign a random ID - var id = 'colorpicker_' + getUniqueID(); - $(this).data('wcolpickId', id); - //Set the tpl's ID and get the HTML - var cal = $(tpl).attr('id', id); - //Setup size of the selected variant (Add other "else-if" for other future variants) - if (options.variant == 'small') options.size = 160; //Small Version! - else if (options.variant == 'extra-large') options.size = 300; //Extra Large Version! - else options.size = 225; //Standard Version (default)! - //Loading the choosen layout - if (options.variant == 'small') { //Add class according to layout (small) - cal.addClass('wcolpickS wcolpickS_'+options.layout+(options.enableSubmit?'':' wcolpickS_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpickS_noalpha wcolpickS_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpickS_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } else if (options.variant == 'extra-large') { //Add class according to layout (extra-large) - cal.addClass('wcolpickXL wcolpickXL_'+options.layout+(options.enableSubmit?'':' wcolpickXL_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpickXL_noalpha wcolpickXL_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpickXL_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } else { //Add class according to layout (default -> standard) - cal.addClass('wcolpick_'+options.layout+(options.enableSubmit?'':' wcolpick_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpick_noalpha wcolpick_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpick_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } - //Loading Compact layout, if requested - if (options.compactLayout) { - if (options.variant == 'small') { //Add class according to layout (small) - cal.addClass('wcolpickS_compact wcolpickS_compact_'+options.layout+(options.enableSubmit?'':' wcolpickS_compact_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpickS_compact_noalpha wcolpickS_compact_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpickS_compact_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } else if (options.variant == 'extra-large') { //Add class according to layout (extra-large) - cal.addClass('wcolpickXL_compact wcolpickXL_compact_'+options.layout+(options.enableSubmit?'':' wcolpickXL_compact_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpickXL_compact_noalpha wcolpickXL_compact_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpickXL_compact_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } else { //Add class according to layout (default -> standard) - cal.addClass('wcolpick_compact wcolpick_compact_'+options.layout+(options.enableSubmit?'':' wcolpick_compact_'+options.layout+'_ns')); - if(!options.enableAlpha) cal.addClass('wcolpick_compact_noalpha wcolpick_compact_'+options.layout+'_noalpha'+(options.enableSubmit?'':' wcolpick_compact_'+options.layout+'_noalpha_ns')); //Disable alpha channel, if requested - } - } - //Loading the choosen color scheme - if (options.colorScheme.indexOf('light') == 0) { //All light color schemes start with "light" - cal.addClass('wcolpick_light'); //Loading default light color scheme - if(options.colorScheme != 'light') cal.addClass('wcolpick_'+options.colorScheme); //Loading light-based color scheme - //INFO: You can implement light-based color schemes, in css, naming them: light-[name] (IMPORTANT: Use only lowercase names!) - } else if (options.colorScheme.indexOf('dark') == 0) { //All dark color schemes start with "dark" - cal.addClass('wcolpick_dark'); //Loading default dark color scheme - if(options.colorScheme != 'dark') cal.addClass('wcolpick_'+options.colorScheme); //Loading dark-based color scheme - //INFO: You can implement dark-based color schemes, in css, naming them: dark-[name] (IMPORTANT: Use only lowercase names!) - } else { //If the scheme does not starts with "light" or "dark" - cal.addClass('wcolpick_light'); //Loading default color scheme for all (light) - cal.addClass('wcolpick_'+options.colorScheme); //Loading the "strange" color scheme - } - //Change color scheme for arrows, if requested - if (options.arrowsColor == 'light') cal.addClass('wcolpick_lightArrs'); - else if (options.arrowsColor == 'dark') cal.addClass('wcolpick_darkArrs'); - //Change color scheme for checkerboards, if requested - if (options.checkersColor == 'light') cal.addClass('wcolpick_lightCheckerboards'); - else if (options.checkersColor == 'dark') cal.addClass('wcolpick_darkCheckerboards'); - //Change color scheme for submit button, if requested - if (options.submitColor == 'light') cal.addClass('wcolpick_lightSubmit'); - else if (options.submitColor == 'dark') cal.addClass('wcolpick_darkSubmit'); - //Hide outlines, if requested - if (!options.colorSelOutline) cal.addClass('wcolpick_noCSOutline'); - if (!options.hueOutline) cal.addClass('wcolpick_noHOutline'); - if (!options.alphaOutline) cal.addClass('wcolpick_noAOutline'); - if (!options.colorOutline) cal.addClass('wcolpick_noNCOutline'); - //Set border width - cal.css('border-width', options.border + 'px'); - //Setup submit button - options.submit = cal.find('div.wcolpick_submit').click(clickSubmit); - //Setup input fields - options.fields = cal.find('input').change(change).keydown(keyDownFields).blur(blur).focus(focus); - //If alpha channel is disabled, set hex field maxlength to 6 - if (!options.enableAlpha) options.fields.eq(0).prop('maxlength', 6); - //Setup readonly attribute to fields - for (var i = 0; i < 8; i++) options.fields.eq(i).prop('readonly', options.readonlyFields); - if (options.readonlyHexField) options.fields.eq(0).prop('readonly', options.readonlyHexField); - //Setup color of fields, submit button, external border, and background (if a color is different than default, it will override the default color) - if (options.fieldsBackground != 'default') { - var colstr = encodeToCSS(options.fieldsBackground); - for (var i = 0; i < 8; i++) options.fields.eq(i).parent().css('background',colstr); - } - if (options.submitBackground != 'default') options.submit.css('background',encodeToCSS(options.submitBackground)); - if (options.backgroundColor != 'default') cal.css('background',encodeToCSS(options.backgroundColor)); - if (options.borderColor != 'default') cal.css('borderColor',encodeToCSS(options.borderColor)); - //Setup restoreOriginal to current color's click event - cal.find('div.wcolpick_field_arrs').mousedown(downIncrement).end().find('div.wcolpick_current_color').click(restoreOriginal); - //Setup color selector - options.selector = cal.find('div.wcolpick_color').on('mousedown touchstart',downSelector); - options.selectorIndic = options.selector.find('div.wcolpick_selector_outer'); - //Setup hue bar and alpha bar - options.el = this; - options.hue = cal.find('div.wcolpick_hue_arrs'); - options.hueBar = cal.find('div.wcolpick_hue_overlay'); - options.alpha = cal.find('div.wcolpick_alpha_arrs'); - options.alphaBar = cal.find('div.wcolpick_alpha_overlay'); - //Painting hue bar - var stops = ['#ff0000','#ff0080','#ff00ff','#8000ff','#0000ff','#0080ff','#00ffff','#00ff80','#00ff00','#80ff00','#ffff00','#ff8000','#ff0000']; - if (isInternetExplorer()) { //Compatibility with IE 6-9 - var i, div; - for (i=0; i<=11; i++) { - div = $('
').attr('style','height:8.333333%; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='+stops[i]+',endColorstr='+stops[i+1]+'); -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='+stops[i]+',endColorstr='+stops[i+1]+')";'); - options.hueBar.append(div); - } - } else { - var stopList = stops.join(','); - options.hueBar.attr('style','background:-webkit-linear-gradient(top,'+stopList+'); background:-moz-linear-gradient(top,'+stopList+'); background:-ms-linear-gradient(top,'+stopList+'); background:-o-linear-gradient(top,'+stopList+'); background:linear-gradient(to bottom,'+stopList+');'); - } - //Setup remaining events, new, and current color - cal.find('div.wcolpick_hue').on('mousedown touchstart',downHue); - cal.find('div.wcolpick_alpha').on('mousedown touchstart',downAlpha); - options.newColor = cal.find('div.wcolpick_new_color'); - options.currentColor = cal.find('div.wcolpick_current_color'); - //Store options - cal.data('wcolpick', options); - //Fill with default color - var rgba = hsbaToRgba(options.color); - fillHSBFields(options.color, cal.get(0)); - fillAlphaField(options.color, cal.get(0)); - fillRGBFields(rgba, cal.get(0)); - fillHexField(rgbaToHex(rgba), cal.get(0)); - setSelectorPos(options.color, cal.get(0)); - setSelectorColor(options.color, cal.get(0)); - setHuePos(options.color, cal.get(0)); - setAlphaPos(options.color, cal.get(0)); - setAlphaColor(rgba, cal.get(0)); - setCurrentColor(rgba, cal.get(0)); - setNewColor(rgba, cal.get(0)); - //Append to parent if flat=false, else show in place - if (options.flat) { - cal.appendTo(this).show(); - cal.css({position: 'relative', display: 'block'}); - } else { - cal.data('wcolpick').appendedToBody = options.appendToBody; - if (!options.appendToBody) cal.appendTo($(this).parent()); - else cal.appendTo(document.body); - $(this).on(options.showEvent, show); - cal.css({position: 'absolute'}); - } - //Loading completed - cal.data('wcolpick').onLoaded.apply(cal.parent(), [{colorDiv:cal.get(0), el:cal.data('wcolpick').el}]); - } - }); - }, - //Shows the picker - showColpick: function() { - return this.each( function () { - if ($(this).data('wcolpickId')) { - show.apply(this); - } - }); - }, - //Hides the picker - hideColpick: function() { - return this.each( function () { - if ($(this).data('wcolpickId')) { - hide.apply(this); - } - }); - }, - //Destroys the picker - destroyColpick: function() { - return this.each( function () { - if ($(this).data('wcolpickId')) { - destroy.apply(this); - } - }); - }, - //Sets a color as new and current (Default: Set only as new color) - setColpickColor: function(col, setCurrent) { - if (col !== undefined) { //If color is undefined, do nothing! - if (typeof col === 'string') col = hexToHsba(col); - else if (col.r !== undefined && col.g !== undefined && col.b !== undefined) col = rgbaToHsba(fixRGBA(col)); - else if (col.h !== undefined && col.s !== undefined && col.b !== undefined) col = fixHSBA(col); - else if (col.h !== undefined && col.s !== undefined && col.l !== undefined) col = hslaToHsba(fixHSLA(col)); - else return this; //If color is not recognized, do nothing! - if (setCurrent === undefined) setCurrent = false; //Default: Set only as new color - return this.each(function(){ - if ($(this).data('wcolpickId')) { - var cal = $('#' + $(this).data('wcolpickId')); - //Fixes color if alpha is disabled - if (!cal.data('wcolpick').enableAlpha) col = removeAlpha(col); - //Check if the color is actually changed and, if is true, do nothing! - if (setCurrent) { if (compareHSBA(col, cal.data('wcolpick').color) && compareHSBA(col, cal.data('wcolpick').origColor)) return this; } - else { if (compareHSBA(col, cal.data('wcolpick').color)) return this; } - //Setup new color - cal.data('wcolpick').color = cloneHSBA(col, true); - var rgba = hsbaToRgba(col); - var hex = rgbaToHex(rgba); - //Applies color to all elements - fillHSBFields(col, cal.get(0)); - fillAlphaField(col, cal.get(0)); - fillRGBFields(rgba, cal.get(0)); - fillHexField(hex, cal.get(0)); - setSelectorPos(col, cal.get(0)); - setSelectorColor(col, cal.get(0)); - setHuePos(col, cal.get(0)); - setAlphaPos(col, cal.get(0)); - setAlphaColor(rgba, cal.get(0)); - setNewColor(rgba, cal.get(0)); - //If setCurrent is "true", sets the color as current - if (setCurrent) { - cal.data('wcolpick').origColor = cloneHSBA(col, true); - setCurrentColor(rgba, cal.get(0)); - } - //Fires onChange (bySetColor = true) - var hsla = hsbaToHsla(col); - cal.data('wcolpick').onChange.apply(cal.parent(), [{bySetColor:true, colorDiv:cal.get(0), el:cal.data('wcolpick').el, hex:hex.substring(0,6), hexa:hex, hsb:cloneHSBA(col, false), hsba:col, hsl:cloneHSLA(hsla, false), hsla:hsla, rgb:cloneRGBA(rgba, false), rgba:rgba}]); - } - }); - } - }, - //Returns the selected color (Default: Hsb color with alpha value, and get new color (not current)) - getColpickColor: function(type, getCurrent) { - var cal = $('#' + $(this).data('wcolpickId')); - if (getCurrent === undefined) getCurrent = false; //Default: Get new color (not current) - if (type === undefined) type = 'hsba'; //Default: Hsb color with alpha value - var withAlpha = (type.indexOf('a') != -1); - //Getting the color - var col = getCurrent ? cloneHSBA(cal.data('wcolpick').origColor, true) : cloneHSBA(cal.data('wcolpick').color, true); - if (type.indexOf('rgb') != -1) { - var rgba = hsbaToRgba(col); - return withAlpha ? {r:rgba.r, g:rgba.g, b:rgba.b, a:rgba.a} : {r:rgba.r, g:rgba.g, b:rgba.b}; - } else if (type.indexOf('hsl') != -1) { - var hsla = hsbaToHsla(col); - return withAlpha ? {h:hsla.h, s:hsla.s, l:hsla.l, a:hsla.a} : {h:hsla.h, s:hsla.s, l:hsla.l}; - } else if (type.indexOf('hex') != -1) return withAlpha ? hsbaToHex(col) : hsbaToHex(col).substring(0,6); - else return withAlpha ? {h:col.h, s:col.s, b:col.b, a:col.a} : {h:col.h, s:col.s, b:col.b}; - } - }; - }(); - //Color space convertions - var hexToRgba = function (hex) { - if (hex === undefined) return {r:0, g:0, b:0, a:1}; - if (hex.indexOf('#') == 0) hex = hex.substring(1); - if (isValidHex(hex)) { - if (hex.length == 3) hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2] + 'ff'; - else if (hex.length == 4) hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2] + hex[3] + hex[3]; - else if (hex.length == 6) hex = hex + 'ff'; - else if (hex.length != 8) return {r:0, g:0, b:0, a:1}; - } else { return {r:0, g:0, b:0, a:1}; } - var hexI = parseInt(hex,16); - var rgba = {r: hexI >>> 24, g: (hexI & 0x00FF0000) >>> 16, b: (hexI & 0x0000FF00) >>> 8, a: (hexI & 0x000000FF) / 255}; - return rgba; - }; - var hexToHsba = function (hex) { - return rgbaToHsba(hexToRgba(hex)); - }; - var hexToHsla = function (hex) { - return rgbaToHsla(hexToRgba(hex)); - }; - var rgbaToHex = function (rgba) { - if (rgba === undefined) return '000000ff'; - if (rgba.a === undefined) rgba.a = 1; - var a = Math.round(rgba.a * 255); - var hex = [ rgba.r.toString(16), rgba.g.toString(16), rgba.b.toString(16), a.toString(16) ]; - $.each(hex, function (nr, val) { - if (val.length == 1) hex[nr] = '0' + val; - }); - return hex.join(''); - }; - var rgbaToHsba = function (rgba) { - if (rgba === undefined) return {h:0, s:0, b:0, a:1}; - if (rgba.a === undefined) rgba.a = 1; - var r = rgba.r / 255, g = rgba.g / 255, b = rgba.b / 255; - var min = Math.min(r, Math.min(g, b)); - var max = Math.max(r, Math.max(g, b)); - var delta = max - min; - var brightness = max; - var saturation = max != 0 ? delta / max : 0; - var hue = delta != 0 ? (r == max ? (g - b) / delta : g == max ? ((b - r) / delta) + 2 : ((r - g) / delta) + 4) * 60 : 0; - if (hue < 0) hue += 360; - return fixHSBA({h: hue, s: saturation * 100, b: brightness * 100, a: rgba.a}); - }; - var rgbaToHsla = function (rgba) { - if (rgba === undefined) return {h:0, s:0, l:0, a:1}; - if (rgba.a === undefined) rgba.a = 1; - var r = rgba.r / 255, g = rgba.g / 255, b = rgba.b / 255; - var min = Math.min(r, Math.min(g, b)); - var max = Math.max(r, Math.max(g, b)); - var delta = max - min; - var lightness = (max + min) / 2; - var saturation = delta != 0 ? delta / (1 - Math.abs(max + min - 1)) : 0; - var hue = delta != 0 ? (r == max ? (g - b) / delta : g == max ? ((b - r) / delta) + 2 : ((r - g) / delta) + 4) * 60 : 0; - if (hue < 0) hue += 360; - return fixHSLA({h: hue, s: saturation * 100, l: lightness * 100, a: rgba.a}); - }; - var hsbaToHex = function (hsba) { - return rgbaToHex(hsbaToRgba(hsba)); - }; - var hsbaToRgba = function (hsba) { - if (hsba === undefined) return {r:0, g:0, b:0, a:1}; - if (hsba.a === undefined) hsba.a = 1; - var hsbaL = {h: hsba.h, s: hsba.s / 100, b: hsba.b / 100, a: hsba.a}; - var red, green, blue; - if (hsbaL.s == 0) red = green = blue = hsbaL.b; - else - { - var t1 = hsbaL.b; - var t2 = (1 - hsbaL.s) * hsbaL.b; - var t3 = (t1 - t2) * (hsbaL.h % 60) / 60; - if (hsbaL.h < 60 || hsbaL.h == 360) { red = t1; blue = t2; green = t2 + t3; } - else if (hsbaL.h < 120) { green = t1; blue = t2; red = t1 - t3; } - else if (hsbaL.h < 180) { green = t1; red = t2; blue = t2 + t3; } - else if (hsbaL.h < 240) { blue = t1; red = t2; green = t1 - t3; } - else if (hsbaL.h < 300) { blue = t1; green = t2; red = t2 + t3; } - else { red = t1; green = t2; blue = t1 - t3; } - } - return fixRGBA({r: Math.round(red * 255), g: Math.round(green * 255), b: Math.round(blue * 255), a: hsbaL.a}); - }; - var hsbaToHsla = function (hsba) { - if (hsba === undefined) return {h:0, s:0, l:0, a:1}; - if (hsba.a === undefined) hsba.a = 1; - var hsbaL = {h: hsba.h, s: hsba.s / 100, b: hsba.b / 100, a: hsba.a}; - var lightness = hsbaL.b * (2 - hsbaL.s) / 2; - var saturation = lightness != 0 && lightness != 1 ? hsba.b * hsba.s / (1 - Math.abs((2 * lightness) - 1)) : 0; - return fixHSLA({h: hsbaL.h, s: saturation * 100, l: lightness * 100, a: hsbaL.a}); - }; - var hslaToHex = function (hsla) { - return rgbaToHex(hslaToRgba(hsla)); - }; - var hslaToRgba = function (hsla) { - if (hsla === undefined) return {r:0, g:0, b:0, a:1}; - if (hsla.a === undefined) hsla.a = 1; - var hslaL = {h: hsla.h, s: hsla.s / 100, l: hsla.l / 100, a: hsla.a}; - var red, green, blue; - var c = (1 - Math.abs(2 * hslaL.l - 1)) * hslaL.s; - var x = c * (1 - Math.abs((hslaL.h / 60 % 2) - 1)); - var m = hslaL.l - (c / 2); - if (hslaL.h < 60 || hslaL.h == 360) { red = c + m; green = x + m; blue = m; } - else if (hslaL.h < 120) { red = x + m; green = c + m; blue = m; } - else if (hslaL.h < 180) { red = m; green = c + m; blue = x + m; } - else if (hslaL.h < 240) { red = m; green = x + m; blue = c + m; } - else if (hslaL.h < 300) { red = x + m; green = m; blue = c + m; } - else { red = c + m; green = m; blue = x + m; } - return fixRGBA({r: Math.round(red * 255), g: Math.round(green * 255), b: Math.round(blue * 255), a: hslaL.a}); - }; - var hslaToHsba = function (hsla) { - if (hsla === undefined) return {h:0, s:0, b:0, a:1}; - if (hsla.a === undefined) hsla.a = 1; - var hslaL = {h: hsla.h, s: hsla.s / 100, l: hsla.l / 100, a: hsla.a}; - var brightness = ((2 * hslaL.l) + (hslaL.s * (1 - Math.abs((2 * hslaL.l) - 1)))) / 2; - var saturation = brightness != 0 ? 2 * (brightness - hslaL.l) / brightness : 0; - return fixHSBA({h: hslaL.h, s: saturation * 100, b: brightness * 100, a: hslaL.a}); - }; - //Check if a string is a valid hexadecimal string - var isValidHex = function (hex) { - if (hex === undefined) return false; - while (hex.indexOf('0') == 0) hex = hex.substring(1); - if(hex == '') hex = '0'; - return (parseInt(hex,16).toString(16) === hex.toLowerCase()); - }; - //Fix the values, if the user enters a wrong value - var fixRGBA = function (rgba) { - if (rgba === undefined) return {r:0, g:0, b:0, a:1}; - return { - r: fixVal(isNaN(rgba.r) ? 0 : rgba.r, 0, 255), - g: fixVal(isNaN(rgba.g) ? 0 : rgba.g, 0, 255), - b: fixVal(isNaN(rgba.b) ? 0 : rgba.b, 0, 255), - a: fixVal(isNaN(rgba.a) ? 1 : rgba.a, 0, 1) - }; - }; - var fixHSBA = function (hsba) { - if (hsba === undefined) return {h:0, s:0, b:0, a:1}; - return { - h: fixVal(isNaN(hsba.h) ? 0 : hsba.h, 0, 360), - s: fixVal(isNaN(hsba.s) ? 0 : hsba.s, 0, 100), - b: fixVal(isNaN(hsba.b) ? 0 : hsba.b, 0, 100), - a: fixVal(isNaN(hsba.a) ? 1 : hsba.a, 0, 1) - }; - }; - var fixHSLA = function (hsla) { - if (hsla === undefined) return {h:0, s:0, l:0, a:1}; - return { - h: fixVal(isNaN(hsla.h) ? 0 : hsla.h, 0, 360), - s: fixVal(isNaN(hsla.s) ? 0 : hsla.s, 0, 100), - l: fixVal(isNaN(hsla.l) ? 0 : hsla.l, 0, 100), - a: fixVal(isNaN(hsla.a) ? 1 : hsla.a, 0, 1) - }; - }; - var fixVal = function (val, min, max) { - return val >= max ? max : val <= min ? min : val; - }; - //Converts a color object in a css color string - var encodeToCSS = function (colobj) { - if (colobj === undefined) return 'rgb(0,0,0)'; - if (colobj.r !== undefined && colobj.g !== undefined && colobj.b !== undefined) { - var rgba = fixRGBA(colobj); - return 'rgba('+rgba.r+','+rgba.g+','+rgba.b+','+rgba.a+')'; - } else if (colobj.h !== undefined && colobj.s !== undefined && colobj.l !== undefined) { - var hsla = fixHSLA(colobj); - return 'hsla('+hsla.h+','+hsla.s+'%,'+hsla.l+'%,'+hsla.a+')'; - } else if (colobj.h !== undefined && colobj.s !== undefined && colobj.b !== undefined) { - var hsla = hsbaToHsla(fixHSBA(colobj)); - return 'hsla('+hsla.h+','+hsla.s+'%,'+hsla.l+'%,'+hsla.a+')'; - } else if (typeof colobj === 'string') { - return colobj; //If colobj is a string, returns the string untouched (maybe is a string like "green", "blue", "black", ...). - } else return 'rgb(0,0,0)'; - }; - //Converts a css color string in a color object - var decodeFromCSS = function (colstr) { - if (colstr === undefined) return {r:0, g:0, b:0, a:1}; - if (typeof colstr !== 'string') colstr = colstr.toString(); - if (colstr.indexOf('rgb') != -1) { - var elems = colstr.substring(colstr.indexOf('(')+1, colstr.indexOf(')')).split(','); - return fixRGBA({r:parseInt(elems[0]), g:parseInt(elems[1]), b:parseInt(elems[2]), a:parseFloat(elems[3])}); - } else if (colstr.indexOf('hsl') != -1) { - var elems = colstr.substring(colstr.indexOf('(')+1, colstr.indexOf(')')).split(','); - return fixHSLA({h:parseFloat(elems[0]), s:parseFloat(elems[1]), l:parseFloat(elems[2]), a:parseFloat(elems[3])}); - } else { - return hexToHsba(colstr); //Tries to treat the unidentified string as an hexadecimal string, and, in case, returns an hsba object (ready for input). - } - }; - //External accessible functions - $.fn.extend({ - loads: wcolpick.init, - shows: wcolpick.showColpick, - hides: wcolpick.hideColpick, - destroys: wcolpick.destroyColpick, - setColor: wcolpick.setColpickColor, - getColor: wcolpick.getColpickColor - }); - $.extend({ - wcolpick:{ - hexToRgba: hexToRgba, - hexToHsba: hexToHsba, - hexToHsla: hexToHsla, - rgbaToHex: rgbaToHex, - rgbaToHsba: rgbaToHsba, - rgbaToHsla: rgbaToHsla, - hsbaToHex: hsbaToHex, - hsbaToRgba: hsbaToRgba, - hsbaToHsla: hsbaToHsla, - hslaToHex: hslaToHex, - hslaToRgba: hslaToRgba, - hslaToHsba: hslaToHsba, - isValidHex: isValidHex, - encodeToCSS: encodeToCSS, - decodeFromCSS: decodeFromCSS - } - }); -})(jQuery); diff --git a/multicolor_backend_theme/static/src/xml/sidebar_menu_icon.xml b/multicolor_backend_theme/static/src/xml/sidebar_menu_icon.xml deleted file mode 100644 index 13ad5e6e9..000000000 --- a/multicolor_backend_theme/static/src/xml/sidebar_menu_icon.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -
- -
-