> Please review a change to improve the target highlight for javadoc member > details sections. > > Instead of highlighting the member header by changing its background color, > we now add a subtle accent bar to the left side of the header. The bar is > implemented as `box-shadow`, is just outside the header element and does not > cause a layout shift. It uses the theme's link color with an alpha of 70%, > which seems to work well in both themes. > > The accent bar is wide enough to be noticeable, but nowhere near as > distractive as the old highlight, and brings our documentation more in line > with modern documentation/UI patterns. > > Sample docs for the `java.lang` package are [available > here](https://cr.openjdk.org/~hannesw/8383906/api.00/java.base/java/lang/Object.html#hashCode()). > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision: Increase scroll margin top for target elements ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31052/files - new: https://git.openjdk.org/jdk/pull/31052/files/13393ac3..7bf620c5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31052&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31052&range=00-01 Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/31052.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31052/head:pull/31052 PR: https://git.openjdk.org/jdk/pull/31052
