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
.disabled
opacity: .5
.prev span,
.next span
opacity: 0
position: absolute
display: block
width: 0
height: 0
.page
position: relative

View file

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

View file

@ -12,7 +12,7 @@
<a class='inactive'>
<% } %>
<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>
</article>
<article class='previous-post'>
@ -26,7 +26,7 @@
<a class='inactive'>
<% } %>
<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>
</article>
<article class='edit-post'>