about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/noscript.css
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-12-18 13:30:47 -0700
committerMichael Howell <michael@notriddle.com>2023-12-18 13:56:55 -0700
commitc3e29ea5e9054c0e3fc0c6b80d7ab32e106c3294 (patch)
tree893978c8384e5ffb2bb10b88b52c31092850b689 /src/librustdoc/html/static/css/noscript.css
parentbd14fb68dabf972d062cfb89ce4b02c61b854189 (diff)
downloadrust-c3e29ea5e9054c0e3fc0c6b80d7ab32e106c3294.tar.gz
rust-c3e29ea5e9054c0e3fc0c6b80d7ab32e106c3294.zip
Stop using the trigram of heaven as a hamburger button
It doesn't look quite right, because the lines are too far apart,
and it's not going to be announced by screenreaders as a menu button,
since that's not what the symbol means.

This adds a real tooltip and uses a better drawing of the icon.
Diffstat (limited to 'src/librustdoc/html/static/css/noscript.css')
-rw-r--r--src/librustdoc/html/static/css/noscript.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/noscript.css b/src/librustdoc/html/static/css/noscript.css
index e63502160fa..f425f3ec95c 100644
--- a/src/librustdoc/html/static/css/noscript.css
+++ b/src/librustdoc/html/static/css/noscript.css
@@ -54,6 +54,7 @@ nav.sub {
 	--code-attribute-color: #999;
 	--toggles-color: #999;
 	--toggle-filter: none;
+	--mobile-sidebar-menu-filter: none;
 	--search-input-focused-border-color: #66afe9;
 	--copy-path-button-color: #999;
 	--copy-path-img-filter: invert(50%);
@@ -159,6 +160,7 @@ nav.sub {
 		--code-attribute-color: #999;
 		--toggles-color: #999;
 		--toggle-filter: invert(100%);
+		--mobile-sidebar-menu-filter: invert(100%);
 		--search-input-focused-border-color: #008dfd;
 		--copy-path-button-color: #999;
 		--copy-path-img-filter: invert(50%);