summaryrefslogtreecommitdiff
path: root/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
diff options
context:
space:
mode:
authorDick Wall <dick@bldc.org>2014-11-25 07:07:02 -0800
committerDick Wall <dick@bldc.org>2014-11-26 12:07:42 -0800
commit89c000f70946890a1fc8c378804e1647d271c479 (patch)
treeb02cf4c27b4f6821f072712f2e542bfa7c6d0a7c /src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
parentb1b5b90347869a79af7845316548ad40e5fbb911 (diff)
downloadscala-89c000f70946890a1fc8c378804e1647d271c479.tar.gz
scala-89c000f70946890a1fc8c378804e1647d271c479.tar.bz2
scala-89c000f70946890a1fc8c378804e1647d271c479.zip
SI-9006 Scaladoc: explicit companion and package links
The existing navigation mechanisms have proved hard to discover for newcomers to Scaladoc. This commit adds textual links in the navigation bar to the docs of the companion (if defined) and to those of the enclosing package.
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css')
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
index 35f66cd5df..e129e6cf6a 100644
--- a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
+++ b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css
@@ -397,6 +397,18 @@ div.members > ol > li:last-child {
margin-bottom: 5px;
}
+#definition .morelinks {
+ text-align: right;
+ position: absolute;
+ top: 40px;
+ right: 10px;
+ width: 450px;
+}
+
+#definition .morelinks a {
+ color: #EBEBEB;
+}
+
#template .members li .permalink {
position: absolute;
top: 5px;