diff --git a/lib/rdoc/generator/template/darkfish/class.rhtml b/lib/rdoc/generator/template/darkfish/class.rhtml
index 6c64ba6c98..b182be2732 100644
--- a/lib/rdoc/generator/template/darkfish/class.rhtml
+++ b/lib/rdoc/generator/template/darkfish/class.rhtml
@@ -103,14 +103,14 @@
<%- if (call_seq = method.call_seq) then -%>
<%- call_seq.strip.split("\n").each_with_index do |call_seq, i| -%>
+ <%- if i == 0 and method.token_stream then -%>
+ Toggle source
+ <%- end -%>
<%= h(call_seq.strip.
gsub( /^\w+\./m, '')).
gsub(/(.*)[-=]>/, '\1→') %>
- <%- if i == 0 and method.token_stream then -%>
- click to toggle source
- <%- end -%>
<%- end -%>
<%- elsif method.has_call_seq? then -%>
@@ -119,11 +119,11 @@
<%- else -%>
- <%= h method.name %><%= h method.param_seq %>
<%- if method.token_stream then -%>
- click to toggle source
+ Toggle source
<%- end -%>
+ <%= h method.name %><%= h method.param_seq %>
<%- end -%>
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css
index 7a42e62522..657b2a14b1 100644
--- a/lib/rdoc/generator/template/darkfish/css/rdoc.css
+++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -628,18 +628,12 @@ main .method-heading :visited {
color: inherit;
}
main .method-click-advice {
- position: absolute;
- top: 2px;
- right: 5px;
- font-size: 12px;
color: #9b9877;
- visibility: hidden;
- padding-right: 20px;
- line-height: 20px;
- background: url(../images/zoom.png) no-repeat right top;
-}
-main .method-header:hover .method-click-advice {
- visibility: visible;
+ display: inline-block;
+ float: right;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 25px;
}
main .method-alias .method-heading {
diff --git a/lib/rdoc/generator/template/darkfish/images/zoom.png b/lib/rdoc/generator/template/darkfish/images/zoom.png
deleted file mode 100644
index 908612e394..0000000000
Binary files a/lib/rdoc/generator/template/darkfish/images/zoom.png and /dev/null differ
diff --git a/rdoc.gemspec b/rdoc.gemspec
index 26f9ba1a87..50e1df2672 100644
--- a/rdoc.gemspec
+++ b/rdoc.gemspec
@@ -125,7 +125,6 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
"lib/rdoc/generator/template/darkfish/images/transparent.png",
"lib/rdoc/generator/template/darkfish/images/wrench.png",
"lib/rdoc/generator/template/darkfish/images/wrench_orange.png",
- "lib/rdoc/generator/template/darkfish/images/zoom.png",
"lib/rdoc/generator/template/darkfish/index.rhtml",
"lib/rdoc/generator/template/darkfish/js/darkfish.js",
"lib/rdoc/generator/template/darkfish/js/search.js",