tag.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. /* color start*/
  2. .tui-primary {
  3. background: #5677fc !important;
  4. color: #fff;
  5. }
  6. .tui-light-primary {
  7. background: #5c8dff !important;
  8. color: #fff;
  9. }
  10. .tui-dark-primary {
  11. background: #4a67d6 !important;
  12. color: #fff;
  13. }
  14. .tui-dLight-primary {
  15. background: #4e77d9 !important;
  16. color: #fff;
  17. }
  18. .tui-danger {
  19. background: #ed3f14 !important;
  20. color: #fff;
  21. }
  22. .tui-red {
  23. background: #ff201f !important;
  24. color: #fff;
  25. }
  26. .tui-warning {
  27. background: #ff7900 !important;
  28. color: #fff;
  29. }
  30. .tui-green {
  31. background: #19be6b !important;
  32. color: #fff;
  33. }
  34. .tui-high-green {
  35. background: #52dcae !important;
  36. color: #52dcae;
  37. }
  38. .tui-black {
  39. background: #000 !important;
  40. color: #fff;
  41. }
  42. .tui-white {
  43. background: #fff !important;
  44. color: #333 !important;
  45. }
  46. .tui-translucent {
  47. background: rgba(0, 0, 0, 0.7);
  48. }
  49. .tui-light-black {
  50. background: #333 !important;
  51. }
  52. .tui-gray {
  53. background: #ededed !important;
  54. }
  55. .tui-phcolor-gray {
  56. background: #ccc !important;
  57. }
  58. .tui-divider-gray {
  59. background: #eaeef1 !important;
  60. }
  61. .tui-btn-gray {
  62. background: #ededed !important;
  63. color: #999 !important;
  64. }
  65. .tui-hover-gray {
  66. background: #f7f7f9 !important;
  67. }
  68. .tui-bg-gray {
  69. background: #fafafa !important;
  70. }
  71. .tui-light-blue {
  72. background: #ecf6fd;
  73. color: #4dabeb !important;
  74. }
  75. .tui-light-brownish {
  76. background: #fcebef;
  77. color: #8a5966 !important;
  78. }
  79. .tui-light-orange {
  80. background: #fef5eb;
  81. color: #faa851 !important;
  82. }
  83. .tui-light-green {
  84. background: #e8f6e8;
  85. color: #44cf85 !important;
  86. }
  87. .tui-primary-outline::after {
  88. border: 1px solid #5677fc !important;
  89. }
  90. .tui-primary-outline {
  91. color: #5677fc !important;
  92. background: none;
  93. }
  94. .tui-danger-outline {
  95. color: #ed3f14 !important;
  96. background: none;
  97. }
  98. .tui-danger-outline::after {
  99. border: 1px solid #ed3f14 !important;
  100. }
  101. .tui-red-outline {
  102. color: #ff201f !important;
  103. background: none;
  104. }
  105. .tui-red-outline::after {
  106. border: 1px solid #ff201f !important;
  107. }
  108. .tui-warning-outline {
  109. color: #ff7900 !important;
  110. background: none;
  111. }
  112. .tui-warning-outline::after {
  113. border: 1px solid #ff7900 !important;
  114. }
  115. .tui-green-outline {
  116. color: #44cf85 !important;
  117. background: none;
  118. }
  119. .tui-green-outline::after {
  120. border: 1px solid #44cf85 !important;
  121. }
  122. .tui-high-green-outline {
  123. color: #52dcae !important;
  124. background: none;
  125. }
  126. .tui-high-green-outline::after {
  127. border: 1px solid #52dcae !important;
  128. }
  129. .tui-gray-outline {
  130. color: #999 !important;
  131. background: none;
  132. }
  133. .tui-gray-outline::after {
  134. border: 1px solid #ccc !important;
  135. }
  136. .tui-black-outline {
  137. color: #333 !important;
  138. background: none;
  139. }
  140. .tui-black-outline::after {
  141. border: 1px solid #333 !important;
  142. }
  143. .tui-white-outline {
  144. color: #fff !important;
  145. background: none;
  146. }
  147. .tui-white-outline::after {
  148. border: 1px solid #fff !important;
  149. }
  150. /* color end*/
  151. /* tag start*/
  152. .tui-tag {
  153. padding: 16rpx 26rpx;
  154. font-size: 28rpx;
  155. border-radius: 6rpx;
  156. /* display: inline-block;
  157. vertical-align: middle; */
  158. line-height: 28rpx;
  159. }
  160. .tui-tag-small {
  161. padding: 10rpx 16rpx;
  162. font-size: 24rpx;
  163. border-radius: 6rpx;
  164. /* display: inline-block;
  165. vertical-align: middle; */
  166. line-height: 24rpx;
  167. }
  168. .tui-tag-outline {
  169. position: relative;
  170. background: none;
  171. color: #5677fc;
  172. }
  173. .tui-tag-outline::after {
  174. content: "";
  175. position: absolute;
  176. width: 200%;
  177. height: 200%;
  178. -webkit-transform-origin: 0 0;
  179. transform-origin: 0 0;
  180. -webkit-transform: scale(0.5, 0.5);
  181. transform: scale(0.5, 0.5);
  182. -webkit-box-sizing: border-box;
  183. box-sizing: border-box;
  184. left: 0;
  185. top: 0;
  186. border-radius: 80rpx;
  187. border: 1px solid #5677fc;
  188. }
  189. .tui-tag-fillet {
  190. border-radius: 50rpx;
  191. }
  192. .tui-white.tui-tag-fillet::after {
  193. border-radius: 80rpx;
  194. }
  195. .tui-tag-outline-fillet::after {
  196. border-radius: 80rpx;
  197. }
  198. .tui-tag-fillet-left {
  199. border-radius: 50rpx 0 0 50rpx;
  200. }
  201. .tui-tag-fillet-right {
  202. border-radius: 0 50rpx 50rpx 0;
  203. }
  204. .tui-tag-fillet-left.tui-tag-outline::after {
  205. border-radius: 100rpx 0 0 100rpx;
  206. }
  207. .tui-tag-fillet-right.tui-tag-outline::after {
  208. border-radius: 0 100rpx 100rpx 0;
  209. }
  210. /* tag end*/