Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New "side-menus" component. #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Apr 11, 2014

  1. New "side-menus" component.

    Based on the `modals` component.
    
    See example at http://michaelrienstra.com/temporary/ratchet/side-menus.html
    
    The current implementation relies on putting a wrapper (`<div class="side-menu-siblings-wrapper">`) around the `side-menu`s siblings (`<header class="bar">` & `<div class="content">`). I have working code to handle the wrapping of siblings automatically, as well as working code that works without the wrapper (but I realized I was going to have to add more "moving bits" to get the subtle drop shadow to animate without the wrapper).
    
    Minimally tested on Android (Nexus 4) & iOS (iPhone 5).
    
    Happy to do more testing / etc. if this component is of interest.
    
    Attribution: I borrowed a few lines of CSS from http://mmenu.frebsite.nl/ (which is dual licensed under the MIT and GPL licenses).
    mrienstra committed Apr 11, 2014
    Configuration menu
    Copy the full SHA
    c531b12 View commit details
    Browse the repository at this point in the history