index.less 662 B

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