Turn shortcut brackets into pseudo-elements, #67

This commit is contained in:
Jordan Bates 2013-05-09 18:21:37 -07:00
parent 55f817e32c
commit 3bdf8ef495
5 changed files with 16 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -302,7 +302,7 @@ Header =
addShortcut: (el) ->
shortcut = $.el 'span',
className: 'shortcut'
$.add shortcut, [$.tn(' ['), el, $.tn(']')]
$.add shortcut, el
$.prepend Header.shortcuts, shortcut
menuToggle: (e) ->

View File

@ -202,6 +202,15 @@ a {
#shortcuts {
float: right;
}
.shortcut::after {
content: "]";
}
.shortcut::before {
content: "[";
}
.shortcut {
margin-left: 3px;
}
#navbotright,
#navtopright {
display: none;