odoo/documentation#17053

Created by fw-bot
Merged at 6852d4a0375fb27428f4ef93d9c8ed31417f16b3

Statuses:

label
odoo-dev:19.0-17.0-highlight-ref-target-heading-510777-fw
head
747967df9216d38f474dac63736993979660e075
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