From 4d16de01d0beb84dc4a351022ea5cb587b4ab557 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Fri, 4 Jul 2014 00:51:46 -0700 Subject: rustdoc: Add stability dashboard This commit adds a crate-level dashboard summarizing the stability levels of all items for all submodules of the crate. The information is also written as a json file, intended for consumption by pages like http://huonw.github.io/isrustfastyet/ Closes #13541 --- src/librustdoc/html/static/main.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/librustdoc/html/static') diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index f65198fcfe2..4f790f96750 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -238,7 +238,7 @@ nav.sub { .docblock h2 { font-size: 1.15em; } .docblock h3, .docblock h4, .docblock h5 { font-size: 1em; } -.content .source { +.content .out-of-band { float: right; font-size: 23px; } @@ -409,6 +409,15 @@ h1 .stability { .stability.Locked { border-color: #0084B6; color: #00668c; } .stability.Unmarked { border-color: #FFFFFF; } +.summary { + padding-right: 0px; +} +.summary.Deprecated { background-color: #A071A8; } +.summary.Experimental { background-color: #D46D6A; } +.summary.Unstable { background-color: #D4B16A; } +.summary.Stable { background-color: #54A759; } +.summary.Unmarked { background-color: #FFFFFF; } + :target { background: #FDFFD3; } /* Code highlighting */ -- cgit 1.4.1-3-g733a5