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-09-07 18:45:24 -0700
committerMichael Howell <michael@notriddle.com>2023-10-11 10:26:36 -0700
commit0983438faa0431eb392be1d8ea9761fe4b1e90e2 (patch)
tree6f929fb8f70645811b49d7309a715d72ae496c1f /src/librustdoc/html/static/css/noscript.css
parent3c23df49352264938a726f6a586d6019e602c5cf (diff)
downloadrust-0983438faa0431eb392be1d8ea9761fe4b1e90e2.tar.gz
rust-0983438faa0431eb392be1d8ea9761fe4b1e90e2.zip
rustdoc: allow resizing the sidebar
Diffstat (limited to 'src/librustdoc/html/static/css/noscript.css')
-rw-r--r--src/librustdoc/html/static/css/noscript.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/noscript.css b/src/librustdoc/html/static/css/noscript.css
index fe0cf6dc8cc..390e812772a 100644
--- a/src/librustdoc/html/static/css/noscript.css
+++ b/src/librustdoc/html/static/css/noscript.css
@@ -9,7 +9,7 @@ rules.
 	margin-left: 0 !important;
 }
 
-#copy-path {
+#copy-path, #sidebar-button, .sidebar-resizer {
 	/* It requires JS to work so no need to display it in this case. */
 	display: none;
 }
@@ -132,6 +132,8 @@ nav.sub {
 	--scrape-example-help-hover-color: #000;
 	--scrape-example-code-wrapper-background-start: rgba(255, 255, 255, 1);
 	--scrape-example-code-wrapper-background-end: rgba(255, 255, 255, 0);
+	--sidebar-resizer-hover: hsl(207, 90%, 66%);
+	--sidebar-resizer-active: hsl(207, 90%, 54%);
 }
 /* End theme: light */
 
@@ -238,6 +240,8 @@ nav.sub {
 		--scrape-example-help-hover-color: #fff;
 		--scrape-example-code-wrapper-background-start: rgba(53, 53, 53, 1);
 		--scrape-example-code-wrapper-background-end: rgba(53, 53, 53, 0);
+		--sidebar-resizer-hover: hsl(207, 30%, 54%);
+		--sidebar-resizer-active: hsl(207, 90%, 54%);
 	}
 /* End theme: dark */
 }