diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-07-04 00:51:46 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-07-10 20:51:35 -0700 |
| commit | 4d16de01d0beb84dc4a351022ea5cb587b4ab557 (patch) | |
| tree | f51d913f9828ac455dee055e58f2f9846f8c8868 /src/librustdoc/html/static | |
| parent | b57d272e9908e164a72bd1a688141031705e1208 (diff) | |
| download | rust-4d16de01d0beb84dc4a351022ea5cb587b4ab557.tar.gz rust-4d16de01d0beb84dc4a351022ea5cb587b4ab557.zip | |
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
Diffstat (limited to 'src/librustdoc/html/static')
| -rw-r--r-- | src/librustdoc/html/static/main.css | 11 |
1 files changed, 10 insertions, 1 deletions
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 */ |
