Skip to content

Instantly share code, notes, and snippets.

@grapho
Last active October 6, 2017 21:54
Show Gist options
  • Save grapho/a21398713a4ed61c49a86d6f6481f267 to your computer and use it in GitHub Desktop.
Save grapho/a21398713a4ed61c49a86d6f6481f267 to your computer and use it in GitHub Desktop.
Able Data
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Able Data'
});
body {
margin: 12px 16px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12pt;
}
.arbitrary-container {
background: hsla(125, 100%, 90%, 1);
border-radius: 4px;
box-shadow: 0 2px 10px hsla(0, 0%, 0%, .2);
height: 500px;
}
able-data {
display: flex;
flex: 1;
min-height: 100%;
height: 100%;
max-height: 100%;
}
table-wrapper {
flex: 1;
}
table {
width: 100%;
position: relative;
}
tr {
border-bottom: 1px solid rgba(0, 0, 0, .05);
width: 100%;
}
th {
text-align: left;
}
th, td {
cursor: default;
padding: 8px;
}
.is-key {
position: absolute;
opacity: 0;
}
.is-focused {
background-color: rgba(0, 0, 0, .02);
}
.is-hovered {
background-color: rgba(0, 0, 0, .02);
}
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{outlet}}
<br>
<br>
{
"version": "0.12.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.12.0",
"ember-template-compiler": "2.12.0",
"ember-testing": "2.12.0"
},
"addons": {
"ember-data": "2.12.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment