From 7585632052298f9c84cc12ac5afcb23786ae1d3d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 2 Jun 2018 13:47:42 +0200 Subject: [PATCH] Fix run button style --- src/librustdoc/html/static/rustdoc.css | 3 ++- src/librustdoc/html/static/themes/dark.css | 3 ++- src/librustdoc/html/static/themes/light.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 83abf35c85484..2876f0d71adf0 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -561,7 +561,8 @@ a { content: '\2002\00a7\2002'; } -.docblock a:not(.srclink):hover, .docblock-short a:not(.srclink):hover, .stability a { +.docblock a:not(.srclink):not(.test-arrow):hover, +.docblock-short a:not(.srclink):not(.test-arrow):hover, .stability a { text-decoration: underline; } diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index 765ef0cd415b7..f96dcd9ec1c88 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -163,7 +163,8 @@ a { color: #ddd; } -.docblock a:not(.srclink), .docblock-short a:not(.srclink), .stability a { +.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow), +.stability a { color: #D2991D; } diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 5971dc43deda4..54cf50cfffd1e 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -163,7 +163,8 @@ a { color: #000; } -.docblock a:not(.srclink), .docblock-short a:not(.srclink), .stability a { +.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow), +.stability a { color: #3873AD; }