User tests: Successful: Unsuccessful:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32027
PS: This is a refactor and improvement of joomla-projects#173
PPS: In screenshots "Joomla 3 dev" is the website title.
Screen size up to 767px
Screen size up to 480px
In current master, if you click on a menu item to open the sub-menu, that submenu stays open when moving to another (top-)menu item. And it shouldn't.
The code added for this can be found on these lines: https://github.com/joomla-projects/joomla-cms/pull/238/files#diff-38878f657eb0a1c6fe9d820f59dc9bf4R724
Also I have added brackets around all single line if statements to prevent issues with minifying.
In sync with master now. Ok to merge...
Look better for me.