diff --git a/oca_all/README.rst b/oca_all/README.rst index be9678b4..704730ca 100644 --- a/oca_all/README.rst +++ b/oca_all/README.rst @@ -1,7 +1,3 @@ -.. image:: https://odoo-community.org/readme-banner-image - :target: https://odoo-community.org/get-involved?utm_source=readme - :alt: Odoo Community Association - ======= OCA All ======= @@ -17,7 +13,7 @@ OCA All .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status :alt: Alpha -.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foca--custom-lightgray.png?logo=github diff --git a/oca_all/__manifest__.py b/oca_all/__manifest__.py index 6a50ec90..3d256467 100644 --- a/oca_all/__manifest__.py +++ b/oca_all/__manifest__.py @@ -171,6 +171,8 @@ "website_oca_integrator", "website_sale_hide_empty_category", "website_sale_oca_apps", + # OCA CUSTOM + "oca_website", ], "installable": True, } diff --git a/oca_all/static/description/index.html b/oca_all/static/description/index.html index 4c786f1a..2ff7d3d9 100644 --- a/oca_all/static/description/index.html +++ b/oca_all/static/description/index.html @@ -3,7 +3,7 @@ -README.rst +OCA All -
+
+

OCA All

- - -Odoo Community Association - -
-

OCA All

-

Alpha License: AGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

+

Alpha License: AGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

OCA’s Odoo instance’s dependencies.

Installing this module will create an instance likes the one used to manage the OCA association.

@@ -396,7 +391,7 @@

OCA All

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -404,15 +399,15 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association @@ -427,6 +422,5 @@

Maintainers

-
diff --git a/oca_website/README.rst b/oca_website/README.rst new file mode 100644 index 00000000..36c92cc4 --- /dev/null +++ b/oca_website/README.rst @@ -0,0 +1,76 @@ +================= +OCA Website Theme +================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:49d7c6d134297f62081dab07feff10b10b06e5d71ffccc23fbc588ccd9dd64e5 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foca--custom-lightgray.png?logo=github + :target: https://github.com/OCA/oca-custom/tree/18.0/oca_website + :alt: OCA/oca-custom +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/oca-custom-18-0/oca-custom-18-0-oca_website + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/oca-custom&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Custom theme for the oca website + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Akretion + +Contributors +------------ + +- Dora Jurcevic dora.jurcevic@akretion.com + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/oca-custom `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/oca_website/__init__.py b/oca_website/__init__.py new file mode 100644 index 00000000..737b4772 --- /dev/null +++ b/oca_website/__init__.py @@ -0,0 +1 @@ +# from . import models diff --git a/oca_website/__manifest__.py b/oca_website/__manifest__.py new file mode 100644 index 00000000..4d2b4d24 --- /dev/null +++ b/oca_website/__manifest__.py @@ -0,0 +1,32 @@ +{ + "name": "OCA Website Theme", + "version": "18.0.1.0.0", + "category": "Theme", + "summary": "OCA Website Theme", + "author": "Akretion, Odoo Community Association (OCA)", + "company": "Akretion", + "maintainer": "Akretion", + "website": "https://github.com/OCA/oca-custom", + "depends": [ + "website", + ], + "data": [ + "data/images.xml", + ], + "images": [ + "static/description/favicon.png", + "static/description/theme_screenshot.png", + ], + "assets": { + "web._assets_primary_variables": [ + "oca_website/static/src/scss/primary_variables.scss", + ], + "web.assets_frontend": [ + "oca_website/static/src/scss/layout/website_theme.scss", + ], + }, + "license": "LGPL-3", + "installable": True, + "auto_install": False, + "application": False, +} diff --git a/oca_website/data/images.xml b/oca_website/data/images.xml new file mode 100644 index 00000000..d8cb4ee6 --- /dev/null +++ b/oca_website/data/images.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/oca_website/pyproject.toml b/oca_website/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/oca_website/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/oca_website/readme/CONTRIBUTORS.md b/oca_website/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..9cf92eb0 --- /dev/null +++ b/oca_website/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Dora Jurcevic diff --git a/oca_website/readme/DESCRIPTION.md b/oca_website/readme/DESCRIPTION.md new file mode 100644 index 00000000..a1ae5b27 --- /dev/null +++ b/oca_website/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Custom theme for the oca website diff --git a/oca_website/static/description/favicon.png b/oca_website/static/description/favicon.png new file mode 100644 index 00000000..234b5383 Binary files /dev/null and b/oca_website/static/description/favicon.png differ diff --git a/oca_website/static/description/index.html b/oca_website/static/description/index.html new file mode 100644 index 00000000..e3958059 --- /dev/null +++ b/oca_website/static/description/index.html @@ -0,0 +1,423 @@ + + + + + +OCA Website Theme + + + +
+

OCA Website Theme

+ + +

Beta License: LGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

+

Custom theme for the oca website

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/oca-custom project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/oca_website/static/description/theme_screenshot.png b/oca_website/static/description/theme_screenshot.png new file mode 100644 index 00000000..6f3835ec Binary files /dev/null and b/oca_website/static/description/theme_screenshot.png differ diff --git a/oca_website/static/img/content/logo.png b/oca_website/static/img/content/logo.png new file mode 100644 index 00000000..4629f190 Binary files /dev/null and b/oca_website/static/img/content/logo.png differ diff --git a/oca_website/static/src/scss/layout/website_theme.scss b/oca_website/static/src/scss/layout/website_theme.scss new file mode 100644 index 00000000..457a8400 --- /dev/null +++ b/oca_website/static/src/scss/layout/website_theme.scss @@ -0,0 +1,15 @@ +#wrapwrap { + .o_wcrm_filters_top, + .o_searchbar_form { + .input-group { + .bg-light, + .btn-light { + background-color: #f3f4f6 !important; + } + .btn.btn-light { + border-color: #f3f4f6 !important; + color: map-get($theme-colors, "primary"); + } + } + } +} diff --git a/oca_website/static/src/scss/primary_variables.scss b/oca_website/static/src/scss/primary_variables.scss new file mode 100644 index 00000000..0f1ef134 --- /dev/null +++ b/oca_website/static/src/scss/primary_variables.scss @@ -0,0 +1,102 @@ +// prettier-ignore +$o-website-values-palettes: ( + ( + // Colors + "color-palettes-name": "oca_website", + // Fonts + "headings-font": "DM Sans", + "font": "DM Sans", + "navbar-font": "DM Sans", + "buttons-font": "DM Sans", + + // Footer + "footer": 3, + + //hedings, margins and line heights + "font-size-base": 16px, + "body-line-height": 1.5, + "headings-line-height": 1.2, + "paragraph-margin-top": 0, + "paragraph-margin-bottom": 16px, + "headings-margin-top": 0, + "headings-margin-bottom": 0.5rem, + ), +); + +// Fonts +$o-theme-font-configs: ( + "DM Sans": ( + "family": ( + "DM Sans", + sans-serif, + ), + "url": "DM+Sans:400,500,700", + "properties": ( + "base": ( + "font-size-base": 1rem, + ), + ), + ), +); +// Colors +$o-color-palettes: map-merge( + $o-color-palettes, + ( + "oca_website": ( + "o-color-1": #141a46, + "o-color-2": #a4b0f1, + "o-color-3": #fc624d, + "o-color-4": #ffffff, + "o-color-5": #2a2a2a, + "o-color-6": #fff6f5, + + "o-cc1-bg": "o-color-4", + "o-cc1-text": "o-color-1", + "o-cc1-headings": "o-color-3", + "o-cc1-link": "o-color-1", + "o-cc1-btn-primary": "o-color-1", + "o-cc1-btn-secondary": "o-color-3", + + "o-cc2-bg": "o-color-6", + "o-cc2-text": "o-color-1", + "o-cc2-headings": "o-color-1", + "o-cc2-link": "o-color-2", + "o-cc2-btn-primary": "o-color-1", + "o-cc2-btn-secondary": "o-color-2", + + "o-cc3-bg": "o-color-1", + "o-cc3-text": "o-color-4", + "o-cc3-headings": "o-color-4", + "o-cc3-link": "o-color-4", + "o-cc3-btn-primary": "o-color-3", + "o-cc3-btn-secondary": "o-color-4", + + "o-cc4-bg": "o-color-3", + "o-cc4-text": "o-color-4", + "o-cc4-headings": "o-color-4", + "o-cc4-link": "o-color-4", + "o-cc4-btn-primary": "o-color-1", + "o-cc4-btn-secondary": "o-color-2", + + "o-cc5-bg": "o-color-5", + "o-cc5-text": "o-color-4", + "o-cc5-headings": "o-color-4", + "o-cc5-link": "o-color-4", + "o-cc5-btn-primary": "o-color-3", + "o-cc5-btn-secondary": "o-color-2", + ), + ) +); + +$o-selected-color-palettes-names: append( + $o-selected-color-palettes-names, + "oca_website" +); + +$container-max-widths: ( + sm: 540px, + md: 720px, + lg: 960px, + xl: 1140px, + xxl: 1280px, +); diff --git a/pyproject.toml b/pyproject.toml index 02b259d8..9481459e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,7 +113,6 @@ odoo-addon-crowdfunding_public_pledge = { git = "https://github.com/hbrunn/crowd odoo-addon-account_statement_import_online_wise = { git = "https://github.com/Therp/bank-statement-import", branch="18.0-fix-account-statement-import-online-wise", subdirectory = "account_statement_import_online_wise" } odoo-addon-account_banking_pain_base = { git = "https://github.com/Therp/bank-payment", branch = "18.0-mig-account_banking_pain_base_sepa_hybrid_extended_for_09", subdirectory = "account_banking_pain_base" } odoo-addon-account_banking_sepa_credit_transfer = { git = "https://github.com/Therp/bank-payment", branch = "18.0-mig-account_banking_pain_base_sepa_hybrid_extended_for_09", subdirectory = "account_banking_sepa_credit_transfer" } -odoo-addon-account_payment_method_base_mode = { git = "https://github.com/Therp/bank-payment", branch = "18.0-add-account_payment_method_base_mode", subdirectory = "account_payment_method_base_mode" } # Example to develop module from another repository in editable mode # odoo-addon-membership-delegated-partner-line = { path = "src/vertical-association/setup/membership_delegated_partner_line", editable = true } diff --git a/test-requirements.txt b/test-requirements.txt index a9e6dbba..490872bf 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,4 +9,3 @@ odoo-addon-crowdfunding_public_pledge @ git+https://github.com/hbrunn/crowdfundi odoo-addon-account_statement_import_online_wise @ git+https://github.com/Therp/bank-statement-import@18.0-fix-account-statement-import-online-wise#subdirectory=account_statement_import_online_wise odoo-addon-account_banking_pain_base @ git+https://github.com/Therp/bank-payment.git@18.0-mig-account_banking_pain_base_sepa_hybrid_extended_for_09#subdirectory=account_banking_pain_base odoo-addon-account_banking_sepa_credit_transfer @ git+https://github.com/Therp/bank-payment.git@18.0-mig-account_banking_pain_base_sepa_hybrid_extended_for_09#subdirectory=account_banking_sepa_credit_transfer -odoo-addon-account_payment_method_base_mode @ git+https://github.com/Therp/bank-payment.git@18.0-add-account_payment_method_base_mode#subdirectory=account_payment_method_base_mode