diff options
| author | Cocographique <nmi@odoo.com> | 2020-08-12 08:34:06 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2020-08-27 17:07:34 +0000 |
| commit | b14b69ebc82314403d9181a42693bb7faf6dada4 (patch) | |
| tree | 95cda2e12ff22f4fd42796c3c996be1880ae0168 /addons/website/static/src | |
| parent | c6ad4dfdc0e133bd985054125bcb46e4e3f52cdd (diff) | |
[IMP] website, *: add 'centered logo' header template
*: website_sale, website_sale_wishlist
Part of https://github.com/odoo/odoo/pull/56427
task-2264627
Co-authored-by: qsm-odoo <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index ad1769d0a19..b901ecabb97 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -933,9 +933,7 @@ header { margin-bottom: $spacer; } } -} - -@if o-website-value('header-template') == 'sidebar' { +} @else if o-website-value('header-template') == 'sidebar' { @include media-breakpoint-up(lg) { #wrapwrap { // Hack: padding is used by layout option (boxed, etc) so use @@ -993,6 +991,12 @@ header { #wrapwrap:not(.o_header_overlay) .o_header_boxed_background { @include o-apply-colors('header-boxed'); } +} @else if o-website-value('header-template') == 'centered_logo' { + header .o_header_centered_logo { + @include media-breakpoint-up(lg) { + width: 50%; + } + } } // Mega menu |
