u-loading-icon.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /**
  2. * uni-app内置的常用样式变量
  3. */
  4. /* 行为相关颜色 */
  5. /* 文字基本颜色 */
  6. /* 背景颜色 */
  7. /* 边框颜色 */
  8. /* 尺寸变量 */
  9. /* 文字尺寸 */
  10. /* 图片尺寸 */
  11. /* Border Radius */
  12. /* 水平间距 */
  13. /* 垂直间距 */
  14. /* 透明度 */
  15. /* 文章场景相关 */
  16. .u-empty.data-v-00752c6d,
  17. .u-empty__wrap.data-v-00752c6d,
  18. .u-tabs.data-v-00752c6d,
  19. .u-tabs__wrapper.data-v-00752c6d,
  20. .u-tabs__wrapper__scroll-view-wrapper.data-v-00752c6d,
  21. .u-tabs__wrapper__scroll-view.data-v-00752c6d,
  22. .u-tabs__wrapper__nav.data-v-00752c6d,
  23. .u-tabs__wrapper__nav__line.data-v-00752c6d,
  24. .up-empty.data-v-00752c6d,
  25. .up-empty__wrap.data-v-00752c6d,
  26. .up-tabs.data-v-00752c6d,
  27. .up-tabs__wrapper.data-v-00752c6d,
  28. .up-tabs__wrapper__scroll-view-wrapper.data-v-00752c6d,
  29. .up-tabs__wrapper__scroll-view.data-v-00752c6d,
  30. .up-tabs__wrapper__nav.data-v-00752c6d,
  31. .up-tabs__wrapper__nav__line.data-v-00752c6d {
  32. display: flex;
  33. flex-direction: column;
  34. flex-shrink: 0;
  35. flex-grow: 0;
  36. flex-basis: auto;
  37. align-items: stretch;
  38. align-content: flex-start;
  39. }
  40. .u-loading-icon.data-v-00752c6d {
  41. display: flex;
  42. flex-direction: row;
  43. align-items: center;
  44. justify-content: center;
  45. color: #c8c9cc;
  46. }
  47. .u-loading-icon__text.data-v-00752c6d {
  48. margin-left: 4px;
  49. color: #606266;
  50. font-size: 14px;
  51. line-height: 20px;
  52. }
  53. .u-loading-icon__spinner.data-v-00752c6d {
  54. width: 30px;
  55. height: 30px;
  56. position: relative;
  57. box-sizing: border-box;
  58. max-width: 100%;
  59. max-height: 100%;
  60. animation: u-rotate-00752c6d 1s linear infinite;
  61. }
  62. .u-loading-icon__spinner--semicircle.data-v-00752c6d {
  63. border-width: 2px;
  64. border-color: transparent;
  65. border-top-right-radius: 100px;
  66. border-top-left-radius: 100px;
  67. border-bottom-left-radius: 100px;
  68. border-bottom-right-radius: 100px;
  69. border-style: solid;
  70. }
  71. .u-loading-icon__spinner--circle.data-v-00752c6d {
  72. border-top-right-radius: 100px;
  73. border-top-left-radius: 100px;
  74. border-bottom-left-radius: 100px;
  75. border-bottom-right-radius: 100px;
  76. border-width: 2px;
  77. border-top-color: #e5e5e5;
  78. border-right-color: #e5e5e5;
  79. border-bottom-color: #e5e5e5;
  80. border-left-color: #e5e5e5;
  81. border-style: solid;
  82. }
  83. .u-loading-icon--vertical.data-v-00752c6d {
  84. flex-direction: column;
  85. }
  86. .data-v-00752c6d:host {
  87. font-size: 0px;
  88. line-height: 1;
  89. }
  90. .u-loading-icon__spinner--spinner.data-v-00752c6d {
  91. animation-timing-function: steps(12);
  92. }
  93. .u-loading-icon__text.data-v-00752c6d:empty {
  94. display: none;
  95. }
  96. .u-loading-icon--vertical .u-loading-icon__text.data-v-00752c6d {
  97. margin: 6px 0 0;
  98. color: #606266;
  99. }
  100. .u-loading-icon__dot.data-v-00752c6d {
  101. position: absolute;
  102. top: 0;
  103. left: 0;
  104. width: 100%;
  105. height: 100%;
  106. }
  107. .u-loading-icon__dot.data-v-00752c6d:before {
  108. display: block;
  109. width: 2px;
  110. height: 25%;
  111. margin: 0 auto;
  112. background-color: currentColor;
  113. border-radius: 40%;
  114. content: " ";
  115. }
  116. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(1) {
  117. transform: rotate(30deg);
  118. opacity: 1;
  119. }
  120. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(2) {
  121. transform: rotate(60deg);
  122. opacity: 0.9375;
  123. }
  124. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(3) {
  125. transform: rotate(90deg);
  126. opacity: 0.875;
  127. }
  128. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(4) {
  129. transform: rotate(120deg);
  130. opacity: 0.8125;
  131. }
  132. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(5) {
  133. transform: rotate(150deg);
  134. opacity: 0.75;
  135. }
  136. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(6) {
  137. transform: rotate(180deg);
  138. opacity: 0.6875;
  139. }
  140. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(7) {
  141. transform: rotate(210deg);
  142. opacity: 0.625;
  143. }
  144. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(8) {
  145. transform: rotate(240deg);
  146. opacity: 0.5625;
  147. }
  148. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(9) {
  149. transform: rotate(270deg);
  150. opacity: 0.5;
  151. }
  152. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(10) {
  153. transform: rotate(300deg);
  154. opacity: 0.4375;
  155. }
  156. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(11) {
  157. transform: rotate(330deg);
  158. opacity: 0.375;
  159. }
  160. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(12) {
  161. transform: rotate(360deg);
  162. opacity: 0.3125;
  163. }
  164. @keyframes u-rotate-00752c6d {
  165. 0% {
  166. transform: rotate(0deg);
  167. }
  168. to {
  169. transform: rotate(1turn);
  170. }
  171. }