[FIX] website: remove the background color behind the affixed navbar
For some unknown reason (part of a huge refactoring during the BS3 to BS4 migration at [1]), a background color was applied to the <header> (behind the navbar) once it becomes fixed (after scroll if the related header scroll effect has been chosen). That $light color made no sense as is visible if the header uses rounded corners but is impossible to edit / remove. This commit, for master, simply removes it. This is not possible to migrate (for example to try and handle the case where the menu color is transparent) as it would require to know the color of $light. It would be overkill anyway, this just relies on users with that problematic transparent header (probably nearly no one) to review their header in the next Odoo version. [1]: https://github.com/odoo/odoo/commit/09f40036b9c14161db90c6128861369c91c8c64e opw-2686695 closes odoo/odoo#90058 X-original-commit: f721e6187933cde4366a7f987fb80612da581670 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -755,7 +755,6 @@ $-transition-duration: 200ms;
|
||||
display: block;
|
||||
@include o-position-absolute(0, 0, auto, 0);
|
||||
position: fixed;
|
||||
background: $light;
|
||||
|
||||
&:not(.o_header_no_transition) {
|
||||
transition: transform $-transition-duration;
|
||||
|
||||
Reference in New Issue
Block a user