index.scss 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .nut-circleprogress {
  2. position: relative;
  3. .nut-circleprogress-content {
  4. position: absolute;
  5. top: 50%;
  6. left: 50%;
  7. transform: translate(-50%, -50%);
  8. }
  9. .nut-circleprogress__line {
  10. position: absolute;
  11. width: 50%;
  12. height: 100%;
  13. top: 0;
  14. overflow: hidden;
  15. }
  16. .nut-circleprogress__progress {
  17. position: absolute;
  18. top: 50%;
  19. left: 50%;
  20. transform: translate(-50%, -50%);
  21. font-size: 16px;
  22. font-family: PingFangSC;
  23. font-weight: normal;
  24. color: rgba(29, 29, 33, 1);
  25. }
  26. .nut-circleprogress__l {
  27. top: 0px;
  28. transform: rotate(0deg);
  29. left: 0px;
  30. }
  31. .nut-circleprogress__r {
  32. top: 0px;
  33. transform: rotate(180deg);
  34. right: 0px;
  35. }
  36. .nut-circleprogress__line__c {
  37. width: 200%;
  38. height: 100%;
  39. border: 10px solid transparent;
  40. border-radius: 50%;
  41. position: absolute;
  42. box-sizing: border-box;
  43. top: 0;
  44. transform: rotate(-45deg);
  45. }
  46. }