Commit Graph
6280 Commits
Author SHA1 Message Date
stefanorigano (SRI) a9f20dcbb9 [FIX] website: increase footer home-icon readability
Ideally we should let background/text-color adapt to the current
color-preset. Since icons bg are forced to `$gray-100` though, this
commit will just increase readability allowing user's customization

task-2327741

closes odoo/odoo#59303

X-original-commit: 15ac3a2f08ed400ec5f64b40b7a8f5be04c46513
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-10-06 15:23:39 +00:00
Thanh Dodeur c1393a713c [FIX] website: matches icon apps to the app switcher
This commit makes it so that the icons of the website new-content
menu are closer to the icon of the app they are related to.

task-2329291

closes odoo/odoo#59236

X-original-commit: 4565a65e99a6dae323fd3d7ddf2010fea102bb91
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-10-06 10:17:32 +00:00
qsm-odoo 2e767ffefa [FIX] website: improve menu loading effect
Long story short: that menu loading effect was introduced with version
12.0 for a technical reason: allow menu items to collapse into a
dropdown when there are too many. For that, during loading their height
is forced to 0 and they are hidden so that they do not make the header
grow when going on multiple lines.

Since 13.0, the lazy loading made this effect to be too delayed... but
fixing that would make another flickering appear due to the logo image
loading. This thus cannot be fixed at the moment.

However, since 14.0 there are several menu templates and some make the
effect look really ugly. Like the vertical header which has a tiny
empty header which then grow with the menu items on loading. To mitigate
the effect, this commit replaces the "height: 0" trick by forcing the
menu items on one line during loading. They however still stay hidden
during this time to avoid the logo menu flickering, for now.

Part of https://github.com/odoo/odoo/pull/59136

closes odoo/odoo#59148

X-original-commit: 1edf40e76be4a4595849c4c9dab692984e372c46
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-10-05 16:27:48 +00:00
qsm-odoo e8ed7e6880 [FIX] website: prevent button to flicker in navbar
The navbar may now have static content which can be on the right of the
menu items. Like for the default navbar which has a button on the right.
When they are a lot of menu items, the static content is shrinked...
before the auto-hide extra menus feature is done. This flickering can
be reduced by forcing the navbar buttons to stay on one line.

Part of https://github.com/odoo/odoo/pull/59136

X-original-commit: 5c9d28ac9a1307e5786f0909d5135e82f420274d
2020-10-05 16:27:48 +00:00
qsm-odoo 6c3131d4be [FIX] website: always show border radius config for cards
The border radius configuration is available on elements whose
background color or border is set. For cards, it should always be
available since the background color option is different there and there
is no way to remove the color entirely anyway.

closes odoo/odoo#59089

X-original-commit: 2d860cdddf29b9fbd1a5401082c9f743028d2fb5
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-10-05 10:59:00 +00:00
Martin Trigaux 2683184aa6 [FIX] *: fix all the typos
And other reported English mistakes in source string
Courtesy of Transifex translators

And remove leftover from gengo

closes odoo/odoo#59022

X-original-commit: 26efc84c5cac47a2cc83d7b084f8b71528fec6c7
Related: odoo/enterprise#13781
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-05 09:36:34 +00:00
Goaman ad2f0eff5e [FIX] website: load website.utils only once
When in `debug=tests` and in unidentified moments in `debug=assets`,
there is two loading of website.utils which was throwing an error.

closes odoo/odoo#58861

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2020-10-02 08:52:41 +00:00
Goaman 55f10ac9a0 [IMP] web_editor: add assets for jabberwock editor
This commit lays the groundwork for the new editor by adding empty files to the assets in
order to change them later on. The new editor is not stable enough to be merged right
now, but delaying it to 15.0 would be problematic as the current editor has many bugs that
we are unable to fix because of how summernote interacts with browser-dependent code as well
as all the hacks that were done on top of it for Odoo since 8.0.
2020-10-02 08:52:40 +00:00
Antoine Guenet e215422bc0 [REM] website: remove the folded list snippet 2020-10-02 08:52:40 +00:00
Nicolas Martinelli 481d1393e7 [FIX] base_setup, website, tests: remove Gengo references
The Gengo modules were removed with:
https://github.com/odoo/odoo/commit/b38b72e456a
https://github.com/odoo/odoo/commit/9b1f0962baa

But there are still references to it.

opw-2349904

closes odoo/odoo#58938

X-original-commit: a30edba504aa1b62aa02092112a55bca65cf9a0c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-10-01 17:34:27 +00:00
Martin Trigaux e79531c136 [I18N] *: export 14.0 source terms
Including demo data this time

closes odoo/odoo#58862

X-original-commit: 575abde110acb3d12b25f177a863374becef0894
Related: odoo/enterprise#13705
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 17:52:02 +00:00
Benjamin Vray fcd5e6896c [FIX] website: fix table of content navbar links when scrolling
Before this commit active navbar links were not correctly updated with
the scroll position.

task-2312878

closes odoo/odoo#58871

X-original-commit: a0ef5b0ea5e6025d6121849c2c98c077d86e237b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 21:00:41 +00:00
Benjamin Vray c73b03a663 [FIX] website: fix snippet blockquote with display cover
Adapt the snippet with the new color filter layer and fix the padding

Part of https://github.com/odoo/odoo/pull/58850
task-2312878

closes odoo/odoo#58865

X-original-commit: ec880af6aa091ba5f5cc39e754c7266d2488cba7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 18:36:12 +00:00
Benjamin Vray 4aa8e4913a [FIX] website, *: fix background layer elsewhere than in a section
*: web_editor

Before this commit, the elements (other than section) and with the
background layer options avaible (shape, color filter, etc.) did not
have the relative position added on their children. So all the
children were hidden behind the layer element which is in absolute
position.

Part of https://github.com/odoo/odoo/pull/58850
task-2312878

X-original-commit: 9c08e119b125b82e2c42dc944920dd8a96789e25
2020-09-29 18:36:11 +00:00
qsm-odoo 10131f8ebd [FIX] website: update main padding top before making the header affixed
When the header goes affixed, a compensating padding-top is added on
the content so that the scroll does not flicker. That padding-top was
added a bit too late and was enough to mess up the scroll on pages where
the content is about the height of the viewport: the header goes affix,
the scrollable content becomes smaller, the padding top is added, a
scroll is detected, the header is un-affixed since above scroll point
-> bug. If the padding top is added first, then there is no problem.

Note: the scroll effects code could probably use some refactoring.

Part of https://github.com/odoo/odoo/pull/56936
task-2312878

closes odoo/odoo#58859

X-original-commit: bb77cd2961e71deaf048cbaad20f8cb72a646cab
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 17:50:38 +00:00
Benjamin Vray 887d19f378 [FIX] website: disable effects with sidebar header
Part of https://github.com/odoo/odoo/pull/56936
task-2312878

X-original-commit: 328a3459971ab18dd8b1b654eec57311034dec17
2020-09-29 17:50:36 +00:00
Benjamin Vray aa375d940f [FIX] website: fix full height snippet option
Before this commit the height of a snippet with the full height option
enabled was not correctly updated.

task-2312878

closes odoo/odoo#58782

X-original-commit: b371cb42cb67115692464c102813b7ebd54785d9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 10:28:45 +00:00
qsm-odoo 66cc01e76d [FIX] web_editor, *: show text tools in style tab only
*: website

As the text editor is still the summernote one, this improvement was
made possible through a series of hack. It has to be reviewed once the
new editor is ready.
This makes the text tools only appear in the style tab by switching to
it as soon as the summernote tools are updated. To prevent flickering,
css and js hacks had to be made.

This also moves the undo/redo buttons in the top bar with another hack:
those simulates click on the hidden summernote ones.

Part of https://github.com/odoo/odoo/pull/58638

X-original-commit: 0f65015b1b0a849bf109df11fd18a9e3a62820e4
2020-09-28 18:58:24 +00:00
qsm-odoo 9c41a344cf [IMP] web_editor, *: automatically increase default link color contrast
*: website

Inside a color combination (or outside, as considered the same as inside
color combination number 1), the link color can be configured. It is
set by themes to one of the 5 theme colors. Sometimes, no color of
those 5 colors contrast enough with the color combination's background
and we accepted that before, relying on the fact the user can change the
link color if he wants too. Now we automatically increase the contrast
of those link colors, except if the user overrides it.

This system might be extended to all foreground colors in the future but
the system has to be improved for that.

closes odoo/odoo#58739

X-original-commit: f8abb476fe0475799a3da66d49a92c7de2ace8a0
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-28 18:17:43 +00:00
Jérémy Hennecart a7c3e3ef6c [FIX] website: fix margin website_visitor
Fix margin for kanban view that was displaying a horizontal
scrollbar.

task-2346202

closes odoo/odoo#58669

X-original-commit: 97a43dde99835d4e3c4daf7e3e0b46342af46ab9
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-28 12:12:32 +00:00
Benjamin Vray c460aa7994 [FIX] web_editor, website: fix menu colors in table of content
Before this commit, the colors of the navbar in the table of content
menu were not adapted to the color combinations system. With navbar in
top position, the background and the colors of the links were using the
same color.

After this commit, the colors of the list-group-item links are also
adapted with color combinations.

task-2312878

closes odoo/odoo#58645

X-original-commit: a0dc17676c570887773854243bcb8cd8823359d5
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-28 11:29:20 +00:00
Jeremy Kersten 75c2640ce5 [FIX] website: server_page match trailing slash
After this commit, if an url with trailing slash is not found we fallback
to the url without the slash with a redirect to respect seo.
With this change we have the same behavior that controllers.

We continue to support trailing slash if page explicitely created with /
via backend e.g. and for retrocompatibility.

task-2346185

closes odoo/odoo#58603

X-original-commit: 3d65424708d1623654756d58d78cec5f8d71276f
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-28 10:28:44 +00:00
Benjamin Vray e7ee28cb67 [FIX] website: fix off-canvas menu when header is affixed
Before this commit the layout of the off-canvas menu was broken with an
affixed header.

task-2312878

closes odoo/odoo#57442

closes odoo/odoo#58528

X-original-commit: 6e1c2ad5db69fe7eaa8f53c8da8375435b59f486
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-25 13:12:02 +00:00
Laurent Stukkens (LTU) 64b663fb42 [FIX] website: prevent dynamic snippet flicker in edit mode
* Prior to this commit the dynamic snippet was flickering (destroy followed
  by init) because the parallax option triggers a _refreshPublicWidgets
  in the onFocus. As such each time the user clicks somewhere in the snippet
  the snippet desapears and reappears which can be confusing for the user.

* After this commit, the parallax option will only trigger a refresh on snippets that
  are using parallax. This commit also prevent the user from selecting an element of
  the dynamic snippet as it is not customizable.

task-2339246

closes odoo/odoo#57693

closes odoo/odoo#58525

X-original-commit: ac2d836af9a38687dd0c6d377212f49b102892af
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-25 13:00:15 +00:00
Mithilesh Rao 6ef622772f [FIX] website: Fix modal dialog overlap with navbar
Currently, when there is modal dialog in website the header part of
the modal is hidden behind the navbar and the modal is not centered.

so in this commit, When the modal is in #wrapwrap, modal position
top should be size of the navbar.

closes odoo/odoo#56056

Taskid: 2320303
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-09-21 09:59:45 +00:00
qsm-odoo 9cf8b97fe4 [FIX] website, *: review modal behaviors with right-panelization
*: web, web_editor

Since the right-panelization made with [1], the modals were not
compensating the body scrollbar when opened anymore and the backdrop
was misplaced. This commit fixes the problems generically, to support
modals with non-body scrolling.

[1]: https://github.com/odoo/odoo/pull/57975

closes odoo/odoo#58442

X-original-commit: ebd0c90a146145079061e79c2d4c37fa182a2975
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-25 08:56:52 +00:00
std-odoo ad4b3c2363 [FIX] website_slides: hide the website default header in fullscreen
Bug
===
You can enter in a fullscreen mode in the frontend, of the slide channel.
In this view, the default website header should not be visible.

To do that, we play with z-index, but since 0f2cab4aeb ,
the z-index of the website header has been changed without changing the z-index
of the fullscreen view.

Task-2345016

closes odoo/odoo#58483

X-original-commit: 8d35540df6d21af6fe716f73aefa37bfb66c7ac2
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-25 07:56:07 +00:00
Jeremy Kersten 27c663a48a [FIX] website: edit master wrongly computed
In case you don't have the trailing slash and are on your homepage, the indexOf
will return -1 and you will be redirectected to the pathname.substr(-1)

Now if you don't have trailing slash in your url after position 1, we don't
subtract anything.

domain.com/fr_BE

Before this commit:
   => redirect to domain.com/E
After thi comit
   => redirect to domain.com

task-2345490

closes odoo/odoo#58458

X-original-commit: ada2e2ce68dbc8b1df701691d9d3e958fef4ea31
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-24 16:23:35 +00:00
qsm-odoo 86a02be12e [FIX] website: handle affixed header in full screen mode
The affixed header was not properly repositioned in editor full screen
mode (introduced in 13.4).

closes odoo/odoo#58447

X-original-commit: 7502c8aa6e5422b1ecf446002e187fa2f7ca3aa7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-24 15:01:39 +00:00
Jeremy Kersten d86a1fa685 [IMP] website: rename 'choose a theme' to 'pick a theme'
closes odoo/odoo#58446

X-original-commit: af99455d9c4314ef13d1014450d927f99cd16b9a
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-24 15:01:55 +00:00
Jeremy Kersten cd004a9fec [IMP] website: remove white shadow on logo
This reverts commit 8b8c26877a41e55eb0f3acb1909ac0c3abbf37d7.

While it fixes cases on colored background, it is ugly on black bg.
Waiting another colution, real white edge ?

closes odoo/odoo#58326

X-original-commit: b14694bc679280e99caad04676668462f4e8bdb2
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-23 11:06:53 +00:00
qsm-odoo 86959c0144 [FIX] website: restore top editor bar for translate mode
The text tools were moved in the right panel with a temporary solution
but as there is no right panel in translate mode, the text tools were
just floating summernote-way. This commit restores the top editor bar
in that case while waiting for the new editor.

Part of https://github.com/odoo/odoo/pull/58347

closes odoo/odoo#58372

X-original-commit: b9d4ccfc8db1f3425b8ee0e8d6311ebaac0f26b2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-23 18:38:48 +00:00
qsm-odoo dbf35a6876 [FIX] website: restore sidebar and off-canvas menus in edit mode
Those were misaligned since the merge of the right-panelization.

Part of https://github.com/odoo/odoo/pull/58347

X-original-commit: be59e6cd0d30c8e5fb70311db4d9657826a9d43f
2020-09-23 18:38:48 +00:00
qsm-odoo 8e248f226d [FIX] website: switch the order of save/discard buttons for editor panel
closes odoo/odoo#58361

X-original-commit: 363139d942395b00b043f78a3c3c09c70a279cf8
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-23 14:31:38 +00:00
stefanorigano (SRI) e89a960ec6 [FIX] website: remove console.log
Commit [1] introduced the console.log by mistake.

[1]: https://github.com/odoo/odoo/commit/eb34a7841978aea5c3f2d04121fd0e6adda94e3b#diff-24b0433302053618c5b742f3eded1d67R2153

task-2335267

closes odoo/odoo#58274

Part-of: #57942
X-original-commit: ae0f068e45fc2731862ee3ebfd28fa9e49f06102
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-22 18:51:18 +00:00
stefanorigano (SRI) e1707be5c3 [FIX] web_editor, website: reword theme options, highlight <we-title>
Reword some theme options, highlight <we-title> components when used as
a "sub-section" titles.

task-2335267

Part-of: #57942
X-original-commit: d6acbfee1834ab32460300b9d7f5dd9188f68014
2020-09-22 18:51:17 +00:00
stefanorigano (SRI) 5a6dc7b596 [FIX] web_editor, website: scroll effect dropdown
Fix the design. Trig animations hovering any part of the button rather
than its inner image only.

task-2335267

Part-of: #57942
X-original-commit: 55424d41b355ae1303f040bdd953e357365289f3
2020-09-22 18:51:17 +00:00
stefanorigano (SRI) e1b15e3768 [FIX] website: reorder/reword header's options
task-2335267

Part-of: #57942
X-original-commit: fb8fbc879cdd27ba751f64f205d97e53c1a03559
2020-09-22 18:51:16 +00:00
stefanorigano (SRI) 017ab2a3b9 [FIX] website: keep 'save/discard' btns consistent using themes
task-2335267

Part-of: #57942
X-original-commit: e6f01eeb2e127a6bbe0675050358910618f1b2ad
2020-09-22 18:51:16 +00:00
stefanorigano (SRI) 5ab7c51b2b [FIX] web_editor, website: color-combination preview misleading design
Adjust shadows/borders in order to make the color-combination box
stand-up.

task-2335267

Part-of: #57942
X-original-commit: 38ce0c20c6a82b75d77406419b25d90259b50293
2020-09-22 18:51:15 +00:00
qsm-odoo 3232744b3b [FIX] website: use correct z-index for right panel top actions buttons
Since [1], the editor panel is now on the right. The top actions z-index
was not adapted and was now too high and going above modals. It worked
before because the zindex was confined into the topbar stacking context,
which does not exist anymore.

[1]: https://github.com/odoo/odoo/pull/57975

closes odoo/odoo#58257

X-original-commit: 1d74680fe195a2ece367ad7251f4cc3a52dc132f
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-22 15:52:55 +00:00
Benjamin Vray 44ac5e7c22 [IMP] website: add spacing in team snippet
Add spacing between picture and text on mobile. Before this commit
there was no space between photos and team names on mobile devices

task-2312878

closes odoo/odoo#58249

X-original-commit: 35269de724816366be95063f9db3e0c936276043
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-22 15:05:28 +00:00
qsm-odoo 45604d255c [FIX] web_editor, website: fix fullscreen mode with right panel
Since [1], the editor panel is now on the right. The fullscreen mode
was not adapted correctly.

[1]: https://github.com/odoo/odoo/pull/57975

closes odoo/odoo#58242

X-original-commit: 8359ae12d8049ecf6f6de810ae74f096769038e2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-22 14:17:01 +00:00
Benjamin Vray d580408f59 [FIX] website: fix redirect message in the countdown snippet
Before this commit the redirect message was not added at the end of
the countdown if the content-with option of the snippet was not Regular

It was because we did an append on the '.container' class to add this
message and that class is replaced when we change the content-with.

task-2312878

closes odoo/odoo#58201

X-original-commit: f4e3cc6edda13d76368a38f3807be6ea5a279141
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-22 10:11:21 +00:00
qsm-odoo c0f1269280 [FIX] website: restore vertical alignement for half/full height snippets
Commit [1] broke the vertical alignement for half/full height snippets
while trying to improve it. Mentioned commit's goal is kept: not
messing up the alignement when enabling the scroll button and allowing
those height and scroll options for the big boxes snippets, but now
the content is still vertically centered (with or without scroll button
now). If the user do not want it centered, he still has the possibility
to increase the bottom padding.

[1]: https://github.com/odoo/odoo/commit/9d5cd2c1747488524c107e6165d7c55d74b80606

Part of https://github.com/odoo/odoo/pull/58192

closes odoo/odoo#58214

X-original-commit: 08154fb956b4983187eebc3116975772da7b95c4
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-22 11:44:05 +00:00
qsm-odoo ae1b838ab4 [FIX] website, *: properly stack the bg layers for big boxes snippet
*: web_editor

The big boxes snippet's content was appearing below the background
layers (filters, shape, video, etc).

Part of https://github.com/odoo/odoo/pull/58192

X-original-commit: f1bd8bc7ef8b084168816bc22d821acdffe2aaf6
2020-09-22 11:44:05 +00:00
qsm-odoo 46c3a9670d [IMP] web_editor, website, *: move text tools in snippets panel
*: website_event, test_website

This commit is a series of hacks. The goal is to move the summernote
text tools to the editor panel for the website editor. All the code
to use the text tools in a top bar is kept (mass mailing, etc) and the
text tools are placed at the right place for website in an ugly way.

This is obviously temporary, until we can implement those text tools
more generically and in a better way thanks to the new editor.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227

closes odoo/odoo#58199

X-original-commit: ff81fa4798e232a03daf0eeff7d85ad35a52b25c
Related: odoo/design-themes#365
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-22 10:09:36 +00:00
qsm-odoo 48b12387d5 [IMP] web_editor, *: move the left panel to the right
*: website, mass_mailing

See parent commit for information about the scrollbar moved to the
'#wrapwrap' element, which was necessary to achieve this right panel
design. Note: in the future, having the scroll on the #wrapwrap may
not be necessary anymore as the edition might be done in an iframe.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227

X-original-commit: 2abe8517063b2696cc89e9a453dcc3921fb3b8c7
2020-09-22 10:09:36 +00:00
qsm-odoo 9f048625e1 [IMP] website, *: move page scrollbar to #wrapwrap
*: web, web_editor, portal, account, website_blog, website_forum

This is probably not ideal to move the scrolling behavior out of the
html element but this will be needed for the editor to not have a double
scrollbar on the right. This is actually also useful for the scrollbar
to appear under the purple odoo menu instead of its right.

This commit, if to be reverted in the future, however contains many
improvements to make the transition easier that should be kept: jQuery
and Odoo functions to be able to scrollTo a specific element, get the
top scrollable element, check if an element is scrollable, etc. Also,
some magic was done: if some code tries to scroll to a specific scroll
position via jQuery's scrollTop or animate functions on the html/body
element, those will still work as intended (obviously, using the new
utils to do that is however recommended).

This commit also reviews our scroll behaviors to make them more robust
and share the code.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227

X-original-commit: 4e7be69825163c0a0ff41c882a196fc7f3158fb3
2020-09-22 10:09:36 +00:00
qsm-odoo e3c23b50ee [FIX] website, *: make scroll to anchor consider the fixed header
*: website_blog

This was fixed and rebroken quite a few times. Hopefully, with this
commit and the next ones, the feature will be more robust: when clicking
on a link anchor, the animation now considers the fixed header height if
any *even if the header becomes fixed during the animation*.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227

X-original-commit: 416b125803d043badef8e4b022c100e33d1dba04
2020-09-22 10:09:35 +00:00