diff options
author | Heather Miller <heather.miller@epfl.ch> | 2012-11-01 23:47:05 +0100 |
---|---|---|
committer | Heather Miller <heather.miller@epfl.ch> | 2012-11-02 15:00:20 +0100 |
commit | ebf5c2296bcb317748913ac37a03615c98f75a7e (patch) | |
tree | 696b72f05da17aa129fe9aec3f0ce18ad6212468 /src/compiler | |
parent | 158fea688427c1d3b6d8070ca503511a384f0ee4 (diff) | |
download | scala-ebf5c2296bcb317748913ac37a03615c98f75a7e.tar.gz scala-ebf5c2296bcb317748913ac37a03615c98f75a7e.tar.bz2 scala-ebf5c2296bcb317748913ac37a03615c98f75a7e.zip |
Labeling scala.reflect and scala.reflect.macros experimental in the API docs
- Added the labels across scala.reflect and scala.reflect.macros
- Added the styling in template.css that is used by all labels
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css index 6fb7953724..b066027f04 100644 --- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css +++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css @@ -824,3 +824,25 @@ div.fullcomment dl.paramcmts > dd { color: #4C4C4C; font-weight: bold; }*/ + +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.badge-red { + background-color: #b94a48; +} |