ruby/lib/rdoc/generator/template/darkfish
Masafumi Koba 62b4983416 [ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more method signatures
This commit improves the behavior of showing the "toggle source" element on mouseover.

For example, when a method has one more signatures by using `:call-seq:`,

```ruby
# :call-seq:
#   foo {|element| ... } -> self
#   foo -> new_enumeration
def foo
end
```

The current CSS doesn't show "toggle source" even when hovering the second signature `foo -> new_enumeration`.
But this change will show "toggle source" always when hovering over any signature.

For details about the `.method-header` element, see `lib/rdoc/generator/template/darkfish/class.rhtml`:
0e060c69f5/lib/rdoc/generator/template/darkfish/class.rhtml (L101-L124)

For example, see https://docs.ruby-lang.org/en/3.2/Array.html#method-i-delete
2023-07-05 04:09:08 +00:00
..
css [ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more method signatures 2023-07-05 04:09:08 +00:00
fonts
images
js [ruby/rdoc] [DOC] Fix to use KeyboardEvent.key over keyCode 2023-07-05 03:39:18 +00:00
.document
_footer.rhtml
_head.rhtml [ruby/rdoc] Escape search results 2022-10-07 12:12:09 +09:00
_sidebar_classes.rhtml [ruby/rdoc] Start with open when only one visible class/module 2022-03-14 14:48:13 +09:00
_sidebar_extends.rhtml
_sidebar_in_files.rhtml
_sidebar_includes.rhtml
_sidebar_installed.rhtml
_sidebar_methods.rhtml
_sidebar_navigation.rhtml
_sidebar_pages.rhtml [ruby/rdoc] Escape file names 2022-10-07 12:12:08 +09:00
_sidebar_parent.rhtml
_sidebar_search.rhtml [ruby/rdoc] Add keydown event listener to focus on search field 2023-07-05 03:37:28 +00:00
_sidebar_sections.rhtml
_sidebar_table_of_contents.rhtml [ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headings 2022-11-27 17:18:16 +00:00
_sidebar_VCS_info.rhtml
class.rhtml [ruby/rdoc] Darkfish: group method call-seq in div.method-header 2022-11-27 17:24:17 +00:00
index.rhtml [ruby/rdoc] Escape main title 2022-10-07 12:09:23 +09:00
page.rhtml
servlet_not_found.rhtml
servlet_root.rhtml
table_of_contents.rhtml [ruby/rdoc] Use flat_map for better performance 2023-06-14 23:47:25 +00:00