odoo/documentation#17055

Created by fw-bot
Merged at 0095de337a1c600acd18a9e99b59dde96de8b284

Statuses:

label
odoo-dev:saas-19.2-17.0-highlight-ref-target-heading-510784-fw
head
b676fbeea8a4982f1f7a405c5ab2790e6d425fa2
merged
4 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