u-button.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. @charset "UTF-8";
  2. /* 颜色变量 */
  3. /* 行为相关颜色 */
  4. /* 文字基本颜色 */
  5. /* 背景颜色 */
  6. /* 边框颜色 */
  7. /* 尺寸变量 */
  8. /* 文字尺寸 */
  9. /* 图片尺寸 */
  10. /* Border Radius */
  11. /* 水平间距 */
  12. /* 垂直间距 */
  13. /* 透明度 */
  14. /* 文章场景相关 */
  15. view.data-v-6e15e680, scroll-view.data-v-6e15e680, swiper-item.data-v-6e15e680 {
  16. display: flex;
  17. flex-direction: column;
  18. flex-shrink: 0;
  19. flex-grow: 0;
  20. flex-basis: auto;
  21. align-items: stretch;
  22. align-content: flex-start;
  23. }
  24. .u-button.data-v-6e15e680 {
  25. width: 100%;
  26. }
  27. .u-button__text.data-v-6e15e680 {
  28. white-space: nowrap;
  29. line-height: 1;
  30. }
  31. .u-button.data-v-6e15e680:before {
  32. position: absolute;
  33. top: 50%;
  34. left: 50%;
  35. width: 100%;
  36. height: 100%;
  37. border: inherit;
  38. border-radius: inherit;
  39. -webkit-transform: translate(-50%, -50%);
  40. transform: translate(-50%, -50%);
  41. opacity: 0;
  42. content: " ";
  43. background-color: #000;
  44. border-color: #000;
  45. }
  46. .u-button--active.data-v-6e15e680:before {
  47. opacity: .15;
  48. }
  49. .u-button__icon + .u-button__text.data-v-6e15e680:not(:empty), .u-button__loading-text.data-v-6e15e680 {
  50. margin-left: 4px;
  51. }
  52. .u-button--plain.u-button--primary.data-v-6e15e680 {
  53. color: #3c9cff;
  54. }
  55. .u-button--plain.u-button--info.data-v-6e15e680 {
  56. color: #909399;
  57. }
  58. .u-button--plain.u-button--success.data-v-6e15e680 {
  59. color: #5ac725;
  60. }
  61. .u-button--plain.u-button--error.data-v-6e15e680 {
  62. color: #f56c6c;
  63. }
  64. .u-button--plain.u-button--warning.data-v-6e15e680 {
  65. color: #f56c6c;
  66. }
  67. .u-button.data-v-6e15e680 {
  68. height: 40px;
  69. position: relative;
  70. align-items: center;
  71. justify-content: center;
  72. display: flex;
  73. flex-direction: row;
  74. box-sizing: border-box;
  75. flex-direction: row;
  76. }
  77. .u-button__text.data-v-6e15e680 {
  78. font-size: 15px;
  79. }
  80. .u-button__loading-text.data-v-6e15e680 {
  81. font-size: 15px;
  82. margin-left: 4px;
  83. }
  84. .u-button--large.data-v-6e15e680 {
  85. width: 100%;
  86. height: 50px;
  87. padding: 0 15px;
  88. }
  89. .u-button--normal.data-v-6e15e680 {
  90. padding: 0 12px;
  91. font-size: 14px;
  92. }
  93. .u-button--small.data-v-6e15e680 {
  94. min-width: 60px;
  95. height: 30px;
  96. padding: 0px 8px;
  97. font-size: 12px;
  98. }
  99. .u-button--mini.data-v-6e15e680 {
  100. height: 22px;
  101. font-size: 10px;
  102. min-width: 50px;
  103. padding: 0px 8px;
  104. }
  105. .u-button--disabled.data-v-6e15e680 {
  106. opacity: 0.5;
  107. }
  108. .u-button--info.data-v-6e15e680 {
  109. color: #323233;
  110. background-color: #fff;
  111. border-color: #ebedf0;
  112. border-width: 1px;
  113. border-style: solid;
  114. }
  115. .u-button--success.data-v-6e15e680 {
  116. color: #fff;
  117. background-color: #5ac725;
  118. border-color: #5ac725;
  119. border-width: 1px;
  120. border-style: solid;
  121. }
  122. .u-button--primary.data-v-6e15e680 {
  123. color: #fff;
  124. background-color: #3c9cff;
  125. border-color: #3c9cff;
  126. border-width: 1px;
  127. border-style: solid;
  128. }
  129. .u-button--error.data-v-6e15e680 {
  130. color: #fff;
  131. background-color: #f56c6c;
  132. border-color: #f56c6c;
  133. border-width: 1px;
  134. border-style: solid;
  135. }
  136. .u-button--warning.data-v-6e15e680 {
  137. color: #fff;
  138. background-color: #f9ae3d;
  139. border-color: #f9ae3d;
  140. border-width: 1px;
  141. border-style: solid;
  142. }
  143. .u-button--block.data-v-6e15e680 {
  144. display: flex;
  145. flex-direction: row;
  146. width: 100%;
  147. }
  148. .u-button--circle.data-v-6e15e680 {
  149. border-top-right-radius: 100px;
  150. border-top-left-radius: 100px;
  151. border-bottom-left-radius: 100px;
  152. border-bottom-right-radius: 100px;
  153. }
  154. .u-button--square.data-v-6e15e680 {
  155. border-bottom-left-radius: 3px;
  156. border-bottom-right-radius: 3px;
  157. border-top-left-radius: 3px;
  158. border-top-right-radius: 3px;
  159. }
  160. .u-button__icon.data-v-6e15e680 {
  161. min-width: 1em;
  162. line-height: inherit !important;
  163. vertical-align: top;
  164. }
  165. .u-button--plain.data-v-6e15e680 {
  166. background-color: #fff;
  167. }
  168. .u-button--hairline.data-v-6e15e680 {
  169. border-width: 0.5px !important;
  170. }