Turn shortcut brackets into pseudo-elements, #67
This commit is contained in:
parent
55f817e32c
commit
3bdf8ef495
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
@ -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) ->
|
||||
|
||||
@ -202,6 +202,15 @@ a {
|
||||
#shortcuts {
|
||||
float: right;
|
||||
}
|
||||
.shortcut::after {
|
||||
content: "]";
|
||||
}
|
||||
.shortcut::before {
|
||||
content: "[";
|
||||
}
|
||||
.shortcut {
|
||||
margin-left: 3px;
|
||||
}
|
||||
#navbotright,
|
||||
#navtopright {
|
||||
display: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user