badge.less 634 字节
Newer Older
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
sup.ibiz-badge {
  position: absolute;
  vertical-align: middle;
  top: -10px;
  height: 20px;
  border-radius: 10px;
  min-width: 20px;
  background: #ed4014;
  border: 1px solid transparent;
  color: #fff;
  line-height: 18px;
  text-align: center;
  padding: 0 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  //预设类型颜色
  &.primary {
      background: #2d8cf0;
  }
  &.success {
      background: #19be6b;
  }
  &.normal {
      background: #e6ebf1;
      color: #808695;
  }
  &.error {
      background: #ed4014;
  }
  &.warning {
      background: #f90;
  }
  &.info {
      background: #2db7f5;
  }
}