康巴易测肤/伤疤uniapp小程序类
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

u-button.wxss 4.4KB

1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
1 个月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .safe-area-bottom.data-v-3bf2dba7 {
  28. padding-bottom: env(safe-area-inset-bottom);
  29. }
  30. view.data-v-3bf2dba7, scroll-view.data-v-3bf2dba7, swiper-item.data-v-3bf2dba7 {
  31. display: flex;
  32. flex-direction: column;
  33. flex-shrink: 0;
  34. flex-grow: 0;
  35. flex-basis: auto;
  36. align-items: stretch;
  37. align-content: flex-start;
  38. }
  39. .u-button.data-v-3bf2dba7 {
  40. width: 100%;
  41. }
  42. .u-button__text.data-v-3bf2dba7 {
  43. white-space: nowrap;
  44. line-height: 1;
  45. }
  46. .u-button.data-v-3bf2dba7:before {
  47. position: absolute;
  48. top: 50%;
  49. left: 50%;
  50. width: 100%;
  51. height: 100%;
  52. border: inherit;
  53. border-radius: inherit;
  54. -webkit-transform: translate(-50%, -50%);
  55. transform: translate(-50%, -50%);
  56. opacity: 0;
  57. content: " ";
  58. background-color: #000;
  59. border-color: #000;
  60. }
  61. .u-button--active.data-v-3bf2dba7:before {
  62. opacity: 0.15;
  63. }
  64. .u-button__icon + .u-button__text.data-v-3bf2dba7:not(:empty), .u-button__loading-text.data-v-3bf2dba7 {
  65. margin-left: 4px;
  66. }
  67. .u-button--plain.u-button--primary.data-v-3bf2dba7 {
  68. color: #3c9cff;
  69. }
  70. .u-button--plain.u-button--info.data-v-3bf2dba7 {
  71. color: #909399;
  72. }
  73. .u-button--plain.u-button--success.data-v-3bf2dba7 {
  74. color: #5ac725;
  75. }
  76. .u-button--plain.u-button--error.data-v-3bf2dba7 {
  77. color: #f56c6c;
  78. }
  79. .u-button--plain.u-button--warning.data-v-3bf2dba7 {
  80. color: #f56c6c;
  81. }
  82. .u-button.data-v-3bf2dba7 {
  83. height: 40px;
  84. position: relative;
  85. align-items: center;
  86. justify-content: center;
  87. display: flex;
  88. flex-direction: row;
  89. box-sizing: border-box;
  90. flex-direction: row;
  91. }
  92. .u-button__text.data-v-3bf2dba7 {
  93. font-size: 15px;
  94. }
  95. .u-button__loading-text.data-v-3bf2dba7 {
  96. font-size: 15px;
  97. margin-left: 4px;
  98. }
  99. .u-button--large.data-v-3bf2dba7 {
  100. width: 100%;
  101. height: 50px;
  102. padding: 0 15px;
  103. }
  104. .u-button--normal.data-v-3bf2dba7 {
  105. padding: 0 12px;
  106. font-size: 14px;
  107. }
  108. .u-button--small.data-v-3bf2dba7 {
  109. min-width: 60px;
  110. height: 30px;
  111. padding: 0px 8px;
  112. font-size: 12px;
  113. }
  114. .u-button--mini.data-v-3bf2dba7 {
  115. height: 22px;
  116. font-size: 10px;
  117. min-width: 50px;
  118. padding: 0px 8px;
  119. }
  120. .u-button--disabled.data-v-3bf2dba7 {
  121. opacity: 0.5;
  122. }
  123. .u-button--info.data-v-3bf2dba7 {
  124. color: #323233;
  125. background-color: #fff;
  126. border-color: #ebedf0;
  127. border-width: 1px;
  128. border-style: solid;
  129. }
  130. .u-button--success.data-v-3bf2dba7 {
  131. color: #fff;
  132. background-color: #5ac725;
  133. border-color: #5ac725;
  134. border-width: 1px;
  135. border-style: solid;
  136. }
  137. .u-button--primary.data-v-3bf2dba7 {
  138. color: #fff;
  139. background-color: #3c9cff;
  140. border-color: #3c9cff;
  141. border-width: 1px;
  142. border-style: solid;
  143. }
  144. .u-button--error.data-v-3bf2dba7 {
  145. color: #fff;
  146. background-color: #f56c6c;
  147. border-color: #f56c6c;
  148. border-width: 1px;
  149. border-style: solid;
  150. }
  151. .u-button--warning.data-v-3bf2dba7 {
  152. color: #fff;
  153. background-color: #f9ae3d;
  154. border-color: #f9ae3d;
  155. border-width: 1px;
  156. border-style: solid;
  157. }
  158. .u-button--block.data-v-3bf2dba7 {
  159. display: flex;
  160. flex-direction: row;
  161. width: 100%;
  162. }
  163. .u-button--circle.data-v-3bf2dba7 {
  164. border-top-right-radius: 100px;
  165. border-top-left-radius: 100px;
  166. border-bottom-left-radius: 100px;
  167. border-bottom-right-radius: 100px;
  168. }
  169. .u-button--square.data-v-3bf2dba7 {
  170. border-bottom-left-radius: 3px;
  171. border-bottom-right-radius: 3px;
  172. border-top-left-radius: 3px;
  173. border-top-right-radius: 3px;
  174. }
  175. .u-button__icon.data-v-3bf2dba7 {
  176. min-width: 1em;
  177. line-height: inherit !important;
  178. vertical-align: top;
  179. }
  180. .u-button--plain.data-v-3bf2dba7 {
  181. background-color: #fff;
  182. }
  183. .u-button--hairline.data-v-3bf2dba7 {
  184. border-width: 0.5px !important;
  185. }