More menu stuff.

This commit is contained in:
Zixaphir 2013-04-22 14:55:34 -07:00
parent b6dcaa7ac4
commit ebd3f15868
6 changed files with 20 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -840,6 +840,10 @@ a:only-of-type > .remove {
position: absolute;
right: 3px;
}
.left .has-submenu::after {
border-left: 0;
border-right: .5em solid;
}
.submenu {
display: none;
position: absolute;

View File

@ -82,12 +82,14 @@ UI = do ->
style.right = "#{right}px"
style.bottom = "#{bottom}px"
style.left = "#{left}px"
if right
$.addClass menu, 'left'
entry = $ '.entry', menu
# entry = $ '.entry', menu
# We've removed flexbox, so we don't user order anymore.
# while prevEntry = @findNextEntry entry, -1
# entry = prevEntry
@focus entry
# @focus entry
menu.focus()