Last active
July 20, 2016 13:40
-
-
Save HenryVonfire/87ab3fcfbf0bf9f2b2f03c5c64c0d89f to your computer and use it in GitHub Desktop.
clock distribution
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', | |
| actions:{ | |
| highlight(value){ | |
| value.className += " active"; | |
| }, | |
| deemphasize(value){ | |
| value.className = value.className.replace(" active",""); | |
| } | |
| } | |
| }); |
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; | |
| } | |
| .clock{ | |
| position:absolute; | |
| } | |
| .clock{ | |
| position:absolute; | |
| } | |
| .clock.one {top:8px; left: 75px;} | |
| .clock.two {top:25px; left: 95px;} | |
| .clock.three {top:50px; left: 100px;} | |
| .clock.four {top:75px; left: 95px;} | |
| .clock.five {top:95px; left: 75px;} | |
| .clock.six {top:100px; left: 50px;} | |
| .clock.seven {top:95px; left: 25px;} | |
| .clock.eight {top:75px; left: 10px;} | |
| .clock.nine {top:50px; left: 0;} | |
| .clock.ten {top:25px; left: 10px;} | |
| .clock.eleven {top:8px; left: 28px;} | |
| .clock.twelve {top:0px; left: 50px;} | |
| .clock.active{ | |
| background: black; | |
| color:white; | |
| border-radius: 25px; | |
| } |
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.10.1", | |
| "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.6.0", | |
| "ember-data": "2.6.1", | |
| "ember-template-compiler": "2.6.0" | |
| }, | |
| "addons": {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment