Kept changes:
- fewer, shorter menu items (too cryptic?), with icons.
- main checkbox does not open menu, but selects all/none.
- total selection count next to main checkbox (unsure if this is to be
kept. It does address #7628).
Removed changes:
- sticky menu.
- checkboxes and counters in menu.
- `#button-select-all` toggles the all/none checkbox
and the all/none checkbox now works on firefox
- static appearance of the `#button-select-all` button
(even on counter change, up to two digits)
- clean up `tree.less`
Stopping click propagation should be avoided when used as a hack
for something else, as it interacts poorly with the open/close
mechanics of Bootstrap menus (amongst others).
(more [here](http://css-tricks.com/dangers-stopping-event-propagation/)
This code preserves the intended behaviour (toggling the checkbox when
clicking on the row, except for the link) without resorting to
`stopPropagation()`
- Disable checkboxes when there is nothing to select
- right-alignment of badges in the menu
- HTML and CSS improvements for better look (not final)
Internal changes:
- Avoid use of `stopPropagation()`!
Instead, replace bootstap's dropdown hide/show logic
with suitable sticky-dropdown behaviour.
- Avoid selecting the `..` parent folder
streamlines the menu from #7667 with
- Shorter text, with icons.
- Main checkbox no longer opens the dropdown.
Instead it just selects all/none.
- Fewer menu items but more actions possible by adding checkboxes
in the menu
- Menu stays open until clicking outside.
This obviously needs CSS tweaking
there seem to be "only" 2 places where this make sens, the other
being href in mdcell, detach pager, help link in new windows.
set IPython._target = '_self' for try.jupyter.org shoudl work in
custom.js