summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-03-25 11:21:30 +0100
committerTopi Reinio <topi.reinio@qt.io>2021-06-07 16:44:23 +0100
commitc1ab14496a57c41ef63ed3a5e5abd110a235ecc7 (patch)
tree466889b5b5aaa59385d2cb029b88dfcd0d1d4ceb /doc
parentfade72913f3bd5d5b6945b1c45653d17ffd97d9c (diff)
Doc: CSS: Update selectors for target highlighting
Certain targets on the generated HTML still use the obsolete <a name=""> method of creating an anchor. Add a rule for a replacement <span> element, using the id attribute. This ensures that the highlighting animations continue to work after the use of obsolete HTML is dropped from QDoc. Change-Id: I2b70470b08d0e0f70702ad2820f4e065f2c08ff5 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/global/template/style/online.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css
index ff1e970038..7ad121d51f 100644
--- a/doc/global/template/style/online.css
+++ b/doc/global/template/style/online.css
@@ -1213,7 +1213,7 @@ pre:hover>.copy_text {
width:initial
}
}
-[id]:target,[name]:target,[name]:target+* {
+[id]:target,[name]:target,[name]:target+*,span:target+* {
-webkit-animation:highlighter 3s;
animation:highlighter 3s
}