index.less 662 B

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