Merge: Nitweb clean
authorJean Privat <jean@pryen.org>
Wed, 17 Aug 2016 21:50:29 +0000 (17:50 -0400)
committerJean Privat <jean@pryen.org>
Wed, 17 Aug 2016 21:50:29 +0000 (17:50 -0400)
commit27988ad6dff14048f5321f8d81a76ebbdc7fb31b
tree910eed9f2cb5600a5c6b9b3d86535dee5ec0e648
parent2b971bed2ddc542af2125573dbd406abba8a06f6
parentaa8e11b366227b5f7fa71f8775cd012a4dfb1080
Merge: Nitweb clean

Cleans some misc part of Nitweb. Notable fact, replace the hover on cards by a dropdown menu with caret.

Can be seen here: http://nitweb.moz-code.org/doc/core::array

For now, the dropdown menu allows the user to swtich between signature and documentation. More contextual options in the future.

This looks quirk with the stars rating (left untouched in the new dropdown system) so still need the mouse over. Since the next PR rewrite this part, I will let this as it is.
We load the stars only when the dropdown is selected so we gain some perfs on the home page.

This PR is based on #2265

Pull-Request: #2268
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Simon Zeni <simonzeni@gmail.com>