{"action":"created","issue":{"url":"https://api.github.com/repos/jenius/axis/issues/165","labels_url":"https://api.github.com/repos/jenius/axis/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/jenius/axis/issues/165/comments","events_url":"https://api.github.com/repos/jenius/axis/issues/165/events","html_url":"https://github.com/jenius/axis/pull/165","id":58534553,"number":165,"title":"Offcanvas menus","user":{"login":"rhythnic","id":8162640,"avatar_url":"https://avatars.githubusercontent.com/u/8162640?v=3","gravatar_id":"","url":"https://api.github.com/users/rhythnic","html_url":"https://github.com/rhythnic","followers_url":"https://api.github.com/users/rhythnic/followers","following_url":"https://api.github.com/users/rhythnic/following{/other_user}","gists_url":"https://api.github.com/users/rhythnic/gists{/gist_id}","starred_url":"https://api.github.com/users/rhythnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhythnic/subscriptions","organizations_url":"https://api.github.com/users/rhythnic/orgs","repos_url":"https://api.github.com/users/rhythnic/repos","events_url":"https://api.github.com/users/rhythnic/events{/privacy}","received_events_url":"https://api.github.com/users/rhythnic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-23T02:00:52Z","updated_at":"2015-02-25T21:28:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenius/axis/pulls/165","html_url":"https://github.com/jenius/axis/pull/165","diff_url":"https://github.com/jenius/axis/pull/165.diff","patch_url":"https://github.com/jenius/axis/pull/165.patch"},"body":"These mixins allow you to create an element with offcanvas menus and a content area.  Each offcanvas container can have 1-4 menus and 1 content area.  All parameters have defaults, but are configurable.\r\n\r\nMixins:\r\noffcanvas()  -  creates an area with 1 menu and 1 content area (uses offcanvas_multi behind the scenes)\r\noffcanvas_multi()  -  container with 1-4 menus and 1 content area\r\n\r\nAdditive Mixin:\r\noffcanvas_menus()  -  creates classes for creating offcanvas menus\r\n\r\nThere is currently no default styling.  I also added script tags to the test pages to toggle the open classes."},"comment":{"url":"https://api.github.com/repos/jenius/axis/issues/comments/76064040","html_url":"https://github.com/jenius/axis/pull/165#issuecomment-76064040","issue_url":"https://api.github.com/repos/jenius/axis/issues/165","id":76064040,"user":{"login":"jenius","id":556932,"avatar_url":"https://avatars.githubusercontent.com/u/556932?v=3","gravatar_id":"","url":"https://api.github.com/users/jenius","html_url":"https://github.com/jenius","followers_url":"https://api.github.com/users/jenius/followers","following_url":"https://api.github.com/users/jenius/following{/other_user}","gists_url":"https://api.github.com/users/jenius/gists{/gist_id}","starred_url":"https://api.github.com/users/jenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenius/subscriptions","organizations_url":"https://api.github.com/users/jenius/orgs","repos_url":"https://api.github.com/users/jenius/repos","events_url":"https://api.github.com/users/jenius/events{/privacy}","received_events_url":"https://api.github.com/users/jenius/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:28:24Z","updated_at":"2015-02-25T21:28:24Z","body":"@rhythnic that sounds like a great idea. In fact, if that's going well, I wouldn't be opposed to moving some of axis' \"ui\" section pieces over to it. This would be a challenging project especially with the docs and integration with html and css.\r\n\r\nI've been thinking about how you could pair html modules with stylus mixins as well. I feel like every templating language accepts functions as locals that you can execute to inject html. Perhaps offering each mixin paired with a function to be passed to your templating language as a local would be a good way to generate less confusion with the html and css pairing? This would work with any of the templating languages I have worked with personally (I maintain a library of abstractions over them [here](https://github.com/jenius/accord)). You could also have it expose an object of js functions that could be used to control it. Having compact clean packages like this would be a really cool way to do things, like an alternative to bootstrap but that's actually semantic, clean, and customizable.\r\n\r\nDefinitely keep us up to date. I'm very interested in this concept, and would be happy to contribute and discuss."}}