u-button.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. view.data-v-2bf0e569, scroll-view.data-v-2bf0e569, swiper-item.data-v-2bf0e569 {
  8. display: flex;
  9. flex-direction: column;
  10. flex-shrink: 0;
  11. flex-grow: 0;
  12. flex-basis: auto;
  13. align-items: stretch;
  14. align-content: flex-start;
  15. }
  16. .u-button.data-v-2bf0e569 {
  17. width: 100%;
  18. }
  19. .u-button__text.data-v-2bf0e569 {
  20. white-space: nowrap;
  21. line-height: 1;
  22. }
  23. .u-button.data-v-2bf0e569:before {
  24. position: absolute;
  25. top: 50%;
  26. left: 50%;
  27. width: 100%;
  28. height: 100%;
  29. border: inherit;
  30. border-radius: inherit;
  31. -webkit-transform: translate(-50%, -50%);
  32. transform: translate(-50%, -50%);
  33. opacity: 0;
  34. content: " ";
  35. background-color: #000;
  36. border-color: #000;
  37. }
  38. .u-button--active.data-v-2bf0e569:before {
  39. opacity: .15;
  40. }
  41. .u-button__icon + .u-button__text.data-v-2bf0e569:not(:empty), .u-button__loading-text.data-v-2bf0e569 {
  42. margin-left: 4px;
  43. }
  44. .u-button--plain.u-button--primary.data-v-2bf0e569 {
  45. color: #3c9cff;
  46. }
  47. .u-button--plain.u-button--info.data-v-2bf0e569 {
  48. color: #909399;
  49. }
  50. .u-button--plain.u-button--success.data-v-2bf0e569 {
  51. color: #5ac725;
  52. }
  53. .u-button--plain.u-button--error.data-v-2bf0e569 {
  54. color: #f56c6c;
  55. }
  56. .u-button--plain.u-button--warning.data-v-2bf0e569 {
  57. color: #f56c6c;
  58. }
  59. .u-button.data-v-2bf0e569 {
  60. height: 40px;
  61. position: relative;
  62. align-items: center;
  63. justify-content: center;
  64. display: flex;
  65. flex-direction: row;
  66. box-sizing: border-box;
  67. flex-direction: row;
  68. }
  69. .u-button__text.data-v-2bf0e569 {
  70. font-size: 15px;
  71. }
  72. .u-button__loading-text.data-v-2bf0e569 {
  73. font-size: 15px;
  74. margin-left: 4px;
  75. }
  76. .u-button--large.data-v-2bf0e569 {
  77. width: 100%;
  78. height: 50px;
  79. padding: 0 15px;
  80. }
  81. .u-button--normal.data-v-2bf0e569 {
  82. padding: 0 12px;
  83. font-size: 14px;
  84. }
  85. .u-button--small.data-v-2bf0e569 {
  86. min-width: 60px;
  87. height: 30px;
  88. padding: 0px 8px;
  89. font-size: 12px;
  90. }
  91. .u-button--mini.data-v-2bf0e569 {
  92. height: 22px;
  93. font-size: 10px;
  94. min-width: 50px;
  95. padding: 0px 8px;
  96. }
  97. .u-button--disabled.data-v-2bf0e569 {
  98. opacity: 0.5;
  99. }
  100. .u-button--info.data-v-2bf0e569 {
  101. color: #323233;
  102. background-color: #fff;
  103. border-color: #ebedf0;
  104. border-width: 1px;
  105. border-style: solid;
  106. }
  107. .u-button--success.data-v-2bf0e569 {
  108. color: #fff;
  109. background-color: #5ac725;
  110. border-color: #5ac725;
  111. border-width: 1px;
  112. border-style: solid;
  113. }
  114. .u-button--primary.data-v-2bf0e569 {
  115. color: #fff;
  116. background-color: #3c9cff;
  117. border-color: #3c9cff;
  118. border-width: 1px;
  119. border-style: solid;
  120. }
  121. .u-button--error.data-v-2bf0e569 {
  122. color: #fff;
  123. background-color: #f56c6c;
  124. border-color: #f56c6c;
  125. border-width: 1px;
  126. border-style: solid;
  127. }
  128. .u-button--warning.data-v-2bf0e569 {
  129. color: #fff;
  130. background-color: #f9ae3d;
  131. border-color: #f9ae3d;
  132. border-width: 1px;
  133. border-style: solid;
  134. }
  135. .u-button--block.data-v-2bf0e569 {
  136. display: flex;
  137. flex-direction: row;
  138. width: 100%;
  139. }
  140. .u-button--circle.data-v-2bf0e569 {
  141. border-top-right-radius: 100px;
  142. border-top-left-radius: 100px;
  143. border-bottom-left-radius: 100px;
  144. border-bottom-right-radius: 100px;
  145. }
  146. .u-button--square.data-v-2bf0e569 {
  147. border-bottom-left-radius: 3px;
  148. border-bottom-right-radius: 3px;
  149. border-top-left-radius: 3px;
  150. border-top-right-radius: 3px;
  151. }
  152. .u-button__icon.data-v-2bf0e569 {
  153. min-width: 1em;
  154. line-height: inherit !important;
  155. vertical-align: top;
  156. }
  157. .u-button--plain.data-v-2bf0e569 {
  158. background-color: #fff;
  159. }
  160. .u-button--hairline.data-v-2bf0e569 {
  161. border-width: 0.5px !important;
  162. }