index.wxss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. .ant-tabs {
  2. width: 100%;
  3. }
  4. .ant-tabs-bar {
  5. position: relative;
  6. width: 100%;
  7. display: flex;
  8. align-content: stretch;
  9. background-color: #ffffff;
  10. box-sizing: border-box;
  11. }
  12. .ant-tabs-bar-underline {
  13. border-bottom: 1px solid #eeeeee;
  14. }
  15. .ant-tabs-bar-fade {
  16. display: none;
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. z-index: 9;
  21. width: 18px;
  22. background-color: #ffffff;
  23. pointer-events: none;
  24. transition: all 0.2s;
  25. }
  26. .ant-tabs-bar-fade-left {
  27. left: 0;
  28. background: linear-gradient(90deg, #ffffff, hsla(0, 0%, 100%, 0));
  29. }
  30. .ant-tabs-bar-fade-right {
  31. right: 42px;
  32. background: linear-gradient(270deg, #ffffff, hsla(0, 0%, 100%, 0));
  33. }
  34. .ant-tabs-bar-plus {
  35. display: flex;
  36. width: 36px;
  37. height: 36px;
  38. color: #000000;
  39. align-self: center;
  40. align-items: center;
  41. justify-content: center;
  42. overflow: hidden;
  43. margin-right: 12px;
  44. order: 1;
  45. }
  46. .ant-tabs-bar-plus:empty {
  47. display: none;
  48. }
  49. .ant-tabs-bar-scroll-view {
  50. width: 100%;
  51. display: flex;
  52. flex-direction: row;
  53. justify-content: space-between;
  54. flex-wrap: nowrap;
  55. overflow: hidden;
  56. will-change: auto;
  57. }
  58. .ant-tabs-bar-scroll-view::-webkit-scrollbar {
  59. display: none;
  60. }
  61. .ant-tabs-bar-wrap {
  62. display: flex;
  63. flex-shrink: 0;
  64. align-items: flex-start;
  65. }
  66. .ant-tabs-bar-wrap-capsule {
  67. flex: 1;
  68. }
  69. .ant-tabs-bar-wrap:nth-of-type(2) .ant-tabs-bar-capsule,
  70. .ant-tabs-bar-wrap:nth-of-type(2) .ant-tabs-bar-mixin {
  71. margin-left: 12px;
  72. }
  73. .ant-tabs-bar-wrap:nth-last-of-type(2) .ant-tabs-bar-capsule,
  74. .ant-tabs-bar-wrap:nth-last-of-type(2) .ant-tabs-bar-mixin {
  75. margin-right: 12px;
  76. }
  77. .ant-tabs-bar-item {
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. flex: 1 0 auto;
  82. font-size: 17px;
  83. white-space: nowrap;
  84. color: #333333;
  85. }
  86. .ant-tabs-bar-item .ant-badge {
  87. width: 100%;
  88. }
  89. .ant-tabs-bar-basic {
  90. position: relative;
  91. display: flex;
  92. align-items: center;
  93. padding: 8px 12px;
  94. box-sizing: border-box;
  95. }
  96. .ant-tabs-bar-basic.ant-tabs-bar-active {
  97. color: #1677ff;
  98. position: relative;
  99. }
  100. .ant-tabs-bar-basic.ant-tabs-bar-active:after {
  101. content: '';
  102. position: absolute;
  103. bottom: 0;
  104. width: calc(100% - 12px * 2);
  105. height: 2px;
  106. overflow: hidden;
  107. font-size: 0;
  108. border-radius: 50vh;
  109. box-sizing: border-box;
  110. background-color: #1677ff;
  111. }
  112. .ant-tabs-bar-capsule {
  113. padding: 12px 0;
  114. margin: 0 12px / 2;
  115. box-sizing: border-box;
  116. position: relative;
  117. }
  118. .ant-tabs-bar-capsule-title {
  119. flex: 1;
  120. justify-content: center;
  121. margin-right: 0;
  122. padding: 8px 15px;
  123. font-size: 15px;
  124. text-align: center;
  125. line-height: 1;
  126. border-radius: 10vh;
  127. background-color: #f5f5f5;
  128. border-bottom: 0 none;
  129. }
  130. .ant-tabs-bar-capsule.ant-tabs-bar-active .ant-tabs-bar-capsule-title {
  131. color: #ffffff;
  132. background-color: #1677ff;
  133. }
  134. .ant-tabs-bar-mixin {
  135. flex-direction: column;
  136. margin: 0 8px;
  137. padding: 12px 0;
  138. text-align: center;
  139. }
  140. .ant-tabs-bar-mixin-title {
  141. margin: 1px 0;
  142. position: relative;
  143. }
  144. .ant-tabs-bar-mixin-subtitle {
  145. padding: 0 8px;
  146. font-size: 13px;
  147. line-height: 1.5;
  148. color: #999999;
  149. border-radius: 50vh;
  150. background-color: #f5f5f5;
  151. margin: 1px 0;
  152. }
  153. .ant-tabs-bar-mixin.ant-tabs-bar-active .ant-tabs-bar-mixin-title {
  154. color: #1677ff;
  155. }
  156. .ant-tabs-bar-mixin.ant-tabs-bar-active .ant-tabs-bar-mixin-subtitle {
  157. color: #ffffff;
  158. background-color: #1677ff;
  159. }
  160. .ant-tabs-bar-disabled {
  161. opacity: 0.4;
  162. pointer-events: none;
  163. cursor: not-allowed;
  164. }
  165. .ant-tabs-content {
  166. overflow: hidden;
  167. background-color: #ffffff;
  168. color: #333333;
  169. }
  170. .ant-vtabs {
  171. width: 100%;
  172. display: flex;
  173. flex-direction: row;
  174. }
  175. .ant-vtabs-bar {
  176. width: 105px;
  177. overflow: hidden;
  178. }
  179. .ant-vtabs-bar-scroll-view {
  180. display: flex;
  181. flex-direction: column;
  182. width: 100%;
  183. height: 100%;
  184. background-color: #f5f5f5;
  185. }
  186. .ant-vtabs-bar-scroll-view::-webkit-scrollbar {
  187. display: none;
  188. }
  189. .ant-vtabs-bar-item {
  190. position: relative;
  191. width: 100%;
  192. padding: 16px 12px;
  193. overflow: hidden;
  194. display: flex;
  195. align-items: center;
  196. font-size: 13px;
  197. line-height: 18.5px;
  198. color: #333333;
  199. background-color: #f5f5f5;
  200. box-sizing: border-box;
  201. transition: background-color 100ms linear, color 300ms linear;
  202. }
  203. .ant-vtabs-bar-item-wrap {
  204. background-color: #ffffff;
  205. }
  206. .ant-vtabs-bar-item-active {
  207. color: #1677ff;
  208. background-color: #ffffff;
  209. }
  210. .ant-vtabs-bar-item-active::after {
  211. position: absolute;
  212. content: '';
  213. top: 16px;
  214. bottom: 16px;
  215. left: 0;
  216. width: 2px;
  217. border-radius: 2px;
  218. background-color: #1677ff;
  219. }
  220. .ant-vtabs-bar-item-disabled {
  221. pointer-events: none;
  222. cursor: not-allowed;
  223. }
  224. .ant-vtabs-bar-item-disabled .ant-vtabs-bar-item-title,
  225. .ant-vtabs-bar-item-disabled .ant-vtabs-bar-item-count {
  226. opacity: 0.4;
  227. }
  228. .ant-vtabs-bar-item-count {
  229. color: #cccccc;
  230. margin-left: 4px;
  231. }
  232. .ant-vtabs-bar-item-icon {
  233. padding-left: 4px;
  234. width: 14px;
  235. height: 14px;
  236. font-size: 13px;
  237. overflow: hidden;
  238. position: relative;
  239. top: -2px;
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. }
  244. .ant-vtabs-bar-item-icon:empty {
  245. display: none;
  246. }
  247. .ant-vtabs-content {
  248. overflow: hidden;
  249. flex: 1;
  250. background-color: #ffffff;
  251. color: #333333;
  252. }