diff --git a/addons/portal/__manifest__.py b/addons/portal/__manifest__.py index e9fe1e36151..1fb78f87335 100644 --- a/addons/portal/__manifest__.py +++ b/addons/portal/__manifest__.py @@ -15,7 +15,7 @@ portal. This module contains most code coming from odoo v10 website_portal. Purpose of this module is to allow the display of a customer portal without having a dependency towards website edition and customization capabilities.""", - 'depends': ['http_routing', 'mail'], + 'depends': ['web', 'web_editor', 'http_routing', 'mail'], 'data': [ 'data/portal_data.xml', 'views/assets.xml', diff --git a/addons/portal/static/src/scss/bootstrap_overridden.scss b/addons/portal/static/src/scss/bootstrap_overridden.scss index 8f129e7bee4..b1eb608633b 100644 --- a/addons/portal/static/src/scss/bootstrap_overridden.scss +++ b/addons/portal/static/src/scss/bootstrap_overridden.scss @@ -1,23 +1,24 @@ // This variable affects the `.h-*` and `.w-*` classes. -$sizes: ( +$sizes: () !default; +$sizes: map-merge(( 0: 0, -); +), $sizes); // Body // // Settings for the `` element. -$body-bg: $o-portal-default-body-bg; +$body-bg: $o-portal-default-body-bg !default; // Fonts // // Font, line-height, and color for body text, headings, and more. -$font-size-sm: (12 / 16) * 1rem; +$font-size-sm: (12 / 16) * 1rem !default; // Buttons // // For each of Bootstrap's buttons, define text, background, and border color. -$btn-padding-y-sm: (1 / 16) * 1rem; -$btn-padding-x-sm: (5 / 16) * 1rem; +$btn-padding-y-sm: (1 / 16) * 1rem !default; +$btn-padding-x-sm: (5 / 16) * 1rem !default; diff --git a/addons/portal/views/assets.xml b/addons/portal/views/assets.xml index d83de5c4898..da71821fa9a 100644 --- a/addons/portal/views/assets.xml +++ b/addons/portal/views/assets.xml @@ -5,13 +5,13 @@ -