From 942ed31c565c16d9401f0dc7f5a1fb56125edb71 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 12 Apr 2021 12:42:13 -0700 Subject: [PATCH] Move color to themes --- src/librustdoc/html/static/rustdoc.css | 2 -- src/librustdoc/html/static/themes/ayu.css | 4 +++- src/librustdoc/html/static/themes/dark.css | 4 +++- src/librustdoc/html/static/themes/light.css | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index c84c045f75f..0bac40b0f1b 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -1766,14 +1766,12 @@ details.rustdoc-toggle > summary::-webkit-details-marker { details.rustdoc-toggle > summary.hideme > span { margin-left: 9px; - color: #999; } details.rustdoc-toggle > summary::before { content: "[+]"; font-weight: 300; font-size: 0.8em; - color: #999; letter-spacing: 1px; } diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css index b24f4035ca8..5f6f3d66e57 100644 --- a/src/librustdoc/html/static/themes/ayu.css +++ b/src/librustdoc/html/static/themes/ayu.css @@ -224,7 +224,9 @@ a { color: #39AFD7; } -.collapse-toggle { +.collapse-toggle, +details.rustdoc-toggle > summary.hideme > span, +details.rustdoc-toggle > summary::before { color: #999; } diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index e863ed03f51..2ce6cf4cc45 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -186,7 +186,9 @@ a.test-arrow { color: #dedede; } -.collapse-toggle { +.collapse-toggle, +details.rustdoc-toggle > summary.hideme > span, +details.rustdoc-toggle > summary::before { color: #999; } diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 9335dd96d29..31b3562cfcb 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -184,7 +184,9 @@ a.test-arrow { color: #f5f5f5; } -.collapse-toggle { +.collapse-toggle, +details.rustdoc-toggle > summary.hideme > span, +details.rustdoc-toggle > summary::before { color: #999; }