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

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