This resolves#200, where a scrollbar was sometimes visible on the navbar. This
unfortunately wasn't addressable with just CSS, as outlined in #206. Because we
need the element to be scrollable, we can't set `overflow: hidden` on the nav
element.
This fixes this issue by:
* Adding a `wy-side-scroll` element over the fixed position nav element and
under the menu item elements
* `wy-side-scroll` is set to 320px width, while the fixed position nav elements
and menu item elements are 300px, clipping the scrollbar with `overflow-x:
hidden` on the fixed position element
* Javascript is set to scroll the new scroll element instead of the parent
fixed position element
This was tested to be working in both cases on a variety of platforms: Linux FF,
Chrome, Windows IE, OSX Chrome and Safari, iPhone 5.1, and Android 4.2.
Adds l3 + l4 nav menus, with more intuitive scrolling to make wandering the
additional nav menu items much easier. Resolves#25. Resolves#76.
* Reuses some styles for l3 + l4 navs items
* Nav interaction was changed to be more intuitive:
* Nav is always sticky, doesn't scroll past end of content
* Nav scrolls up immediately on window scroll events
* Nav scrolls independently
* Adds TOC expand plus links to the left of nav elements with children, these
are added and update dynamically
* Links in nav don't automatically scroll nav
* Scrolling content will start scrolling nav again
* Adds URL fragment handling to link and show current anchor links
- rebase sass files to ./sass
- Place all theme files in ./sphinx_rtd_theme
- Grunt now uses `default` and `build` tasks
- `build` will minify css for committing / dist
- Added Gemfile and requirements.txt for python/ruby requirements
- Cleaned up Gruntfile, copying no longer needed.
- moved compass config to compass.rb
Squashed commits:
- Move out sphinx_rtd_theme to root folder
- Manifest unneeded
- Move out sass to root dir
- Remove dist from git
- Reconfigure paths
- Add requirements for sphinx
- Add gemfile for compass
- Udpate components path
- Move to static/css
- Add line for rbenv
- Require livereload, don't need copy
- Comment static path, update theme path for demo conf.py
- Add css files
- Correct name of .ruby-version...
- Update path to theme.css
- Remove unprefixed badge_only.css
- Update location of theme.js
- Update paths in Gruntfile, tasks
- re-add __init__.py, bump version
- Update setup.py to pick up version easily
- Move config.rb to compass.rb
- Correct compass import paths
- Add debug / production environment
- Commit with production built css
- Add theme.conf, get requires from requirements.txt
- rename tasks, use sphinx-build, add comments
- Fix font path
- Update css files