u-line-progress.ttss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  5. */
  6. .u-progress.data-v-0fa21744 {
  7. overflow: hidden;
  8. height: 15px;
  9. display: inline-flex;
  10. align-items: center;
  11. width: 100%;
  12. border-radius: 100rpx;
  13. }
  14. .u-active.data-v-0fa21744 {
  15. width: 0;
  16. height: 100%;
  17. align-items: center;
  18. display: flex;
  19. flex-direction: row;
  20. justify-items: flex-end;
  21. justify-content: space-around;
  22. font-size: 20rpx;
  23. color: #ffffff;
  24. transition: all 0.4s ease;
  25. }
  26. .u-striped.data-v-0fa21744 {
  27. background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  28. background-size: 39px 39px;
  29. }
  30. .u-striped-active.data-v-0fa21744 {
  31. -webkit-animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  32. animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  33. }
  34. @-webkit-keyframes progress-stripes-data-v-0fa21744 {
  35. 0% {
  36. background-position: 0 0;
  37. }
  38. 100% {
  39. background-position: 39px 0;
  40. }
  41. }
  42. @keyframes progress-stripes-data-v-0fa21744 {
  43. 0% {
  44. background-position: 0 0;
  45. }
  46. 100% {
  47. background-position: 39px 0;
  48. }
  49. }