about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-26 02:41:34 -0700
committerGitHub <noreply@github.com>2022-10-26 02:41:34 -0700
commitb857138d3bad1372618cb925963a9e1fb512fd8e (patch)
treebd2feddfd4d8ab5b33562ce5b305d920f52a3b60
parent60b5f6dc9190c1fa10c2ca22d472d32f9689253e (diff)
downloadrust-b857138d3bad1372618cb925963a9e1fb512fd8e.tar.gz
rust-b857138d3bad1372618cb925963a9e1fb512fd8e.zip
Update src/librustdoc/html/static/css/rustdoc.css
Co-authored-by: Jacob Hoffman-Andrews <github@hoffman-andrews.com>
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 84a1fa2e28e..8424b2c4e29 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1586,8 +1586,9 @@ details.rustdoc-toggle > summary:hover::before {
 }
 
 details.rustdoc-toggle > summary:focus-visible::before {
-	/* The SVG is black, and gets turned white using a filter.
+	/* The SVG is black, and gets turned white using a filter in the dark themes.
 	   Do the same with the outline.
+	   The dotted 1px style is copied from Firefox's focus ring style.
 	*/
 	outline: 1px dotted #000;
 	outline-offset: 1px;