u-line-progress.wxss 1.5 KB

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