Last active
May 6, 2016 08:59
-
-
Save HenryVonfire/7dbfaf5d8ed62d7b07902607d7fb8b0f to your computer and use it in GitHub Desktop.
sidenav
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
import SideNavMixin from '../mixins/side-nav'; | |
export default Ember.Controller.extend(SideNavMixin,{ | |
appName: 'Ember Twiddle' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 12px 16px; | |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
font-size: 12pt; | |
} | |
.sidenav { | |
max-height: 0; | |
width: 200px; | |
position: absolute; | |
z-index: 1; | |
//top: 140px; | |
right: 0; | |
background-color: $white; | |
overflow: hidden; | |
transition: 0.5s; | |
box-shadow: 0 0 4px $mobile-shadow; | |
& ul { | |
list-style-type: none; | |
margin:0; | |
padding:0; | |
& li { | |
cursor:pointer; | |
text-align: center; | |
padding:10px; | |
border-bottom: 1px solid $mobile-shadow; | |
white-space: nowrap; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.8.0", | |
"EmberENV": { | |
"FEATURES": {} | |
}, | |
"options": { | |
"use_pods": false, | |
"enable-testing": false | |
}, | |
"dependencies": { | |
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", | |
"ember": "2.5.1", | |
"ember-data": "2.5.2", | |
"ember-template-compiler": "2.5.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment