u-loading-icon.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. view.data-v-00752c6d, scroll-view.data-v-00752c6d, swiper-item.data-v-00752c6d {
  27. display: flex;
  28. flex-direction: column;
  29. flex-shrink: 0;
  30. flex-grow: 0;
  31. flex-basis: auto;
  32. align-items: stretch;
  33. align-content: flex-start;
  34. }
  35. .u-loading-icon.data-v-00752c6d {
  36. flex-direction: row;
  37. align-items: center;
  38. justify-content: center;
  39. color: #c8c9cc;
  40. }
  41. .u-loading-icon__text.data-v-00752c6d {
  42. margin-left: 4px;
  43. color: #606266;
  44. font-size: 14px;
  45. line-height: 20px;
  46. }
  47. .u-loading-icon__spinner.data-v-00752c6d {
  48. width: 30px;
  49. height: 30px;
  50. position: relative;
  51. box-sizing: border-box;
  52. max-width: 100%;
  53. max-height: 100%;
  54. animation: u-rotate-00752c6d 1s linear infinite;
  55. }
  56. .u-loading-icon__spinner--semicircle.data-v-00752c6d {
  57. border-width: 2px;
  58. border-color: transparent;
  59. border-top-right-radius: 100px;
  60. border-top-left-radius: 100px;
  61. border-bottom-left-radius: 100px;
  62. border-bottom-right-radius: 100px;
  63. border-style: solid;
  64. }
  65. .u-loading-icon__spinner--circle.data-v-00752c6d {
  66. border-top-right-radius: 100px;
  67. border-top-left-radius: 100px;
  68. border-bottom-left-radius: 100px;
  69. border-bottom-right-radius: 100px;
  70. border-width: 2px;
  71. border-top-color: #e5e5e5;
  72. border-right-color: #e5e5e5;
  73. border-bottom-color: #e5e5e5;
  74. border-left-color: #e5e5e5;
  75. border-style: solid;
  76. }
  77. .u-loading-icon--vertical.data-v-00752c6d {
  78. flex-direction: column;
  79. }
  80. .data-v-00752c6d:host {
  81. font-size: 0px;
  82. line-height: 1;
  83. }
  84. .u-loading-icon__spinner--spinner.data-v-00752c6d {
  85. animation-timing-function: steps(12);
  86. }
  87. .u-loading-icon__text.data-v-00752c6d:empty {
  88. display: none;
  89. }
  90. .u-loading-icon--vertical .u-loading-icon__text.data-v-00752c6d {
  91. margin: 6px 0 0;
  92. color: #606266;
  93. }
  94. .u-loading-icon__dot.data-v-00752c6d {
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. width: 100%;
  99. height: 100%;
  100. }
  101. .u-loading-icon__dot.data-v-00752c6d:before {
  102. display: block;
  103. width: 2px;
  104. height: 25%;
  105. margin: 0 auto;
  106. background-color: currentColor;
  107. border-radius: 40%;
  108. content: " ";
  109. }
  110. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(1) {
  111. transform: rotate(30deg);
  112. opacity: 1;
  113. }
  114. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(2) {
  115. transform: rotate(60deg);
  116. opacity: 0.9375;
  117. }
  118. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(3) {
  119. transform: rotate(90deg);
  120. opacity: 0.875;
  121. }
  122. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(4) {
  123. transform: rotate(120deg);
  124. opacity: 0.8125;
  125. }
  126. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(5) {
  127. transform: rotate(150deg);
  128. opacity: 0.75;
  129. }
  130. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(6) {
  131. transform: rotate(180deg);
  132. opacity: 0.6875;
  133. }
  134. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(7) {
  135. transform: rotate(210deg);
  136. opacity: 0.625;
  137. }
  138. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(8) {
  139. transform: rotate(240deg);
  140. opacity: 0.5625;
  141. }
  142. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(9) {
  143. transform: rotate(270deg);
  144. opacity: 0.5;
  145. }
  146. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(10) {
  147. transform: rotate(300deg);
  148. opacity: 0.4375;
  149. }
  150. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(11) {
  151. transform: rotate(330deg);
  152. opacity: 0.375;
  153. }
  154. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(12) {
  155. transform: rotate(360deg);
  156. opacity: 0.3125;
  157. }
  158. @keyframes u-rotate-00752c6d {
  159. 0% {
  160. transform: rotate(0deg);
  161. }
  162. to {
  163. transform: rotate(1turn);
  164. }
  165. }