diff options
author | Marcin Kubala <marcin@mkubala.pl> | 2014-03-10 23:55:16 +0100 |
---|---|---|
committer | Marcin Kubala <marcin@mkubala.pl> | 2014-03-14 22:58:07 +0100 |
commit | 466340cf9e3fbc6fbd3c65e13b43d7fe57471d86 (patch) | |
tree | deb1d87f2a9711f3dea1d15494be52a5fc5e1693 /src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.css | |
parent | 8d7f73316570a4325111da3b4c0529793ced8b97 (diff) | |
download | scala-466340cf9e3fbc6fbd3c65e13b43d7fe57471d86.tar.gz scala-466340cf9e3fbc6fbd3c65e13b43d7fe57471d86.tar.bz2 scala-466340cf9e3fbc6fbd3c65e13b43d7fe57471d86.zip |
SI-8144 permalinks in scaladoc
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.css | 31 |
1 files changed, 31 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 b066027f04..35f66cd5df 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,37 @@ div.members > ol > li:last-child { margin-bottom: 5px; } +#template .members li .permalink { + position: absolute; + top: 5px; + right: 5px; +} + +#definition .permalink { + position: absolute; + top: 10px; + right: 15px; +} + +#definition .permalink a { + color: #EBEBEB; +} + +#template .members li .permalink, +#definition .permalink a { + display: none; +} + +#template .members li:hover .permalink, +#definition:hover .permalink a { + display: block; +} + +#template .members li .permalink a, +#definition .permalink a { + text-decoration: none; + font-weight: bold; +} /* Comments text formating */ |