ProgressPlus.ttss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .progress-plus.data-v-ca5eed2a {
  27. display: flex;
  28. align-items: center;
  29. }
  30. .progress-plus > span.data-v-ca5eed2a {
  31. width: 48rpx;
  32. font-size: 24rpx;
  33. }
  34. .progress-plus .progress-box.data-v-ca5eed2a {
  35. display: inline-block;
  36. position: relative;
  37. overflow: hidden;
  38. flex: 1;
  39. border-radius: 8rpx;
  40. }
  41. .progress-plus .progress-box > view.data-v-ca5eed2a {
  42. width: 100%;
  43. height: 12rpx;
  44. }
  45. .progress-plus .progress-box .gray.data-v-ca5eed2a {
  46. background-color: #E4EAF0;
  47. }
  48. .progress-plus .progress-box .colors.data-v-ca5eed2a {
  49. /*background-color: green;*/
  50. position: absolute;
  51. top: 0;
  52. transition: left 1s;
  53. }
  54. .progress-plus .progress-box .icon.data-v-ca5eed2a {
  55. position: absolute;
  56. width: 2px;
  57. bottom: 0;
  58. top: 0;
  59. background-color: #ffffff;
  60. }
  61. .progress-plus .progress-box .icon.icon1.data-v-ca5eed2a {
  62. left: 20%;
  63. }
  64. .progress-plus .progress-box .icon.icon2.data-v-ca5eed2a {
  65. left: 40%;
  66. }
  67. .progress-plus .progress-box .icon.icon3.data-v-ca5eed2a {
  68. left: 60%;
  69. }
  70. .progress-plus .progress-box .icon.icon4.data-v-ca5eed2a {
  71. left: 80%;
  72. }