diff options
| author | qsm-odoo <qsm@odoo.com> | 2021-01-27 13:53:17 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2021-01-27 14:10:40 +0000 |
| commit | 2172295cefa1d8780332709bf0c97cfa23def3a5 (patch) | |
| tree | 00dae85fd62a66768787eaa6307194c9b8cf9e5c /addons/website/static/src | |
| parent | 80811df234880621c0a3f71f7f43f512f8e9f709 (diff) | |
[FIX] website, *: reset header items colors to default when transparent
*: web_editor
Users can choose one of their color combination to apply on the header.
If they then choose to make the header transparent over the content for
a specific page, the color of buttons & other components in the header
should be reset to the default website color combination's colors as the
header component are now appearing over the default content.
Part of https://github.com/odoo/odoo/pull/65139
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 412d7d279e3..62c1a5ee252 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -1148,14 +1148,17 @@ header { z-index: 1000; > .navbar { + @include o-apply-colors(1); // Reset to default colored components background-color: transparent !important; border-color: transparent; color: inherit; .nav-item { > .nav-link { - background-color: transparent; - color: inherit; + &, &:hover { + background-color: transparent; + color: inherit; + } &.active { font-weight: bolder; |
