u-line-progress.wxss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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: -webkit-inline-box;
  11. display: -webkit-inline-flex;
  12. display: inline-flex;
  13. -webkit-box-align: center;
  14. -webkit-align-items: center;
  15. align-items: center;
  16. width: 100%;
  17. border-radius: 100rpx;
  18. }
  19. .u-active.data-v-0fa21744 {
  20. width: 0;
  21. height: 100%;
  22. -webkit-box-align: center;
  23. -webkit-align-items: center;
  24. align-items: center;
  25. display: -webkit-box;
  26. display: -webkit-flex;
  27. display: flex;
  28. -webkit-box-orient: horizontal;
  29. -webkit-box-direction: normal;
  30. -webkit-flex-direction: row;
  31. flex-direction: row;
  32. justify-items: flex-end;
  33. -webkit-justify-content: space-around;
  34. justify-content: space-around;
  35. font-size: 20rpx;
  36. color: #ffffff;
  37. -webkit-transition: all 0.4s ease;
  38. transition: all 0.4s ease;
  39. }
  40. .u-striped.data-v-0fa21744 {
  41. background-image: -webkit-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);
  42. 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);
  43. background-size: 39px 39px;
  44. }
  45. .u-striped-active.data-v-0fa21744 {
  46. -webkit-animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  47. animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  48. }
  49. @-webkit-keyframes progress-stripes-data-v-0fa21744 {
  50. 0% {
  51. background-position: 0 0;
  52. }
  53. 100% {
  54. background-position: 39px 0;
  55. }
  56. }
  57. @keyframes progress-stripes-data-v-0fa21744 {
  58. 0% {
  59. background-position: 0 0;
  60. }
  61. 100% {
  62. background-position: 39px 0;
  63. }
  64. }