diff --git a/theme_diwy/README.rst b/theme_diwy/README.rst new file mode 100644 index 000000000..62f4bc47f --- /dev/null +++ b/theme_diwy/README.rst @@ -0,0 +1,47 @@ +.. 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 + +Theme Diwy +========== +* Diwy 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) Developer ANFAS FAISAL K, 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/theme_diwy/__init__.py b/theme_diwy/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/theme_diwy/__manifest__.py b/theme_diwy/__manifest__.py new file mode 100644 index 000000000..d23950b57 --- /dev/null +++ b/theme_diwy/__manifest__.py @@ -0,0 +1,38 @@ +{ + "name": "Theme Diwy", + "version": "18.0.1.0.0", + "category": "Themes/Backend", + "summary": "Diwy 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": [ + ], + "assets": { + "web.assets_backend": [ + "theme_diwy/static/src/xml/menu_panels.xml", + "theme_diwy/static/src/xml/nav_bar_panel.xml", + "theme_diwy/static/src/xml/home_menus.xml", + "theme_diwy/static/src/xml/side_bar_panel.xml", + "theme_diwy/static/src/scss/nav.scss", + "theme_diwy/static/src/scss/sidebar.scss", + "theme_diwy/static/src/css/style.css", + "theme_diwy/static/src/js/home_menus.js", + "theme_diwy/static/src/js/search_apps.js", + ], + "web.assets_frontend": [ + "theme_diwy/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, +} diff --git a/theme_diwy/doc/RELEASE_NOTES.md b/theme_diwy/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..94e4c11f7 --- /dev/null +++ b/theme_diwy/doc/RELEASE_NOTES.md @@ -0,0 +1,8 @@ +## Module +#### 27.12.2024 +#### Version 18.0.1.0.0 +##### ADD + +- Initial commit for Theme Diwy + + diff --git a/theme_diwy/static/description/banner.jpg b/theme_diwy/static/description/banner.jpg new file mode 100644 index 000000000..dfddbf006 Binary files /dev/null and b/theme_diwy/static/description/banner.jpg differ diff --git a/theme_diwy/static/description/icon.png b/theme_diwy/static/description/icon.png new file mode 100644 index 000000000..0e1ae9dde Binary files /dev/null and b/theme_diwy/static/description/icon.png differ diff --git a/theme_diwy/static/description/img/1.png b/theme_diwy/static/description/img/1.png new file mode 100644 index 000000000..9fed87e8a Binary files /dev/null and b/theme_diwy/static/description/img/1.png differ diff --git a/theme_diwy/static/description/img/2.png b/theme_diwy/static/description/img/2.png new file mode 100644 index 000000000..7dc9afe69 Binary files /dev/null and b/theme_diwy/static/description/img/2.png differ diff --git a/theme_diwy/static/description/img/3.png b/theme_diwy/static/description/img/3.png new file mode 100644 index 000000000..28ed51d44 Binary files /dev/null and b/theme_diwy/static/description/img/3.png differ diff --git a/theme_diwy/static/description/img/4.png b/theme_diwy/static/description/img/4.png new file mode 100644 index 000000000..96c74e90f Binary files /dev/null and b/theme_diwy/static/description/img/4.png differ diff --git a/theme_diwy/static/description/img/5.png b/theme_diwy/static/description/img/5.png new file mode 100644 index 000000000..09a73d2c3 Binary files /dev/null and b/theme_diwy/static/description/img/5.png differ diff --git a/theme_diwy/static/description/img/6.png b/theme_diwy/static/description/img/6.png new file mode 100644 index 000000000..f7ce8875c Binary files /dev/null and b/theme_diwy/static/description/img/6.png differ diff --git a/theme_diwy/static/description/img/7.png b/theme_diwy/static/description/img/7.png new file mode 100644 index 000000000..54534e778 Binary files /dev/null and b/theme_diwy/static/description/img/7.png differ diff --git a/theme_diwy/static/description/img/8.png b/theme_diwy/static/description/img/8.png new file mode 100644 index 000000000..3c89b2f9d Binary files /dev/null and b/theme_diwy/static/description/img/8.png differ diff --git a/theme_diwy/static/description/img/Mobile banner.jpg b/theme_diwy/static/description/img/Mobile banner.jpg new file mode 100644 index 000000000..117773ca0 Binary files /dev/null and b/theme_diwy/static/description/img/Mobile banner.jpg differ diff --git a/theme_diwy/static/description/img/V-18-GIF.gif b/theme_diwy/static/description/img/V-18-GIF.gif new file mode 100644 index 000000000..c1be84d03 Binary files /dev/null and b/theme_diwy/static/description/img/V-18-GIF.gif differ diff --git a/theme_diwy/static/description/img/arrows-repeat.svg b/theme_diwy/static/description/img/arrows-repeat.svg new file mode 100644 index 000000000..94fb8f7f9 --- /dev/null +++ b/theme_diwy/static/description/img/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/img/banner-bg-1.svg b/theme_diwy/static/description/img/banner-bg-1.svg new file mode 100644 index 000000000..7af9bab87 --- /dev/null +++ b/theme_diwy/static/description/img/banner-bg-1.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/banner.jpg b/theme_diwy/static/description/img/banner.jpg new file mode 100644 index 000000000..dfddbf006 Binary files /dev/null and b/theme_diwy/static/description/img/banner.jpg differ diff --git a/theme_diwy/static/description/img/banner.svg b/theme_diwy/static/description/img/banner.svg new file mode 100644 index 000000000..3d4ed7a4a --- /dev/null +++ b/theme_diwy/static/description/img/banner.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/check.svg b/theme_diwy/static/description/img/check.svg new file mode 100644 index 000000000..8bc79333d --- /dev/null +++ b/theme_diwy/static/description/img/check.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/img/feature-star.svg b/theme_diwy/static/description/img/feature-star.svg new file mode 100644 index 000000000..a913270e8 --- /dev/null +++ b/theme_diwy/static/description/img/feature-star.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/gear.svg b/theme_diwy/static/description/img/gear.svg new file mode 100644 index 000000000..ce383059d --- /dev/null +++ b/theme_diwy/static/description/img/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/img/hire-odoo.svg b/theme_diwy/static/description/img/hire-odoo.svg new file mode 100644 index 000000000..9cfec4e44 --- /dev/null +++ b/theme_diwy/static/description/img/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/life-ring-icon.svg b/theme_diwy/static/description/img/life-ring-icon.svg new file mode 100644 index 000000000..b6c797ba1 --- /dev/null +++ b/theme_diwy/static/description/img/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/odoo-consultancy.svg b/theme_diwy/static/description/img/odoo-consultancy.svg new file mode 100644 index 000000000..c2c27e608 --- /dev/null +++ b/theme_diwy/static/description/img/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/description/img/odoo-licencing.svg b/theme_diwy/static/description/img/odoo-licencing.svg new file mode 100644 index 000000000..8a520b40f --- /dev/null +++ b/theme_diwy/static/description/img/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/description/img/patter.svg b/theme_diwy/static/description/img/patter.svg new file mode 100644 index 000000000..9b7b0d7cd --- /dev/null +++ b/theme_diwy/static/description/img/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/theme_diwy/static/description/img/puzzle-piece-icon.svg b/theme_diwy/static/description/img/puzzle-piece-icon.svg new file mode 100644 index 000000000..ab5e56fa7 --- /dev/null +++ b/theme_diwy/static/description/img/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/img/responsive_page.jpg b/theme_diwy/static/description/img/responsive_page.jpg new file mode 100644 index 000000000..cdf613f33 Binary files /dev/null and b/theme_diwy/static/description/img/responsive_page.jpg differ diff --git a/theme_diwy/static/description/img/screenshot-1.svg b/theme_diwy/static/description/img/screenshot-1.svg new file mode 100644 index 000000000..72eeb921b --- /dev/null +++ b/theme_diwy/static/description/img/screenshot-1.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme_diwy/static/description/img/screenshot-2.png b/theme_diwy/static/description/img/screenshot-2.png new file mode 100644 index 000000000..e13b876da Binary files /dev/null and b/theme_diwy/static/description/img/screenshot-2.png differ diff --git a/theme_diwy/static/description/img/screenshot-3.png b/theme_diwy/static/description/img/screenshot-3.png new file mode 100644 index 000000000..be1acdfd5 Binary files /dev/null and b/theme_diwy/static/description/img/screenshot-3.png differ diff --git a/theme_diwy/static/description/img/screenshot-4.png b/theme_diwy/static/description/img/screenshot-4.png new file mode 100644 index 000000000..1d01e11fc Binary files /dev/null and b/theme_diwy/static/description/img/screenshot-4.png differ diff --git a/theme_diwy/static/description/img/screenshot-5.svg b/theme_diwy/static/description/img/screenshot-5.svg new file mode 100644 index 000000000..923e355bf --- /dev/null +++ b/theme_diwy/static/description/img/screenshot-5.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/theme_diwy/static/description/img/screenshot-img.png b/theme_diwy/static/description/img/screenshot-img.png new file mode 100644 index 000000000..a425d9ede Binary files /dev/null and b/theme_diwy/static/description/img/screenshot-img.png differ diff --git a/theme_diwy/static/description/img/screenshot-main.png b/theme_diwy/static/description/img/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/theme_diwy/static/description/img/screenshot-main.png differ diff --git a/theme_diwy/static/description/img/template01.jpg b/theme_diwy/static/description/img/template01.jpg new file mode 100644 index 000000000..4ec3123f4 Binary files /dev/null and b/theme_diwy/static/description/img/template01.jpg differ diff --git a/theme_diwy/static/description/img/thumbnail-image.jpg b/theme_diwy/static/description/img/thumbnail-image.jpg new file mode 100644 index 000000000..8036990d9 Binary files /dev/null and b/theme_diwy/static/description/img/thumbnail-image.jpg differ diff --git a/theme_diwy/static/description/img/translate.svg b/theme_diwy/static/description/img/translate.svg new file mode 100644 index 000000000..eea729542 --- /dev/null +++ b/theme_diwy/static/description/img/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/img/wrench-icon.svg b/theme_diwy/static/description/img/wrench-icon.svg new file mode 100644 index 000000000..4e0ce1d01 --- /dev/null +++ b/theme_diwy/static/description/img/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/description/index.html b/theme_diwy/static/description/index.html new file mode 100644 index 000000000..ae398e2c3 --- /dev/null +++ b/theme_diwy/static/description/index.html @@ -0,0 +1,935 @@ + + + + + + + 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.

+
+
+
+
+
+
+
+ +

Minimal, Colorful Login Screen

+

A simple and visually appealing login interface with vibrant colors to enhance user experience.

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

Kanban,Tree,Form view with a clean layout and modified font

+

Redesigned Kanban, Tree, and Form views with an organized layout and customized fonts for improved readability and aesthetics.

+
+ +
+
+
+
+
+ +

Smooth navigation

+

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

+
+ + +
+
+
+
+
+ +

Truly Responsive

+

Fully responsive design, ensuring optimal usability and display across all device types and screen sizes.

+
+ +
+
+
+
+
+ +

Elegants in view

+

Elegant User Interface.

+
+ +
+
+ +
+
+
+ +

App Bar

+

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

+
+ +
+
+
+
+
+ + +
+
+
+ +
+
+
+
+
+ LOGIN PAGE + + +
+ +
+
+
+ App Bar + +
+ +
+
+ +
+ KANBAN VIEW + +
+ +
+
+
+ TREE VIEW + +
+ +
+
+
+ FORM VIEW + +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+ HIGHLIGHT +

Minimal, Colorful Login Screen

+

Customized minimal and colorful login screen.

+ + +
+
+ Grid item +
+ +
+
+ +
+
+
+ HIGHLIGHT +

App Bar

+

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

+ +
+
+ Grid item +
+ +
+
+
+ + + + +
+
+
+
+ HIGHLIGHT +

Responsive Layout

+

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

+ +
+
+ Grid item +
+ +
+
+ +
+
+
+ HIGHLIGHT +

Modified App Drawer

+

Modified app drawer which helps to navigate through different applications.

+ +
+
+ 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 sizes
  • +
+
+
+
+
+
+
+ +
+ +
+
+
+
+ + + +
+
+
+
+
+ +
+ +
+
+
+
+

+ Kanban View
+ Layout +

+ +
+

The Kanban view in the "Theme Diwy" offers a vibrant and modern layout with a unique purple-accented color scheme. The cards are cleanly organized and feature enhanced readability with modified fonts and well-spaced elements. Buttons have been styled with complementary colors, ensuring a visually appealing and user-friendly interface. + +This theme incorporates a responsive design, making it easy to manage workflows across devices. Features like drag-and-drop functionality and a full-screen view provide seamless navigation and task organization. The bright and engaging color palette sets it apart, ensuring an efficient and enjoyable user experience.

+
    + +
  • New Color Combination
  • +
  • Modified Font
  • +
  • Clean Layout
  • +
  • Buttons with New Colors
  • +
  • Full Screen View
  • +
+
+
+
+ +
+
+ +
+
+
+
+

+ List View
+ Layout +

+ +
+

The List View in the Theme Diwy offers a sleek and professional design tailored for Odoo 18 users. It combines functionality with an aesthetically pleasing interface, improving user experience and workflow efficiency. The color scheme, typography, and layout have been carefully designed to make data management seamless and intuitive. +.

+
    +
  • List View
  • + +
  • New Color Combination
  • +
  • Modified Font
  • +
  • Clean Layout
  • +
  • Buttons with New Colors
  • +
  • Full Screen View
  • +
+
+
+
+
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+ +
+ +
+
+
+
+

+ Form View
+ Layout +

+ +
+

The Form View in the Theme Diwy for Odoo 18 delivers a vibrant and user-friendly interface tailored for efficient data management. It incorporates a unique purple-accented color scheme that ensures clarity while maintaining a modern, professional aesthetic. The design emphasizes usability, with intuitive layouts that enable seamless navigation and efficient record handling. +

+
    +
  • Modified Form Style
  • +
  • Full Screen Form View
  • +
  • New Looks for Tabs
  • +
  • New Looks for Status Button
  • +
+
+
+
+ +
+
+ + + + + + + + + +
+ + + + + + + + \ No newline at end of file diff --git a/theme_diwy/static/description/theme_screenshot.jpg b/theme_diwy/static/description/theme_screenshot.jpg new file mode 100644 index 000000000..8b2778389 Binary files /dev/null and b/theme_diwy/static/description/theme_screenshot.jpg differ diff --git a/theme_diwy/static/src/css/dummy.css b/theme_diwy/static/src/css/dummy.css new file mode 100644 index 000000000..129129ee8 --- /dev/null +++ b/theme_diwy/static/src/css/dummy.css @@ -0,0 +1,8 @@ +/* Webpixels CSS */ +/* Utility and component-centric Design System based on Bootstrap for fast, responsive UI development */ +/* URL: https://github.com/webpixels/css */ + +@import url(https://unpkg.com/@webpixels/css@1.1.5/dist/index.css); + +/* Bootstrap Icons */ +@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.4.0/font/bootstrap-icons.min.css"); diff --git a/theme_diwy/static/src/css/style.css b/theme_diwy/static/src/css/style.css new file mode 100644 index 000000000..597978d2a --- /dev/null +++ b/theme_diwy/static/src/css/style.css @@ -0,0 +1,1026 @@ +@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap"); +/* Bootstrap Icons */ +@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.4.0/font/bootstrap-icons.min.css"); +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; +} + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type=button], +[type=reset], +[type=submit] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type=button]::-moz-focus-inner, +[type=reset]::-moz-focus-inner, +[type=submit]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type=button]:-moz-focusring, +[type=reset]:-moz-focusring, +[type=submit]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type=checkbox], +[type=radio] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type=number]::-webkit-inner-spin-button, +[type=number]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type=search] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type=search]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; +} + +.login { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100vh; +} +.login .login_wrapper { + width: 30vw; + background: rgba(255, 255, 255, 0.2); + border-radius: 15px; + padding: 40px 50px; + backdrop-filter: blur(10px); + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); + border: 1px solid rgba(255, 255, 255, 0.3); +} +.login .login_wrapper .top a { + margin-bottom: 15px; + color: var(--primary-color); + font-size: 18px; +} +.login .login_wrapper .top h3 { + font-size: 40px; + margin-bottom: 20px; + color: var(--dark); +} +.login .login_wrapper .form-group { + margin-bottom: 15px; +} +.login .login_wrapper .form-group label { + margin-bottom: 5px; +} +.login .login_wrapper .form-group .form-control { + border-color: #F0EDF6; + height: 50px; +} +.login .login_wrapper .forgot { + color: var(--text-blue); + font-size: 16px; + text-align: right; + padding-top: 5px; +} +.login .login_wrapper p { + text-align: center; + font-size: 16px; + padding-top: 20px; + font-weight: 500; +} +.login .login_wrapper .btn_wrapper { + display: flex; + justify-content: center; +} +.login .login_wrapper .login-with { + font-size: 18px; + margin-top: 30px; +} +.login .login_wrapper .login-with a { + color: var(--diwy-blue); + font-weight: 600; +} + + + +.app_container { + background-image: url(/theme_diwy/static/src/img/bg/bg.png); + background-size: cover; + height: 100vh; + width: 100%; +} +.app_container .wrapper { + display: flex; + justify-content: space-around; + align-items: center; + height: 100vh; +} +.app_container .app_list { + display: grid; + row-gap: 20px; + grid-template-columns: repeat(5, 1fr); + width: 60%; +} +.app_container .app_list .app_wrapp { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} +.app_container .app_list .app_wrapp .app { + background-color: var(--primary-color); + border-radius: 8px; + height: 80px; + width: 80px; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.26); + display: flex; +} +.app_container .app_list .app_wrapp .app i { + font-size: 30px; + margin: auto; + color: var(--white-color); + text-align: center; +} +.app_container .app_list .app_wrapp .app:hover { + transition: all 0.3s; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.5); +} +.app_container .app_list .app_wrapp span { + padding-top: 5px; + color: var(--white-color); + font-size: 18px; + font-weight: 400; +} + +.btn { + border: none !important; + outline: 0 !important; + -webkit-transition: 0.5s; + transition: 0.5s; +} +.btn-primary { + border-radius: 5px; + font-size: 16px !important; + text-decoration: none; + position: relative; + border: 1px solid var(--primary-color) !important; + background-color: var(--primary-color); + color: var(--white-color) !important; +} +.gap-1 { + gap: 3px !important; +} +.btn-outline-primary{ + border-radius: 5px; + font-size: 16px !important; + text-decoration: none; + position: relative; + border: 1px solid var(--primary-color) !important; + background-color: var(--primary-color); + color: var(--white-color) !important; + padding: 10px 30px 6px 30px; +} +.btn-primary:hover { + background-color: rgba(86, 59, 255, 0.28); + transition: all 0.3s; + color: var(--primary-color) !important; + border-color: rgba(86, 59, 255, 0.28) !important; +} +.btn-secondary { + background-color: rgba(141, 140, 153, 0.09); + border-radius: 5px; + border: 1px solid var(--primary-color) !important; +} +.btn-secondary:hover { + background-color: var(--diwy-blue); + color: white !important; + transition: all 0.3s; + border-color: var(--diwy-blue) !important; +} +.btn-danger { + background-color: var(--danger-color); + border-radius: 5px; + padding: 10px 30px 6px 30px; + border: 1px solid var(--danger-color) !important; + color: var(--white-color) !important; + transition: filter 0.3s ease; +} +.btn-danger:hover { + filter: brightness(150%); +} +.btn-optional { + background-color: rgba(141, 140, 153, 0.09); + border-radius: 25px; + padding: 10px 15px; + width: 200px; +} +.btn-navigation { + display: flex; + column-gap: 3px; +} +.btn-navigation:hover { + background-color: rgba(86, 59, 255, 0.28); +} +.btn-navigation:hover svg path { + stroke: var(--white-color); + fill: var(--white-color); +} + +.top_bar { + display: flex; + justify-content: space-between; + align-items: center; + padding-top: 5px; +} +.top_bar .right_menu ul { + display: flex; + gap: 20px; + padding-left: 0; + margin-bottom: 0; + padding-right: 15px; +} +.top_bar .right_menu ul .user img { + border-radius: 50%; +} + +.navbar { + padding-top: 10px; +} +.navbar .back_btn { + position: absolute; + left: 20px; +} +.navbar .back_btn:hover { + margin-left: -5px; +} +.navbar .navbar-brand { + margin-right: 20px; + padding-left: 30px; +} +.navbar .navbar-brand img { + width: 80px; +} +.navbar .navbar-nav .nav-item .nav-link { + color: var(--text-color); + padding-bottom: 0; +} +.navbar .navbar_right_form { + width: 35%; + justify-content: space-between; + align-items: baseline; +} +.navbar .navbar_right_form .input_wrapper { + width: 60%; +} +.navbar .navbar_right_form .form-control { + border-color: transparent; + width: 100%; +} +.navbar .navbar_right_form .form-control:focus { + border-color: var(--grey-color); +} +.navbar .right_menu ul { + display: flex; + gap: 30px; + padding-left: 0; + margin-bottom: 0; + padding-right: 15px; +} +.navbar .right_menu ul li a img { + width: 20px; +} +.navbar .right_menu ul .notification { + position: relative; +} +.navbar .right_menu ul .notification .count { + position: absolute; + top: -10px; + right: -5px; + background-color: var(--primary-color); + border-radius: 50%; + color: var(--white-color); + height: 15px; + width: 15px; + font-size: 12px; + text-align: center; +} +.navbar .right_menu ul .user img { + border-radius: 50%; +} + +.sidebar { + height: 100%; + width: auto; + background-color: var(--white-color); + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + padding: 20px 20px; + padding-left: 0; + padding-top: 60px; + overflow: auto; + scrollbar-width: thin; + scrollbar-color: transparent transparent; + transition: all 0.4s; +} +.sidebar ::-webkit-scrollbar { + display: none; +} +.sidebar:hover::-webkit-scrollbar { + display: block; +} +.sidebar span { + display: none; + padding-right: 15px; + transition: all 0.4s; +} +.sidebar:hover { + scrollbar-color: rgb(219, 219, 219) rgb(218, 218, 218); + transition: all 0.4s; +} +.sidebar:hover span { + display: block; + transition: all 0.4s; +} +.sidebar .sidebar_links { + padding-left: 0; +} +.sidebar #dropdown-toggle { + position: relative; + color: white !important; + margin-bottom: 10px; + margin-left: 25px; +} +.sidebar #dropdown-toggle a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; +} +.sidebar #dropdown-toggle a svg { + margin-top: -2px; +} +.sidebar #dropdown-toggle.active { + color: var(--white-color) !important; + background-color: rgba(86, 59, 255, 0.28); + border-radius: 15px; + padding: 15px 15px; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.26); + position: relative; +} +.sidebar #dropdown-toggle.active a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--white-color) !important; +} +.sidebar #dropdown-toggle.active svg path { + stroke: #ffffff; + transition: stroke 0.3s ease; +} +.sidebar #dropdown-toggle.active:before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; +} +.sidebar .dropdown-content { + position: relative; + display: none; +} +.sidebar .dropdown-content li { + padding: 15px 15px; +} +.sidebar .sidbar-item { + position: relative; + margin-bottom: unset !important; + padding: 15px; + margin-left: 25px; + height: 55px; +} +.sidebar .sidbar-item a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--secondary-color) !important; + padding-bottom: 0px; +} +.sidebar .sidbar-item a svg { + margin-top: -5px; +} +.sidebar .sidbar-item:hover { + transition: stroke 0.3s ease; +} +.sidebar .sidbar-item:hover a { + color: var(--primary-color) !important; +} +.sidebar .sidbar-item:hover svg path { + stroke: var(--primary-color); +} +.sidebar .sidbar-item:hover ::before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; +} +.form-check-input:checked { + background-color: var(--primary-color); + border-color: var(--primary-color); +} + +.dashboard_body { + margin-left: 20px; + margin-right: 20px; +} + +.dashboard_main { + margin-top: 70px; + display: grid; + grid-template-columns: auto 1fr; +} + +.control_panel { + margin-bottom: 15px; +} +.control_panel .form-control { + border-color: transparent; + width: 100%; + height: 45px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); +} +.control_panel .form-control::placeholder { + color: var(--grey-color); +} +.control_panel .form-control:focus { + border-color: var(--grey-color); +} + +.control_panelnavigation { + background-color: var(--white-color); + border-radius: 5px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + padding: 3px 3px; + display: flex; + height: 43px; +} + +#dropdownElement { + cursor: pointer; + background-color: #ffffff; + padding: 10px 20px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + border-radius: 5px; + color: var(--text-color); +} + +#panel_dropdown { + padding-left: 0; +} + +.panel_dropdown_content { + background-color: var(--white-color); + padding: 15px 15px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} +.panel_dropdown_content li { + margin-bottom: 10px; + transition: 0.5s; + padding-left: 20px; +} +.panel_dropdown_content li a { + color: var(--text-color); +} +.panel_dropdown_content li:hover { + margin-left: 15px; + transition: 0.5s; +} + +.card_1 { + cursor: pointer; + background-color: #ffffff; + padding: 10px 20px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + border-radius: 5px; + width: 400px; + transition: all 0.4s; +} +.card_1 .wrapper { + display: flex; + justify-content: space-between; + padding-top: 15px; +} +.card_1 .wrapper h3 { + font-size: 28px; +} +.card_1 .wrapper p { + font-size: 16px; +} +.card_1:hover { + box-shadow: 0 4px 4px 0px rgba(86, 59, 255, 0.25); + transition: box-shadow 0.3s ease; + transform: translateY(-0.3rem); + transition: all 0.4s; +} + +.table_wrapper { + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + margin-bottom: 20px; +} + +.thead-light th { + background-color: rgba(86, 59, 255, 0.0901960784) !important; + font-weight: 500; +} + +.badge { + color: var(--text-color); +} + +.td_img { + width: 25px; +} + +.avatar { + width: 50px; +} + +.tag_group { + margin-top: 20px; +} + + + +.badge { + padding: 10px 10px; +} +.bg-primary{ + background-color: #dedffd !important; + +} +.text-bg-primary { + background-color: #dedffd !important; +} +.text-bg-secondary { + background-color: rgba(150, 145, 210, 0.4352941176) !important; +} +.text-bg-success { + background-color: rgb(204, 245, 231) !important; + color: #00cc88 !important; +} +.text-bg-danger { + background-color: #ffd6e0 !important; +} +.text-bg-warning { + background-color: rgba(228, 189, 62, 0.3254901961) !important; +} +.text-bg-info { + background-color: rgba(13, 97, 252, 0.337254902) !important; +} +.text-bg-light { + background-color: #FBFBFB !important; +} + +.o-form-buttonbox .oe_stat_button .o_button_icon{ + color: var(--primary-color); +} + +:root { + --primary-color: #563BFF; + --secondary-color: #9197B3; + --danger-color: #D1293D; + --diwy-blue: #51459E; + --text-blue: #3734A9; + --text-color: #5A5881; + --white-color: #ffff; + --grey-color: #C4C4C4; + --dark: #4E4E4E; +} + +*:focus { + outline: 0 !important; + box-shadow: none !important; +} + +* button:focus { + border: none; + outline: none; + box-shadow: none; +} + +* { + list-style-type: none; + font-family: "League Spartan", sans-serif; + font-size: 16px; +} +*:focus, *:active { + outline: none !important; +} + +*::selection { + color: rgb(243, 235, 238); + background-color: black; +} + +body { + font-family: font-default !important; + color: var(--text-color); + background-color: #F7F8FB; + overscroll-behavior: none; + height: 100vh; +} + +.affix { + top: 0; + width: 100%; + z-index: 9999 !important; +} + + +//Search +.o_searchview { + border-color: transparent; + +} +.o_cp_searchview{ + border-color: transparent; + width: 100%; + height: 45px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + +} +.o_cp_searchview { + box-shadow: 0 6px 72px 7px rgba(86, 59, 255, 0.1); +} +.o_action_manager .o_website_preview { + margin-top: 50px; +} +@media (max-width: 768px) { + .sidebar { + display: none; + } + .o_main_navbar .navbar-brand{ + margin-right: 0px; + padding-left:0px; + } + .o_action_manager .o-mail-Discuss{ + margin-top: 50px; + } + + .o_main_navbar{ + flex-wrap: nowrap; + } + .o_main_navbar .o_menu_brand, .o_main_navbar .o_nav_entry, .o_main_navbar .dropdown-toggle:not(.o-dropdown-toggle-custo), .o_main_navbar .o_menu_toggle{ + padding-left: 0px; + } + +} +/*# sourceMappingURL=style.css.map */ + +.btn.active { + background-color: var(--primary-color) !important; + color: white !important; +} +.oi, .fa { + color: var(--primary-color) !important; +} +.btn.active .fa { + color: white !important; +} + +.btn.active .oi { + color: white !important; +} + +.o_searchview_facet_label .fa { + color: var(--white-color) !important; +} +.btn-outline-secondary { + border: 1px solid var(--primary-color) !important; +} + +@media(max-width:768px){ + .app_container .app_list { + display: grid; + grid-template-columns: repeat(4, 1fr); + width: auto; + gap: 20px; + } +} + +.o_data_row td { + vertical-align: middle; +} + +.o_control_panel_main_buttons .o_list_buttons .btn-secondary { + height: 100%; +} +.o_main_navbar .o_menu_sections .dropdown.show.dropdown-toggle { + color: var(--primary-color) +} +.o_menu_systray_item .o-website-btn-custo-secondary{ + background-color: rgba(141, 140, 153, 0.09); + color: var(--primary-color) !important; +} +.btn-primary .fa { + color: white !important; +} + +.btn-primary:hover .fa{ + color: var(--primary-color) !important; + transition: all 0.3s; +} + +.o_main_navbar .o_menu_sections .dropdown-toggle:hover { + background-color: unset; +} + +.o_main_navbar .o_menu_sections .dropdown-toggle:focus { + color: var(--primary-color); +} + +.bg-action, .text-bg-action { + background-color: var(--diwy-blue) !important; +} \ No newline at end of file diff --git a/theme_diwy/static/src/css/style.css.map b/theme_diwy/static/src/css/style.css.map new file mode 100644 index 000000000..de5f6e9c3 --- /dev/null +++ b/theme_diwy/static/src/css/style.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["../scss/style.scss","../scss/_normalize.scss","../scss/pages/_login.scss","../scss/pages/_apps.scss","../scss/components/_button.scss","../scss/layouts/_navbar.scss","../scss/layouts/_sidebar.scss","../scss/_variables.scss","../scss/_common.scss"],"names":[],"mappings":"AAEQ;AAIR;AACQ;ACPR;AAEA;AAAA;AAGA;AAAA;AAAA;AAAA;AAKC;EACG;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;EAGE;EACA;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA;EAEE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAAA;AAKA;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA,QACQ;EACN;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA,SACS;EACP;;;AAGF;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;EAIE;;;AAGF;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;EAIE;EACA;;;AAGF;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;EAIE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;AAAA;EAEE;EACA;;;AAGF;AAAA;AAAA;AAIA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAGA;AAAA;AAAA;AAIA;EACE;;;AAGF;AAAA;AAAA;AAIA;EACE;;;AC3VJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAII;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAIR;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AACA;EACI;EACA;;;ACjEhB;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACD;EACC;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EAChB;;AACgB;EACI;EACA;EACA;EACA;;AAEJ;EACI;EACJ;;AAIJ;EACI;EACA;EACA;EACA;;;ACjDhB;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EAEA;EACA;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;;AAOJ;EACE;EACA;EACA;EACA;;AAKF;EAEE;EACA;;AACA;EACI;;AAEJ;EACE;EACA;;;AC1EN;EACI;EACA;EACA;EACA;;AAGI;EACI;EACA;EACA;EACA;EACA;;AAGI;EACI;;;AAQpB;EACI;;AAEA;EACI;EACA;;AACA;EACI;;AAKR;EACI;EACR;;AACQ;EACI;;AAQA;EACI;EACA;;AAKZ;EACI;EACA;EACA;;AAEA;EACI;;AAIJ;EACI;EACA;;AAEA;EAEI;;AAMR;EACI;EACA;EACA;EACA;EACA;;AAIQ;EACI;;AAKZ;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAMJ;EACI;;;AChHpB;EACI;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACR;;AAII;EACI;EACA;;AAEA;EACI;EACZ;;AAKI;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAKR;EASI;;AARA;EACI;;AAGJ;EACI;;AAKJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOhB;EACI;EACA;;;AAIJ;EACI;EAEA;EACA;;;AAIJ;EACI;;AACA;EACI;EACA;EACA;EACJ;;AAGI;EACI;;AAGJ;EAEI;;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACI;EACA;EACA;EACA;EACJ;EACA;;;AAKA;EACA;;;AAGA;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;;AAIJ;EACI;EACA;;;AAMZ;EACI;EACA;EACA;EACA;EACJ;EACA;EAEA;;AAEA;EACI;EACA;EACA;;AACA;EACI;;AAEJ;EACI;;AAKR;EACI;EACJ;EACA;EACA;;;AAMA;EACI;EACA;;;AAIA;EACI;EACA;;;AAIR;EACI;;;AAIJ;EACI;;;AAKJ;EACI;;;AAIJ;EACI;;;AAGJ;EAEI;;AAKA;EACI;;AAGJ;EACI;;AAEJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;;ACrUR;EACI;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;ACpBJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;EACA;;;AAEJ;EACI;EACA,aDfW;ECgBX;;AACA;EAEI;;;AAGR;EACI;EACA;;;AAEJ;AAAA;EAEI;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACF;;;AAGF;EACI;EACA;EACA","file":"style.css"} \ No newline at end of file diff --git a/theme_diwy/static/src/img/bg/bg.png b/theme_diwy/static/src/img/bg/bg.png new file mode 100644 index 000000000..958a30bf4 Binary files /dev/null and b/theme_diwy/static/src/img/bg/bg.png differ diff --git a/theme_diwy/static/src/img/brand-icon.svg b/theme_diwy/static/src/img/brand-icon.svg new file mode 100644 index 000000000..45a3e1403 --- /dev/null +++ b/theme_diwy/static/src/img/brand-icon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/Frame 237437.svg b/theme_diwy/static/src/img/icon/Frame 237437.svg new file mode 100644 index 000000000..78253a387 --- /dev/null +++ b/theme_diwy/static/src/img/icon/Frame 237437.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/src/img/icon/Frame 237438.svg b/theme_diwy/static/src/img/icon/Frame 237438.svg new file mode 100644 index 000000000..ccd5b44d2 --- /dev/null +++ b/theme_diwy/static/src/img/icon/Frame 237438.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/theme_diwy/static/src/img/icon/Group 237438.svg b/theme_diwy/static/src/img/icon/Group 237438.svg new file mode 100644 index 000000000..e87f3a50f --- /dev/null +++ b/theme_diwy/static/src/img/icon/Group 237438.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/Vector-1.svg b/theme_diwy/static/src/img/icon/Vector-1.svg new file mode 100644 index 000000000..67c06481e --- /dev/null +++ b/theme_diwy/static/src/img/icon/Vector-1.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/Vector-2.svg b/theme_diwy/static/src/img/icon/Vector-2.svg new file mode 100644 index 000000000..b27609eb9 --- /dev/null +++ b/theme_diwy/static/src/img/icon/Vector-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/Vector-3.svg b/theme_diwy/static/src/img/icon/Vector-3.svg new file mode 100644 index 000000000..ff1085b09 --- /dev/null +++ b/theme_diwy/static/src/img/icon/Vector-3.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/Vector-4.svg b/theme_diwy/static/src/img/icon/Vector-4.svg new file mode 100644 index 000000000..63135803b --- /dev/null +++ b/theme_diwy/static/src/img/icon/Vector-4.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/Vector.svg b/theme_diwy/static/src/img/icon/Vector.svg new file mode 100644 index 000000000..d3c92e1ff --- /dev/null +++ b/theme_diwy/static/src/img/icon/Vector.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/atom.svg b/theme_diwy/static/src/img/icon/atom.svg new file mode 100644 index 000000000..333d198ba --- /dev/null +++ b/theme_diwy/static/src/img/icon/atom.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/badges.svg b/theme_diwy/static/src/img/icon/badges.svg new file mode 100644 index 000000000..e5d91adc4 --- /dev/null +++ b/theme_diwy/static/src/img/icon/badges.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/biohazard.svg b/theme_diwy/static/src/img/icon/biohazard.svg new file mode 100644 index 000000000..5486e5ea5 --- /dev/null +++ b/theme_diwy/static/src/img/icon/biohazard.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/box-model-2.svg b/theme_diwy/static/src/img/icon/box-model-2.svg new file mode 100644 index 000000000..c559af8a7 --- /dev/null +++ b/theme_diwy/static/src/img/icon/box-model-2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/box-multiple.svg b/theme_diwy/static/src/img/icon/box-multiple.svg new file mode 100644 index 000000000..ece2cc275 --- /dev/null +++ b/theme_diwy/static/src/img/icon/box-multiple.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/brand-campaignmonitor.svg b/theme_diwy/static/src/img/icon/brand-campaignmonitor.svg new file mode 100644 index 000000000..d5012f697 --- /dev/null +++ b/theme_diwy/static/src/img/icon/brand-campaignmonitor.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/brand-nem.svg b/theme_diwy/static/src/img/icon/brand-nem.svg new file mode 100644 index 000000000..5714d9378 --- /dev/null +++ b/theme_diwy/static/src/img/icon/brand-nem.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/brightness-2.svg b/theme_diwy/static/src/img/icon/brightness-2.svg new file mode 100644 index 000000000..2b4e5d0a3 --- /dev/null +++ b/theme_diwy/static/src/img/icon/brightness-2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/category-2.svg b/theme_diwy/static/src/img/icon/category-2.svg new file mode 100644 index 000000000..6f34a2e9a --- /dev/null +++ b/theme_diwy/static/src/img/icon/category-2.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/circles.svg b/theme_diwy/static/src/img/icon/circles.svg new file mode 100644 index 000000000..2e2b10fa8 --- /dev/null +++ b/theme_diwy/static/src/img/icon/circles.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/navigation/ic_round-view-kanban.svg b/theme_diwy/static/src/img/icon/navigation/ic_round-view-kanban.svg new file mode 100644 index 000000000..eefcc22c1 --- /dev/null +++ b/theme_diwy/static/src/img/icon/navigation/ic_round-view-kanban.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/navigation/lets-icons_time-duotone.svg b/theme_diwy/static/src/img/icon/navigation/lets-icons_time-duotone.svg new file mode 100644 index 000000000..adbb5b046 --- /dev/null +++ b/theme_diwy/static/src/img/icon/navigation/lets-icons_time-duotone.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/src/img/icon/navigation/material-symbols-light_date-range.svg b/theme_diwy/static/src/img/icon/navigation/material-symbols-light_date-range.svg new file mode 100644 index 000000000..9be461127 --- /dev/null +++ b/theme_diwy/static/src/img/icon/navigation/material-symbols-light_date-range.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/navigation/mdi_graph-areaspline.svg b/theme_diwy/static/src/img/icon/navigation/mdi_graph-areaspline.svg new file mode 100644 index 000000000..6a145ae24 --- /dev/null +++ b/theme_diwy/static/src/img/icon/navigation/mdi_graph-areaspline.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/navigation/solar_list-up-line-duotone.svg b/theme_diwy/static/src/img/icon/navigation/solar_list-up-line-duotone.svg new file mode 100644 index 000000000..59bd1bec8 --- /dev/null +++ b/theme_diwy/static/src/img/icon/navigation/solar_list-up-line-duotone.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/src/img/icon/odoo.svg b/theme_diwy/static/src/img/icon/odoo.svg new file mode 100644 index 000000000..7e89bca68 --- /dev/null +++ b/theme_diwy/static/src/img/icon/odoo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group (5).svg b/theme_diwy/static/src/img/icon/sidebar/Group (5).svg new file mode 100644 index 000000000..a758f1778 --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group (5).svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group (6).svg b/theme_diwy/static/src/img/icon/sidebar/Group (6).svg new file mode 100644 index 000000000..cd230a276 --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group (6).svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group 237172.svg b/theme_diwy/static/src/img/icon/sidebar/Group 237172.svg new file mode 100644 index 000000000..fd157fe1b --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group 237172.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group 237173.svg b/theme_diwy/static/src/img/icon/sidebar/Group 237173.svg new file mode 100644 index 000000000..325ee760b --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group 237173.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group 237176.svg b/theme_diwy/static/src/img/icon/sidebar/Group 237176.svg new file mode 100644 index 000000000..fc2ffcfcf --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group 237176.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Group 237178.svg b/theme_diwy/static/src/img/icon/sidebar/Group 237178.svg new file mode 100644 index 000000000..ea261bd9f --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Group 237178.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Vector (15).svg b/theme_diwy/static/src/img/icon/sidebar/Vector (15).svg new file mode 100644 index 000000000..7c5213d3e --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Vector (15).svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Vector (16).svg b/theme_diwy/static/src/img/icon/sidebar/Vector (16).svg new file mode 100644 index 000000000..53fd04f0a --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Vector (16).svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/Vector (17).svg b/theme_diwy/static/src/img/icon/sidebar/Vector (17).svg new file mode 100644 index 000000000..6907f72b4 --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/Vector (17).svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/sidebar/dashboard.svg b/theme_diwy/static/src/img/icon/sidebar/dashboard.svg new file mode 100644 index 000000000..07105b605 --- /dev/null +++ b/theme_diwy/static/src/img/icon/sidebar/dashboard.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme_diwy/static/src/img/icon/topbar/Odoo.svg b/theme_diwy/static/src/img/icon/topbar/Odoo.svg new file mode 100644 index 000000000..7e89bca68 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/Odoo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_diwy/static/src/img/icon/topbar/left-arrow.svg b/theme_diwy/static/src/img/icon/topbar/left-arrow.svg new file mode 100644 index 000000000..0aa3edc52 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/left-arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/topbar/mail.svg b/theme_diwy/static/src/img/icon/topbar/mail.svg new file mode 100644 index 000000000..a1790d150 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/topbar/menu.svg b/theme_diwy/static/src/img/icon/topbar/menu.svg new file mode 100644 index 000000000..719cd69a9 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme_diwy/static/src/img/icon/topbar/notification.svg b/theme_diwy/static/src/img/icon/topbar/notification.svg new file mode 100644 index 000000000..719cd566e --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/notification.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/topbar/phone.svg b/theme_diwy/static/src/img/icon/topbar/phone.svg new file mode 100644 index 000000000..79ef8ec00 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/topbar/search.svg b/theme_diwy/static/src/img/icon/topbar/search.svg new file mode 100644 index 000000000..ff05e81c3 --- /dev/null +++ b/theme_diwy/static/src/img/icon/topbar/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_diwy/static/src/img/icon/topbar/user.png b/theme_diwy/static/src/img/icon/topbar/user.png new file mode 100644 index 000000000..f6aae6001 Binary files /dev/null and b/theme_diwy/static/src/img/icon/topbar/user.png differ diff --git a/theme_diwy/static/src/js/home_menus.js b/theme_diwy/static/src/js/home_menus.js new file mode 100644 index 000000000..b18a4667a --- /dev/null +++ b/theme_diwy/static/src/js/home_menus.js @@ -0,0 +1,20 @@ +/** @odoo-module */ + +import { Component, useRef } from "@odoo/owl"; +import { registry } from "@web/core/registry"; +import { computeAppsAndMenuItems } from "@web/webclient/menus/menu_helpers"; +import { useService } from "@web/core/utils/hooks"; +import { menuService } from "@web/webclient/menus/menu_service"; + +export class HomeMenus extends Component { + static template = "theme_diwy.home_menus"; + setup() { + this.menu = useService("menu"); + this.sidebarRef = useRef("sidebar"); + } + onAppClick(app) { + this.env.bus.trigger('app-selected', { activeApp: app }); + this.menu.selectMenu(app); + } +} +registry.category("actions").add("theme_diwy.homemenus", HomeMenus); \ No newline at end of file diff --git a/theme_diwy/static/src/js/search_apps.js b/theme_diwy/static/src/js/search_apps.js new file mode 100644 index 000000000..4876a4113 --- /dev/null +++ b/theme_diwy/static/src/js/search_apps.js @@ -0,0 +1,80 @@ +/** @odoo-module */ + +import { NavBar } from "@web/webclient/navbar/navbar"; +import { registry } from "@web/core/registry"; +import { computeAppsAndMenuItems } from "@web/webclient/menus/menu_helpers"; +import { useBus, useService } from "@web/core/utils/hooks"; +import { useRef, onMounted, useState } from "@odoo/owl"; +import { patch } from "@web/core/utils/patch"; + +patch(NavBar.prototype, { + // To modify the Navbar properties and functions. + setup() { + super.setup() + const isSidebarHidden = sessionStorage.getItem("isSidebarHidden") === "true"; + this.sidebarRef = useRef("sidebar"); + this.menu_sectionsRef = useRef("menu_sections") + this.busService = this.env.services.bus_service; + this.menuService = useService("menu"); + this.action = useService("action"); + let { apps, menuItems } = computeAppsAndMenuItems + this.menuService.getMenuAsTree("root"); + this._apps = apps; + this.state = useState({ + activeApp: parseInt(sessionStorage.getItem("activeApp")), + isSidebarHidden: isSidebarHidden, + }); + useBus(this.env.bus, "app-selected", (event) => { + this.onAppClick(event.detail.activeApp); + }); + onMounted(() => { + this.applySidebarState(); + }); + }, + + applySidebarState() { + const sidebarElement = this.sidebarRef.el; + const sectionsElement = this.menu_sectionsRef.el; + const actionManagerElement = document.querySelector(".o_action_manager"); + if (sidebarElement) { + if (this.state.isSidebarHidden) { + sidebarElement.classList.add("o_hidden"); + sectionsElement.classList.add("o_hidden"); + } else { + sidebarElement.classList.remove("o_hidden"); + sectionsElement.classList.remove("o_hidden"); + } + } + }, + + onAppClick(app) { + const sidebarElement = this.sidebarRef.el; // Access the DOM element + const sectionsElement = this.menu_sectionsRef.el; + sidebarElement?.classList.remove("o_hidden"); // Remove the 'o_hidden' class to show the sidebar + sectionsElement?.classList.remove("o_hidden"); // Remove the 'o_hidden' class to show the sidebar + const actionManagerElement = document.querySelector(".o_action_manager"); + this.state.isSidebarHidden = false; + sessionStorage.setItem("isSidebarHidden", "false"); + this.state.activeApp = app.id; + sessionStorage.setItem("activeApp", this.state.activeApp); + this.onNavBarDropdownItemSelection(app); + }, + + async _onClickMenusPanel() { + const sidebarElement = this.sidebarRef.el; // Access the DOM element + const sectionsElement = this.menu_sectionsRef.el; + sidebarElement?.classList.add("o_hidden"); // Add the 'o_hidden' class to hide the sidebar + sectionsElement?.classList.add("o_hidden"); // Add the 'o_hidden' class to hide the sidebar + const actionManagerElement = document.querySelector(".o_action_manager"); + actionManagerElement?.style.setProperty("margin-left", "0", "important"); + this.state.isSidebarHidden = true; + sessionStorage.setItem("isSidebarHidden", "true"); + await this.action.doAction({ + type: 'ir.actions.client', + tag: 'theme_diwy.homemenus', + params: { + apps: this._apps, + }, + }); + } +}) \ No newline at end of file diff --git a/theme_diwy/static/src/scss/_common.scss b/theme_diwy/static/src/scss/_common.scss new file mode 100644 index 000000000..0bf03eaf1 --- /dev/null +++ b/theme_diwy/static/src/scss/_common.scss @@ -0,0 +1,41 @@ + +*:focus { + outline: 0 !important; + box-shadow: none !important; +} +*button:focus { + border: none; + outline: none; + box-shadow: none; +} +* { + list-style-type: none; + font-family: $font-default; + font-size: 16px; + &:focus, + &:active { + outline: none !important; + } +} +*::selection { + color: rgb(243, 235, 238); + background-color: black; +} +*a, +a:visited { + color: #003899; + text-decoration: none; +} +body { + font-family: font-default !important; + color: var(--text-color); + background-color: #F7F8FB; + overscroll-behavior: none; + height: 100vh; + +} +.affix { + top: 0; + width: 100%; + z-index: 9999 !important; +} \ No newline at end of file diff --git a/theme_diwy/static/src/scss/_normalize.scss b/theme_diwy/static/src/scss/_normalize.scss new file mode 100644 index 000000000..f26d0a846 --- /dev/null +++ b/theme_diwy/static/src/scss/_normalize.scss @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + + html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + } + + /* Sections + ========================================================================== */ + + /** + * Remove the margin in all browsers. + */ + + body { + margin: 0; + } + + /** + * Render the `main` element consistently in IE. + */ + + main { + display: block; + } + + /** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + + h1 { + font-size: 2em; + margin: 0.67em 0; + } + + /* Grouping content + ========================================================================== */ + + /** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + + hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ + } + + /** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + + pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ + } + + /* Text-level semantics + ========================================================================== */ + + /** + * Remove the gray background on active links in IE 10. + */ + + a { + background-color: transparent; + } + + /** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + + abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ + } + + /** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + + b, + strong { + font-weight: bolder; + } + + /** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + + code, + kbd, + samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ + } + + /** + * Add the correct font size in all browsers. + */ + + small { + font-size: 80%; + } + + /** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + + sub, + sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + sub { + bottom: -0.25em; + } + + sup { + top: -0.5em; + } + + /* Embedded content + ========================================================================== */ + + /** + * Remove the border on images inside links in IE 10. + */ + + img { + border-style: none; + } + + /* Forms + ========================================================================== */ + + /** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + + button, + input, + optgroup, + select, + textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ + } + + /** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + + button, + input { /* 1 */ + overflow: visible; + } + + /** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + + button, + select { /* 1 */ + text-transform: none; + } + + /** + * Correct the inability to style clickable types in iOS and Safari. + */ + + button, + [type="button"], + [type="reset"], + [type="submit"] { + -webkit-appearance: button; + } + + /** + * Remove the inner border and padding in Firefox. + */ + + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; + } + + /** + * Restore the focus styles unset by the previous rule. + */ + + button:-moz-focusring, + [type="button"]:-moz-focusring, + [type="reset"]:-moz-focusring, + [type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; + } + + /** + * Correct the padding in Firefox. + */ + + fieldset { + padding: 0.35em 0.75em 0.625em; + } + + /** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + + legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ + } + + /** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + + progress { + vertical-align: baseline; + } + + /** + * Remove the default vertical scrollbar in IE 10+. + */ + + textarea { + overflow: auto; + } + + /** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + + [type="checkbox"], + [type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ + } + + /** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + + [type="number"]::-webkit-inner-spin-button, + [type="number"]::-webkit-outer-spin-button { + height: auto; + } + + /** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + + [type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ + } + + /** + * Remove the inner padding in Chrome and Safari on macOS. + */ + + [type="search"]::-webkit-search-decoration { + -webkit-appearance: none; + } + + /** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + + ::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ + } + + /* Interactive + ========================================================================== */ + + /* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + + details { + display: block; + } + + /* + * Add the correct display in all browsers. + */ + + summary { + display: list-item; + } + + /* Misc + ========================================================================== */ + + /** + * Add the correct display in IE 10+. + */ + + template { + display: none; + } + + /** + * Add the correct display in IE 10. + */ + + [hidden] { + display: none; + } \ No newline at end of file diff --git a/theme_diwy/static/src/scss/_variables.scss b/theme_diwy/static/src/scss/_variables.scss new file mode 100644 index 000000000..a158a600c --- /dev/null +++ b/theme_diwy/static/src/scss/_variables.scss @@ -0,0 +1,22 @@ +$font-default: "League Spartan", sans-serif; + + + + + + +// Color + + +:root { + --primary-color: #563BFF; + --secondary-color: #9197B3; + --danger-color: #D1293D; + + --diwy-blue: #51459E; + --text-blue: #3734A9; + --text-color: #5A5881; + --white-color: #ffff; + --grey-color: #C4C4C4; + --dark: #4E4E4E; +} \ No newline at end of file diff --git a/theme_diwy/static/src/scss/login.scss b/theme_diwy/static/src/scss/login.scss new file mode 100644 index 000000000..3c53348f0 --- /dev/null +++ b/theme_diwy/static/src/scss/login.scss @@ -0,0 +1,62 @@ + +body { + font-family: "League Spartan", sans-serif; +} +a { + color: #51459E; + font-weight: 600; +} + +.card.o_database_list .card-body { + width: 30vw; + background: rgba(255, 255, 255, 0.2); + border-radius: 15px; + padding: 40px 50px; + backdrop-filter: blur(10px); + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); + border: 1px solid rgba(255, 255, 255, 0.3); +} + +.card.o_database_list { + display: flex; + justify-content: center; + align-items: center; +} +.py-5 { + height: 100vh; + display: flex; + justify-content: center; + align-items: center; +} + + +.oe_login_form button.btn-link { + color: #51459E; + font-weight: 600; +} + +.btn-sm{ + color: #51459E; + font-weight: 600; +} + +.btn-primary { + border-radius: 5px; + font-size: 16px !important; + text-decoration: none; + position: relative; + border: 1px solid #563BFF!important; + background-color: #563BFF!important; + color: #ffff !important; + padding: 10px 30px 6px 30px; +} +.btn-primary:hover { + background-color: rgba(86, 59, 255, 0.28); + transition: all 0.3s; + color: #ffff !important; + border-color: rgba(86, 59, 255, 0.28) !important; +} + + + + diff --git a/theme_diwy/static/src/scss/nav.scss b/theme_diwy/static/src/scss/nav.scss new file mode 100644 index 000000000..d2579a7d7 --- /dev/null +++ b/theme_diwy/static/src/scss/nav.scss @@ -0,0 +1,176 @@ +:root { + --primary-color: #563BFF; + --secondary-color: #9197B3; + --danger-color: #D1293D; + --diwy-blue: #51459E; + --text-blue: #3734A9; + --text-color: #5A5881; + --white-color: #ffff; + --grey-color: #C4C4C4; + --dark: #4E4E4E; +} + +.o_user_menu .dropdown-toggle .o_user_avatar { + border-radius: 50% !important; + } + +.navbar { + background: #fff !important; + border-bottom: transparent; +} +.o_main_navbar{ + background-color: transparent !important; + } +.o_main_navbar .navbar-brand{ + margin-right: 20px; +} +.o_main_navbar .oe_topbar_name{ + color: var(--text-color); + +} +.o_control_panel{ + padding-top: 56px !important; +} +.o_main_navbar .o_menu_sections .dropdown-toggle { + background-color: transparent; + color: var(--text-color); +} + +.o_main_navbar .o_menu_sections .dropdown-toggle:hover { + background-color: transparent; + color: var(--text-color); +} +.fa, .oi { + color: var(--text-color); +} +.o_main_navbar .o_menu_sections .o_nav_entry { + background: transparent; + color: var(--text-color); +} + + + +.sidebar { + height: 93vh; + width: auto; + background-color: var(--white-color); + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.1); + padding: 20px 20px; + padding-left: 0; + padding-top: 40px; + overflow: auto; + scrollbar-width: thin; + scrollbar-color: transparent transparent; + transition: all 0.4s; +} +.sidebar ::-webkit-scrollbar { + display: none; +} +.sidebar:hover::-webkit-scrollbar { + display: block; +} +.sidebar span { + display: none; + padding-right: 15px; + transition: all 0.4s; +} +.sidebar:hover { + scrollbar-color: rgb(219, 219, 219) rgb(218, 218, 218); + transition: all 0.4s; +} +.sidebar:hover span { + display: block; + transition: all 0.4s; +} +.sidebar .sidebar_links { + padding-left: 0; +} +.sidebar #dropdown-toggle { + position: relative; + color: white !important; + margin-bottom: 10px; + margin-left: 25px; +} +.sidebar #dropdown-toggle a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; +} +.sidebar #dropdown-toggle a svg { + margin-top: -2px; +} +.sidebar #dropdown-toggle.active { + color: var(--white-color) !important; + background-color: rgba(86, 59, 255, 0.28); + border-radius: 15px; + padding: 15px 15px; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.26); + position: relative; +} +.sidebar #dropdown-toggle.active a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--white-color) !important; +} +.sidebar #dropdown-toggle.active svg path { + stroke: #ffffff; + transition: stroke 0.3s ease; +} +.sidebar #dropdown-toggle.active:before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; +} +.sidebar .dropdown-content { + position: relative; + display: none; +} +.sidebar .dropdown-content li { + padding: 15px 15px; +} +.sidebar .sidbar-item { + position: relative; + padding: 15px 15px; + margin-left: 25px; +} +.sidebar .sidbar-item a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--secondary-color) !important; + padding-bottom: 10px; +} +.sidebar .sidbar-item a svg { + margin-top: -5px; +} +.sidebar .sidbar-item:hover { + transition: stroke 0.3s ease; +} +.sidebar .sidbar-item:hover a { + color: var(--primary-color) !important; +} +.sidebar .sidbar-item:hover svg path { + stroke: var(--primary-color); +} +.sidebar .sidbar-item:hover ::before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; +} \ No newline at end of file diff --git a/theme_diwy/static/src/scss/sidebar.scss b/theme_diwy/static/src/scss/sidebar.scss new file mode 100644 index 000000000..661e74e2d --- /dev/null +++ b/theme_diwy/static/src/scss/sidebar.scss @@ -0,0 +1,377 @@ +#sidebar_panel { + height: calc(100% - 0%); + position: fixed; + 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; + margin-top:25px; +} + +.sidebar_img { + width: 22px; + width: 22px; + height: 22px; + border-radius: 0px; +} + +html .o_web_client > .o_action_manager{ + margin-left: 98px ; + + @media (max-width: 768px) { + margin-left: 0px !important; + } +} +.sidebar { + height: 94vh; + width: auto; + position: fixed; + background-color: var(--white-color); + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); + padding: 20px 20px; + padding-left: 0; + padding-top: 40px; + overflow: auto; + scrollbar-width: thin; + scrollbar-color: transparent transparent; + transition: all .4s; + z-index: 100; + + ::-webkit-scrollbar { + display: none; + } + + &:hover::-webkit-scrollbar { + display: block; + } + + span { + display: none; + padding-right: 15px; +transition: all .4s; + + } + + &:hover { + scrollbar-color: rgb(219, 219, 219) rgb(218, 218, 218); + transition: all .4s; + + span { + display: block; +transition: all .4s; + + } + } + + .sidebar_links { + padding-left: 0; + } + + #dropdown-toggle { + position: relative; + color: white !important; + margin-bottom: 10px; + margin-left: 25px; + + a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + + svg { + margin-top: -2px; + } + } + } + + #dropdown-toggle.active { + color: var(--white-color) !important; + background-color: rgba(86, 59, 255, 0.28); + border-radius: 15px; + padding: 15px 15px; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.26); + position: relative; + + a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--white-color) !important; + } + + svg path { + stroke: #ffffff; + transition: stroke 0.3s ease; + } + + &:before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; + } + } + + .dropdown-content { + position: relative; + display: none; + + li { + padding: 15px 15px; + } + } + + .sidbar-item { + position: relative; + margin-bottom: 10px; + padding: 15px 15px; + margin-left: 25px; + + a { + width: 100%; + display: flex; + justify-content: start; + column-gap: 15px; + align-items: center; + color: var(--secondary-color) !important; + padding-bottom: 10px; + + svg { + margin-top: -5px; + + } + } + + &:hover { + a { + color: var(--primary-color) !important; + } + + svg path { + stroke: var(--primary-color); + } + + transition: stroke 0.3s ease; + + ::before { + position: absolute; + content: ""; + height: 100%; + width: 8px; + background-color: var(--primary-color); + left: -28px; + top: 0; + border-radius: 10px; + } + } + } +} + + +.dashboard_body { + margin-left: 20px; + margin-right: 20px; + +} + +.dashboard_main { + margin-top: 70px; + + display: grid; + grid-template-columns: auto 1fr; + +} + +.control_panel { + margin-bottom: 15px; + .form-control { + border-color: transparent; + width: 100%; + height: 45px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); + + + &::placeholder { + color: var(--grey-color); + } + + &:focus { + + border-color: var(--grey-color); + } + } +} + +.control_panelnavigation { + background-color: var(--white-color); + border-radius: 5px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); + padding: 3px 3px; + display: flex; + height: 43px; + + +} +.app_wrapp.active { + background-color: #f1f1f1; + font-weight: bold; +} + +#dropdownElement{ + cursor: pointer; + background-color: #ffffff; + padding: 10px 20px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); +border-radius: 5px; +color: var(--text-color); +// height: 42px; + +} + +#panel_dropdown{ +padding-left: 0; +} + +.panel_dropdown_content{ + background-color: var(--white-color); + padding:15px 15px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + + li{ + margin-bottom: 10px; + transition: .5s; + padding-left: 20px; + + a{ + color: var(--text-color); + + } + + &:hover{ + margin-left: 15px; + transition: .5s; + } + } + +} + +.card_1{ + cursor: pointer; + background-color: #ffffff; + padding: 10px 20px; + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); +border-radius: 5px; +width: 400px; + +transition: all .4s; + +.wrapper{ + display: flex; + justify-content: space-between; + padding-top: 15px; + h3{ + font-size: 28px; + } + p{ + font-size: 16px; + } +} + + +&:hover{ + box-shadow: 0 4px 4px 0px rgba(86, 59, 255, 0.25); +transition:box-shadow 0.3s ease; +transform: translateY(calc(-1.5rem / 5)); +transition: all .4s; + + } +} + + +.table_wrapper{ + box-shadow: 0 2px 4px 0px rgba(86, 59, 255, 0.10); + margin-bottom: 20px; + +} +.thead-light{ + th{ + background-color: #563bff17 !important; + font-weight: 500; + } +} + +.badge{ + color: var(--text-color); +} + + +.td_img{ + width: 25px; +} + + + +.avatar{ + width: 50px; +} + + +.tag_group{ + margin-top: 20px; +} + +.badge{ + // background-color: white !important; + padding: 10px 10px; + + + + + &-primary{ + background-color: #dedffd !important; + } + + &-secondary{ + background-color: #9691d26f !important; + } + &-success{ + background-color: rgb(204, 245, 231) !important; + color: #00cc88 !important ; + + } + &-danger{ + background-color:#ffd6e0 !important + } + + &-warning{ + background-color: #e4bd3e53 !important; + } + &-info{ + background-color: #0d61fc56 !important; + } + &-light{ + background-color: #FBFBFB !important; + } +} + +.sidebar .sidbar-item.active{ + color: var(--white-color) !important; + background-color: rgba(86, 59, 255, 0.28); + border-radius: 15px; + padding: 15px 15px; + box-shadow: 0px 15px 35px 0px rgba(86, 59, 255, 0.26); + position: relative; +} + + diff --git a/theme_diwy/static/src/scss/style.scss b/theme_diwy/static/src/scss/style.scss new file mode 100644 index 000000000..e0e7cb4ef --- /dev/null +++ b/theme_diwy/static/src/scss/style.scss @@ -0,0 +1,24 @@ + + +@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap'); + +// @import url(https://unpkg.com/@webpixels/css@1.1.5/dist/index.css); + +/* Bootstrap Icons */ +@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.4.0/font/bootstrap-icons.min.css"); + + + +@import 'normalize'; + + +@import 'pages/pages'; + + + +@import 'components/components'; +@import 'layouts/layout'; + +@import 'variables'; + +@import 'common'; diff --git a/theme_diwy/static/src/xml/home_menus.xml b/theme_diwy/static/src/xml/home_menus.xml new file mode 100644 index 000000000..b8f2a6f08 --- /dev/null +++ b/theme_diwy/static/src/xml/home_menus.xml @@ -0,0 +1,34 @@ + + +
+
+ +
+
+
+
\ No newline at end of file diff --git a/theme_diwy/static/src/xml/menu_panels.xml b/theme_diwy/static/src/xml/menu_panels.xml new file mode 100644 index 000000000..63c887c29 --- /dev/null +++ b/theme_diwy/static/src/xml/menu_panels.xml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/theme_diwy/static/src/xml/nav_bar_panel.xml b/theme_diwy/static/src/xml/nav_bar_panel.xml new file mode 100644 index 000000000..0cfb20575 --- /dev/null +++ b/theme_diwy/static/src/xml/nav_bar_panel.xml @@ -0,0 +1,40 @@ + + + + + + + \ No newline at end of file diff --git a/theme_diwy/static/src/xml/side_bar_panel.xml b/theme_diwy/static/src/xml/side_bar_panel.xml new file mode 100644 index 000000000..e90e3bc62 --- /dev/null +++ b/theme_diwy/static/src/xml/side_bar_panel.xml @@ -0,0 +1,48 @@ + + + + + + + + \ No newline at end of file