odoo/documentation#17049

Created by fw-bot
Merged at 8ec9057cf08e01f1badfd2c905624fd4b9fb5a08

Statuses:

label
odoo-dev:18.0-17.0-highlight-ref-target-heading-502850-fw
head
3738f0c29d55ae396a6bfaa117d7f1cd0ab5f50c
merged
3 weeks ago by Documentation, Niki Brown (nikbr)
odoo/documentation
17.0 #16572
18.0 #17049
saas-18.2 #17050
saas-18.3 #17051
saas-18.4 #17052
19.0 #17053
saas-19.1 #17054
saas-19.2 #17055
saas-19.3
master #17056

[IMP] add highlight fade to ref targets

Task: https://www.odoo.com/odoo/project/3835/tasks/5970579

When a user clicks on a ref link and the page scrolls to a heading its easy to not see the specific heading. This PR adds a temporary highlight to the heading. Styling is similar to the search term highlighting that currently exists. See screenshot and example below:

ref-highlight
<img width="1175" height="872" alt="search-highlight" src="https://github.com/user-attachments/assets/4f38bb1e-8bb6-447f-92c6-03cb4b7bb49e" />

Forward-Port-Of: #16572