u-line-progress.wxss 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .u-progress.data-v-0fa21744 {
  28. overflow: hidden;
  29. height: 15px;
  30. display: -webkit-inline-box;
  31. display: -webkit-inline-flex;
  32. display: inline-flex;
  33. -webkit-box-align: center;
  34. -webkit-align-items: center;
  35. align-items: center;
  36. width: 100%;
  37. -webkit-border-radius: 100rpx;
  38. border-radius: 100rpx;
  39. }
  40. .u-active.data-v-0fa21744 {
  41. width: 0;
  42. height: 100%;
  43. -webkit-box-align: center;
  44. -webkit-align-items: center;
  45. align-items: center;
  46. display: -webkit-box;
  47. display: -webkit-flex;
  48. display: flex;
  49. -webkit-box-orient: horizontal;
  50. -webkit-box-direction: normal;
  51. -webkit-flex-direction: row;
  52. flex-direction: row;
  53. justify-items: flex-end;
  54. -webkit-justify-content: space-around;
  55. justify-content: space-around;
  56. font-size: 20rpx;
  57. color: #ffffff;
  58. -webkit-transition: all 0.4s ease;
  59. transition: all 0.4s ease;
  60. }
  61. .u-striped.data-v-0fa21744 {
  62. 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);
  63. 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);
  64. background-size: 39px 39px;
  65. }
  66. .u-striped-active.data-v-0fa21744 {
  67. -webkit-animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  68. animation: progress-stripes-data-v-0fa21744 2s linear infinite;
  69. }
  70. @-webkit-keyframes progress-stripes-data-v-0fa21744 {
  71. 0% {
  72. background-position: 0 0;
  73. }
  74. 100% {
  75. background-position: 39px 0;
  76. }
  77. }
  78. @keyframes progress-stripes-data-v-0fa21744 {
  79. 0% {
  80. background-position: 0 0;
  81. }
  82. 100% {
  83. background-position: 39px 0;
  84. }
  85. }