emberjs -ember-cli-chart扩展圆环图以创建圆形边缘

时间:2018-02-03 05:37:25

标签: ember.js chart.js ember-cli

如何在ember-cli-cart中扩展图表对象?我想扩展dooughnut以获得光滑的边缘和其他一些功能。类似下面的代码,但我想创建一个可重用的ember组件

.card {
  box-sizing: border-box;
  display: inline-block;
  padding: 16px;
  width: 25%;
  position: relative;
}

.card_colorSecond {
  background-color: #FF1010;
  /* vermelho */
}

.wrap-card-color {
  position: absolute;
  top: -16px;
  left: 0;
}

.card-color {
  display: inline-block;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.card-color a {
  opacity: 0;
  display: block;
}

0 个答案:

没有答案