Skip to content

Commit

Permalink
changed colors to foreground and added USD
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Apr 17, 2015
1 parent a8c9bc1 commit 404c147
Show file tree
Hide file tree
Showing 37 changed files with 110 additions and 9 deletions.
58 changes: 54 additions & 4 deletions fin-hypergrid.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -21336,6 +21336,7 @@






</style>
Expand Down Expand Up @@ -22425,6 +22426,7 @@






</style>
Expand Down Expand Up @@ -22660,6 +22662,7 @@






</style>
Expand Down Expand Up @@ -22949,6 +22952,7 @@






</style>
Expand Down Expand Up @@ -23238,6 +23242,7 @@






</style>
Expand Down Expand Up @@ -23567,6 +23572,7 @@




</style>
</template>
<script>'use strict';
Expand Down Expand Up @@ -23668,6 +23674,7 @@






</style>
Expand Down Expand Up @@ -23840,6 +23847,7 @@






</style>
Expand Down Expand Up @@ -24487,6 +24495,7 @@






</style>
Expand Down Expand Up @@ -24766,6 +24775,7 @@






</style>
Expand Down Expand Up @@ -24949,6 +24959,7 @@






</style>
Expand Down Expand Up @@ -25126,6 +25137,7 @@






</style>
Expand Down Expand Up @@ -25317,6 +25329,7 @@






</style>
Expand Down Expand Up @@ -25625,6 +25638,7 @@






</style>
Expand Down Expand Up @@ -26253,6 +26267,7 @@






</style>
Expand Down Expand Up @@ -26397,6 +26412,7 @@






</style>
Expand Down Expand Up @@ -26488,6 +26504,7 @@






</style>
Expand Down Expand Up @@ -27344,6 +27361,7 @@






</style>
Expand Down Expand Up @@ -27535,6 +27553,7 @@






</style>
Expand Down Expand Up @@ -27981,6 +28000,7 @@






</style>
Expand Down Expand Up @@ -28589,6 +28609,7 @@






</style>
Expand Down Expand Up @@ -29019,6 +29040,7 @@






</style>
Expand Down Expand Up @@ -29443,6 +29465,7 @@






</style>
Expand Down Expand Up @@ -29537,8 +29560,25 @@
}
},
alignment: 'right',
modifyConfig: function(config) {
noop(config);
modifyConfig: function(cell) {
noop(cell);
}
},
USD: {
formatter: function(v) {
if (v) {
var result = numeral(v).format('$0,0.00');
return result;
} else {
return v;
}
},
alignment: 'right',
modifyConfig: function(cell) {
cell.config.fgColor = '#669203'; //'#53FF07'; //green
if (cell.config.value.indexOf('-1') > -1) {
cell.config.fgColor = '#C13527'; //'#FF1515'; //red
}
}
},
VOL: {
Expand All @@ -29552,9 +29592,9 @@
},
alignment: 'right',
modifyConfig: function(cell) {
cell.config.bgColor = '#53FF07'; //green
cell.config.fgColor = '#669203'; //'#53FF07'; //green
if (cell.config.value.indexOf('-1') > -1) {
cell.config.bgColor = '#FF1515'; //red
cell.config.fgColor = '#C13527'; //'#FF1515'; //red
}
}
}
Expand Down Expand Up @@ -30147,6 +30187,7 @@




</style>
</template>
<script>'use strict';
Expand Down Expand Up @@ -30464,6 +30505,7 @@






</style>
Expand Down Expand Up @@ -30752,6 +30794,7 @@






</style>
Expand Down Expand Up @@ -30986,6 +31029,7 @@






</style>
Expand Down Expand Up @@ -31157,6 +31201,7 @@






</style>
Expand Down Expand Up @@ -31331,6 +31376,7 @@






</style>
Expand Down Expand Up @@ -31499,6 +31545,7 @@






</style>
Expand Down Expand Up @@ -31667,6 +31714,7 @@






</style>
Expand Down Expand Up @@ -31835,6 +31883,7 @@






</style>
Expand Down Expand Up @@ -32068,6 +32117,7 @@






</style>
Expand Down
2 changes: 1 addition & 1 deletion fin-hypergrid.min.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-gol.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-in-memory.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-json.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-q.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-qtree.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@




Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@






Loading

0 comments on commit 404c147

Please sign in to comment.