Code coverage report for styles/estimator.js

Statements: 100% (6 / 6)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (6 / 6)      Ignored: none     

All files » styles/ » estimator.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 661 1 1           1                       1                                                                                         1
var _ = require('lodash');
var ButtonBase = require('./base_styles/buttons');
var PopupBase = require('./base_styles/popups');
 
/*
 * Estimator component styles.
 */
 
var button = _.extend({}, ButtonBase.base, {
  width: '22px',
  height: '22px',
  fontSize: '11px',
  color: '#ffffff',
  lineHeight: '19px',
  textAlign: 'center',
  border: 'none',
  borderRadius: '11px',
  marginLeft: '3px'
});
 
var EstimatorStyles = {
  list: {
    listStyleType: 'none',
    width: '100%',
    height: '28px',
    padding: '0',
    margin: '0'
  },
  score: {
    wrapper: {
      display: 'inline-block',
      marginLeft: '4px',
      marginBottom: '2px'
    },
    story: _.extend({}, button, {
      backgroundColor: '#84b431'
    }),
    task: _.extend({}, button, {
      backgroundColor: '#454545'
    }),
    test: _.extend({}, button, {
      backgroundColor: '#5a96ab'
    }),
    defect: _.extend({}, button, {
      backgroundColor: '#d94949'
    })
  },
  menu: _.extend({}, PopupBase.elementMenu, {
    display: 'inline-block',
    lineHeight: '19px',
    padding: '6px 10px 0px 7px',
    marginTop: '-30px',
    marginLeft: '40px'
  }),
  leftArrow: {
    position: 'absolute',
    borderRight: '12px solid #fff',
    borderTop: '12px solid transparent',
    borderBottom: '12px solid transparent',
    marginLeft: '32px',
    marginTop: '-30px',
    zIndex: '600'
  }
};
 
module.exports = EstimatorStyles;