-
-
Save jacobq/2f0439836e380101f5ec2dc64b906f15 to your computer and use it in GitHub Desktop.
Modal Dialog Test
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'; | |
export default Ember.Controller.extend({ | |
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; | |
} | |
// Have to copy this from addon due to no support for scss | |
.ember-modal-overlay { | |
height: 100%; | |
left: 0; | |
position: fixed; | |
right: 0; | |
top: 0; | |
z-index: 50; | |
} | |
.ember-modal-dialog { | |
z-index: 50; | |
position: fixed; | |
&.ember-modal-dialog-in-place { | |
position: relative; | |
} | |
} | |
.ember-modal-dialog { | |
border-radius: 8px; | |
background-color: #fff; | |
box-shadow: 0 0 10px #222; | |
padding: 10px; | |
} | |
.ember-modal-overlay.translucent { | |
background-color: rgba(#808080, .77); | |
} |
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.7.2", | |
"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.9.0", | |
"ember-data": "2.8.0", | |
"ember-template-compiler": "2.9.0" | |
}, | |
"addons": { | |
"ember-modal-dialog": "0.9.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment