Skip to content

Commit 860a231

Browse files
author
José Valim
committed
Improve mouseover and titles on goto, related to elixir-lang#968
1 parent 2d5310a commit 860a231

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

assets/js/templates/sidebar-items.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{node.title}}
2020
{{/if}}
2121

22-
<span class="icon-goto" title="Go to"></span>
22+
<span class="icon-goto" title="Go to {{node.title}}"></span>
2323
</a>
2424

2525
<ul>
@@ -43,7 +43,7 @@
4343
<li class="docs">
4444
<a href="{{node.id}}.html#{{group.key}}" class="expand">
4545
{{group.name}}
46-
<span class="icon-goto" title="Go to"></span>
46+
<span class="icon-goto" title="Go to {{group.name}}"></span>
4747
</a>
4848
<ul class="{{group.key}}-list deflist">
4949
{{#each group.nodes}}

assets/less/sidebar.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
}
174174

175175
a.expand span {
176+
color: @lightestGray;
176177
visibility: hidden;
177178
padding: 0 8px 0 2px;
178179
font-size: 0.8em;
@@ -181,6 +182,10 @@
181182
a.expand:hover span {
182183
visibility: visible;
183184
}
185+
186+
a.expand span:hover {
187+
color: @white;
188+
}
184189
}
185190

186191
&>li {

formatters/html/dist/html-9bbfa480348aa7df2ede.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

formatters/html/dist/html-fe10831fd0480024873d.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatters/html/dist/html-9bbfa480348aa7df2ede.js renamed to formatters/html/dist/html-fe10831fd0480024873d.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)