client/general: add < > vim navigation hints

For example, in Vimperator, one now can navigate to previous/next page
or post by pressing f< or f>.
This commit is contained in:
rr- 2016-08-28 23:20:25 +02:00
parent 5a152dbc0c
commit dfc65e5a7c
3 changed files with 4 additions and 11 deletions

View file

@ -4,13 +4,6 @@
nav nav
.disabled .disabled
opacity: .5 opacity: .5
.prev span,
.next span
opacity: 0
position: absolute
display: block
width: 0
height: 0
.page .page
position: relative position: relative

View file

@ -7,7 +7,7 @@
<a class='prev disabled'> <a class='prev disabled'>
<% } %> <% } %>
<i class='fa fa-chevron-left'></i> <i class='fa fa-chevron-left'></i>
<span>Previous page</span> <span class='vim-nav-hint'>&lt; Previous page</span>
</a> </a>
</li> </li>
@ -32,7 +32,7 @@
<a class='next disabled'> <a class='next disabled'>
<% } %> <% } %>
<i class='fa fa-chevron-right'></i> <i class='fa fa-chevron-right'></i>
<span>Next page</span> <span class='vim-nav-hint'>Next page &gt;</span>
</a> </a>
</li> </li>
</ul> </ul>

View file

@ -12,7 +12,7 @@
<a class='inactive'> <a class='inactive'>
<% } %> <% } %>
<i class='fa fa-chevron-left'></i> <i class='fa fa-chevron-left'></i>
<span class='vim-nav-hint'>Next post</span> <span class='vim-nav-hint'>&lt; Next post</span>
</a> </a>
</article> </article>
<article class='previous-post'> <article class='previous-post'>
@ -26,7 +26,7 @@
<a class='inactive'> <a class='inactive'>
<% } %> <% } %>
<i class='fa fa-chevron-right'></i> <i class='fa fa-chevron-right'></i>
<span class='vim-nav-hint'>Previous post</span> <span class='vim-nav-hint'>Previous post &gt;</span>
</a> </a>
</article> </article>
<article class='edit-post'> <article class='edit-post'>