index.less 662 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2 3 4 5 6 7 8 9 10 11

.miniProgress {
  padding: 5px 0;
  position: relative;
  width: 100%;
  .progressWrap {
    background-color: @background-color-base;
    position: relative;
  }
  .progress {
jim's avatar
jim committed
12
    transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    border-radius: 1px 0 0 1px;
    background-color: @primary-color;
    width: 0;
    height: 100%;
  }
  .target {
    position: absolute;
    top: 0;
    bottom: 0;
    span {
      border-radius: 100px;
      position: absolute;
      top: 0;
      left: 0;
      height: 4px;
      width: 2px;
    }
    span:last-child {
      top: auto;
      bottom: 0;
    }
  }
}