rust/src/librustdoc/html
Michael Howell 8d6ed3edec
Rollup merge of #101944 - notriddle:notriddle/toggle-all-docs, r=jsha,GuillaumeGomez
rustdoc: clean up `#toggle-all-docs`

This change converts the element from an `<a>` link to a button. It's pretty much directly trading slightly more CSS for slightly less HTML, and it's also semantically correct (so you don't get a broken "bookmark" option when you right click on it).

While doing this, I also got rid of the unnecessary `class="inner"` attribute on the inner span. There was a style targeting `.collapse-toggle > .inner`, but no CSS ever targeted the `#toggle-all-docs > .inner`.

Preview: https://notriddle.com/notriddle-rustdoc-test/button-toggle-all-docs/index.html
2022-10-30 19:31:37 -07:00
..
highlight Extend decoration test to detect regressions 2022-08-20 14:24:05 +02:00
length_limit Don't panic if close_tag() is called without tags to close 2021-08-25 20:09:17 -07:00
markdown rustdoc: fix unit tests 2022-09-22 16:29:51 -07:00
render Fix z-indexes of code example feature and cleanup its CSS 2022-10-29 12:23:10 +02:00
static Rollup merge of #101944 - notriddle:notriddle/toggle-all-docs, r=jsha,GuillaumeGomez 2022-10-30 19:31:37 -07:00
templates Rollup merge of #101944 - notriddle:notriddle/toggle-all-docs, r=jsha,GuillaumeGomez 2022-10-30 19:31:37 -07:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
format.rs rustdoc: Split effective visibilities from rustc from similar data built by rustdoc for external def-ids 2022-10-29 23:36:52 +04:00
highlight.rs Fix z-indexes of code example feature and cleanup its CSS 2022-10-29 12:23:10 +02:00
layout.rs Improve loading of crates.js and sidebar-items.js 2022-06-20 11:12:55 -07:00
length_limit.rs Don't panic if close_tag() is called without tags to close 2021-08-25 20:09:17 -07:00
markdown.rs rustdoc: make the help button a link to a page 2022-10-15 11:38:42 -07:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs Fix z-indexes of code example feature and cleanup its CSS 2022-10-29 12:23:10 +02:00
static_files.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00