We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 709462b + b857138 commit 74a4c67Copy full SHA for 74a4c67
src/librustdoc/html/static/css/rustdoc.css
@@ -1585,6 +1585,15 @@ details.rustdoc-toggle > summary:hover::before {
1585
opacity: 1;
1586
}
1587
1588
+details.rustdoc-toggle > summary:focus-visible::before {
1589
+ /* The SVG is black, and gets turned white using a filter in the dark themes.
1590
+ Do the same with the outline.
1591
+ The dotted 1px style is copied from Firefox's focus ring style.
1592
+ */
1593
+ outline: 1px dotted #000;
1594
+ outline-offset: 1px;
1595
+}
1596
+
1597
details.rustdoc-toggle.top-doc > summary,
1598
details.rustdoc-toggle.top-doc > summary::before,
1599
details.rustdoc-toggle.non-exhaustive > summary,
0 commit comments