antd-mobile 5.12.7 → 5.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (576) hide show
  1. package/2x/README.md +10 -8
  2. package/2x/bundle/antd-mobile.cjs.js +18963 -0
  3. package/2x/bundle/antd-mobile.es.js +18872 -0
  4. package/2x/bundle/css-vars-patch.css +399 -0
  5. package/2x/bundle/style.css +4712 -0
  6. package/2x/cjs/components/action-sheet/action-sheet.css +8 -8
  7. package/2x/cjs/components/badge/badge.css +2 -2
  8. package/2x/cjs/components/button/button.css +6 -6
  9. package/2x/cjs/components/button/button.patch.css +106 -0
  10. package/2x/cjs/components/calendar/calendar.css +5 -5
  11. package/2x/cjs/components/capsule-tabs/capsule-tabs.css +4 -24
  12. package/2x/cjs/components/card/card.css +3 -3
  13. package/2x/cjs/components/cascader/cascader.css +2 -2
  14. package/2x/cjs/components/cascader/cascader.d.ts +1 -0
  15. package/2x/cjs/components/cascader-view/cascader-view.css +2 -2
  16. package/2x/cjs/components/cascader-view/cascader-view.d.ts +1 -0
  17. package/2x/cjs/components/cascader-view/cascader-view.js +14 -8
  18. package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
  19. package/2x/cjs/components/center-popup/center-popup.css +29 -0
  20. package/2x/cjs/components/center-popup/center-popup.d.ts +23 -0
  21. package/2x/cjs/components/center-popup/center-popup.js +116 -0
  22. package/2x/cjs/components/center-popup/center-popup.patch.css +13 -0
  23. package/2x/cjs/components/center-popup/index.d.ts +4 -0
  24. package/2x/cjs/components/center-popup/index.js +13 -0
  25. package/2x/cjs/components/check-list/check-list.css +1 -1
  26. package/2x/cjs/components/checkbox/checkbox.css +3 -3
  27. package/2x/cjs/components/dialog/dialog.css +21 -34
  28. package/2x/cjs/components/dialog/dialog.d.ts +4 -16
  29. package/2x/cjs/components/dialog/dialog.js +23 -72
  30. package/2x/cjs/components/divider/divider.css +2 -2
  31. package/2x/cjs/components/dropdown/dropdown.css +2 -2
  32. package/2x/cjs/components/ellipsis/ellipsis.js +1 -2
  33. package/2x/cjs/components/empty/empty.css +1 -1
  34. package/2x/cjs/components/error-block/create-error-block.d.ts +12 -0
  35. package/2x/cjs/components/error-block/create-error-block.js +59 -0
  36. package/2x/cjs/components/error-block/error-block.css +4 -4
  37. package/2x/cjs/components/error-block/error-block.d.ts +2 -11
  38. package/2x/cjs/components/error-block/error-block.js +7 -53
  39. package/2x/cjs/components/error-block/error-block.patch.css +29 -0
  40. package/2x/cjs/components/error-block/images/index.d.ts +4 -2
  41. package/2x/cjs/components/error-block/images/index.js +25 -10
  42. package/2x/cjs/components/error-block/index.d.ts +5 -1
  43. package/2x/cjs/components/error-block/index.js +8 -0
  44. package/2x/cjs/components/form/form-item.css +2 -2
  45. package/2x/cjs/components/form/form.css +3 -3
  46. package/2x/cjs/components/form/index.css +5 -5
  47. package/2x/cjs/components/image/image.css +1 -1
  48. package/2x/cjs/components/image/image.js +2 -0
  49. package/2x/cjs/components/image/image.patch.css +12 -0
  50. package/2x/cjs/components/image-uploader/image-uploader.css +4 -4
  51. package/2x/cjs/components/image-viewer/image-viewer.css +8 -2
  52. package/2x/cjs/components/image-viewer/image-viewer.d.ts +5 -2
  53. package/2x/cjs/components/image-viewer/image-viewer.js +24 -4
  54. package/2x/cjs/components/image-viewer/index.d.ts +2 -1
  55. package/2x/cjs/components/index-bar/index-bar.css +4 -4
  56. package/2x/cjs/components/index-bar/index-bar.d.ts +2 -0
  57. package/2x/cjs/components/index-bar/index-bar.js +6 -0
  58. package/2x/cjs/components/index-bar/index.d.ts +1 -0
  59. package/2x/cjs/components/infinite-scroll/infinite-scroll.css +6 -1
  60. package/2x/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  61. package/2x/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
  62. package/2x/cjs/components/input/input.css +2 -2
  63. package/2x/cjs/components/input/input.js +22 -4
  64. package/2x/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -24
  65. package/2x/cjs/components/list/list.css +10 -11
  66. package/2x/cjs/components/mask/mask.js +9 -7
  67. package/2x/cjs/components/mask/mask.patch.css +3 -0
  68. package/2x/cjs/components/modal/modal.css +14 -29
  69. package/2x/cjs/components/modal/modal.d.ts +4 -16
  70. package/2x/cjs/components/modal/modal.js +24 -74
  71. package/2x/cjs/components/modal/modal.patch.css +29 -0
  72. package/2x/cjs/components/nav-bar/nav-bar.css +2 -2
  73. package/2x/cjs/components/notice-bar/notice-bar.css +4 -4
  74. package/2x/cjs/components/number-keyboard/number-keyboard.css +4 -4
  75. package/2x/cjs/components/page-indicator/page-indicator.patch.css +31 -0
  76. package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
  77. package/2x/cjs/components/picker/picker.css +6 -7
  78. package/2x/cjs/components/picker-view/picker-view.css +3 -3
  79. package/2x/cjs/components/popover/popover-menu.css +1 -1
  80. package/2x/cjs/components/popover/popover-menu.patch.css +31 -0
  81. package/2x/cjs/components/popover/popover.css +3 -2
  82. package/2x/cjs/components/popover/popover.patch.css +24 -0
  83. package/2x/cjs/components/popup/popup.css +1 -1
  84. package/2x/cjs/components/popup/popup.d.ts +11 -12
  85. package/2x/cjs/components/radio/radio.css +2 -2
  86. package/2x/cjs/components/result/result.css +2 -2
  87. package/2x/cjs/components/scroll-mask/scroll-mask.css +2 -2
  88. package/2x/cjs/components/scroll-mask/scroll-mask.patch.css +7 -0
  89. package/2x/cjs/components/search-bar/search-bar.css +4 -4
  90. package/2x/cjs/components/selector/selector.css +3 -3
  91. package/2x/cjs/components/side-bar/corner.js +1 -1
  92. package/2x/cjs/components/side-bar/side-bar.css +3 -3
  93. package/2x/cjs/components/side-bar/side-bar.js +1 -0
  94. package/2x/cjs/components/slider/slider.css +26 -24
  95. package/2x/cjs/components/slider/slider.d.ts +3 -2
  96. package/2x/cjs/components/slider/slider.js +4 -2
  97. package/2x/cjs/components/slider/thumb-icon.js +20 -18
  98. package/2x/cjs/components/slider/thumb.d.ts +2 -1
  99. package/2x/cjs/components/slider/thumb.js +19 -5
  100. package/2x/cjs/components/space/space.patch.css +16 -0
  101. package/2x/cjs/components/spin-loading/spin-loading.css +0 -3
  102. package/2x/cjs/components/spin-loading/spin-loading.js +6 -2
  103. package/2x/cjs/components/spin-loading/spin-loading.patch.css +14 -0
  104. package/2x/cjs/components/stepper/stepper.css +3 -3
  105. package/2x/cjs/components/steps/steps.css +2 -2
  106. package/2x/cjs/components/swipe-action/swipe-action.css +1 -1
  107. package/2x/cjs/components/swipe-action/swipe-action.js +7 -6
  108. package/2x/cjs/components/swiper/swiper.js +9 -8
  109. package/2x/cjs/components/swiper/swiper.patch.css +26 -0
  110. package/2x/cjs/components/switch/switch.css +4 -4
  111. package/2x/cjs/components/tab-bar/tab-bar.css +8 -5
  112. package/2x/cjs/components/tab-bar/tab-bar.js +2 -1
  113. package/2x/cjs/components/tabs/tabs.css +4 -4
  114. package/2x/cjs/components/tabs/tabs.patch.css +29 -0
  115. package/2x/cjs/components/tag/tag.css +1 -1
  116. package/2x/cjs/components/text-area/text-area.css +2 -2
  117. package/2x/cjs/components/toast/toast.css +1 -1
  118. package/2x/cjs/components/toast/toast.patch.css +13 -0
  119. package/2x/cjs/components/tree-select/tree-select.css +1 -1
  120. package/2x/cjs/components/virtual-input/virtual-input.css +2 -2
  121. package/2x/cjs/global/css-vars-patch.css +399 -0
  122. package/2x/cjs/global/global.css +36 -4
  123. package/2x/cjs/global/index.js +2 -1
  124. package/2x/cjs/global/theme-dark.css +14 -0
  125. package/2x/cjs/global/theme-default.css +33 -0
  126. package/2x/cjs/index.d.ts +3 -0
  127. package/2x/cjs/index.js +29 -1
  128. package/2x/cjs/locales/base.d.ts +2 -0
  129. package/2x/cjs/locales/base.js +3 -1
  130. package/2x/cjs/locales/en-US.d.ts +2 -0
  131. package/2x/cjs/locales/es-ES.d.ts +2 -0
  132. package/2x/cjs/locales/fa-IR.d.ts +2 -0
  133. package/2x/cjs/locales/fr-FR.d.ts +108 -0
  134. package/2x/cjs/locales/fr-FR.js +119 -0
  135. package/2x/cjs/locales/ko-KR.d.ts +2 -0
  136. package/2x/cjs/locales/zh-CN.d.ts +2 -0
  137. package/2x/cjs/locales/zh-CN.js +3 -1
  138. package/2x/cjs/locales/zh-HK.d.ts +2 -0
  139. package/2x/cjs/locales/zh-TW.d.ts +2 -0
  140. package/2x/cjs/utils/measure-css-length.js +2 -2
  141. package/2x/cjs/utils/reduce-and-restore-motion.d.ts +4 -0
  142. package/2x/cjs/utils/reduce-and-restore-motion.js +53 -0
  143. package/2x/cjs/utils/use-inner-visible.d.ts +1 -0
  144. package/2x/cjs/utils/use-inner-visible.js +18 -0
  145. package/2x/es/components/action-sheet/action-sheet.css +8 -8
  146. package/2x/es/components/badge/badge.css +2 -2
  147. package/2x/es/components/button/button.css +6 -6
  148. package/2x/es/components/button/button.patch.css +106 -0
  149. package/2x/es/components/calendar/calendar.css +5 -5
  150. package/2x/es/components/capsule-tabs/capsule-tabs.css +4 -24
  151. package/2x/es/components/card/card.css +3 -3
  152. package/2x/es/components/cascader/cascader.css +2 -2
  153. package/2x/es/components/cascader/cascader.d.ts +1 -0
  154. package/2x/es/components/cascader-view/cascader-view.css +2 -2
  155. package/2x/es/components/cascader-view/cascader-view.d.ts +1 -0
  156. package/2x/es/components/cascader-view/cascader-view.js +14 -8
  157. package/2x/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  158. package/2x/es/components/center-popup/center-popup.css +29 -0
  159. package/2x/es/components/center-popup/center-popup.d.ts +23 -0
  160. package/2x/es/components/center-popup/center-popup.js +86 -0
  161. package/2x/es/components/center-popup/center-popup.patch.css +13 -0
  162. package/2x/es/components/center-popup/index.d.ts +4 -0
  163. package/2x/es/components/center-popup/index.js +3 -0
  164. package/2x/es/components/check-list/check-list.css +1 -1
  165. package/2x/es/components/checkbox/checkbox.css +3 -3
  166. package/2x/es/components/dialog/dialog.css +21 -34
  167. package/2x/es/components/dialog/dialog.d.ts +4 -16
  168. package/2x/es/components/dialog/dialog.js +22 -62
  169. package/2x/es/components/divider/divider.css +2 -2
  170. package/2x/es/components/dropdown/dropdown.css +2 -2
  171. package/2x/es/components/ellipsis/ellipsis.js +1 -2
  172. package/2x/es/components/empty/empty.css +1 -1
  173. package/2x/es/components/error-block/create-error-block.d.ts +12 -0
  174. package/2x/es/components/error-block/create-error-block.js +44 -0
  175. package/2x/es/components/error-block/error-block.css +4 -4
  176. package/2x/es/components/error-block/error-block.d.ts +2 -11
  177. package/2x/es/components/error-block/error-block.js +8 -46
  178. package/2x/es/components/error-block/error-block.patch.css +29 -0
  179. package/2x/es/components/error-block/images/index.d.ts +4 -2
  180. package/2x/es/components/error-block/images/index.js +4 -10
  181. package/2x/es/components/error-block/index.d.ts +5 -1
  182. package/2x/es/components/error-block/index.js +1 -0
  183. package/2x/es/components/form/form-item.css +2 -2
  184. package/2x/es/components/form/form.css +3 -3
  185. package/2x/es/components/form/index.css +5 -5
  186. package/2x/es/components/image/image.css +1 -1
  187. package/2x/es/components/image/image.js +2 -0
  188. package/2x/es/components/image/image.patch.css +12 -0
  189. package/2x/es/components/image-uploader/image-uploader.css +4 -4
  190. package/2x/es/components/image-viewer/image-viewer.css +8 -2
  191. package/2x/es/components/image-viewer/image-viewer.d.ts +5 -2
  192. package/2x/es/components/image-viewer/image-viewer.js +24 -5
  193. package/2x/es/components/image-viewer/index.d.ts +2 -1
  194. package/2x/es/components/index-bar/index-bar.css +4 -4
  195. package/2x/es/components/index-bar/index-bar.d.ts +2 -0
  196. package/2x/es/components/index-bar/index-bar.js +6 -0
  197. package/2x/es/components/index-bar/index.d.ts +1 -0
  198. package/2x/es/components/infinite-scroll/infinite-scroll.css +6 -1
  199. package/2x/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  200. package/2x/es/components/infinite-scroll/infinite-scroll.js +47 -17
  201. package/2x/es/components/input/input.css +2 -2
  202. package/2x/es/components/input/input.js +21 -4
  203. package/2x/es/components/jumbo-tabs/jumbo-tabs.css +4 -24
  204. package/2x/es/components/list/list.css +10 -11
  205. package/2x/es/components/mask/mask.js +10 -8
  206. package/2x/es/components/mask/mask.patch.css +3 -0
  207. package/2x/es/components/modal/modal.css +14 -29
  208. package/2x/es/components/modal/modal.d.ts +4 -16
  209. package/2x/es/components/modal/modal.js +22 -63
  210. package/2x/es/components/modal/modal.patch.css +29 -0
  211. package/2x/es/components/nav-bar/nav-bar.css +2 -2
  212. package/2x/es/components/notice-bar/notice-bar.css +4 -4
  213. package/2x/es/components/number-keyboard/number-keyboard.css +4 -4
  214. package/2x/es/components/page-indicator/page-indicator.patch.css +31 -0
  215. package/2x/es/components/passcode-input/passcode-input.css +1 -1
  216. package/2x/es/components/picker/picker.css +6 -7
  217. package/2x/es/components/picker-view/picker-view.css +3 -3
  218. package/2x/es/components/popover/popover-menu.css +1 -1
  219. package/2x/es/components/popover/popover-menu.patch.css +31 -0
  220. package/2x/es/components/popover/popover.css +3 -2
  221. package/2x/es/components/popover/popover.patch.css +24 -0
  222. package/2x/es/components/popup/popup.css +1 -1
  223. package/2x/es/components/popup/popup.d.ts +11 -12
  224. package/2x/es/components/radio/radio.css +2 -2
  225. package/2x/es/components/result/result.css +2 -2
  226. package/2x/es/components/scroll-mask/scroll-mask.css +2 -2
  227. package/2x/es/components/scroll-mask/scroll-mask.patch.css +7 -0
  228. package/2x/es/components/search-bar/search-bar.css +4 -4
  229. package/2x/es/components/selector/selector.css +3 -3
  230. package/2x/es/components/side-bar/corner.js +1 -1
  231. package/2x/es/components/side-bar/side-bar.css +3 -3
  232. package/2x/es/components/side-bar/side-bar.js +2 -0
  233. package/2x/es/components/slider/slider.css +26 -24
  234. package/2x/es/components/slider/slider.d.ts +3 -2
  235. package/2x/es/components/slider/slider.js +4 -2
  236. package/2x/es/components/slider/thumb-icon.js +20 -18
  237. package/2x/es/components/slider/thumb.d.ts +2 -1
  238. package/2x/es/components/slider/thumb.js +17 -6
  239. package/2x/es/components/space/space.patch.css +16 -0
  240. package/2x/es/components/spin-loading/spin-loading.css +0 -3
  241. package/2x/es/components/spin-loading/spin-loading.js +5 -2
  242. package/2x/es/components/spin-loading/spin-loading.patch.css +14 -0
  243. package/2x/es/components/stepper/stepper.css +3 -3
  244. package/2x/es/components/steps/steps.css +2 -2
  245. package/2x/es/components/swipe-action/swipe-action.css +1 -1
  246. package/2x/es/components/swipe-action/swipe-action.js +7 -6
  247. package/2x/es/components/swiper/swiper.js +9 -8
  248. package/2x/es/components/swiper/swiper.patch.css +26 -0
  249. package/2x/es/components/switch/switch.css +4 -4
  250. package/2x/es/components/tab-bar/tab-bar.css +8 -5
  251. package/2x/es/components/tab-bar/tab-bar.js +3 -1
  252. package/2x/es/components/tabs/tabs.css +4 -4
  253. package/2x/es/components/tabs/tabs.patch.css +29 -0
  254. package/2x/es/components/tag/tag.css +1 -1
  255. package/2x/es/components/text-area/text-area.css +2 -2
  256. package/2x/es/components/toast/toast.css +1 -1
  257. package/2x/es/components/toast/toast.patch.css +13 -0
  258. package/2x/es/components/tree-select/tree-select.css +1 -1
  259. package/2x/es/components/virtual-input/virtual-input.css +2 -2
  260. package/2x/es/global/css-vars-patch.css +399 -0
  261. package/2x/es/global/global.css +36 -4
  262. package/2x/es/global/index.js +2 -1
  263. package/2x/es/global/theme-dark.css +14 -0
  264. package/2x/es/global/theme-default.css +33 -0
  265. package/2x/es/index.d.ts +3 -0
  266. package/2x/es/index.js +4 -1
  267. package/2x/es/locales/base.d.ts +2 -0
  268. package/2x/es/locales/base.js +3 -1
  269. package/2x/es/locales/en-US.d.ts +2 -0
  270. package/2x/es/locales/es-ES.d.ts +2 -0
  271. package/2x/es/locales/fa-IR.d.ts +2 -0
  272. package/2x/es/locales/fr-FR.d.ts +108 -0
  273. package/2x/es/locales/fr-FR.js +109 -0
  274. package/2x/es/locales/ko-KR.d.ts +2 -0
  275. package/2x/es/locales/zh-CN.d.ts +2 -0
  276. package/2x/es/locales/zh-CN.js +3 -1
  277. package/2x/es/locales/zh-HK.d.ts +2 -0
  278. package/2x/es/locales/zh-TW.d.ts +2 -0
  279. package/2x/es/utils/measure-css-length.js +2 -2
  280. package/2x/es/utils/reduce-and-restore-motion.d.ts +4 -0
  281. package/2x/es/utils/reduce-and-restore-motion.js +36 -0
  282. package/2x/es/utils/use-inner-visible.d.ts +1 -0
  283. package/2x/es/utils/use-inner-visible.js +9 -0
  284. package/2x/package.json +8 -7
  285. package/2x/umd/antd-mobile.js +2 -0
  286. package/2x/umd/antd-mobile.js.LICENSE.txt +35 -0
  287. package/README.md +10 -8
  288. package/bundle/antd-mobile.cjs.js +2262 -2081
  289. package/bundle/antd-mobile.es.js +2257 -2080
  290. package/bundle/css-vars-patch.css +312 -0
  291. package/bundle/style.css +278 -272
  292. package/cjs/components/action-sheet/action-sheet.css +8 -8
  293. package/cjs/components/badge/badge.css +2 -2
  294. package/cjs/components/button/button.css +6 -6
  295. package/cjs/components/button/button.patch.css +86 -0
  296. package/cjs/components/calendar/calendar.css +5 -5
  297. package/cjs/components/capsule-tabs/capsule-tabs.css +4 -21
  298. package/cjs/components/card/card.css +3 -3
  299. package/cjs/components/cascader/cascader.css +2 -2
  300. package/cjs/components/cascader/cascader.d.ts +1 -0
  301. package/cjs/components/cascader-view/cascader-view.css +2 -2
  302. package/cjs/components/cascader-view/cascader-view.d.ts +1 -0
  303. package/cjs/components/cascader-view/cascader-view.js +14 -8
  304. package/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
  305. package/cjs/components/center-popup/center-popup.css +26 -0
  306. package/cjs/components/center-popup/center-popup.d.ts +23 -0
  307. package/cjs/components/center-popup/center-popup.js +116 -0
  308. package/cjs/components/center-popup/center-popup.patch.css +11 -0
  309. package/cjs/components/center-popup/index.d.ts +4 -0
  310. package/cjs/components/center-popup/index.js +13 -0
  311. package/cjs/components/check-list/check-list.css +1 -1
  312. package/cjs/components/checkbox/checkbox.css +3 -3
  313. package/cjs/components/dialog/dialog.css +21 -33
  314. package/cjs/components/dialog/dialog.d.ts +4 -16
  315. package/cjs/components/dialog/dialog.js +23 -72
  316. package/cjs/components/divider/divider.css +2 -2
  317. package/cjs/components/dropdown/dropdown.css +2 -2
  318. package/cjs/components/ellipsis/ellipsis.js +1 -2
  319. package/cjs/components/empty/empty.css +1 -1
  320. package/cjs/components/error-block/create-error-block.d.ts +12 -0
  321. package/cjs/components/error-block/create-error-block.js +59 -0
  322. package/cjs/components/error-block/error-block.css +4 -4
  323. package/cjs/components/error-block/error-block.d.ts +2 -11
  324. package/cjs/components/error-block/error-block.js +7 -53
  325. package/cjs/components/error-block/error-block.patch.css +23 -0
  326. package/cjs/components/error-block/images/index.d.ts +4 -2
  327. package/cjs/components/error-block/images/index.js +25 -10
  328. package/cjs/components/error-block/index.d.ts +5 -1
  329. package/cjs/components/error-block/index.js +8 -0
  330. package/cjs/components/form/form-item.css +2 -2
  331. package/cjs/components/form/form.css +3 -3
  332. package/cjs/components/form/index.css +5 -5
  333. package/cjs/components/image/image.css +1 -1
  334. package/cjs/components/image/image.js +2 -0
  335. package/cjs/components/image/image.patch.css +10 -0
  336. package/cjs/components/image-uploader/image-uploader.css +4 -4
  337. package/cjs/components/image-viewer/image-viewer.css +7 -2
  338. package/cjs/components/image-viewer/image-viewer.d.ts +5 -2
  339. package/cjs/components/image-viewer/image-viewer.js +24 -4
  340. package/cjs/components/image-viewer/index.d.ts +2 -1
  341. package/cjs/components/index-bar/index-bar.css +4 -4
  342. package/cjs/components/index-bar/index-bar.d.ts +2 -0
  343. package/cjs/components/index-bar/index-bar.js +6 -0
  344. package/cjs/components/index-bar/index.d.ts +1 -0
  345. package/cjs/components/infinite-scroll/infinite-scroll.css +5 -1
  346. package/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  347. package/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
  348. package/cjs/components/input/input.css +2 -2
  349. package/cjs/components/input/input.js +22 -4
  350. package/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -21
  351. package/cjs/components/list/list.css +10 -11
  352. package/cjs/components/mask/mask.js +9 -7
  353. package/cjs/components/mask/mask.patch.css +3 -0
  354. package/cjs/components/modal/modal.css +15 -29
  355. package/cjs/components/modal/modal.d.ts +4 -16
  356. package/cjs/components/modal/modal.js +24 -74
  357. package/cjs/components/modal/modal.patch.css +23 -0
  358. package/cjs/components/nav-bar/nav-bar.css +2 -2
  359. package/cjs/components/notice-bar/notice-bar.css +4 -4
  360. package/cjs/components/number-keyboard/number-keyboard.css +4 -4
  361. package/cjs/components/page-indicator/page-indicator.patch.css +25 -0
  362. package/cjs/components/passcode-input/passcode-input.css +1 -1
  363. package/cjs/components/picker/picker.css +6 -7
  364. package/cjs/components/picker-view/picker-view.css +3 -3
  365. package/cjs/components/popover/popover-menu.css +1 -1
  366. package/cjs/components/popover/popover-menu.patch.css +24 -0
  367. package/cjs/components/popover/popover.css +3 -2
  368. package/cjs/components/popover/popover.patch.css +19 -0
  369. package/cjs/components/popup/popup.css +1 -1
  370. package/cjs/components/popup/popup.d.ts +11 -12
  371. package/cjs/components/radio/radio.css +2 -2
  372. package/cjs/components/result/result.css +2 -2
  373. package/cjs/components/scroll-mask/scroll-mask.css +2 -2
  374. package/cjs/components/scroll-mask/scroll-mask.patch.css +6 -0
  375. package/cjs/components/search-bar/search-bar.css +4 -4
  376. package/cjs/components/selector/selector.css +3 -3
  377. package/cjs/components/side-bar/corner.js +1 -1
  378. package/cjs/components/side-bar/side-bar.css +3 -3
  379. package/cjs/components/side-bar/side-bar.js +1 -0
  380. package/cjs/components/slider/slider.css +26 -24
  381. package/cjs/components/slider/slider.d.ts +3 -2
  382. package/cjs/components/slider/slider.js +4 -2
  383. package/cjs/components/slider/thumb-icon.js +20 -18
  384. package/cjs/components/slider/thumb.d.ts +2 -1
  385. package/cjs/components/slider/thumb.js +19 -5
  386. package/cjs/components/space/space.patch.css +13 -0
  387. package/cjs/components/spin-loading/spin-loading.css +0 -3
  388. package/cjs/components/spin-loading/spin-loading.js +6 -2
  389. package/cjs/components/spin-loading/spin-loading.patch.css +12 -0
  390. package/cjs/components/stepper/stepper.css +3 -3
  391. package/cjs/components/steps/steps.css +2 -2
  392. package/cjs/components/swipe-action/swipe-action.css +1 -1
  393. package/cjs/components/swipe-action/swipe-action.js +7 -6
  394. package/cjs/components/swiper/swiper.js +9 -8
  395. package/cjs/components/swiper/swiper.patch.css +21 -0
  396. package/cjs/components/switch/switch.css +4 -4
  397. package/cjs/components/tab-bar/tab-bar.css +7 -5
  398. package/cjs/components/tab-bar/tab-bar.js +2 -1
  399. package/cjs/components/tabs/tabs.css +4 -4
  400. package/cjs/components/tabs/tabs.patch.css +23 -0
  401. package/cjs/components/tag/tag.css +1 -1
  402. package/cjs/components/text-area/text-area.css +2 -2
  403. package/cjs/components/toast/toast.css +1 -1
  404. package/cjs/components/toast/toast.patch.css +11 -0
  405. package/cjs/components/tree-select/tree-select.css +1 -1
  406. package/cjs/components/virtual-input/virtual-input.css +2 -2
  407. package/cjs/global/css-vars-patch.css +312 -0
  408. package/cjs/global/global.css +35 -4
  409. package/cjs/global/index.js +2 -1
  410. package/cjs/global/theme-dark.css +14 -0
  411. package/cjs/global/theme-default.css +33 -0
  412. package/cjs/index.d.ts +3 -0
  413. package/cjs/index.js +29 -1
  414. package/cjs/locales/base.d.ts +2 -0
  415. package/cjs/locales/base.js +3 -1
  416. package/cjs/locales/en-US.d.ts +2 -0
  417. package/cjs/locales/es-ES.d.ts +2 -0
  418. package/cjs/locales/fa-IR.d.ts +2 -0
  419. package/cjs/locales/fr-FR.d.ts +108 -0
  420. package/cjs/locales/fr-FR.js +119 -0
  421. package/cjs/locales/ko-KR.d.ts +2 -0
  422. package/cjs/locales/zh-CN.d.ts +2 -0
  423. package/cjs/locales/zh-CN.js +3 -1
  424. package/cjs/locales/zh-HK.d.ts +2 -0
  425. package/cjs/locales/zh-TW.d.ts +2 -0
  426. package/cjs/utils/measure-css-length.js +2 -2
  427. package/cjs/utils/reduce-and-restore-motion.d.ts +4 -0
  428. package/cjs/utils/reduce-and-restore-motion.js +53 -0
  429. package/cjs/utils/use-inner-visible.d.ts +1 -0
  430. package/cjs/utils/use-inner-visible.js +18 -0
  431. package/es/components/action-sheet/action-sheet.css +8 -8
  432. package/es/components/badge/badge.css +2 -2
  433. package/es/components/button/button.css +6 -6
  434. package/es/components/button/button.patch.css +86 -0
  435. package/es/components/calendar/calendar.css +5 -5
  436. package/es/components/capsule-tabs/capsule-tabs.css +4 -21
  437. package/es/components/card/card.css +3 -3
  438. package/es/components/cascader/cascader.css +2 -2
  439. package/es/components/cascader/cascader.d.ts +1 -0
  440. package/es/components/cascader-view/cascader-view.css +2 -2
  441. package/es/components/cascader-view/cascader-view.d.ts +1 -0
  442. package/es/components/cascader-view/cascader-view.js +14 -8
  443. package/es/components/cascader-view/use-cascader-value-extend.js +5 -14
  444. package/es/components/center-popup/center-popup.css +26 -0
  445. package/es/components/center-popup/center-popup.d.ts +23 -0
  446. package/es/components/center-popup/center-popup.js +86 -0
  447. package/es/components/center-popup/center-popup.patch.css +11 -0
  448. package/es/components/center-popup/index.d.ts +4 -0
  449. package/es/components/center-popup/index.js +3 -0
  450. package/es/components/check-list/check-list.css +1 -1
  451. package/es/components/checkbox/checkbox.css +3 -3
  452. package/es/components/dialog/dialog.css +21 -33
  453. package/es/components/dialog/dialog.d.ts +4 -16
  454. package/es/components/dialog/dialog.js +22 -62
  455. package/es/components/divider/divider.css +2 -2
  456. package/es/components/dropdown/dropdown.css +2 -2
  457. package/es/components/ellipsis/ellipsis.js +1 -2
  458. package/es/components/empty/empty.css +1 -1
  459. package/es/components/error-block/create-error-block.d.ts +12 -0
  460. package/es/components/error-block/create-error-block.js +44 -0
  461. package/es/components/error-block/error-block.css +4 -4
  462. package/es/components/error-block/error-block.d.ts +2 -11
  463. package/es/components/error-block/error-block.js +8 -46
  464. package/es/components/error-block/error-block.patch.css +23 -0
  465. package/es/components/error-block/images/index.d.ts +4 -2
  466. package/es/components/error-block/images/index.js +4 -10
  467. package/es/components/error-block/index.d.ts +5 -1
  468. package/es/components/error-block/index.js +1 -0
  469. package/es/components/form/form-item.css +2 -2
  470. package/es/components/form/form.css +3 -3
  471. package/es/components/form/index.css +5 -5
  472. package/es/components/image/image.css +1 -1
  473. package/es/components/image/image.js +2 -0
  474. package/es/components/image/image.patch.css +10 -0
  475. package/es/components/image-uploader/image-uploader.css +4 -4
  476. package/es/components/image-viewer/image-viewer.css +7 -2
  477. package/es/components/image-viewer/image-viewer.d.ts +5 -2
  478. package/es/components/image-viewer/image-viewer.js +24 -5
  479. package/es/components/image-viewer/index.d.ts +2 -1
  480. package/es/components/index-bar/index-bar.css +4 -4
  481. package/es/components/index-bar/index-bar.d.ts +2 -0
  482. package/es/components/index-bar/index-bar.js +6 -0
  483. package/es/components/index-bar/index.d.ts +1 -0
  484. package/es/components/infinite-scroll/infinite-scroll.css +5 -1
  485. package/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
  486. package/es/components/infinite-scroll/infinite-scroll.js +47 -17
  487. package/es/components/input/input.css +2 -2
  488. package/es/components/input/input.js +21 -4
  489. package/es/components/jumbo-tabs/jumbo-tabs.css +4 -21
  490. package/es/components/list/list.css +10 -11
  491. package/es/components/mask/mask.js +10 -8
  492. package/es/components/mask/mask.patch.css +3 -0
  493. package/es/components/modal/modal.css +15 -29
  494. package/es/components/modal/modal.d.ts +4 -16
  495. package/es/components/modal/modal.js +22 -63
  496. package/es/components/modal/modal.patch.css +23 -0
  497. package/es/components/nav-bar/nav-bar.css +2 -2
  498. package/es/components/notice-bar/notice-bar.css +4 -4
  499. package/es/components/number-keyboard/number-keyboard.css +4 -4
  500. package/es/components/page-indicator/page-indicator.patch.css +25 -0
  501. package/es/components/passcode-input/passcode-input.css +1 -1
  502. package/es/components/picker/picker.css +6 -7
  503. package/es/components/picker-view/picker-view.css +3 -3
  504. package/es/components/popover/popover-menu.css +1 -1
  505. package/es/components/popover/popover-menu.patch.css +24 -0
  506. package/es/components/popover/popover.css +3 -2
  507. package/es/components/popover/popover.patch.css +19 -0
  508. package/es/components/popup/popup.css +1 -1
  509. package/es/components/popup/popup.d.ts +11 -12
  510. package/es/components/radio/radio.css +2 -2
  511. package/es/components/result/result.css +2 -2
  512. package/es/components/scroll-mask/scroll-mask.css +2 -2
  513. package/es/components/scroll-mask/scroll-mask.patch.css +6 -0
  514. package/es/components/search-bar/search-bar.css +4 -4
  515. package/es/components/selector/selector.css +3 -3
  516. package/es/components/side-bar/corner.js +1 -1
  517. package/es/components/side-bar/side-bar.css +3 -3
  518. package/es/components/side-bar/side-bar.js +2 -0
  519. package/es/components/slider/slider.css +26 -24
  520. package/es/components/slider/slider.d.ts +3 -2
  521. package/es/components/slider/slider.js +4 -2
  522. package/es/components/slider/thumb-icon.js +20 -18
  523. package/es/components/slider/thumb.d.ts +2 -1
  524. package/es/components/slider/thumb.js +17 -6
  525. package/es/components/space/space.patch.css +13 -0
  526. package/es/components/spin-loading/spin-loading.css +0 -3
  527. package/es/components/spin-loading/spin-loading.js +5 -2
  528. package/es/components/spin-loading/spin-loading.patch.css +12 -0
  529. package/es/components/stepper/stepper.css +3 -3
  530. package/es/components/steps/steps.css +2 -2
  531. package/es/components/swipe-action/swipe-action.css +1 -1
  532. package/es/components/swipe-action/swipe-action.js +7 -6
  533. package/es/components/swiper/swiper.js +9 -8
  534. package/es/components/swiper/swiper.patch.css +21 -0
  535. package/es/components/switch/switch.css +4 -4
  536. package/es/components/tab-bar/tab-bar.css +7 -5
  537. package/es/components/tab-bar/tab-bar.js +3 -1
  538. package/es/components/tabs/tabs.css +4 -4
  539. package/es/components/tabs/tabs.patch.css +23 -0
  540. package/es/components/tag/tag.css +1 -1
  541. package/es/components/text-area/text-area.css +2 -2
  542. package/es/components/toast/toast.css +1 -1
  543. package/es/components/toast/toast.patch.css +11 -0
  544. package/es/components/tree-select/tree-select.css +1 -1
  545. package/es/components/virtual-input/virtual-input.css +2 -2
  546. package/es/global/css-vars-patch.css +312 -0
  547. package/es/global/global.css +35 -4
  548. package/es/global/index.js +2 -1
  549. package/es/global/theme-dark.css +14 -0
  550. package/es/global/theme-default.css +33 -0
  551. package/es/index.d.ts +3 -0
  552. package/es/index.js +4 -1
  553. package/es/locales/base.d.ts +2 -0
  554. package/es/locales/base.js +3 -1
  555. package/es/locales/en-US.d.ts +2 -0
  556. package/es/locales/es-ES.d.ts +2 -0
  557. package/es/locales/fa-IR.d.ts +2 -0
  558. package/es/locales/fr-FR.d.ts +108 -0
  559. package/es/locales/fr-FR.js +109 -0
  560. package/es/locales/ko-KR.d.ts +2 -0
  561. package/es/locales/zh-CN.d.ts +2 -0
  562. package/es/locales/zh-CN.js +3 -1
  563. package/es/locales/zh-HK.d.ts +2 -0
  564. package/es/locales/zh-TW.d.ts +2 -0
  565. package/es/utils/measure-css-length.js +2 -2
  566. package/es/utils/reduce-and-restore-motion.d.ts +4 -0
  567. package/es/utils/reduce-and-restore-motion.js +36 -0
  568. package/es/utils/use-inner-visible.d.ts +1 -0
  569. package/es/utils/use-inner-visible.js +9 -0
  570. package/package.json +8 -7
  571. package/umd/antd-mobile.js +1 -1
  572. package/umd/antd-mobile.js.LICENSE.txt +12 -0
  573. package/2x/cjs/global/theme.css +0 -16
  574. package/2x/es/global/theme.css +0 -16
  575. package/cjs/global/theme.css +0 -16
  576. package/es/global/theme.css +0 -16
@@ -0,0 +1,4712 @@
1
+ :root {
2
+ --adm-radius-s: 8px;
3
+ --adm-radius-m: 16px;
4
+ --adm-radius-l: 24px;
5
+ --adm-font-size-1: 18px;
6
+ --adm-font-size-2: 20px;
7
+ --adm-font-size-3: 22px;
8
+ --adm-font-size-4: 24px;
9
+ --adm-font-size-5: 26px;
10
+ --adm-font-size-6: 28px;
11
+ --adm-font-size-7: 30px;
12
+ --adm-font-size-8: 32px;
13
+ --adm-font-size-9: 34px;
14
+ --adm-font-size-10: 36px;
15
+ --adm-hd: 2;
16
+ --adm-color-primary: #1677ff;
17
+ --adm-color-success: #00b578;
18
+ --adm-color-warning: #ff8f1f;
19
+ --adm-color-danger: #ff3141;
20
+ --adm-color-white: #ffffff;
21
+ --adm-color-text: #333333;
22
+ --adm-color-text-secondary: #666666;
23
+ --adm-color-weak: #999999;
24
+ --adm-color-light: #cccccc;
25
+ --adm-color-border: #eeeeee;
26
+ --adm-color-box: #f5f5f5;
27
+ --adm-color-background: #ffffff;
28
+ --adm-font-size-main: var(--adm-font-size-5);
29
+ --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
30
+ helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
31
+ 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
32
+ --adm-border-color: var(--adm-color-border);
33
+ }
34
+
35
+ html[data-prefers-color-scheme='dark'] {
36
+ --adm-color-primary: #3086ff;
37
+ --adm-color-success: #34b368;
38
+ --adm-color-warning: #ffa930;
39
+ --adm-color-danger: #ff4a58;
40
+ --adm-color-text: #e6e6e6;
41
+ --adm-color-text-secondary: #b3b3b3;
42
+ --adm-color-weak: #808080;
43
+ --adm-color-light: #4d4d4d;
44
+ --adm-color-border: #2b2b2b;
45
+ --adm-color-box: #0a0a0a;
46
+ --adm-color-background: #1a1a1a;
47
+ --adm-border-color: var(--adm-color-border);
48
+ }
49
+
50
+ :root {
51
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
52
+ }
53
+
54
+ body {
55
+ color: var(--adm-color-text);
56
+ font-size: var(--adm-font-size-main);
57
+ font-family: var(--adm-font-family);
58
+ }
59
+
60
+ a,
61
+ button {
62
+ cursor: pointer;
63
+ }
64
+
65
+ a {
66
+ color: var(--adm-color-primary);
67
+ transition: opacity ease-in-out 0.2s;
68
+ }
69
+
70
+ a:active {
71
+ opacity: 0.8;
72
+ }
73
+
74
+ .adm-plain-anchor {
75
+ color: unset;
76
+ transition: none;
77
+ }
78
+
79
+ .adm-plain-anchor:active {
80
+ opacity: unset;
81
+ }
82
+
83
+ body.adm-overflow-hidden {
84
+ overflow: hidden !important;
85
+ }
86
+
87
+ div.adm-px-tester {
88
+ --size: 1;
89
+ height: calc(var(--size) / 2 * 4px);
90
+ width: 0;
91
+ position: fixed;
92
+ right: -100vw;
93
+ bottom: -100vh;
94
+ user-select: none;
95
+ pointer-events: none;
96
+ }
97
+
98
+ .adm-action-sheet-popup > .adm-popup-body {
99
+ border-top-left-radius: 16px;
100
+ border-top-right-radius: 16px;
101
+ overflow: hidden;
102
+ }
103
+
104
+ .adm-action-sheet-extra {
105
+ display: flex;
106
+ justify-content: center;
107
+ color: var(--adm-color-weak);
108
+ font-size: var(--adm-font-size-7);
109
+ padding: 36px 24px;
110
+ border-bottom: 2px solid var(--adm-color-border);
111
+ }
112
+
113
+ .adm-action-sheet-button-list {
114
+ border-bottom: 2px solid var(--adm-color-border);
115
+ }
116
+
117
+ .adm-action-sheet-button-item-wrapper {
118
+ border-bottom: 2px solid var(--adm-color-border);
119
+ }
120
+
121
+ .adm-action-sheet-button-item-wrapper:last-child {
122
+ border-bottom: none;
123
+ }
124
+
125
+ .adm-action-sheet-button-item {
126
+ text-align: center;
127
+ display: block;
128
+ background-color: var(--adm-color-background);
129
+ padding: 32px;
130
+ }
131
+
132
+ .adm-action-sheet-button-item:active {
133
+ background-color: #eeeeee;
134
+ }
135
+
136
+ .adm-action-sheet-button-item-disabled {
137
+ cursor: not-allowed;
138
+ pointer-events: none;
139
+ opacity: 0.4;
140
+ }
141
+
142
+ .adm-action-sheet-button-item-name {
143
+ color: var(--adm-color-text);
144
+ font-size: var(--adm-font-size-10);
145
+ }
146
+
147
+ .adm-action-sheet-button-item-description {
148
+ font-size: var(--adm-font-size-4);
149
+ color: var(--adm-color-weak);
150
+ padding-top: 4px;
151
+ }
152
+
153
+ .adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {
154
+ color: var(--adm-color-danger);
155
+ }
156
+
157
+ .adm-action-sheet-cancel {
158
+ background-color: var(--adm-color-box);
159
+ padding-top: 16px;
160
+ }
161
+
162
+ .adm-popup {
163
+ --z-index: var(--adm-popup-z-index, 1000);
164
+ position: fixed;
165
+ z-index: var(--z-index);
166
+ }
167
+
168
+ .adm-popup-body {
169
+ position: fixed;
170
+ background-color: var(--adm-color-background);
171
+ z-index: calc(var(--z-index) + 10);
172
+ }
173
+
174
+ .adm-popup-body-position-bottom {
175
+ width: 100%;
176
+ bottom: 0;
177
+ left: 0;
178
+ }
179
+
180
+ .adm-popup-body-position-top {
181
+ width: 100%;
182
+ top: 0;
183
+ left: 0;
184
+ }
185
+
186
+ .adm-popup-body-position-left {
187
+ height: 100%;
188
+ top: 0;
189
+ left: 0;
190
+ }
191
+
192
+ .adm-popup-body-position-right {
193
+ height: 100%;
194
+ top: 0;
195
+ right: 0;
196
+ }
197
+
198
+ .adm-mask {
199
+ --z-index: var(--adm-mask-z-index, 1000);
200
+ position: fixed;
201
+ top: 0;
202
+ left: 0;
203
+ z-index: var(--z-index);
204
+ display: block;
205
+ width: 100%;
206
+ height: 100%;
207
+ }
208
+
209
+ .adm-mask-aria-button {
210
+ position: absolute;
211
+ top: 0;
212
+ left: 0;
213
+ z-index: 0;
214
+ width: 100%;
215
+ height: 100%;
216
+ pointer-events: none;
217
+ }
218
+
219
+ .adm-mask-content {
220
+ z-index: 1;
221
+ }
222
+
223
+ .adm-safe-area {
224
+ display: block;
225
+ width: 100%;
226
+ }
227
+
228
+ .adm-safe-area-position-top {
229
+ padding-top: calc(env(safe-area-inset-top) * var(--adm-hd));
230
+ }
231
+
232
+ .adm-safe-area-position-bottom {
233
+ padding-bottom: calc(env(safe-area-inset-bottom) * var(--adm-hd));
234
+ }
235
+
236
+ .adm-auto-center {
237
+ display: flex;
238
+ justify-content: center;
239
+ }
240
+
241
+ .adm-auto-center-content {
242
+ flex: 0 1 auto;
243
+ }
244
+
245
+ .adm-avatar {
246
+ --size: var(--adm-avatar-size, 88px);
247
+ --border-radius: var(--adm-avatar-border-radius, 8px);
248
+ border-radius: var(--border-radius);
249
+ }
250
+
251
+ .adm-avatar.adm-image {
252
+ --width: var(--size);
253
+ --height: var(--size);
254
+ }
255
+
256
+ .adm-avatar-fallback {
257
+ height: 100%;
258
+ width: 100%;
259
+ display: block;
260
+ }
261
+
262
+ .adm-badge-wrap {
263
+ display: inline-block;
264
+ position: relative;
265
+ }
266
+
267
+ .adm-badge {
268
+ display: inline-flex;
269
+ vertical-align: middle;
270
+ box-sizing: content-box;
271
+ border-radius: 200px;
272
+ background-color: var(--color);
273
+ --right: 0;
274
+ --top: 0;
275
+ --color: var(--adm-badge-color, #ff411c);
276
+ }
277
+
278
+ .adm-badge-content {
279
+ color: var(--adm-color-white);
280
+ box-sizing: border-box;
281
+ min-width: 16px;
282
+ padding: 2px 8px;
283
+ font-size: var(--adm-font-size-1);
284
+ line-height: 24px;
285
+ white-space: nowrap;
286
+ font-weight: normal;
287
+ text-align: center;
288
+ }
289
+
290
+ .adm-badge-fixed {
291
+ position: absolute;
292
+ right: var(--right);
293
+ top: var(--top);
294
+ transform: translate(50%, -50%);
295
+ }
296
+
297
+ .adm-badge-dot {
298
+ min-width: 20px;
299
+ width: 20px;
300
+ height: 20px;
301
+ border-radius: 10px;
302
+ }
303
+
304
+ .adm-badge-bordered {
305
+ border: solid 2px var(--adm-color-white);
306
+ }
307
+
308
+ .adm-button {
309
+ --color: var(--adm-color-white);
310
+ --text-color: var(--adm-button-text-color, var(--adm-color-text));
311
+ --background-color: var(--adm-button-background-color, var(--adm-color-background));
312
+ --border-radius: var(--adm-button-border-radius, 8px);
313
+ --border-width: var(--adm-button-border-width, 2px);
314
+ --border-style: var(--adm-button-border-style, solid);
315
+ --border-color: var(--adm-button-border-color, var(--adm-color-border));
316
+ color: var(--text-color);
317
+ background-color: var(--background-color);
318
+ position: relative;
319
+ display: inline-block;
320
+ box-sizing: border-box;
321
+ height: auto;
322
+ padding: 14px 24px;
323
+ margin: 0;
324
+ font-size: var(--adm-font-size-9);
325
+ line-height: 1.4;
326
+ text-align: center;
327
+ border: var(--border-width) var(--border-style) var(--border-color);
328
+ border-radius: var(--border-radius);
329
+ cursor: pointer;
330
+ transition: opacity ease 0.15s;
331
+ user-select: none;
332
+ }
333
+
334
+ .adm-button:focus {
335
+ outline: none;
336
+ }
337
+
338
+ .adm-button::before {
339
+ position: absolute;
340
+ top: 0;
341
+ left: 0;
342
+ transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
343
+ width: 100%;
344
+ height: 100%;
345
+ background-color: #000;
346
+ border: var(--border-width) var(--border-style) #000;
347
+ border-radius: var(--border-radius);
348
+ opacity: 0;
349
+ content: ' ';
350
+ box-sizing: content-box;
351
+ }
352
+
353
+ .adm-button:active::before {
354
+ opacity: 0.08;
355
+ }
356
+
357
+ .adm-button-default.adm-button-fill-outline {
358
+ --background-color: transparent;
359
+ --border-color: var(--adm-color-text);
360
+ }
361
+
362
+ .adm-button-default.adm-button-fill-none {
363
+ --background-color: transparent;
364
+ --border-width: 0;
365
+ }
366
+
367
+ .adm-button:not(.adm-button-default) {
368
+ --text-color: var(--adm-color-white);
369
+ --background-color: var(--color);
370
+ --border-color: var(--color);
371
+ }
372
+
373
+ .adm-button:not(.adm-button-default).adm-button-fill-outline {
374
+ --text-color: var(--color);
375
+ --background-color: transparent;
376
+ }
377
+
378
+ .adm-button:not(.adm-button-default).adm-button-fill-none {
379
+ --text-color: var(--color);
380
+ --background-color: transparent;
381
+ --border-width: 0;
382
+ }
383
+
384
+ .adm-button-primary {
385
+ --color: var(--adm-color-primary);
386
+ }
387
+
388
+ .adm-button-success {
389
+ --color: var(--adm-color-success);
390
+ }
391
+
392
+ .adm-button-danger {
393
+ --color: var(--adm-color-danger);
394
+ }
395
+
396
+ .adm-button-warning {
397
+ --color: var(--adm-color-warning);
398
+ }
399
+
400
+ .adm-button-block {
401
+ display: block;
402
+ width: 100%;
403
+ }
404
+
405
+ .adm-button-disabled {
406
+ cursor: not-allowed;
407
+ opacity: 0.4;
408
+ }
409
+
410
+ .adm-button-disabled:active::before {
411
+ display: none;
412
+ }
413
+
414
+ .adm-button.adm-button-mini {
415
+ padding-top: 6px;
416
+ padding-bottom: 6px;
417
+ font-size: var(--adm-font-size-main);
418
+ }
419
+
420
+ .adm-button.adm-button-mini.adm-button-shape-rounded {
421
+ padding-left: 18px;
422
+ padding-right: 18px;
423
+ }
424
+
425
+ .adm-button.adm-button-small {
426
+ padding-top: 6px;
427
+ padding-bottom: 6px;
428
+ font-size: var(--adm-font-size-7);
429
+ }
430
+
431
+ .adm-button.adm-button-large {
432
+ padding-top: 22px;
433
+ padding-bottom: 22px;
434
+ font-size: var(--adm-font-size-10);
435
+ }
436
+
437
+ .adm-button.adm-button-shape-rounded {
438
+ --border-radius: 2000px;
439
+ }
440
+
441
+ .adm-button.adm-button-shape-rectangular {
442
+ --border-radius: 0;
443
+ }
444
+
445
+ .adm-button-loading {
446
+ vertical-align: bottom;
447
+ }
448
+
449
+ .adm-button-loading-wrapper {
450
+ display: flex;
451
+ height: 1.4em;
452
+ align-items: center;
453
+ justify-content: center;
454
+ }
455
+
456
+ .adm-button-loading-wrapper > .adm-loading {
457
+ opacity: 0.6;
458
+ }
459
+
460
+ .adm-dot-loading {
461
+ display: inline-block;
462
+ }
463
+
464
+ .adm-calendar .adm-calendar-header {
465
+ display: flex;
466
+ flex-direction: row;
467
+ align-items: center;
468
+ justify-content: space-between;
469
+ padding-top: 8px;
470
+ }
471
+
472
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button {
473
+ padding: 8px 16px;
474
+ display: block;
475
+ flex: none;
476
+ }
477
+
478
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button svg {
479
+ height: 44px;
480
+ }
481
+
482
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button.adm-calendar-arrow-button-right svg {
483
+ transform: rotate(180deg);
484
+ }
485
+
486
+ .adm-calendar .adm-calendar-header .adm-calendar-title {
487
+ font-size: var(--adm-font-size-10);
488
+ flex: auto;
489
+ text-align: center;
490
+ }
491
+
492
+ .adm-calendar .adm-calendar-body {
493
+ display: flex;
494
+ flex-wrap: wrap;
495
+ }
496
+
497
+ .adm-calendar-cells {
498
+ display: flex;
499
+ flex-direction: row;
500
+ flex-wrap: wrap;
501
+ justify-content: flex-start;
502
+ align-items: stretch;
503
+ padding: 16px 16px 8px;
504
+ }
505
+
506
+ .adm-calendar-cell {
507
+ flex: none;
508
+ box-sizing: border-box;
509
+ width: calc(100% / 7);
510
+ height: 96px;
511
+ margin-bottom: 8px;
512
+ padding: 4px;
513
+ color: var(--adm-color-text);
514
+ cursor: pointer;
515
+ display: flex;
516
+ flex-direction: column;
517
+ align-items: center;
518
+ justify-content: flex-end;
519
+ }
520
+
521
+ .adm-calendar-cell.adm-calendar-cell-today {
522
+ color: var(--adm-color-primary);
523
+ }
524
+
525
+ .adm-calendar-cell.adm-calendar-cell-disabled {
526
+ color: var(--adm-color-light);
527
+ }
528
+
529
+ .adm-calendar-cell.adm-calendar-cell-disabled .adm-calendar-cell-bottom {
530
+ color: var(--adm-color-light);
531
+ }
532
+
533
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected {
534
+ background: var(--adm-color-primary);
535
+ color: var(--adm-color-white);
536
+ }
537
+
538
+ .adm-calendar-cell.adm-calendar-cell-selected .adm-calendar-cell-bottom {
539
+ color: var(--adm-color-white);
540
+ }
541
+
542
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-begin {
543
+ border-top-left-radius: 8px;
544
+ border-bottom-left-radius: 8px;
545
+ }
546
+
547
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-end {
548
+ border-top-right-radius: 8px;
549
+ border-bottom-right-radius: 8px;
550
+ }
551
+
552
+ .adm-calendar-cell.adm-calendar-cell-disabled.adm-calendar-cell.adm-calendar-cell-selected {
553
+ color: var(--adm-color-light);
554
+ }
555
+
556
+ .adm-calendar-cell .adm-calendar-cell-top {
557
+ flex: none;
558
+ font-size: var(--adm-font-size-10);
559
+ }
560
+
561
+ .adm-calendar-cell .adm-calendar-cell-bottom {
562
+ flex: none;
563
+ font-size: var(--adm-font-size-4);
564
+ height: 24px;
565
+ line-height: 24px;
566
+ color: var(--adm-color-weak);
567
+ }
568
+
569
+ .adm-calendar-mark {
570
+ display: flex;
571
+ flex-direction: row;
572
+ justify-content: flex-start;
573
+ align-items: center;
574
+ border-bottom: solid 2px var(--adm-color-border);
575
+ height: 90px;
576
+ box-sizing: border-box;
577
+ font-size: var(--adm-font-size-7);
578
+ padding: 0 16px;
579
+ }
580
+
581
+ .adm-calendar-mark .adm-calendar-mark-cell {
582
+ flex: 1;
583
+ text-align: center;
584
+ }
585
+
586
+ .adm-capsule-tabs {
587
+ position: relative;
588
+ min-width: 0;
589
+ }
590
+
591
+ .adm-capsule-tabs-header {
592
+ position: relative;
593
+ padding: 24px 12px;
594
+ border-bottom: solid 2px var(--adm-color-border);
595
+ }
596
+
597
+ .adm-capsule-tabs-tab-list {
598
+ display: flex;
599
+ flex-wrap: nowrap;
600
+ justify-content: flex-start;
601
+ align-items: center;
602
+ position: relative;
603
+ overflow-x: scroll;
604
+ scrollbar-width: none;
605
+ }
606
+
607
+ .adm-capsule-tabs-tab-list::-webkit-scrollbar {
608
+ display: none;
609
+ }
610
+
611
+ .adm-capsule-tabs-tab-wrapper {
612
+ flex: auto;
613
+ padding: 0 12px;
614
+ }
615
+
616
+ .adm-capsule-tabs-tab {
617
+ position: relative;
618
+ padding: 16px 40px;
619
+ margin: 0 auto;
620
+ border-radius: 40px;
621
+ cursor: pointer;
622
+ font-size: var(--adm-font-size-7);
623
+ text-align: center;
624
+ white-space: nowrap;
625
+ background-color: var(--adm-color-box);
626
+ }
627
+
628
+ .adm-capsule-tabs-tab-active {
629
+ color: var(--adm-color-white);
630
+ background-color: var(--adm-color-primary);
631
+ }
632
+
633
+ .adm-capsule-tabs-tab-disabled {
634
+ opacity: 0.5;
635
+ cursor: not-allowed;
636
+ }
637
+
638
+ .adm-capsule-tabs-content {
639
+ padding: 24px;
640
+ }
641
+
642
+ .adm-scroll-mask {
643
+ position: absolute;
644
+ top: 0;
645
+ bottom: 0;
646
+ z-index: 1;
647
+ width: 60px;
648
+ height: 100%;
649
+ pointer-events: none;
650
+ }
651
+
652
+ .adm-scroll-mask-left {
653
+ left: 0;
654
+ background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));
655
+ }
656
+
657
+ .adm-scroll-mask-right {
658
+ right: 0;
659
+ background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));
660
+ }
661
+
662
+ .adm-card {
663
+ background: var(--adm-color-background);
664
+ border-radius: 16px;
665
+ padding: 0 24px;
666
+ }
667
+
668
+ .adm-card-header {
669
+ position: relative;
670
+ display: flex;
671
+ justify-content: space-between;
672
+ align-items: center;
673
+ box-sizing: border-box;
674
+ padding: 24px 0;
675
+ }
676
+
677
+ .adm-card-header:not(:last-child) {
678
+ border-bottom: solid 1px var(--adm-color-border);
679
+ }
680
+
681
+ .adm-card-header-title {
682
+ font-size: var(--adm-font-size-7);
683
+ line-height: 1.4;
684
+ font-weight: bold;
685
+ }
686
+
687
+ .adm-card-body {
688
+ padding: 24px 0;
689
+ }
690
+
691
+ .adm-picker {
692
+ --header-button-font-size: var(--adm-font-size-7);
693
+ --title-font-size: var(--adm-font-size-7);
694
+ --item-font-size: var(--adm-font-size-8);
695
+ --item-height: 68px;
696
+ width: 100%;
697
+ height: 600px;
698
+ overflow: hidden;
699
+ position: relative;
700
+ display: flex;
701
+ flex-direction: column;
702
+ ---item-font-size: var(--item-font-size);
703
+ ---item-height: var(--item-height);
704
+ }
705
+
706
+ .adm-picker .adm-picker-view.adm-picker-view {
707
+ --item-font-size: var(---item-font-size);
708
+ --item-height: var(---item-height);
709
+ }
710
+
711
+ .adm-picker-header {
712
+ flex-shrink: 0;
713
+ border-bottom: solid 2px var(--adm-color-border);
714
+ display: flex;
715
+ justify-content: space-between;
716
+ align-items: center;
717
+ padding: 8px 8px;
718
+ }
719
+
720
+ .adm-picker-header-button {
721
+ font-size: var(--header-button-font-size);
722
+ display: inline-block;
723
+ padding: 16px 16px;
724
+ }
725
+
726
+ .adm-picker-header-title {
727
+ padding: 8px 8px;
728
+ font-size: var(--title-font-size);
729
+ color: var(--adm-color-text);
730
+ text-align: center;
731
+ flex: 1;
732
+ }
733
+
734
+ .adm-picker-body {
735
+ flex: 1;
736
+ width: 100%;
737
+ }
738
+
739
+ .adm-picker-body > .adm-picker-view {
740
+ --height: 100%;
741
+ }
742
+
743
+ .adm-picker-popup .adm-popup-body {
744
+ border-top-left-radius: 16px;
745
+ border-top-right-radius: 16px;
746
+ }
747
+
748
+ .adm-picker-view {
749
+ --height: 480px;
750
+ --item-height: 68px;
751
+ --item-font-size: var(--adm-font-size-8);
752
+ height: var(--height);
753
+ width: 100%;
754
+ display: flex;
755
+ position: relative;
756
+ overflow: hidden;
757
+ background: var(--adm-color-white);
758
+ }
759
+
760
+ .adm-picker-view-column {
761
+ height: 100%;
762
+ flex: 1;
763
+ user-select: none;
764
+ touch-action: none;
765
+ position: relative;
766
+ z-index: 0;
767
+ }
768
+
769
+ .adm-picker-view-column-wheel {
770
+ width: 100%;
771
+ cursor: grab;
772
+ position: absolute;
773
+ top: calc(50% - var(--item-height) / 2);
774
+ left: 0;
775
+ }
776
+
777
+ .adm-picker-view-column-wheel::before {
778
+ content: ' ';
779
+ display: block;
780
+ position: absolute;
781
+ width: 100%;
782
+ height: 100vh;
783
+ top: -100vh;
784
+ }
785
+
786
+ .adm-picker-view-column-wheel::after {
787
+ content: ' ';
788
+ display: block;
789
+ position: absolute;
790
+ width: 100%;
791
+ height: 100vh;
792
+ bottom: -100vh;
793
+ }
794
+
795
+ .adm-picker-view-column-item {
796
+ font-size: var(--item-font-size);
797
+ padding: 0 12px;
798
+ height: var(--item-height);
799
+ display: flex;
800
+ justify-content: center;
801
+ align-items: center;
802
+ }
803
+
804
+ .adm-picker-view-column-item-label {
805
+ overflow: hidden;
806
+ text-overflow: ellipsis;
807
+ white-space: nowrap;
808
+ }
809
+
810
+ .adm-picker-view-column-accessible {
811
+ width: 100%;
812
+ height: 100%;
813
+ pointer-events: none;
814
+ opacity: 0;
815
+ display: flex;
816
+ flex-direction: column;
817
+ position: relative;
818
+ z-index: 0;
819
+ }
820
+
821
+ .adm-picker-view-column-accessible > * {
822
+ flex: 1;
823
+ text-overflow: ellipsis;
824
+ }
825
+
826
+ .adm-picker-view-column-accessible-current {
827
+ position: absolute;
828
+ width: 100%;
829
+ height: 100%;
830
+ }
831
+
832
+ .adm-picker-view-column-accessible-button {
833
+ width: 100%;
834
+ height: 100%;
835
+ }
836
+
837
+ .adm-picker-view-mask {
838
+ position: absolute;
839
+ z-index: 10000;
840
+ left: 0;
841
+ top: 0;
842
+ width: 100%;
843
+ height: 100%;
844
+ display: flex;
845
+ flex-direction: column;
846
+ pointer-events: none;
847
+ }
848
+
849
+ .adm-picker-view-mask-top,
850
+ .adm-picker-view-mask-bottom {
851
+ flex: auto;
852
+ }
853
+
854
+ .adm-picker-view-mask-middle {
855
+ height: var(--item-height);
856
+ box-sizing: border-box;
857
+ flex: none;
858
+ border-top: solid 2px var(--adm-color-border);
859
+ border-bottom: solid 2px var(--adm-color-border);
860
+ }
861
+
862
+ .adm-picker-view-mask-top {
863
+ background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
864
+ }
865
+
866
+ .adm-picker-view-mask-bottom {
867
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
868
+ }
869
+
870
+ .adm-cascader-view {
871
+ --height: auto;
872
+ }
873
+
874
+ .adm-cascader-view-tabs.adm-tabs {
875
+ --title-font-size: var(--adm-font-size-6);
876
+ --content-padding: none;
877
+ }
878
+
879
+ .adm-cascader-view-header-title {
880
+ max-width: 168px;
881
+ overflow: hidden;
882
+ white-space: nowrap;
883
+ text-overflow: ellipsis;
884
+ }
885
+
886
+ .adm-cascader-view-content {
887
+ height: var(--height);
888
+ overflow-y: auto;
889
+ }
890
+
891
+ .adm-cascader-view-content > .adm-check-list {
892
+ --border-inner: none;
893
+ --border-bottom: none;
894
+ --border-top: none;
895
+ }
896
+
897
+ .adm-cascader-view-item {
898
+ font-size: var(--adm-font-size-6);
899
+ }
900
+
901
+ .adm-cascader-view-item-active {
902
+ color: var(--adm-color-primary);
903
+ }
904
+
905
+ .adm-cascader-view .adm-list-inner {
906
+ margin-bottom: 0;
907
+ }
908
+
909
+ .adm-cascader-view-skeleton {
910
+ padding: 32px 24px;
911
+ }
912
+
913
+ .adm-cascader-view-skeleton .adm-skeleton {
914
+ margin-bottom: 32px;
915
+ --height: 36px;
916
+ --width: 80%;
917
+ --border-radius: 4px;
918
+ }
919
+
920
+ .adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-3 {
921
+ --width: 90%;
922
+ }
923
+
924
+ .adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-4 {
925
+ --width: 60%;
926
+ }
927
+
928
+ .adm-tabs {
929
+ --title-font-size: var(--adm-font-size-9);
930
+ --content-padding: 24px;
931
+ --active-line-height: 4px;
932
+ --active-line-border-radius: var(--active-line-height);
933
+ --active-line-color: var(--adm-color-primary);
934
+ --active-title-color: var(--adm-color-primary);
935
+ position: relative;
936
+ min-width: 0;
937
+ }
938
+
939
+ .adm-tabs-header {
940
+ position: relative;
941
+ border-bottom: solid 2px var(--adm-color-border);
942
+ }
943
+
944
+ .adm-tabs-tab-list {
945
+ display: flex;
946
+ flex-wrap: nowrap;
947
+ justify-content: flex-start;
948
+ align-items: center;
949
+ position: relative;
950
+ overflow-x: scroll;
951
+ scrollbar-width: none;
952
+ }
953
+
954
+ .adm-tabs-tab-list::-webkit-scrollbar {
955
+ display: none;
956
+ }
957
+
958
+ .adm-tabs-tab-wrapper {
959
+ padding: 0 24px;
960
+ }
961
+
962
+ .adm-tabs-tab-wrapper-stretch {
963
+ flex: auto;
964
+ }
965
+
966
+ .adm-tabs-tab {
967
+ white-space: nowrap;
968
+ padding: 16px 0 20px;
969
+ width: min-content;
970
+ margin: 0 auto;
971
+ font-size: var(--title-font-size);
972
+ position: relative;
973
+ cursor: pointer;
974
+ }
975
+
976
+ .adm-tabs-tab-active {
977
+ color: var(--active-title-color);
978
+ }
979
+
980
+ .adm-tabs-tab-disabled {
981
+ opacity: 0.5;
982
+ cursor: not-allowed;
983
+ }
984
+
985
+ .adm-tabs-tab-line {
986
+ position: absolute;
987
+ bottom: 0;
988
+ height: var(--active-line-height);
989
+ background: var(--active-line-color);
990
+ border-radius: var(--active-line-border-radius);
991
+ }
992
+
993
+ .adm-tabs-content {
994
+ padding: var(--content-padding);
995
+ }
996
+
997
+ .adm-tabs-header-mask {
998
+ position: absolute;
999
+ top: 0;
1000
+ bottom: 0;
1001
+ z-index: 1;
1002
+ width: 60px;
1003
+ height: 100%;
1004
+ pointer-events: none;
1005
+ }
1006
+
1007
+ .adm-tabs-header-mask-left {
1008
+ left: 0;
1009
+ background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));
1010
+ }
1011
+
1012
+ .adm-tabs-header-mask-right {
1013
+ right: 0;
1014
+ background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));
1015
+ }
1016
+
1017
+ .adm-check-list-item-extra {
1018
+ font-size: var(--adm-font-size-8);
1019
+ line-height: 1;
1020
+ color: var(--adm-color-primary);
1021
+ }
1022
+
1023
+ .adm-check-list-item-readonly {
1024
+ cursor: unset;
1025
+ }
1026
+
1027
+ .adm-list {
1028
+ --header-font-size: var(--adm-font-size-7);
1029
+ --prefix-width: 'auto';
1030
+ --prefix-padding-right: 24px;
1031
+ --align-items: center;
1032
+ --active-background-color: var(--adm-color-border);
1033
+ --border-inner: solid 2px var(--adm-color-border);
1034
+ --border-top: solid 2px var(--adm-color-border);
1035
+ --border-bottom: solid 2px var(--adm-color-border);
1036
+ --padding-left: 24px;
1037
+ --padding-right: 24px;
1038
+ --font-size: var(--adm-font-size-9);
1039
+ }
1040
+
1041
+ .adm-list-header {
1042
+ color: var(--adm-color-weak);
1043
+ font-size: var(--header-font-size);
1044
+ padding: 16px var(--padding-right) 16px var(--padding-left);
1045
+ }
1046
+
1047
+ .adm-list-body {
1048
+ background-color: var(--adm-color-background);
1049
+ overflow: hidden;
1050
+ font-size: var(--font-size);
1051
+ }
1052
+
1053
+ .adm-list-body-inner {
1054
+ margin-top: -2px;
1055
+ }
1056
+
1057
+ .adm-list-default .adm-list-body {
1058
+ border-top: var(--border-top);
1059
+ border-bottom: var(--border-bottom);
1060
+ }
1061
+
1062
+ .adm-list-card {
1063
+ margin: 24px;
1064
+ }
1065
+
1066
+ .adm-list-card .adm-list-body {
1067
+ border-radius: 16px;
1068
+ }
1069
+
1070
+ .adm-list-card .adm-list-header {
1071
+ padding-left: 0;
1072
+ }
1073
+
1074
+ .adm-list-item {
1075
+ display: block;
1076
+ padding-left: var(--padding-left);
1077
+ position: relative;
1078
+ background-color: var(--adm-color-background);
1079
+ line-height: 1.5;
1080
+ }
1081
+
1082
+ .adm-list-item-title,
1083
+ .adm-list-item-description {
1084
+ color: var(--adm-color-weak);
1085
+ font-size: var(--adm-font-size-main);
1086
+ }
1087
+
1088
+ .adm-list-item-content {
1089
+ display: flex;
1090
+ align-items: var(--align-items);
1091
+ justify-content: flex-start;
1092
+ border-top: var(--border-inner);
1093
+ padding-right: var(--padding-right);
1094
+ }
1095
+
1096
+ .adm-list-item-content-prefix {
1097
+ width: var(--prefix-width);
1098
+ flex: none;
1099
+ padding-right: var(--prefix-padding-right);
1100
+ }
1101
+
1102
+ .adm-list-item-content-main {
1103
+ flex: auto;
1104
+ padding: 24px 0;
1105
+ }
1106
+
1107
+ .adm-list-item-content-extra {
1108
+ padding-left: 24px;
1109
+ font-size: var(--adm-font-size-7);
1110
+ color: var(--adm-color-weak);
1111
+ }
1112
+
1113
+ .adm-list-item-content-arrow {
1114
+ flex: none;
1115
+ display: flex;
1116
+ align-items: center;
1117
+ margin-left: 8px;
1118
+ color: var(--adm-color-light);
1119
+ font-size: 38px;
1120
+ }
1121
+
1122
+ .adm-list-item-disabled {
1123
+ cursor: not-allowed;
1124
+ }
1125
+
1126
+ .adm-list-item-disabled.adm-list-item-disabled > .adm-list-item-content > * {
1127
+ opacity: 0.4;
1128
+ pointer-events: none;
1129
+ }
1130
+
1131
+ a.adm-list-item:active:not(.adm-list-item-disabled) {
1132
+ background-color: var(--active-background-color);
1133
+ }
1134
+
1135
+ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
1136
+ content: ' ';
1137
+ display: block;
1138
+ position: absolute;
1139
+ width: 100%;
1140
+ bottom: -2px;
1141
+ left: 0;
1142
+ border-bottom: var(--border-inner);
1143
+ }
1144
+
1145
+ .adm-skeleton {
1146
+ --width: 100%;
1147
+ --height: 0;
1148
+ --border-radius: 0;
1149
+ background-color: rgba(190, 190, 190, 0.2);
1150
+ border-radius: var(--border-radius);
1151
+ width: var(--width);
1152
+ height: var(--height);
1153
+ display: block;
1154
+ }
1155
+
1156
+ .adm-skeleton.adm-skeleton-animated {
1157
+ background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
1158
+ background-size: 400% 100%;
1159
+ animation: adm-skeleton-loading 1.4s ease infinite;
1160
+ }
1161
+
1162
+ .adm-skeleton.adm-skeleton-title {
1163
+ --width: 45%;
1164
+ --height: 64px;
1165
+ --border-radius: 4px;
1166
+ margin-bottom: 32px;
1167
+ margin-top: 32px;
1168
+ }
1169
+
1170
+ .adm-skeleton.adm-skeleton-paragraph-line {
1171
+ --height: 36px;
1172
+ --border-radius: 4px;
1173
+ margin-top: 24px;
1174
+ margin-bottom: 24px;
1175
+ }
1176
+
1177
+ .adm-skeleton.adm-skeleton-paragraph-line:last-child {
1178
+ --width: 65%;
1179
+ }
1180
+
1181
+ @keyframes adm-skeleton-loading {
1182
+ 0% {
1183
+ background-position: 100% 50%;
1184
+ }
1185
+
1186
+ 100% {
1187
+ background-position: 0 50%;
1188
+ }
1189
+ }
1190
+
1191
+ .adm-cascader {
1192
+ width: 100%;
1193
+ overflow: hidden;
1194
+ position: relative;
1195
+ display: flex;
1196
+ flex-direction: column;
1197
+ }
1198
+
1199
+ .adm-cascader-header {
1200
+ flex: none;
1201
+ display: flex;
1202
+ justify-content: space-between;
1203
+ align-items: center;
1204
+ padding: 12px 16px;
1205
+ }
1206
+
1207
+ .adm-cascader-header-button {
1208
+ font-size: var(--adm-font-size-7);
1209
+ display: inline-block;
1210
+ padding: 8px 8px;
1211
+ }
1212
+
1213
+ .adm-cascader-header-title {
1214
+ padding: 8px 8px;
1215
+ font-size: var(--adm-font-size-7);
1216
+ color: var(--adm-color-text);
1217
+ text-align: center;
1218
+ flex: 1;
1219
+ }
1220
+
1221
+ .adm-cascader-body {
1222
+ flex: auto;
1223
+ height: 100%;
1224
+ width: 100%;
1225
+ }
1226
+
1227
+ .adm-cascader-body > .adm-cascader-view {
1228
+ --height: 620px;
1229
+ }
1230
+
1231
+ .adm-center-popup {
1232
+ --background-color: var(--adm-center-popup-background-color, var(--adm-color-background));
1233
+ --border-radius: var(--adm-center-popup-border-radius, 16px);
1234
+ --max-width: var(--adm-center-popup-max-width, 75vw);
1235
+ --min-width: var(--adm-center-popup-min-width, 560px);
1236
+ --z-index: var(--adm-center-popup-z-index, 1000);
1237
+ position: fixed;
1238
+ z-index: var(--z-index);
1239
+ }
1240
+
1241
+ .adm-center-popup .adm-center-popup-mask {
1242
+ z-index: 0;
1243
+ }
1244
+
1245
+ .adm-center-popup-wrap {
1246
+ position: fixed;
1247
+ z-index: 1;
1248
+ top: 50%;
1249
+ left: 50%;
1250
+ width: auto;
1251
+ min-width: var(--min-width);
1252
+ max-width: var(--max-width);
1253
+ transform: translate(-50%, -50%);
1254
+ }
1255
+
1256
+ .adm-center-popup-body {
1257
+ background-color: var(--background-color);
1258
+ border-radius: var(--border-radius);
1259
+ }
1260
+
1261
+ .adm-checkbox {
1262
+ --icon-size: 44px;
1263
+ --font-size: var(--adm-font-size-9);
1264
+ --gap: 16px;
1265
+ display: inline-flex;
1266
+ vertical-align: text-bottom;
1267
+ justify-content: flex-start;
1268
+ align-items: center;
1269
+ cursor: pointer;
1270
+ }
1271
+
1272
+ .adm-checkbox input {
1273
+ display: none;
1274
+ }
1275
+
1276
+ .adm-checkbox .adm-checkbox-icon {
1277
+ flex: none;
1278
+ border: 2px solid var(--adm-color-light);
1279
+ border-radius: var(--icon-size);
1280
+ box-sizing: border-box;
1281
+ width: var(--icon-size);
1282
+ height: var(--icon-size);
1283
+ color: var(--adm-color-white);
1284
+ }
1285
+
1286
+ .adm-checkbox .adm-checkbox-icon > svg {
1287
+ display: block;
1288
+ width: 100%;
1289
+ height: 100%;
1290
+ }
1291
+
1292
+ .adm-checkbox.adm-checkbox-block {
1293
+ display: flex;
1294
+ }
1295
+
1296
+ .adm-checkbox.adm-checkbox-checked .adm-checkbox-icon {
1297
+ border-color: var(--adm-color-primary);
1298
+ background-color: var(--adm-color-primary);
1299
+ }
1300
+
1301
+ .adm-checkbox.adm-checkbox-disabled {
1302
+ cursor: not-allowed;
1303
+ }
1304
+
1305
+ .adm-checkbox.adm-checkbox-disabled .adm-checkbox-content {
1306
+ opacity: 0.4;
1307
+ }
1308
+
1309
+ .adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon.adm-checkbox-icon {
1310
+ color: #b7b7b7;
1311
+ border-color: var(--adm-color-light);
1312
+ background-color: var(--adm-color-box);
1313
+ }
1314
+
1315
+ .adm-checkbox .adm-checkbox-custom-icon {
1316
+ font-size: var(--icon-size);
1317
+ }
1318
+
1319
+ .adm-checkbox.adm-checkbox-indeterminate .adm-checkbox-icon {
1320
+ background-color: var(--adm-color-background);
1321
+ color: var(--adm-color-primary);
1322
+ }
1323
+
1324
+ .adm-checkbox-content {
1325
+ flex: 0 1 auto;
1326
+ font-size: var(--font-size);
1327
+ padding-left: var(--gap);
1328
+ }
1329
+
1330
+ .adm-collapse-panel-header .adm-list-item-content-main {
1331
+ padding: 24px 0;
1332
+ }
1333
+
1334
+ .adm-collapse-arrow {
1335
+ transform: rotate(0deg);
1336
+ transition: all ease 0.3s;
1337
+ }
1338
+
1339
+ .adm-collapse-arrow-active {
1340
+ transform: rotate(-180deg);
1341
+ }
1342
+
1343
+ .adm-collapse-panel-content {
1344
+ font-size: var(--adm-font-size-main);
1345
+ color: var(--adm-color-weak);
1346
+ overflow: hidden;
1347
+ }
1348
+
1349
+ .adm-dialog {
1350
+ --z-index: var(--adm-dialog-z-index, 1000);
1351
+ ---z-index: var(--z-index);
1352
+ }
1353
+
1354
+ .adm-dialog .adm-center-popup {
1355
+ --z-index: var(---z-index);
1356
+ }
1357
+
1358
+ .adm-dialog-body {
1359
+ width: 100%;
1360
+ max-height: 70vh;
1361
+ font-size: var(--adm-font-size-6);
1362
+ overflow: hidden;
1363
+ display: flex;
1364
+ flex-direction: column;
1365
+ }
1366
+
1367
+ .adm-dialog-body > * {
1368
+ flex: none;
1369
+ }
1370
+
1371
+ .adm-dialog-body > .adm-dialog-content {
1372
+ flex: auto;
1373
+ }
1374
+
1375
+ .adm-dialog-body:not(.adm-dialog-with-image) {
1376
+ padding-top: 40px;
1377
+ }
1378
+
1379
+ .adm-dialog-image-container {
1380
+ margin-bottom: 24px;
1381
+ max-height: 40vh;
1382
+ }
1383
+
1384
+ .adm-dialog-header {
1385
+ margin-bottom: 16px;
1386
+ padding: 0 24px;
1387
+ }
1388
+
1389
+ .adm-dialog-title {
1390
+ margin-bottom: 16px;
1391
+ padding: 0 24px;
1392
+ font-weight: bold;
1393
+ font-size: var(--adm-font-size-10);
1394
+ line-height: 50px;
1395
+ text-align: center;
1396
+ }
1397
+
1398
+ .adm-dialog-content {
1399
+ padding: 0 24px 40px;
1400
+ max-height: 70vh;
1401
+ overflow-x: hidden;
1402
+ overflow-y: auto;
1403
+ font-size: var(--adm-font-size-7);
1404
+ line-height: 1.4;
1405
+ color: var(--adm-color-text);
1406
+ }
1407
+
1408
+ .adm-dialog-content-empty {
1409
+ padding: 0;
1410
+ height: 24px;
1411
+ }
1412
+
1413
+ .adm-dialog-footer {
1414
+ user-select: none;
1415
+ }
1416
+
1417
+ .adm-dialog-footer .adm-dialog-action-row {
1418
+ display: flex;
1419
+ align-items: stretch;
1420
+ border-top: 1px solid var(--adm-color-border);
1421
+ }
1422
+
1423
+ .adm-dialog-footer .adm-dialog-action-row > * {
1424
+ flex: 1;
1425
+ }
1426
+
1427
+ .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {
1428
+ padding: 20px;
1429
+ font-size: var(--adm-font-size-10);
1430
+ line-height: 50px;
1431
+ border-radius: 0;
1432
+ border-right: solid 1px var(--adm-color-border);
1433
+ }
1434
+
1435
+ .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
1436
+ font-weight: bold;
1437
+ }
1438
+
1439
+ .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
1440
+ border-right: none;
1441
+ }
1442
+
1443
+ .adm-dialog-image-container {
1444
+ overflow-y: auto;
1445
+ }
1446
+
1447
+ .adm-image {
1448
+ --width: var(--adm-image-width, auto);
1449
+ --height: var(--adm-image-height, auto);
1450
+ width: var(--width);
1451
+ height: var(--height);
1452
+ display: block;
1453
+ overflow: hidden;
1454
+ }
1455
+
1456
+ .adm-image-img {
1457
+ width: 100%;
1458
+ height: 100%;
1459
+ }
1460
+
1461
+ .adm-image-tip {
1462
+ position: relative;
1463
+ background-color: var(--adm-color-box);
1464
+ height: 100%;
1465
+ min-height: 48px;
1466
+ min-width: 48px;
1467
+ }
1468
+
1469
+ .adm-image-tip > svg {
1470
+ width: 48px;
1471
+ height: 48px;
1472
+ position: absolute;
1473
+ left: 50%;
1474
+ top: 50%;
1475
+ transform: translate(-50%, -50%);
1476
+ color: var(--adm-color-weak);
1477
+ }
1478
+
1479
+ .adm-divider-horizontal {
1480
+ display: flex;
1481
+ align-items: center;
1482
+ margin: 32px 0;
1483
+ border-width: 0;
1484
+ border-color: var(--adm-color-border);
1485
+ border-style: solid;
1486
+ color: var(--adm-color-weak);
1487
+ font-size: 28px;
1488
+ }
1489
+
1490
+ .adm-divider-left.adm-divider-horizontal::before {
1491
+ max-width: 10%;
1492
+ }
1493
+
1494
+ .adm-divider-right.adm-divider-horizontal::after {
1495
+ max-width: 10%;
1496
+ }
1497
+
1498
+ .adm-divider-horizontal::after,
1499
+ .adm-divider-horizontal::before {
1500
+ flex: auto;
1501
+ display: block;
1502
+ content: '';
1503
+ border-style: inherit;
1504
+ border-color: inherit;
1505
+ border-width: 2px 0 0;
1506
+ }
1507
+
1508
+ .adm-divider-horizontal .adm-divider-content {
1509
+ flex: none;
1510
+ padding: 0 32px;
1511
+ }
1512
+
1513
+ .adm-divider-vertical {
1514
+ position: relative;
1515
+ top: -0.06em;
1516
+ display: inline-block;
1517
+ height: 0.9em;
1518
+ margin: 0 32px;
1519
+ vertical-align: middle;
1520
+ border-top: 0;
1521
+ border-left: 2px solid var(--adm-color-border);
1522
+ }
1523
+
1524
+ .adm-dropdown {
1525
+ background-color: white;
1526
+ }
1527
+
1528
+ .adm-dropdown .adm-dropdown-nav {
1529
+ display: flex;
1530
+ border-bottom: 2px solid transparent;
1531
+ }
1532
+
1533
+ .adm-dropdown-open .adm-dropdown-nav {
1534
+ border-bottom-color: var(--adm-color-border);
1535
+ }
1536
+
1537
+ .adm-dropdown-item {
1538
+ display: flex;
1539
+ flex: 1;
1540
+ justify-content: center;
1541
+ min-width: 0;
1542
+ cursor: pointer;
1543
+ }
1544
+
1545
+ .adm-dropdown-item .adm-dropdown-item-title {
1546
+ display: flex;
1547
+ align-items: center;
1548
+ position: relative;
1549
+ max-width: 100%;
1550
+ font-size: var(--adm-font-size-main);
1551
+ padding: 24px;
1552
+ }
1553
+
1554
+ .adm-dropdown-item .adm-dropdown-item-title-text {
1555
+ margin-right: 10px;
1556
+ overflow: hidden;
1557
+ white-space: nowrap;
1558
+ text-overflow: ellipsis;
1559
+ }
1560
+
1561
+ .adm-dropdown-item .adm-dropdown-item-title-arrow {
1562
+ color: var(--adm-color-light);
1563
+ font-size: 18px;
1564
+ transform: rotate(0deg) translateY(2px);
1565
+ transition: all ease 0.2s;
1566
+ }
1567
+
1568
+ .adm-dropdown-item .adm-dropdown-item-title-arrow-active {
1569
+ transform: rotate(-180deg) translateY(-2px);
1570
+ }
1571
+
1572
+ .adm-dropdown-item .adm-dropdown-item-title:active {
1573
+ opacity: 0.7;
1574
+ }
1575
+
1576
+ .adm-dropdown-item-highlight {
1577
+ color: var(--adm-color-primary);
1578
+ }
1579
+
1580
+ .adm-dropdown-item-active .adm-dropdown-item-title:after {
1581
+ margin-top: -2px;
1582
+ transform: rotate(135deg);
1583
+ }
1584
+
1585
+ .adm-dropdown-item-content {
1586
+ width: 100%;
1587
+ background: white;
1588
+ }
1589
+
1590
+ .adm-dropdown-item-content-hidden {
1591
+ display: none;
1592
+ }
1593
+
1594
+ .adm-dropdown-popup {
1595
+ position: fixed;
1596
+ overflow: hidden;
1597
+ width: 100%;
1598
+ right: 0;
1599
+ bottom: 0;
1600
+ left: 0;
1601
+ }
1602
+
1603
+ .adm-dropdown-popup .adm-dropdown-popup-mask {
1604
+ position: absolute;
1605
+ }
1606
+
1607
+ .adm-dropdown-popup .adm-dropdown-popup-body {
1608
+ position: absolute;
1609
+ }
1610
+
1611
+ .adm-ellipsis {
1612
+ overflow: hidden;
1613
+ line-height: 1.5;
1614
+ }
1615
+
1616
+ .adm-empty {
1617
+ display: flex;
1618
+ flex-direction: column;
1619
+ align-items: center;
1620
+ justify-content: center;
1621
+ padding: 48px 0;
1622
+ }
1623
+
1624
+ .adm-empty-image-container {
1625
+ display: flex;
1626
+ justify-content: center;
1627
+ }
1628
+
1629
+ .adm-empty-image-container .adm-empty-image {
1630
+ width: 128px;
1631
+ }
1632
+
1633
+ .adm-empty-description {
1634
+ margin-top: 16px;
1635
+ font-size: var(--adm-font-size-6);
1636
+ color: var(--adm-color-light);
1637
+ }
1638
+
1639
+ .adm-error-block {
1640
+ --color: var(--adm-color-text);
1641
+ --image-height: var(--adm-error-block-image-height, 200px);
1642
+ --image-height-full-page: var(--adm-error-block-image-height-full-page, 400px);
1643
+ --image-width: var(--adm-error-block-image-width, auto);
1644
+ --image-width-full-page: var(--adm-error-block-image-width-full-page, auto);
1645
+ box-sizing: border-box;
1646
+ text-align: center;
1647
+ }
1648
+
1649
+ .adm-error-block-image {
1650
+ height: var(--image-height);
1651
+ width: var(--image-width);
1652
+ max-width: 100%;
1653
+ }
1654
+
1655
+ .adm-error-block-image svg,
1656
+ .adm-error-block-image img {
1657
+ height: 100%;
1658
+ }
1659
+
1660
+ .adm-error-block-description {
1661
+ font-size: var(--adm-font-size-4);
1662
+ color: #999;
1663
+ line-height: 1.4;
1664
+ margin-top: 24px;
1665
+ }
1666
+
1667
+ .adm-error-block-description-title {
1668
+ font-size: var(--adm-font-size-7);
1669
+ }
1670
+
1671
+ .adm-error-block-description-subtitle {
1672
+ margin-top: 16px;
1673
+ }
1674
+
1675
+ .adm-error-block-content {
1676
+ margin-top: 24px;
1677
+ }
1678
+
1679
+ .adm-error-block-full-page {
1680
+ padding-top: calc(50vh - var(--image-height-full-page));
1681
+ }
1682
+
1683
+ .adm-error-block-full-page .adm-error-block-image {
1684
+ height: var(--image-height-full-page);
1685
+ width: var(--image-width-full-page);
1686
+ }
1687
+
1688
+ .adm-error-block-full-page .adm-error-block-description {
1689
+ margin-top: 40px;
1690
+ font-size: var(--adm-font-size-main);
1691
+ }
1692
+
1693
+ .adm-error-block-full-page .adm-error-block-description-title {
1694
+ font-size: 40px;
1695
+ color: var(--adm-color-text);
1696
+ }
1697
+
1698
+ .adm-floating-bubble {
1699
+ --initial-position-left: var(--initial-position-left);
1700
+ --initial-position-right: var(--initial-position-right);
1701
+ --initial-position-top: var(--initial-position-top);
1702
+ --initial-position-bottom: var(--initial-position-bottom);
1703
+ --z-index: 1;
1704
+ --edge-distance: 0;
1705
+ --size: 96px;
1706
+ --border-radius: 50%;
1707
+ --background: var(--adm-color-primary);
1708
+ }
1709
+
1710
+ .adm-floating-bubble-boundary-outer {
1711
+ position: fixed;
1712
+ left: 0;
1713
+ top: 0;
1714
+ width: 100vw;
1715
+ height: 100vh;
1716
+ padding: var(--edge-distance);
1717
+ box-sizing: border-box;
1718
+ pointer-events: none;
1719
+ }
1720
+
1721
+ .adm-floating-bubble-boundary {
1722
+ position: relative;
1723
+ width: 100%;
1724
+ height: 100%;
1725
+ }
1726
+
1727
+ .adm-floating-bubble-button {
1728
+ position: fixed;
1729
+ top: var(--initial-position-top);
1730
+ bottom: var(--initial-position-bottom);
1731
+ left: var(--initial-position-left);
1732
+ right: var(--initial-position-right);
1733
+ box-sizing: border-box;
1734
+ width: var(--size);
1735
+ height: var(--size);
1736
+ display: flex;
1737
+ justify-content: center;
1738
+ align-items: center;
1739
+ overflow: hidden;
1740
+ cursor: pointer;
1741
+ transition: opacity ease 0.15s;
1742
+ user-select: none;
1743
+ touch-action: none;
1744
+ background: var(--background);
1745
+ color: var(--adm-color-white);
1746
+ border-radius: var(--border-radius);
1747
+ z-index: var(--z-index);
1748
+ }
1749
+
1750
+ .adm-floating-panel {
1751
+ --border-radius: 16px;
1752
+ --header-height: 56px;
1753
+ --z-index: var(--adm-floating-panel-z-index, 900);
1754
+ border-top-left-radius: var(--border-radius);
1755
+ border-top-right-radius: var(--border-radius);
1756
+ background: var(--adm-color-white);
1757
+ position: fixed;
1758
+ z-index: var(--z-index);
1759
+ bottom: 0;
1760
+ left: 0;
1761
+ width: 100vw;
1762
+ display: flex;
1763
+ flex-direction: column;
1764
+ touch-action: none;
1765
+ }
1766
+
1767
+ .adm-floating-panel-mask {
1768
+ display: block;
1769
+ width: 100%;
1770
+ height: 100vh;
1771
+ position: absolute;
1772
+ left: 0;
1773
+ top: -100vh;
1774
+ background: transparent;
1775
+ }
1776
+
1777
+ .adm-floating-panel::after {
1778
+ content: '';
1779
+ display: block;
1780
+ position: absolute;
1781
+ bottom: -100vh;
1782
+ height: 100vh;
1783
+ width: 100vw;
1784
+ background: var(--adm-color-white);
1785
+ }
1786
+
1787
+ .adm-floating-panel .adm-floating-panel-header {
1788
+ flex: none;
1789
+ height: var(--header-height);
1790
+ display: flex;
1791
+ justify-content: center;
1792
+ align-items: center;
1793
+ cursor: grab;
1794
+ user-select: none;
1795
+ }
1796
+
1797
+ .adm-floating-panel .adm-floating-panel-header .adm-floating-panel-bar {
1798
+ height: 6px;
1799
+ width: 40px;
1800
+ border-radius: 20px;
1801
+ background: var(--adm-color-light);
1802
+ }
1803
+
1804
+ .adm-floating-panel .adm-floating-panel-content {
1805
+ flex: 1;
1806
+ overflow-y: scroll;
1807
+ }
1808
+
1809
+ .adm-form {
1810
+ --border-inner: solid 2px var(--adm-color-border);
1811
+ --border-top: solid 2px var(--adm-color-border);
1812
+ --border-bottom: solid 2px var(--adm-color-border);
1813
+ ---border-inner: var(--border-inner);
1814
+ ---border-top: var(--border-top);
1815
+ ---border-bottom: var(--border-bottom);
1816
+ }
1817
+
1818
+ .adm-form .adm-list.adm-list {
1819
+ --padding-left: 32px;
1820
+ --padding-right: 24px;
1821
+ --border-inner: var(---border-inner);
1822
+ --border-top: var(---border-top);
1823
+ --border-bottom: var(---border-bottom);
1824
+ }
1825
+
1826
+ .adm-form .adm-form-footer {
1827
+ padding: 40px 24px;
1828
+ }
1829
+
1830
+ .adm-form-list-operation {
1831
+ text-align: center;
1832
+ color: #1677ff;
1833
+ }
1834
+
1835
+ .adm-form-item + .adm-form-item {
1836
+ border-top: none;
1837
+ }
1838
+
1839
+ .adm-form-item-label {
1840
+ display: block;
1841
+ height: 100%;
1842
+ line-height: 1.5;
1843
+ box-sizing: border-box;
1844
+ position: relative;
1845
+ color: var(--adm-color-text-secondary);
1846
+ }
1847
+
1848
+ .adm-form-item-label .adm-form-item-required-asterisk {
1849
+ position: absolute;
1850
+ left: -0.6em;
1851
+ top: 0;
1852
+ font-family: SimSun, sans-serif;
1853
+ color: var(--adm-color-danger);
1854
+ user-select: none;
1855
+ }
1856
+
1857
+ .adm-form-item-label .adm-form-item-required-text {
1858
+ margin-left: 8px;
1859
+ color: var(--adm-color-weak);
1860
+ }
1861
+
1862
+ .adm-form-item-label-help {
1863
+ margin-left: 8px;
1864
+ cursor: pointer;
1865
+ }
1866
+
1867
+ .adm-form-item-child {
1868
+ display: flex;
1869
+ }
1870
+
1871
+ .adm-form-item-child-position-normal {
1872
+ justify-content: normal;
1873
+ }
1874
+
1875
+ .adm-form-item-child-position-normal > * {
1876
+ flex: auto;
1877
+ }
1878
+
1879
+ .adm-form-item-child-position-right {
1880
+ justify-content: flex-end;
1881
+ }
1882
+
1883
+ .adm-form-item-child-position-right > * {
1884
+ flex: none;
1885
+ }
1886
+
1887
+ .adm-form-item-feedback-error {
1888
+ color: var(--adm-color-danger);
1889
+ margin-top: 8px;
1890
+ }
1891
+
1892
+ .adm-form-item-feedback-warning {
1893
+ color: var(--adm-color-warning);
1894
+ margin-top: 8px;
1895
+ }
1896
+
1897
+ .adm-form-item.adm-form-item-hidden {
1898
+ display: none;
1899
+ }
1900
+
1901
+ .adm-form-item.adm-form-item-horizontal.adm-list-item {
1902
+ --align-items: stretch;
1903
+ --prefix-width: 6.8em;
1904
+ }
1905
+
1906
+ .adm-form-item.adm-form-item-horizontal .adm-list-item-content-prefix {
1907
+ padding-top: 24px;
1908
+ padding-bottom: 24px;
1909
+ }
1910
+
1911
+ .adm-form-item.adm-form-item-horizontal .adm-list-item-content-extra {
1912
+ align-self: center;
1913
+ }
1914
+
1915
+ .adm-form-item.adm-form-item-vertical .adm-form-item-label {
1916
+ font-size: var(--adm-font-size-7);
1917
+ margin-bottom: 8px;
1918
+ }
1919
+
1920
+ .adm-popover {
1921
+ --z-index: var(--adm-popover-z-index, 1030);
1922
+ --background: #ffffff;
1923
+ --arrow-size: 16px;
1924
+ --content-padding: 16px 24px;
1925
+ color: #333333;
1926
+ position: absolute;
1927
+ top: 0;
1928
+ left: 0;
1929
+ z-index: var(--z-index);
1930
+ white-space: normal;
1931
+ text-align: left;
1932
+ cursor: auto;
1933
+ user-select: text;
1934
+ animation: none;
1935
+ }
1936
+
1937
+ .adm-popover.adm-popover-dark {
1938
+ --background: rgba(0, 0, 0, 0.75);
1939
+ --adm-color-text: #ffffff;
1940
+ color: #ffffff;
1941
+ }
1942
+
1943
+ .adm-popover.adm-popover-dark .adm-popover-inner {
1944
+ box-shadow: none;
1945
+ }
1946
+
1947
+ .adm-popover::after {
1948
+ position: absolute;
1949
+ background: rgba(255, 255, 255, 0.01);
1950
+ content: '';
1951
+ }
1952
+
1953
+ .adm-popover-hidden {
1954
+ display: none;
1955
+ }
1956
+
1957
+ .adm-popover-inner {
1958
+ background-color: var(--background);
1959
+ background-clip: padding-box;
1960
+ border-radius: 16px;
1961
+ box-shadow: 0 0 60px 0 rgba(51, 51, 51, 0.2);
1962
+ font-size: var(--adm-font-size-7);
1963
+ width: max-content;
1964
+ min-width: 64px;
1965
+ max-width: calc(100vw - 48px);
1966
+ overflow-y: hidden;
1967
+ }
1968
+
1969
+ .adm-popover-inner-content {
1970
+ padding: var(--content-padding);
1971
+ }
1972
+
1973
+ .adm-popover-arrow {
1974
+ position: absolute;
1975
+ display: block;
1976
+ height: var(--arrow-size);
1977
+ width: var(--arrow-size);
1978
+ overflow: visible;
1979
+ background: transparent;
1980
+ }
1981
+
1982
+ .adm-popover-arrow-icon {
1983
+ display: block;
1984
+ height: var(--arrow-size);
1985
+ width: 30px;
1986
+ position: absolute;
1987
+ top: 50%;
1988
+ left: 50%;
1989
+ transform: translate(-50%, -50%) rotate(var(--arrow-icon-rotate));
1990
+ }
1991
+
1992
+ .adm-popover .adm-popover-arrow {
1993
+ color: var(--background);
1994
+ }
1995
+
1996
+ .adm-popover-menu {
1997
+ --border-color: #eeeeee;
1998
+ }
1999
+
2000
+ .adm-popover-menu.adm-popover {
2001
+ --content-padding: 0;
2002
+ }
2003
+
2004
+ .adm-popover-menu-list {
2005
+ overflow: hidden;
2006
+ min-width: 240px;
2007
+ }
2008
+
2009
+ .adm-popover-menu-list-inner {
2010
+ margin-top: -2px;
2011
+ }
2012
+
2013
+ .adm-popover-menu-item {
2014
+ display: flex;
2015
+ padding-left: 40px;
2016
+ justify-content: flex-start;
2017
+ align-items: center;
2018
+ position: relative;
2019
+ }
2020
+
2021
+ .adm-popover-menu-item-icon {
2022
+ flex: none;
2023
+ padding-right: 16px;
2024
+ font-size: 40px;
2025
+ }
2026
+
2027
+ .adm-popover-menu-item-text {
2028
+ flex: auto;
2029
+ padding: 28px 40px 28px 0;
2030
+ border-top: solid 2px var(--border-color);
2031
+ }
2032
+
2033
+ .adm-popover-menu-item-disabled {
2034
+ cursor: not-allowed;
2035
+ }
2036
+
2037
+ .adm-popover-menu-item-disabled > * {
2038
+ opacity: 0.4;
2039
+ }
2040
+
2041
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
2042
+ background-color: var(--border-color);
2043
+ }
2044
+
2045
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
2046
+ content: ' ';
2047
+ display: block;
2048
+ position: absolute;
2049
+ width: 100%;
2050
+ bottom: -2px;
2051
+ left: 0;
2052
+ border-bottom: solid 2px var(--border-color);
2053
+ }
2054
+
2055
+ .adm-popover.adm-popover-dark.adm-popover-menu {
2056
+ --border-color: #333333;
2057
+ --background: rgba(0, 0, 0, 0.9);
2058
+ }
2059
+
2060
+ .adm-grid {
2061
+ --gap: 0;
2062
+ --gap-horizontal: var(--gap);
2063
+ --gap-vertical: var(--gap);
2064
+ display: grid;
2065
+ grid-gap: 20px;
2066
+ column-gap: var(--gap-horizontal);
2067
+ row-gap: var(--gap-vertical);
2068
+ grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
2069
+ align-items: stretch;
2070
+ }
2071
+
2072
+ .adm-grid-item {
2073
+ grid-column-end: span var(--item-span);
2074
+ }
2075
+
2076
+ .adm-image-viewer-content {
2077
+ width: 100vw;
2078
+ height: 100vh;
2079
+ touch-action: none;
2080
+ user-select: none;
2081
+ }
2082
+
2083
+ .adm-image-viewer-footer {
2084
+ position: absolute;
2085
+ width: 100%;
2086
+ bottom: 0;
2087
+ z-index: 1;
2088
+ }
2089
+
2090
+ .adm-image-viewer-slides {
2091
+ height: 100%;
2092
+ position: relative;
2093
+ z-index: 1;
2094
+ cursor: grab;
2095
+ touch-action: none;
2096
+ }
2097
+
2098
+ .adm-image-viewer-slides-inner {
2099
+ height: 100%;
2100
+ white-space: nowrap;
2101
+ }
2102
+
2103
+ .adm-image-viewer-slides-inner > * {
2104
+ margin-right: 32px;
2105
+ }
2106
+
2107
+ .adm-image-viewer-slide {
2108
+ position: relative;
2109
+ width: 100%;
2110
+ height: 100%;
2111
+ display: inline-block;
2112
+ }
2113
+
2114
+ .adm-image-viewer-control {
2115
+ position: absolute;
2116
+ z-index: 1;
2117
+ left: 0;
2118
+ top: 0;
2119
+ width: 100%;
2120
+ height: 100%;
2121
+ cursor: grab;
2122
+ touch-action: none;
2123
+ }
2124
+
2125
+ .adm-image-viewer-image-wrapper {
2126
+ width: 100%;
2127
+ height: 100%;
2128
+ display: flex;
2129
+ justify-content: center;
2130
+ align-items: center;
2131
+ }
2132
+
2133
+ .adm-image-viewer-image-wrapper img {
2134
+ display: block;
2135
+ max-width: 100%;
2136
+ max-height: 100%;
2137
+ }
2138
+
2139
+ .adm-image-viewer-indicator {
2140
+ position: absolute;
2141
+ z-index: 2;
2142
+ left: 50%;
2143
+ top: 24px;
2144
+ transform: translateX(-50%);
2145
+ color: #e6e6e6;
2146
+ font-size: var(--adm-font-size-6);
2147
+ }
2148
+
2149
+ .adm-spin-loading {
2150
+ --color: var(--adm-color-weak);
2151
+ --size: 64px;
2152
+ width: var(--size);
2153
+ height: var(--size);
2154
+ }
2155
+
2156
+ .adm-spin-loading-svg {
2157
+ width: 100%;
2158
+ height: 100%;
2159
+ animation: adm-spin-loading-rotate 0.8s infinite linear;
2160
+ }
2161
+
2162
+ .adm-spin-loading-svg > .adm-spin-loading-fill {
2163
+ stroke: var(--color);
2164
+ }
2165
+
2166
+ @keyframes adm-spin-loading-rotate {
2167
+ from {
2168
+ transform: rotate(0deg);
2169
+ }
2170
+
2171
+ to {
2172
+ transform: rotate(360deg);
2173
+ }
2174
+ }
2175
+
2176
+ .adm-space-item {
2177
+ flex: none;
2178
+ }
2179
+
2180
+ .adm-space {
2181
+ display: inline-flex;
2182
+ --gap: 16px;
2183
+ --gap-vertical: var(--gap);
2184
+ --gap-horizontal: var(--gap);
2185
+ }
2186
+
2187
+ .adm-space-vertical {
2188
+ flex-direction: column;
2189
+ }
2190
+
2191
+ .adm-space-vertical > .adm-space-item {
2192
+ margin-bottom: var(--gap-vertical);
2193
+ }
2194
+
2195
+ .adm-space-vertical > .adm-space-item:last-child {
2196
+ margin-bottom: 0;
2197
+ }
2198
+
2199
+ .adm-space-horizontal {
2200
+ flex-direction: row;
2201
+ }
2202
+
2203
+ .adm-space-horizontal > .adm-space-item {
2204
+ margin-right: var(--gap-horizontal);
2205
+ }
2206
+
2207
+ .adm-space-horizontal > .adm-space-item:last-child {
2208
+ margin-right: 0;
2209
+ }
2210
+
2211
+ .adm-space-horizontal.adm-space-wrap {
2212
+ flex-wrap: wrap;
2213
+ margin-bottom: calc(var(--gap-vertical) * -1);
2214
+ }
2215
+
2216
+ .adm-space-horizontal.adm-space-wrap > .adm-space-item {
2217
+ padding-bottom: var(--gap-vertical);
2218
+ }
2219
+
2220
+ .adm-space.adm-space-block {
2221
+ display: flex;
2222
+ }
2223
+
2224
+ .adm-space-align-center {
2225
+ align-items: center;
2226
+ }
2227
+
2228
+ .adm-space-align-start {
2229
+ align-items: flex-start;
2230
+ }
2231
+
2232
+ .adm-space-align-end {
2233
+ align-items: flex-end;
2234
+ }
2235
+
2236
+ .adm-space-align-baseline {
2237
+ align-items: baseline;
2238
+ }
2239
+
2240
+ .adm-space-justify-center {
2241
+ justify-content: center;
2242
+ }
2243
+
2244
+ .adm-space-justify-start {
2245
+ justify-content: flex-start;
2246
+ }
2247
+
2248
+ .adm-space-justify-end {
2249
+ justify-content: flex-end;
2250
+ }
2251
+
2252
+ .adm-space-justify-between {
2253
+ justify-content: space-between;
2254
+ }
2255
+
2256
+ .adm-space-justify-around {
2257
+ justify-content: space-around;
2258
+ }
2259
+
2260
+ .adm-space-justify-evenly {
2261
+ justify-content: space-evenly;
2262
+ }
2263
+
2264
+ .adm-space-justify-stretch {
2265
+ justify-content: stretch;
2266
+ }
2267
+
2268
+ .adm-image-uploader {
2269
+ --cell-size: 160px;
2270
+ }
2271
+
2272
+ .adm-image-uploader-space {
2273
+ --gap: 24px;
2274
+ }
2275
+
2276
+ .adm-image-uploader-cell {
2277
+ position: relative;
2278
+ width: var(--cell-size);
2279
+ height: var(--cell-size);
2280
+ border-radius: 8px;
2281
+ overflow: hidden;
2282
+ }
2283
+
2284
+ .adm-image-uploader-cell-fail {
2285
+ border: red solid 2px;
2286
+ box-sizing: border-box;
2287
+ }
2288
+
2289
+ .adm-image-uploader-cell-delete {
2290
+ position: absolute;
2291
+ top: 0;
2292
+ right: 0;
2293
+ width: 28px;
2294
+ height: 28px;
2295
+ background-color: rgba(0, 0, 0, 0.7);
2296
+ border-radius: 0 0 0 24px;
2297
+ font-size: 16px;
2298
+ color: var(--adm-color-white);
2299
+ cursor: pointer;
2300
+ }
2301
+
2302
+ .adm-image-uploader-cell-delete-icon {
2303
+ position: absolute;
2304
+ left: 8px;
2305
+ top: 6px;
2306
+ }
2307
+
2308
+ .adm-image-uploader-cell-mask {
2309
+ position: absolute;
2310
+ top: 0;
2311
+ right: 0;
2312
+ bottom: 0;
2313
+ left: 0;
2314
+ color: var(--adm-color-white);
2315
+ background-color: rgba(50, 50, 51, 0.88);
2316
+ }
2317
+
2318
+ .adm-image-uploader-cell-loading {
2319
+ display: flex;
2320
+ flex-direction: column;
2321
+ align-items: center;
2322
+ justify-content: center;
2323
+ height: 100%;
2324
+ box-sizing: border-box;
2325
+ padding-top: 16px;
2326
+ }
2327
+
2328
+ .adm-image-uploader-cell-mask-message {
2329
+ display: inline-block;
2330
+ padding: 12px 8px;
2331
+ font-size: var(--adm-font-size-4);
2332
+ }
2333
+
2334
+ .adm-image-uploader-cell-image {
2335
+ width: var(--cell-size);
2336
+ height: var(--cell-size);
2337
+ }
2338
+
2339
+ .adm-image-uploader-upload-button-wrap {
2340
+ position: relative;
2341
+ }
2342
+
2343
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button {
2344
+ background-color: var(--adm-color-box);
2345
+ text-align: center;
2346
+ line-height: var(--cell-size);
2347
+ display: block;
2348
+ }
2349
+
2350
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button-icon {
2351
+ color: #999999;
2352
+ font-size: 64px;
2353
+ }
2354
+
2355
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-input {
2356
+ cursor: pointer;
2357
+ position: absolute;
2358
+ opacity: 0;
2359
+ left: 0;
2360
+ top: 0;
2361
+ width: 100%;
2362
+ height: 100%;
2363
+ border-radius: 8px;
2364
+ }
2365
+
2366
+ .adm-index-bar {
2367
+ --color: var(--adm-color-text);
2368
+ overflow: hidden;
2369
+ height: 100%;
2370
+ position: relative;
2371
+ background-color: var(--adm-color-white);
2372
+ --sticky-offset-top: 0;
2373
+ }
2374
+
2375
+ .adm-index-bar-body {
2376
+ overflow: scroll;
2377
+ height: 100%;
2378
+ width: 100%;
2379
+ }
2380
+
2381
+ .adm-index-bar-body::-webkit-scrollbar {
2382
+ display: none;
2383
+ }
2384
+
2385
+ .adm-index-bar-anchor-title {
2386
+ display: flex;
2387
+ flex-direction: column;
2388
+ justify-content: center;
2389
+ height: 70px;
2390
+ padding: 0 24px;
2391
+ color: var(--adm-color-weak);
2392
+ font-size: var(--adm-font-size-main);
2393
+ background-color: var(--adm-color-box);
2394
+ }
2395
+
2396
+ .adm-index-bar-sidebar {
2397
+ position: absolute;
2398
+ top: 50%;
2399
+ right: 0;
2400
+ transform: translateY(-50%);
2401
+ z-index: 910;
2402
+ overflow: visible;
2403
+ color: var(--adm-color-weak);
2404
+ font-size: var(--adm-font-size-4);
2405
+ user-select: none;
2406
+ touch-action: none;
2407
+ }
2408
+
2409
+ .adm-index-bar-sidebar-bubble {
2410
+ position: absolute;
2411
+ top: 50%;
2412
+ right: 84px;
2413
+ width: 94px;
2414
+ height: 94px;
2415
+ color: var(--adm-color-white);
2416
+ font-size: 50px;
2417
+ line-height: 94px;
2418
+ text-align: center;
2419
+ background: var(--adm-color-light);
2420
+ border-radius: 50%;
2421
+ transform: translateY(-50%);
2422
+ }
2423
+
2424
+ .adm-index-bar-sidebar-row {
2425
+ cursor: pointer;
2426
+ width: auto;
2427
+ text-align: right;
2428
+ position: relative;
2429
+ padding: 0 24px;
2430
+ }
2431
+
2432
+ .adm-index-bar-sidebar-row > * {
2433
+ pointer-events: none;
2434
+ }
2435
+
2436
+ .adm-index-bar-sidebar-item {
2437
+ display: inline-flex;
2438
+ width: 32px;
2439
+ height: 32px;
2440
+ line-height: 32px;
2441
+ justify-content: center;
2442
+ align-items: center;
2443
+ }
2444
+
2445
+ .adm-index-bar-sidebar-item-active {
2446
+ color: var(--adm-color-white);
2447
+ background-color: var(--adm-color-primary);
2448
+ border-radius: 50%;
2449
+ }
2450
+
2451
+ .adm-index-bar-sidebar-interacting {
2452
+ width: 100%;
2453
+ }
2454
+
2455
+ .adm-index-bar-sticky .adm-index-bar-anchor-title {
2456
+ position: sticky;
2457
+ z-index: 900;
2458
+ top: var(--sticky-offset-top);
2459
+ left: 0;
2460
+ }
2461
+
2462
+ .adm-infinite-scroll {
2463
+ color: var(--adm-color-weak);
2464
+ padding: 36px;
2465
+ display: flex;
2466
+ justify-content: center;
2467
+ align-items: center;
2468
+ font-size: var(--adm-font-size-main);
2469
+ }
2470
+
2471
+ .adm-infinite-scroll-failed-text {
2472
+ display: inline-block;
2473
+ margin-right: 16px;
2474
+ }
2475
+
2476
+ .adm-input {
2477
+ --font-size: var(--adm-font-size-9);
2478
+ --color: var(--adm-color-text);
2479
+ --placeholder-color: var(--adm-color-light);
2480
+ --text-align: left;
2481
+ --background-color: transparent;
2482
+ display: flex;
2483
+ justify-content: flex-start;
2484
+ align-items: center;
2485
+ width: 100%;
2486
+ max-width: 100%;
2487
+ max-height: 100%;
2488
+ min-height: 48px;
2489
+ background-color: var(--background-color);
2490
+ }
2491
+
2492
+ .adm-input-disabled {
2493
+ opacity: 0.4;
2494
+ cursor: not-allowed;
2495
+ }
2496
+
2497
+ .adm-input-element {
2498
+ flex: auto;
2499
+ display: inline-block;
2500
+ box-sizing: border-box;
2501
+ width: 100%;
2502
+ max-width: 100%;
2503
+ max-height: 100%;
2504
+ padding: 0;
2505
+ margin: 0;
2506
+ color: var(--color);
2507
+ font-size: var(--font-size);
2508
+ line-height: 1.5;
2509
+ background: transparent;
2510
+ border: 0;
2511
+ outline: none;
2512
+ appearance: none;
2513
+ min-height: 1.5em;
2514
+ text-align: var(--text-align);
2515
+ }
2516
+
2517
+ .adm-input-element::placeholder {
2518
+ color: var(--placeholder-color);
2519
+ font-family: inherit;
2520
+ }
2521
+
2522
+ .adm-input-element:-webkit-autofill {
2523
+ background-color: transparent;
2524
+ }
2525
+
2526
+ .adm-input-element:read-only {
2527
+ cursor: default;
2528
+ }
2529
+
2530
+ .adm-input-element:invalid {
2531
+ box-shadow: none;
2532
+ }
2533
+
2534
+ .adm-input-element::-ms-clear {
2535
+ display: none;
2536
+ }
2537
+
2538
+ .adm-input-element::-webkit-search-cancel-button {
2539
+ display: none;
2540
+ }
2541
+
2542
+ .adm-input-element::-webkit-search-decoration {
2543
+ display: none;
2544
+ }
2545
+
2546
+ .adm-input-element:disabled {
2547
+ opacity: 1;
2548
+ }
2549
+
2550
+ .adm-input-element[type='date'],
2551
+ .adm-input-element[type='time'],
2552
+ .adm-input-element[type='datetime-local'] {
2553
+ min-height: 1.5em;
2554
+ }
2555
+
2556
+ .adm-input-element[type='search'] {
2557
+ -webkit-appearance: none;
2558
+ }
2559
+
2560
+ .adm-input-element[readonly] {
2561
+ pointer-events: none;
2562
+ }
2563
+
2564
+ .adm-input-clear {
2565
+ flex: none;
2566
+ margin-left: 16px;
2567
+ color: var(--adm-color-light);
2568
+ padding: 8px;
2569
+ cursor: pointer;
2570
+ }
2571
+
2572
+ .adm-input-clear:active {
2573
+ color: var(--adm-color-weak);
2574
+ }
2575
+
2576
+ .adm-input-clear .antd-mobile-icon {
2577
+ display: block;
2578
+ font-size: var(--adm-font-size-7);
2579
+ }
2580
+
2581
+ .adm-jumbo-tabs {
2582
+ --gap: 16px;
2583
+ position: relative;
2584
+ min-width: 0;
2585
+ }
2586
+
2587
+ .adm-jumbo-tabs-header {
2588
+ position: relative;
2589
+ border-bottom: solid 2px var(--adm-color-border);
2590
+ }
2591
+
2592
+ .adm-jumbo-tabs-tab-list {
2593
+ display: flex;
2594
+ flex-wrap: nowrap;
2595
+ justify-content: flex-start;
2596
+ align-items: center;
2597
+ position: relative;
2598
+ overflow-x: scroll;
2599
+ padding: 0 var(--gap);
2600
+ scrollbar-width: none;
2601
+ }
2602
+
2603
+ .adm-jumbo-tabs-tab-list::-webkit-scrollbar {
2604
+ display: none;
2605
+ }
2606
+
2607
+ .adm-jumbo-tabs-tab-wrapper {
2608
+ flex: auto;
2609
+ padding: 0 calc(var(--gap) / 2);
2610
+ text-align: center;
2611
+ }
2612
+
2613
+ .adm-jumbo-tabs-tab {
2614
+ display: flex;
2615
+ flex-direction: column;
2616
+ align-items: center;
2617
+ position: relative;
2618
+ width: min-content;
2619
+ margin: 0 auto;
2620
+ padding: 24px 0;
2621
+ cursor: pointer;
2622
+ font-size: var(--adm-font-size-9);
2623
+ white-space: nowrap;
2624
+ }
2625
+
2626
+ .adm-jumbo-tabs-tab-title {
2627
+ line-height: 48px;
2628
+ padding: 0 8px;
2629
+ }
2630
+
2631
+ .adm-jumbo-tabs-tab-description {
2632
+ width: min-content;
2633
+ padding: 0 16px;
2634
+ border-radius: 20px;
2635
+ color: var(--adm-color-weak);
2636
+ font-size: var(--adm-font-size-main);
2637
+ background-color: var(--adm-color-box);
2638
+ }
2639
+
2640
+ .adm-jumbo-tabs-tab-active {
2641
+ color: var(--adm-color-primary);
2642
+ }
2643
+
2644
+ .adm-jumbo-tabs-tab-active .adm-jumbo-tabs-tab-description {
2645
+ color: var(--adm-color-white);
2646
+ background-color: var(--adm-color-primary);
2647
+ }
2648
+
2649
+ .adm-jumbo-tabs-tab-disabled {
2650
+ opacity: 0.5;
2651
+ cursor: not-allowed;
2652
+ }
2653
+
2654
+ .adm-jumbo-tabs-content {
2655
+ padding: 24px;
2656
+ }
2657
+
2658
+ .adm-modal {
2659
+ --z-index: var(--adm-modal-z-index, 1000);
2660
+ ---z-index: var(--z-index);
2661
+ }
2662
+
2663
+ .adm-modal .adm-center-popup {
2664
+ --z-index: var(---z-index);
2665
+ }
2666
+
2667
+ .adm-modal-body {
2668
+ width: 100%;
2669
+ max-height: 70vh;
2670
+ font-size: var(--adm-font-size-6);
2671
+ overflow: hidden;
2672
+ display: flex;
2673
+ flex-direction: column;
2674
+ }
2675
+
2676
+ .adm-modal-body > * {
2677
+ flex: none;
2678
+ }
2679
+
2680
+ .adm-modal-body > .adm-modal-content {
2681
+ flex: auto;
2682
+ }
2683
+
2684
+ .adm-modal-body:not(.adm-modal-with-image) {
2685
+ padding-top: 40px;
2686
+ }
2687
+
2688
+ .adm-modal-image-container {
2689
+ margin-bottom: 24px;
2690
+ max-height: 40vh;
2691
+ overflow-y: scroll;
2692
+ }
2693
+
2694
+ .adm-modal-header {
2695
+ margin-bottom: 16px;
2696
+ padding: 0 24px;
2697
+ }
2698
+
2699
+ .adm-modal-title {
2700
+ margin-bottom: 16px;
2701
+ padding: 0 24px;
2702
+ font-weight: bold;
2703
+ font-size: var(--adm-font-size-10);
2704
+ line-height: 50px;
2705
+ text-align: center;
2706
+ }
2707
+
2708
+ .adm-modal-content {
2709
+ padding: 0 24px 24px;
2710
+ max-height: 70vh;
2711
+ overflow-x: hidden;
2712
+ overflow-y: auto;
2713
+ font-size: var(--adm-font-size-7);
2714
+ line-height: 1.4;
2715
+ color: var(--adm-color-text);
2716
+ }
2717
+
2718
+ .adm-modal-close {
2719
+ position: absolute;
2720
+ right: 16px;
2721
+ top: 16px;
2722
+ color: var(--adm-color-weak);
2723
+ padding: 8px;
2724
+ font-size: var(--adm-font-size-10);
2725
+ }
2726
+
2727
+ .adm-modal-footer {
2728
+ user-select: none;
2729
+ padding: 16px 24px 24px;
2730
+ }
2731
+
2732
+ .adm-modal-footer-empty {
2733
+ padding: 0;
2734
+ height: 16px;
2735
+ }
2736
+
2737
+ .adm-modal-footer.adm-space {
2738
+ --gap-vertical: 40px;
2739
+ }
2740
+
2741
+ .adm-modal-footer .adm-modal-button {
2742
+ font-size: var(--adm-font-size-10);
2743
+ line-height: 50px;
2744
+ }
2745
+
2746
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary) {
2747
+ padding-top: 0;
2748
+ padding-bottom: 0;
2749
+ }
2750
+
2751
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary)::before {
2752
+ display: none;
2753
+ }
2754
+
2755
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary):active {
2756
+ opacity: 0.7;
2757
+ }
2758
+
2759
+ .adm-nav-bar {
2760
+ --height: 90px;
2761
+ --border-bottom: none;
2762
+ display: flex;
2763
+ align-items: center;
2764
+ height: var(--height);
2765
+ border-bottom: var(--border-bottom);
2766
+ padding: 0 24px;
2767
+ white-space: nowrap;
2768
+ }
2769
+
2770
+ .adm-nav-bar-left,
2771
+ .adm-nav-bar-right {
2772
+ flex: 1;
2773
+ }
2774
+
2775
+ .adm-nav-bar-title {
2776
+ flex: auto;
2777
+ text-align: center;
2778
+ overflow: hidden;
2779
+ text-overflow: ellipsis;
2780
+ }
2781
+
2782
+ .adm-nav-bar-back {
2783
+ display: flex;
2784
+ align-items: center;
2785
+ margin-right: 32px;
2786
+ padding: 12px 0;
2787
+ cursor: pointer;
2788
+ }
2789
+
2790
+ .adm-nav-bar-back-arrow {
2791
+ font-size: 48px;
2792
+ margin-right: 8px;
2793
+ }
2794
+
2795
+ .adm-nav-bar-left {
2796
+ font-size: var(--adm-font-size-7);
2797
+ display: flex;
2798
+ justify-content: flex-start;
2799
+ align-items: center;
2800
+ }
2801
+
2802
+ .adm-nav-bar-title {
2803
+ justify-content: center;
2804
+ white-space: nowrap;
2805
+ font-size: var(--adm-font-size-10);
2806
+ padding: 0 24px;
2807
+ }
2808
+
2809
+ .adm-nav-bar-right {
2810
+ text-align: right;
2811
+ }
2812
+
2813
+ .adm-notice-bar {
2814
+ --background-color: #ababab;
2815
+ --border-color: #999999;
2816
+ --text-color: var(--adm-color-white);
2817
+ --font-size: var(--adm-font-size-7);
2818
+ --icon-font-size: var(--adm-font-size-10);
2819
+ --height: 76px;
2820
+ height: var(--height);
2821
+ box-sizing: border-box;
2822
+ font-size: var(--font-size);
2823
+ line-height: var(--height);
2824
+ padding: 0 24px;
2825
+ display: flex;
2826
+ align-items: center;
2827
+ justify-content: space-between;
2828
+ border: solid 2px var(--border-color);
2829
+ border-left: none;
2830
+ border-right: none;
2831
+ background-color: var(--background-color);
2832
+ color: var(--text-color);
2833
+ }
2834
+
2835
+ .adm-notice-bar > span[role='img'] {
2836
+ color: var(--text-color);
2837
+ }
2838
+
2839
+ .adm-notice-bar.adm-notice-bar-alert {
2840
+ --background-color: #fff9ed;
2841
+ --border-color: #fff3e9;
2842
+ --text-color: #ff6010;
2843
+ }
2844
+
2845
+ .adm-notice-bar.adm-notice-bar-error {
2846
+ --background-color: #ff3b30;
2847
+ --border-color: #d9281e;
2848
+ --text-color: #ffffff;
2849
+ }
2850
+
2851
+ .adm-notice-bar.adm-notice-bar-info {
2852
+ --background-color: #d0e4ff;
2853
+ --border-color: #bcd8ff;
2854
+ --text-color: #1677ff;
2855
+ }
2856
+
2857
+ .adm-notice-bar .adm-notice-bar-left {
2858
+ flex-shrink: 0;
2859
+ margin-right: 16px;
2860
+ font-size: var(--icon-font-size);
2861
+ line-height: var(--height);
2862
+ }
2863
+
2864
+ .adm-notice-bar .adm-notice-bar-content {
2865
+ flex: 1;
2866
+ overflow: hidden;
2867
+ position: relative;
2868
+ height: 100%;
2869
+ display: flex;
2870
+ align-items: center;
2871
+ }
2872
+
2873
+ .adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {
2874
+ width: auto;
2875
+ transition-timing-function: linear;
2876
+ position: absolute;
2877
+ white-space: nowrap;
2878
+ }
2879
+
2880
+ .adm-notice-bar .adm-notice-bar-right {
2881
+ flex-shrink: 0;
2882
+ margin-left: 24px;
2883
+ }
2884
+
2885
+ .adm-notice-bar-close-icon {
2886
+ font-size: var(--adm-font-size-10);
2887
+ }
2888
+
2889
+ .adm-number-keyboard-main {
2890
+ display: flex;
2891
+ flex-wrap: wrap;
2892
+ flex: 1;
2893
+ }
2894
+
2895
+ .adm-number-keyboard-main.confirmed-style .sign-key {
2896
+ background-color: var(--adm-color-white);
2897
+ }
2898
+
2899
+ .adm-number-keyboard-popup.adm-popup {
2900
+ width: 100%;
2901
+ user-select: none;
2902
+ z-index: 1050;
2903
+ }
2904
+
2905
+ .adm-number-keyboard-popup.adm-popup .adm-popup-body {
2906
+ background-color: var(--adm-color-box);
2907
+ }
2908
+
2909
+ .adm-number-keyboard-wrapper {
2910
+ display: flex;
2911
+ }
2912
+
2913
+ .adm-number-keyboard-header {
2914
+ height: 68px;
2915
+ line-height: 68px;
2916
+ border-top: solid 2px var(--adm-color-border);
2917
+ display: flex;
2918
+ justify-content: center;
2919
+ align-items: center;
2920
+ padding: 0 24px;
2921
+ color: var(--adm-color-weak);
2922
+ background-color: var(--adm-color-white);
2923
+ }
2924
+
2925
+ .adm-number-keyboard-header-close-button {
2926
+ padding: 0 24px;
2927
+ font-size: 32px;
2928
+ }
2929
+
2930
+ .adm-number-keyboard-header.with-title {
2931
+ justify-content: space-between;
2932
+ }
2933
+
2934
+ .adm-number-keyboard-header.with-title .adm-number-keyboard-header-close-button {
2935
+ padding-right: 0;
2936
+ }
2937
+
2938
+ .adm-number-keyboard-footer {
2939
+ background: var(--adm-color-white);
2940
+ }
2941
+
2942
+ .adm-number-keyboard-title {
2943
+ white-space: nowrap;
2944
+ overflow: hidden;
2945
+ text-overflow: ellipsis;
2946
+ }
2947
+
2948
+ .adm-number-keyboard-confirm {
2949
+ width: 25%;
2950
+ }
2951
+
2952
+ .adm-number-keyboard-key {
2953
+ flex: 1 33.33%;
2954
+ position: relative;
2955
+ display: flex;
2956
+ align-items: center;
2957
+ justify-content: center;
2958
+ height: 96px;
2959
+ font-size: 44px;
2960
+ box-sizing: border-box;
2961
+ border: solid 2px var(--adm-color-border);
2962
+ border-bottom: none;
2963
+ border-left: none;
2964
+ }
2965
+
2966
+ .adm-number-keyboard-key:nth-child(3n),
2967
+ .adm-number-keyboard-key:last-child {
2968
+ border-right: none;
2969
+ }
2970
+
2971
+ .adm-number-keyboard-key::before {
2972
+ position: absolute;
2973
+ top: 50%;
2974
+ left: 50%;
2975
+ width: 100%;
2976
+ height: 100%;
2977
+ background-color: #000;
2978
+ border: inherit;
2979
+ border-color: #000;
2980
+ border-radius: inherit;
2981
+ transform: translate(-50%, -50%);
2982
+ opacity: 0;
2983
+ content: ' ';
2984
+ box-sizing: content-box;
2985
+ }
2986
+
2987
+ .adm-number-keyboard-key.mid-key {
2988
+ flex-basis: 66.67%;
2989
+ }
2990
+
2991
+ .adm-number-keyboard-key.sign-key:active::before {
2992
+ opacity: 0.1;
2993
+ }
2994
+
2995
+ .adm-number-keyboard-key.extra-key {
2996
+ border-left: solid 2px var(--adm-color-border);
2997
+ border-right: none;
2998
+ }
2999
+
3000
+ .adm-number-keyboard-key.extra-key,
3001
+ .adm-number-keyboard-key.number-key {
3002
+ background-color: var(--adm-color-white);
3003
+ }
3004
+
3005
+ .adm-number-keyboard-key.extra-key:active::before,
3006
+ .adm-number-keyboard-key.number-key:active::before {
3007
+ opacity: 0.1;
3008
+ }
3009
+
3010
+ .adm-number-keyboard-key.ok-key {
3011
+ background-color: var(--adm-color-primary);
3012
+ color: var(--adm-color-white);
3013
+ height: 288px;
3014
+ font-size: 32px;
3015
+ border: none;
3016
+ }
3017
+
3018
+ .adm-number-keyboard-bs-key {
3019
+ height: 40px;
3020
+ }
3021
+
3022
+ .adm-page-indicator {
3023
+ display: flex;
3024
+ width: auto;
3025
+ --dot-color: rgba(0, 0, 0, 0.2);
3026
+ --active-dot-color: var(--adm-color-primary);
3027
+ --dot-size: 6px;
3028
+ --active-dot-size: 26px;
3029
+ --dot-border-radius: 2px;
3030
+ --active-dot-border-radius: var(--dot-border-radius);
3031
+ --dot-spacing: 6px;
3032
+ }
3033
+
3034
+ .adm-page-indicator-dot {
3035
+ display: block;
3036
+ width: var(--dot-size);
3037
+ height: var(--dot-size);
3038
+ border-radius: var(--dot-border-radius);
3039
+ background: var(--dot-color);
3040
+ }
3041
+
3042
+ .adm-page-indicator-dot:last-child {
3043
+ margin-right: 0;
3044
+ }
3045
+
3046
+ .adm-page-indicator-dot-active {
3047
+ border-radius: var(--active-dot-border-radius);
3048
+ background: var(--active-dot-color);
3049
+ }
3050
+
3051
+ .adm-page-indicator-color-white {
3052
+ --active-dot-color: var(--adm-color-white);
3053
+ }
3054
+
3055
+ .adm-page-indicator-horizontal {
3056
+ flex-direction: row;
3057
+ }
3058
+
3059
+ .adm-page-indicator-horizontal .adm-page-indicator-dot {
3060
+ margin-right: var(--dot-spacing);
3061
+ }
3062
+
3063
+ .adm-page-indicator-horizontal .adm-page-indicator-dot-active {
3064
+ width: var(--active-dot-size);
3065
+ }
3066
+
3067
+ .adm-page-indicator-vertical {
3068
+ flex-direction: column;
3069
+ }
3070
+
3071
+ .adm-page-indicator-vertical .adm-page-indicator-dot {
3072
+ margin-bottom: var(--dot-spacing);
3073
+ }
3074
+
3075
+ .adm-page-indicator-vertical .adm-page-indicator-dot-active {
3076
+ height: var(--active-dot-size);
3077
+ }
3078
+
3079
+ .adm-passcode-input {
3080
+ position: relative;
3081
+ display: inline-block;
3082
+ --cell-size: 80px;
3083
+ --cell-gap: 12px;
3084
+ --dot-size: 20px;
3085
+ --border-color: #e5e5e5;
3086
+ --border-radius: 16px;
3087
+ }
3088
+
3089
+ .adm-passcode-input-cell-container {
3090
+ display: inline-flex;
3091
+ vertical-align: top;
3092
+ }
3093
+
3094
+ .adm-passcode-input-cell {
3095
+ flex: none;
3096
+ display: flex;
3097
+ align-items: center;
3098
+ justify-content: center;
3099
+ box-sizing: border-box;
3100
+ font-size: var(--adm-font-size-10);
3101
+ width: var(--cell-size);
3102
+ height: var(--cell-size);
3103
+ background: var(--adm-color-white);
3104
+ }
3105
+
3106
+ .adm-passcode-input:not(.seperated) {
3107
+ border-radius: var(--border-radius);
3108
+ overflow: hidden;
3109
+ border: 2px solid var(--border-color);
3110
+ }
3111
+
3112
+ .adm-passcode-input:not(.seperated) .adm-passcode-input-cell:not(:last-child) {
3113
+ border-right: 2px solid var(--border-color);
3114
+ }
3115
+
3116
+ .adm-passcode-input:not(.seperated).focused {
3117
+ border-color: var(--adm-color-primary);
3118
+ box-shadow: 0 0 4px 0 var(--adm-color-primary);
3119
+ outline: none;
3120
+ }
3121
+
3122
+ .adm-passcode-input:not(.seperated).error {
3123
+ border-color: var(--adm-color-danger);
3124
+ box-shadow: 0 0 4px 0 var(--adm-color-danger);
3125
+ animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
3126
+ }
3127
+
3128
+ .adm-passcode-input.seperated .adm-passcode-input-cell {
3129
+ border-radius: var(--border-radius);
3130
+ border: 2px solid var(--border-color);
3131
+ }
3132
+
3133
+ .adm-passcode-input.seperated .adm-passcode-input-cell:not(:last-child) {
3134
+ margin-right: var(--cell-gap);
3135
+ }
3136
+
3137
+ .adm-passcode-input.seperated .adm-passcode-input-cell.focused {
3138
+ border-color: var(--adm-color-primary);
3139
+ box-shadow: 0 0 4px 0 var(--adm-color-primary);
3140
+ }
3141
+
3142
+ .adm-passcode-input.seperated.focused {
3143
+ outline: none;
3144
+ }
3145
+
3146
+ .adm-passcode-input.seperated.error {
3147
+ animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
3148
+ }
3149
+
3150
+ .adm-passcode-input.seperated.error .adm-passcode-input-cell {
3151
+ border-color: var(--adm-color-danger);
3152
+ box-shadow: 0 0 4px 0 var(--adm-color-danger);
3153
+ }
3154
+
3155
+ .adm-passcode-input-cell.dot::before {
3156
+ content: '';
3157
+ width: var(--dot-size);
3158
+ height: var(--dot-size);
3159
+ border-radius: 50%;
3160
+ background: var(--adm-color-text);
3161
+ }
3162
+
3163
+ .adm-passcode-input-cell.caret::after {
3164
+ content: '';
3165
+ width: 4px;
3166
+ height: 1.1em;
3167
+ margin-left: 2px;
3168
+ background: var(--adm-color-primary);
3169
+ animation: 1s linear infinite adm-caret-blink;
3170
+ }
3171
+
3172
+ .adm-passcode-input > .adm-passcode-input-native-input {
3173
+ position: absolute;
3174
+ left: -200vw;
3175
+ top: 0;
3176
+ display: block;
3177
+ width: 100px;
3178
+ height: 40px;
3179
+ opacity: 0.5;
3180
+ }
3181
+
3182
+ @keyframes adm-shake-horizontal {
3183
+ 0% {
3184
+ transform: translateX(0);
3185
+ }
3186
+
3187
+ 10% {
3188
+ transform: translateX(-8px);
3189
+ }
3190
+
3191
+ 20% {
3192
+ transform: translateX(10px);
3193
+ }
3194
+
3195
+ 30% {
3196
+ transform: translateX(-2px);
3197
+ }
3198
+
3199
+ 40% {
3200
+ transform: translateX(16px);
3201
+ }
3202
+
3203
+ 50% {
3204
+ transform: translateX(0);
3205
+ }
3206
+
3207
+ 60% {
3208
+ transform: translateX(-16px);
3209
+ }
3210
+
3211
+ 70% {
3212
+ transform: translateX(2px);
3213
+ }
3214
+
3215
+ 80% {
3216
+ transform: translateX(-10px);
3217
+ }
3218
+
3219
+ 90% {
3220
+ transform: translateX(8px);
3221
+ }
3222
+
3223
+ 100% {
3224
+ transform: translateX(0);
3225
+ }
3226
+ }
3227
+
3228
+ @keyframes adm-caret-blink {
3229
+ from {
3230
+ opacity: 1;
3231
+ }
3232
+
3233
+ 60% {
3234
+ opacity: 1;
3235
+ }
3236
+
3237
+ 80% {
3238
+ opacity: 0;
3239
+ }
3240
+
3241
+ to {
3242
+ opacity: 0;
3243
+ }
3244
+ }
3245
+
3246
+ .adm-progress-bar {
3247
+ --track-width: var(--adm-progress-bar-track-width, 6px);
3248
+ --track-color: var(--adm-progress-bar-track-color, #e5e5e5);
3249
+ --fill-color: var(--adm-progress-bar-fill-color, var(--adm-color-primary));
3250
+ }
3251
+
3252
+ .adm-progress-bar-trail {
3253
+ background: var(--track-color);
3254
+ overflow: hidden;
3255
+ height: var(--track-width);
3256
+ border-radius: var(--track-width);
3257
+ }
3258
+
3259
+ .adm-progress-bar-fill {
3260
+ transition: width 0.3s;
3261
+ background: var(--fill-color);
3262
+ height: 100%;
3263
+ border-radius: var(--track-width);
3264
+ }
3265
+
3266
+ /*进度圈*/
3267
+
3268
+ .adm-progress-circle {
3269
+ --track-width: var(--adm-progress-circle-track-width, 6px);
3270
+ --size: var(--adm-progress-circle-size, 100px);
3271
+ --track-color: var(--adm-progress-circle-track-color, #e5e5e5);
3272
+ --fill-color: var(--adm-progress-circle-fill-color, var(--adm-color-primary));
3273
+ --percent: 0;
3274
+ --pi: 3.14159265;
3275
+ --radius: calc(var(--size) / 2 - var(--track-width) / 2);
3276
+ --circumference: calc(var(--radius) * var(--pi) * 2);
3277
+ display: inline-block;
3278
+ width: var(--size);
3279
+ height: var(--size);
3280
+ }
3281
+
3282
+ .adm-progress-circle-svg {
3283
+ width: 100%;
3284
+ height: 100%;
3285
+ }
3286
+
3287
+ .adm-progress-circle-svg > .adm-progress-circle-track,
3288
+ .adm-progress-circle-svg .adm-progress-circle-fill {
3289
+ stroke-width: var(--track-width);
3290
+ r: var(--radius);
3291
+ cx: calc(var(--size) / 2);
3292
+ cy: calc(var(--size) / 2);
3293
+ transform: rotate(-90deg);
3294
+ transform-origin: 50% 50%;
3295
+ }
3296
+
3297
+ .adm-progress-circle-svg > .adm-progress-circle-track {
3298
+ stroke: var(--track-color);
3299
+ }
3300
+
3301
+ .adm-progress-circle-svg > .adm-progress-circle-fill {
3302
+ transition: stroke-dashoffset 0.35s;
3303
+ stroke: var(--fill-color);
3304
+ stroke-dasharray: var(--circumference);
3305
+ stroke-dashoffset: calc(var(--circumference) * (1 - var(--percent) / 100));
3306
+ stroke-linecap: round;
3307
+ }
3308
+
3309
+ .adm-progress-circle-content {
3310
+ position: relative;
3311
+ margin: auto;
3312
+ width: 100%;
3313
+ height: 100%;
3314
+ }
3315
+
3316
+ .adm-progress-circle-info {
3317
+ position: absolute;
3318
+ width: 100%;
3319
+ top: 50%;
3320
+ left: 50%;
3321
+ text-align: center;
3322
+ transform: translate(-50%, -50%);
3323
+ }
3324
+
3325
+ .adm-pull-to-refresh-head {
3326
+ overflow: hidden;
3327
+ position: relative;
3328
+ }
3329
+
3330
+ .adm-pull-to-refresh-head-content {
3331
+ position: absolute;
3332
+ bottom: 0;
3333
+ left: 0;
3334
+ width: 100%;
3335
+ color: var(--adm-color-weak);
3336
+ display: flex;
3337
+ justify-content: center;
3338
+ align-items: center;
3339
+ }
3340
+
3341
+ .adm-radio {
3342
+ --icon-size: 44px;
3343
+ --font-size: var(--adm-font-size-9);
3344
+ --gap: 16px;
3345
+ display: inline-flex;
3346
+ vertical-align: text-bottom;
3347
+ justify-content: flex-start;
3348
+ align-items: center;
3349
+ cursor: pointer;
3350
+ }
3351
+
3352
+ .adm-radio input {
3353
+ display: none;
3354
+ }
3355
+
3356
+ .adm-radio .adm-radio-icon {
3357
+ flex: none;
3358
+ border: 2px solid var(--adm-color-light);
3359
+ border-radius: var(--icon-size);
3360
+ box-sizing: border-box;
3361
+ width: var(--icon-size);
3362
+ height: var(--icon-size);
3363
+ color: var(--adm-color-white);
3364
+ }
3365
+
3366
+ .adm-radio .adm-radio-icon > svg {
3367
+ display: block;
3368
+ width: 100%;
3369
+ height: 100%;
3370
+ }
3371
+
3372
+ .adm-radio.adm-radio-block {
3373
+ display: flex;
3374
+ }
3375
+
3376
+ .adm-radio.adm-radio-checked .adm-radio-icon {
3377
+ border-color: var(--adm-color-primary);
3378
+ background-color: var(--adm-color-primary);
3379
+ }
3380
+
3381
+ .adm-radio.adm-radio-disabled {
3382
+ cursor: not-allowed;
3383
+ }
3384
+
3385
+ .adm-radio.adm-radio-disabled .adm-radio-content {
3386
+ opacity: 0.4;
3387
+ }
3388
+
3389
+ .adm-radio.adm-radio-disabled .adm-radio-icon {
3390
+ color: #b7b7b7;
3391
+ border-color: var(--adm-color-light);
3392
+ background-color: var(--adm-color-box);
3393
+ }
3394
+
3395
+ .adm-radio .adm-radio-custom-icon {
3396
+ font-size: var(--icon-size);
3397
+ }
3398
+
3399
+ .adm-radio-content {
3400
+ flex: 0 1 auto;
3401
+ font-size: var(--font-size);
3402
+ padding-left: var(--gap);
3403
+ }
3404
+
3405
+ .adm-rate {
3406
+ --star-size: 48px;
3407
+ --active-color: #ffd21e;
3408
+ --inactive-color: var(--adm-color-light);
3409
+ display: inline-flex;
3410
+ }
3411
+
3412
+ .adm-rate-box {
3413
+ position: relative;
3414
+ }
3415
+
3416
+ .adm-rate-star {
3417
+ padding: calc(var(--star-size) / 8);
3418
+ line-height: var(--star-size);
3419
+ font-size: var(--star-size);
3420
+ color: var(--inactive-color);
3421
+ text-align: center;
3422
+ overflow: hidden;
3423
+ cursor: pointer;
3424
+ box-sizing: border-box;
3425
+ }
3426
+
3427
+ .adm-rate-star-half {
3428
+ padding-right: 0;
3429
+ width: 50%;
3430
+ position: absolute;
3431
+ left: 0;
3432
+ top: 0;
3433
+ }
3434
+
3435
+ .adm-rate-star-active {
3436
+ color: var(--active-color);
3437
+ }
3438
+
3439
+ .adm-rate-star-readonly {
3440
+ cursor: unset;
3441
+ }
3442
+
3443
+ .adm-result {
3444
+ padding: 64px 24px;
3445
+ background-color: var(--adm-color-white);
3446
+ }
3447
+
3448
+ .adm-result-icon {
3449
+ box-sizing: border-box;
3450
+ width: 128px;
3451
+ height: 128px;
3452
+ margin: 0 auto 40px auto;
3453
+ padding: 12px;
3454
+ }
3455
+
3456
+ .adm-result-icon .antd-mobile-icon {
3457
+ font-size: 104px;
3458
+ }
3459
+
3460
+ .adm-result-title {
3461
+ color: var(--adm-color-text);
3462
+ font-size: var(--adm-font-size-10);
3463
+ line-height: 1.4;
3464
+ text-align: center;
3465
+ }
3466
+
3467
+ .adm-result-description {
3468
+ margin-top: 16px;
3469
+ color: var(--adm-color-weak);
3470
+ font-size: var(--adm-font-size-main);
3471
+ line-height: 1.4;
3472
+ text-align: center;
3473
+ }
3474
+
3475
+ .adm-result-success .adm-result-icon .antd-mobile-icon {
3476
+ color: var(--adm-color-primary);
3477
+ }
3478
+
3479
+ .adm-result-error .adm-result-icon .antd-mobile-icon {
3480
+ color: var(--adm-color-danger);
3481
+ }
3482
+
3483
+ .adm-result-info .adm-result-icon .antd-mobile-icon {
3484
+ color: var(--adm-color-primary);
3485
+ }
3486
+
3487
+ .adm-result-waiting .adm-result-icon .antd-mobile-icon {
3488
+ color: var(--adm-color-success);
3489
+ }
3490
+
3491
+ .adm-result-warning .adm-result-icon .antd-mobile-icon {
3492
+ color: var(--adm-color-warning);
3493
+ }
3494
+
3495
+ .adm-search-bar {
3496
+ --height: 64px;
3497
+ --padding-left: 16px;
3498
+ --background: var(--adm-color-box);
3499
+ --border-radius: 12px;
3500
+ --placeholder-color: var(--adm-color-weak);
3501
+ ---placeholder-color: var(--placeholder-color);
3502
+ display: flex;
3503
+ justify-content: center;
3504
+ align-items: center;
3505
+ height: var(--height);
3506
+ }
3507
+
3508
+ .adm-search-bar .adm-search-bar-input-box {
3509
+ flex: auto;
3510
+ background: var(--background);
3511
+ border-radius: var(--border-radius);
3512
+ border: solid 2px transparent;
3513
+ display: flex;
3514
+ justify-content: center;
3515
+ align-items: center;
3516
+ padding-left: var(--padding-left);
3517
+ }
3518
+
3519
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input-box-icon {
3520
+ flex: none;
3521
+ color: var(--adm-color-light);
3522
+ font-size: var(--adm-font-size-8);
3523
+ }
3524
+
3525
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input {
3526
+ flex: auto;
3527
+ padding: 8px 16px 8px 8px;
3528
+ height: calc(var(--height) - 4px);
3529
+ box-sizing: border-box;
3530
+ }
3531
+
3532
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-input {
3533
+ --placeholder-color: var(---placeholder-color);
3534
+ --font-size: var(--adm-font-size-7);
3535
+ }
3536
+
3537
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input .adm-input-element {
3538
+ line-height: 38px;
3539
+ }
3540
+
3541
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-search-bar-input-without-icon {
3542
+ padding-left: 16px;
3543
+ }
3544
+
3545
+ .adm-search-bar .adm-search-bar-suffix {
3546
+ flex: none;
3547
+ margin-left: 8px;
3548
+ }
3549
+
3550
+ .adm-search-bar .adm-search-bar-cancel-button.adm-button {
3551
+ padding: 6px 24px;
3552
+ }
3553
+
3554
+ .adm-search-bar-active .adm-input.adm-input.adm-input {
3555
+ --placeholder-color: var(--adm-color-light);
3556
+ }
3557
+
3558
+ .adm-search-bar-active .adm-search-bar-input-box {
3559
+ border-color: var(--adm-color-primary);
3560
+ background: var(--adm-color-background);
3561
+ }
3562
+
3563
+ .adm-selector {
3564
+ --color: var(--adm-color-box);
3565
+ --checked-color: #e7f1ff;
3566
+ --text-color: var(--adm-color-text);
3567
+ --checked-text-color: var(--adm-color-primary);
3568
+ --border: none;
3569
+ --checked-border: none;
3570
+ --border-radius: 4px;
3571
+ --padding: 16px 32px;
3572
+ overflow: hidden;
3573
+ font-size: var(--adm-font-size-7);
3574
+ line-height: 1.4;
3575
+ }
3576
+
3577
+ .adm-selector .adm-space.adm-space {
3578
+ --gap: 24px;
3579
+ }
3580
+
3581
+ .adm-selector-item {
3582
+ padding: var(--padding);
3583
+ position: relative;
3584
+ background-color: var(--color);
3585
+ border: var(--border);
3586
+ border-radius: var(--border-radius);
3587
+ color: var(--text-color);
3588
+ opacity: 1;
3589
+ cursor: pointer;
3590
+ display: inline-block;
3591
+ text-align: center;
3592
+ overflow: hidden;
3593
+ vertical-align: top;
3594
+ }
3595
+
3596
+ .adm-selector-item-description {
3597
+ font-size: var(--adm-font-size-main);
3598
+ color: var(--adm-color-weak);
3599
+ }
3600
+
3601
+ .adm-selector-item-active,
3602
+ .adm-selector-item-multiple-active {
3603
+ color: var(--checked-text-color);
3604
+ background-color: var(--checked-color);
3605
+ border: var(--checked-border);
3606
+ }
3607
+
3608
+ .adm-selector-item .adm-selector-check-mark-wrapper {
3609
+ position: absolute;
3610
+ right: 0;
3611
+ bottom: 0;
3612
+ width: 0;
3613
+ height: 0;
3614
+ border-top: solid 16px transparent;
3615
+ border-bottom: solid 16px var(--adm-color-primary);
3616
+ border-left: solid 20px transparent;
3617
+ border-right: solid 20px var(--adm-color-primary);
3618
+ }
3619
+
3620
+ .adm-selector-item .adm-selector-check-mark-wrapper > svg {
3621
+ position: absolute;
3622
+ left: 0;
3623
+ top: 0;
3624
+ height: 12px;
3625
+ width: 16px;
3626
+ }
3627
+
3628
+ .adm-selector-item-disabled {
3629
+ cursor: not-allowed;
3630
+ opacity: 0.4;
3631
+ }
3632
+
3633
+ .adm-side-bar {
3634
+ --height: 100%;
3635
+ --width: 210px;
3636
+ --item-border-radius: 16px;
3637
+ --background-color: var(--adm-color-box);
3638
+ width: var(--width);
3639
+ height: var(--height);
3640
+ box-sizing: border-box;
3641
+ font-size: var(--adm-font-size-main);
3642
+ overflow-y: auto;
3643
+ transform: translateZ(0);
3644
+ -webkit-transform: translateZ(0);
3645
+ background-color: var(--background-color);
3646
+ display: flex;
3647
+ flex-direction: column;
3648
+ }
3649
+
3650
+ .adm-side-bar-items {
3651
+ flex: none;
3652
+ overflow: hidden;
3653
+ }
3654
+
3655
+ .adm-side-bar-extra-space {
3656
+ flex: auto;
3657
+ overflow: hidden;
3658
+ position: relative;
3659
+ }
3660
+
3661
+ .adm-side-bar-item {
3662
+ display: flex;
3663
+ align-items: center;
3664
+ box-sizing: border-box;
3665
+ padding: 32px 24px;
3666
+ position: relative;
3667
+ cursor: pointer;
3668
+ background-color: var(--background-color);
3669
+ overflow: visible;
3670
+ }
3671
+
3672
+ .adm-side-bar-item-highlight {
3673
+ position: absolute;
3674
+ height: 100%;
3675
+ width: 4px;
3676
+ left: -24px;
3677
+ top: 0;
3678
+ background: var(--adm-color-primary);
3679
+ border-radius: 4px;
3680
+ }
3681
+
3682
+ .adm-side-bar-item-active {
3683
+ color: var(--adm-color-primary);
3684
+ background-color: var(--adm-color-background);
3685
+ position: relative;
3686
+ }
3687
+
3688
+ .adm-side-bar-item-corner {
3689
+ width: var(--item-border-radius);
3690
+ height: var(--item-border-radius);
3691
+ position: absolute;
3692
+ z-index: 100;
3693
+ right: 0;
3694
+ user-select: none;
3695
+ pointer-events: none;
3696
+ }
3697
+
3698
+ .adm-side-bar-item-corner-top {
3699
+ top: 0;
3700
+ transform: rotate(-90deg);
3701
+ }
3702
+
3703
+ .adm-side-bar-item-corner-bottom {
3704
+ bottom: 0;
3705
+ }
3706
+
3707
+ .adm-side-bar-item-disabled {
3708
+ cursor: not-allowed;
3709
+ }
3710
+
3711
+ .adm-side-bar-item-disabled .adm-side-bar-item-title {
3712
+ opacity: 0.4;
3713
+ }
3714
+
3715
+ .adm-side-bar-badge.adm-badge {
3716
+ --right: -8px;
3717
+ }
3718
+
3719
+ .adm-slider {
3720
+ --fill-color: var(--adm-color-primary);
3721
+ padding: 10px 28px;
3722
+ list-style: none;
3723
+ user-select: none;
3724
+ }
3725
+
3726
+ .adm-slider-track-container {
3727
+ padding: 16px 0;
3728
+ }
3729
+
3730
+ .adm-slider-track {
3731
+ position: relative;
3732
+ width: 100%;
3733
+ height: 6px;
3734
+ background-color: var(--adm-color-box);
3735
+ border-radius: 6px;
3736
+ }
3737
+
3738
+ .adm-slider-fill {
3739
+ position: absolute;
3740
+ z-index: 1;
3741
+ height: 6px;
3742
+ border-radius: 6px;
3743
+ background-color: var(--fill-color);
3744
+ }
3745
+
3746
+ .adm-slider-ticks {
3747
+ position: absolute;
3748
+ width: 100%;
3749
+ height: 6px;
3750
+ background: transparent;
3751
+ }
3752
+
3753
+ .adm-slider-tick {
3754
+ position: absolute;
3755
+ top: -4px;
3756
+ width: 14px;
3757
+ height: 14px;
3758
+ margin-left: -6px;
3759
+ background-color: var(--adm-color-box);
3760
+ border-radius: 50%;
3761
+ }
3762
+
3763
+ .adm-slider-tick-active {
3764
+ background-color: var(--fill-color);
3765
+ }
3766
+
3767
+ .adm-slider-thumb {
3768
+ width: 56px;
3769
+ height: 56px;
3770
+ margin: 4px;
3771
+ border-radius: 50%;
3772
+ text-align: center;
3773
+ line-height: 56px;
3774
+ background: var(--adm-color-white);
3775
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.12);
3776
+ color: var(--fill-color);
3777
+ }
3778
+
3779
+ .adm-slider-thumb:focus {
3780
+ outline: none;
3781
+ }
3782
+
3783
+ .adm-slider-thumb-icon {
3784
+ width: 24px;
3785
+ height: 24px;
3786
+ margin: 16px;
3787
+ user-select: none;
3788
+ }
3789
+
3790
+ .adm-slider-thumb-container {
3791
+ cursor: grab;
3792
+ touch-action: none;
3793
+ position: absolute;
3794
+ z-index: 2;
3795
+ width: 64px;
3796
+ height: 64px;
3797
+ border-radius: 50%;
3798
+ top: 50%;
3799
+ transform: translate(-50%, -50%);
3800
+ }
3801
+
3802
+ .adm-slider-mark {
3803
+ position: relative;
3804
+ width: 100%;
3805
+ overflow: visible;
3806
+ font-size: var(--adm-font-size-3);
3807
+ height: 22px;
3808
+ margin-top: 20px;
3809
+ }
3810
+
3811
+ .adm-slider-mark-text {
3812
+ position: absolute;
3813
+ display: inline-block;
3814
+ line-height: 1;
3815
+ color: var(--adm-color-text);
3816
+ text-align: center;
3817
+ word-break: keep-all;
3818
+ user-select: none;
3819
+ transform: translateX(-50%);
3820
+ }
3821
+
3822
+ .adm-slider-disabled {
3823
+ opacity: 0.4;
3824
+ }
3825
+
3826
+ .adm-slider-disabled .adm-slider-thumb {
3827
+ cursor: not-allowed;
3828
+ }
3829
+
3830
+ .adm-slider-disabled .adm-slider-mark-text,
3831
+ .adm-slider-disabled .adm-slider-tick {
3832
+ cursor: not-allowed;
3833
+ box-shadow: none;
3834
+ }
3835
+
3836
+ .adm-stepper {
3837
+ --height: 56px;
3838
+ --input-width: 88px;
3839
+ --input-font-size: var(--adm-font-size-main);
3840
+ --input-font-color: var(--adm-color-text);
3841
+ --input-background-color: var(--adm-color-box);
3842
+ --border-radius: 4px;
3843
+ --border: none;
3844
+ --border-inner: solid 4px transparent;
3845
+ --active-border: var(--border);
3846
+ --button-font-size: var(--adm-font-size-7);
3847
+ --button-text-color: var(--adm-color-primary);
3848
+ --button-background-color: var(--adm-color-box);
3849
+ --button-width: var(--height);
3850
+ display: flex;
3851
+ align-items: center;
3852
+ box-sizing: border-box;
3853
+ position: relative;
3854
+ overflow: hidden;
3855
+ width: calc(var(--input-width) + 2 * var(--button-width));
3856
+ border: var(--border);
3857
+ border-radius: var(--border-radius);
3858
+ }
3859
+
3860
+ .adm-stepper-active {
3861
+ border: var(--active-border);
3862
+ }
3863
+
3864
+ .adm-stepper-middle {
3865
+ flex: 1;
3866
+ border-left: var(--border-inner);
3867
+ border-right: var(--border-inner);
3868
+ }
3869
+
3870
+ .adm-stepper .adm-stepper-input {
3871
+ height: var(--height);
3872
+ --background-color: var(--input-background-color);
3873
+ --font-size: var(--input-font-size);
3874
+ --color: var(--input-font-color);
3875
+ --text-align: center;
3876
+ }
3877
+
3878
+ .adm-stepper-minus,
3879
+ .adm-stepper-plus {
3880
+ width: var(--button-width);
3881
+ height: var(--height);
3882
+ padding: 0;
3883
+ color: var(--button-text-color);
3884
+ background-color: var(--button-background-color);
3885
+ font-size: var(--button-font-size);
3886
+ --border-width: 0;
3887
+ }
3888
+
3889
+ .adm-stepper-minus:disabled,
3890
+ .adm-stepper-plus:disabled {
3891
+ color: var(--adm-color-weak);
3892
+ }
3893
+
3894
+ .adm-stepper-minus svg,
3895
+ .adm-stepper-plus svg {
3896
+ position: absolute;
3897
+ top: 50%;
3898
+ left: 50%;
3899
+ transform: translate(-50%, -50%);
3900
+ }
3901
+
3902
+ .adm-stepper-minus {
3903
+ border-radius: 0;
3904
+ }
3905
+
3906
+ .adm-stepper-plus {
3907
+ border-radius: 0;
3908
+ }
3909
+
3910
+ .adm-step {
3911
+ --line-to-next-color: #e5e5e5;
3912
+ --icon-color: #e5e5e5;
3913
+ }
3914
+
3915
+ .adm-step .adm-step-indicator {
3916
+ position: relative;
3917
+ }
3918
+
3919
+ .adm-step .adm-step-indicator::after {
3920
+ content: '';
3921
+ position: absolute;
3922
+ z-index: 0;
3923
+ background-color: var(--line-to-next-color);
3924
+ }
3925
+
3926
+ .adm-step .adm-step-indicator .adm-step-icon-container {
3927
+ position: absolute;
3928
+ z-index: 1;
3929
+ background: var(--adm-color-white);
3930
+ color: var(--icon-color);
3931
+ }
3932
+
3933
+ .adm-step .adm-step-indicator .adm-step-icon-container > .antd-mobile-icon {
3934
+ display: block;
3935
+ }
3936
+
3937
+ .adm-step:last-child .adm-step-indicator::after {
3938
+ display: none;
3939
+ }
3940
+
3941
+ .adm-step-status-finish {
3942
+ --line-to-next-color: var(--adm-color-primary);
3943
+ }
3944
+
3945
+ .adm-step-status-wait {
3946
+ --icon-color: #e5e5e5;
3947
+ }
3948
+
3949
+ .adm-step-status-wait .adm-step-title {
3950
+ color: var(--adm-color-weak);
3951
+ }
3952
+
3953
+ .adm-step-status-process {
3954
+ --icon-color: var(--adm-color-primary);
3955
+ }
3956
+
3957
+ .adm-step-status-process .adm-step-title {
3958
+ color: var(--adm-color-primary);
3959
+ }
3960
+
3961
+ .adm-step-status-finish {
3962
+ --icon-color: var(--adm-color-primary);
3963
+ }
3964
+
3965
+ .adm-step-status-error {
3966
+ --icon-color: var(--adm-color-danger);
3967
+ }
3968
+
3969
+ .adm-step-status-error .adm-step-title {
3970
+ color: var(--adm-color-danger);
3971
+ }
3972
+
3973
+ .adm-steps {
3974
+ --title-font-size: var(--adm-font-size-main);
3975
+ --description-font-size: var(--adm-font-size-4);
3976
+ --indicator-margin-right: 0;
3977
+ --icon-size: 36px;
3978
+ width: 100%;
3979
+ box-sizing: border-box;
3980
+ }
3981
+
3982
+ .adm-steps-horizontal {
3983
+ display: flex;
3984
+ justify-content: space-around;
3985
+ padding: 16px 0;
3986
+ }
3987
+
3988
+ .adm-steps-horizontal .adm-step {
3989
+ flex: 1;
3990
+ }
3991
+
3992
+ .adm-steps-horizontal .adm-step .adm-step-indicator {
3993
+ width: 100%;
3994
+ height: 48px;
3995
+ }
3996
+
3997
+ .adm-steps-horizontal .adm-step .adm-step-indicator::after {
3998
+ left: 50%;
3999
+ top: 50%;
4000
+ height: 2px;
4001
+ transform: translateY(-50%);
4002
+ width: 100%;
4003
+ }
4004
+
4005
+ .adm-steps-horizontal .adm-step .adm-step-indicator .adm-step-icon-container {
4006
+ left: 50%;
4007
+ top: 50%;
4008
+ transform: translate(-50%, -50%);
4009
+ }
4010
+
4011
+ .adm-steps-horizontal .adm-step-content {
4012
+ text-align: center;
4013
+ font-size: var(--description-font-size);
4014
+ padding: 4px 16px 0;
4015
+ }
4016
+
4017
+ .adm-steps-horizontal .adm-step-content .adm-step-title {
4018
+ font-size: var(--title-font-size);
4019
+ }
4020
+
4021
+ .adm-steps-horizontal .adm-step-content .adm-step-description {
4022
+ margin-top: 8px;
4023
+ color: var(--adm-color-weak);
4024
+ }
4025
+
4026
+ .adm-steps-vertical {
4027
+ padding: 16px 32px;
4028
+ }
4029
+
4030
+ .adm-steps-vertical .adm-step {
4031
+ display: flex;
4032
+ align-items: stretch;
4033
+ }
4034
+
4035
+ .adm-steps-vertical .adm-step .adm-step-indicator {
4036
+ flex: none;
4037
+ width: 48px;
4038
+ margin-right: var(--indicator-margin-right);
4039
+ }
4040
+
4041
+ .adm-steps-vertical .adm-step .adm-step-indicator::after {
4042
+ left: 50%;
4043
+ top: calc(var(--title-font-size) * 1.5 / 2);
4044
+ width: 2px;
4045
+ transform: translateX(-50%);
4046
+ height: 100%;
4047
+ }
4048
+
4049
+ .adm-steps-vertical .adm-step .adm-step-indicator .adm-step-icon-container {
4050
+ top: calc(var(--title-font-size) * 1.5 / 2);
4051
+ left: 50%;
4052
+ transform: translate(-50%, -50%);
4053
+ }
4054
+
4055
+ .adm-steps-vertical .adm-step:last-child .adm-step-content {
4056
+ padding-bottom: 0;
4057
+ }
4058
+
4059
+ .adm-steps-vertical .adm-step .adm-step-content {
4060
+ flex: auto;
4061
+ padding-bottom: 48px;
4062
+ }
4063
+
4064
+ .adm-steps-vertical .adm-step .adm-step-content .adm-step-title {
4065
+ font-size: var(--title-font-size);
4066
+ line-height: 1.5;
4067
+ }
4068
+
4069
+ .adm-steps-vertical .adm-step .adm-step-content .adm-step-description {
4070
+ padding-top: 8px;
4071
+ font-size: var(--description-font-size);
4072
+ color: var(--adm-color-weak);
4073
+ }
4074
+
4075
+ .adm-step-icon-container {
4076
+ font-size: var(--icon-size);
4077
+ }
4078
+
4079
+ .adm-step-icon-dot {
4080
+ display: block;
4081
+ width: 16px;
4082
+ height: 16px;
4083
+ background: currentColor;
4084
+ border-radius: 8px;
4085
+ }
4086
+
4087
+ .adm-swipe-action {
4088
+ --background: var(--adm-color-background);
4089
+ background: var(--background);
4090
+ cursor: grab;
4091
+ overflow: hidden;
4092
+ touch-action: pan-y;
4093
+ }
4094
+
4095
+ .adm-swipe-action-track {
4096
+ position: relative;
4097
+ overflow: visible;
4098
+ }
4099
+
4100
+ .adm-swipe-action-actions {
4101
+ position: absolute;
4102
+ display: flex;
4103
+ justify-content: center;
4104
+ align-items: stretch;
4105
+ width: auto;
4106
+ white-space: nowrap;
4107
+ }
4108
+
4109
+ .adm-swipe-action-actions-right {
4110
+ left: 100%;
4111
+ top: 0;
4112
+ height: 100%;
4113
+ }
4114
+
4115
+ .adm-swipe-action-actions-left {
4116
+ right: 100%;
4117
+ top: 0;
4118
+ height: 100%;
4119
+ }
4120
+
4121
+ .adm-swipe-action-action-button.adm-button {
4122
+ --border-radius: 0;
4123
+ --border-width: 0;
4124
+ --text-color: var(--adm-color-white);
4125
+ padding-left: 40px;
4126
+ padding-right: 40px;
4127
+ }
4128
+
4129
+ .adm-swiper {
4130
+ --height: auto;
4131
+ --width: 100%;
4132
+ --border-radius: 0;
4133
+ --track-padding: 0;
4134
+ --slide-size: 100%;
4135
+ --track-offset: 0%;
4136
+ display: block;
4137
+ width: var(--width);
4138
+ height: var(--height);
4139
+ position: relative;
4140
+ border-radius: var(--border-radius);
4141
+ z-index: 0;
4142
+ overflow: hidden;
4143
+ }
4144
+
4145
+ .adm-swiper-track {
4146
+ width: 100%;
4147
+ height: 100%;
4148
+ white-space: nowrap;
4149
+ padding: var(--track-padding);
4150
+ }
4151
+
4152
+ .adm-swiper-track-allow-touch-move {
4153
+ cursor: grab;
4154
+ }
4155
+
4156
+ .adm-swiper-track-inner {
4157
+ width: 100%;
4158
+ height: 100%;
4159
+ overflow: visible;
4160
+ position: relative;
4161
+ display: flex;
4162
+ flex-wrap: nowrap;
4163
+ }
4164
+
4165
+ .adm-swiper-slide {
4166
+ width: 100%;
4167
+ height: 100%;
4168
+ display: block;
4169
+ position: relative;
4170
+ white-space: unset;
4171
+ flex: none;
4172
+ }
4173
+
4174
+ .adm-swiper-item {
4175
+ display: block;
4176
+ width: 100%;
4177
+ height: 100%;
4178
+ white-space: normal;
4179
+ }
4180
+
4181
+ .adm-swiper-horizontal .adm-swiper-track-allow-touch-move {
4182
+ touch-action: pan-y;
4183
+ }
4184
+
4185
+ .adm-swiper-horizontal .adm-swiper-indicator {
4186
+ position: absolute;
4187
+ bottom: 12px;
4188
+ left: 50%;
4189
+ transform: translateX(-50%);
4190
+ }
4191
+
4192
+ .adm-swiper-horizontal .adm-swiper-track {
4193
+ transform: translateX(var(--track-offset));
4194
+ }
4195
+
4196
+ .adm-swiper-horizontal .adm-swiper-track-inner {
4197
+ flex-direction: row;
4198
+ width: var(--slide-size);
4199
+ }
4200
+
4201
+ .adm-swiper-vertical .adm-swiper-track-allow-touch-move {
4202
+ touch-action: pan-x;
4203
+ }
4204
+
4205
+ .adm-swiper-vertical .adm-swiper-indicator {
4206
+ position: absolute;
4207
+ right: 12px;
4208
+ top: 50%;
4209
+ transform: translateY(-50%);
4210
+ }
4211
+
4212
+ .adm-swiper-vertical .adm-swiper-track {
4213
+ transform: translateY(var(--track-offset));
4214
+ }
4215
+
4216
+ .adm-swiper-vertical .adm-swiper-track-inner {
4217
+ flex-direction: column;
4218
+ height: var(--slide-size);
4219
+ }
4220
+
4221
+ @keyframes loading-rotate {
4222
+ 100% {
4223
+ transform: rotate(1turn);
4224
+ }
4225
+ }
4226
+
4227
+ .adm-switch {
4228
+ --checked-color: var(--adm-color-primary);
4229
+ --height: 62px;
4230
+ --width: 102px;
4231
+ --border-width: 4px;
4232
+ display: inline-block;
4233
+ vertical-align: middle;
4234
+ box-sizing: border-box;
4235
+ position: relative;
4236
+ align-self: center;
4237
+ cursor: pointer;
4238
+ /* 选中状态 */
4239
+ /* 禁用状态 */
4240
+ /* loading图标 */
4241
+ }
4242
+
4243
+ .adm-switch input {
4244
+ display: none;
4245
+ }
4246
+
4247
+ .adm-switch-checkbox {
4248
+ min-width: var(--width);
4249
+ height: var(--height);
4250
+ box-sizing: border-box;
4251
+ border-radius: 62px;
4252
+ background: var(--adm-color-border);
4253
+ z-index: 0;
4254
+ overflow: hidden;
4255
+ line-height: var(--height);
4256
+ }
4257
+
4258
+ .adm-switch-checkbox:before {
4259
+ content: ' ';
4260
+ position: absolute;
4261
+ left: var(--border-width);
4262
+ top: var(--border-width);
4263
+ width: calc(100% - 2 * var(--border-width));
4264
+ height: calc(var(--height) - 2 * var(--border-width));
4265
+ border-radius: calc(var(--height) - 2 * var(--border-width));
4266
+ box-sizing: border-box;
4267
+ background: var(--adm-color-background);
4268
+ z-index: 1;
4269
+ transition: all 200ms;
4270
+ transform: scale(1);
4271
+ }
4272
+
4273
+ .adm-switch-handle {
4274
+ display: flex;
4275
+ justify-content: center;
4276
+ align-items: center;
4277
+ width: calc(var(--height) - 2 * var(--border-width));
4278
+ height: calc(var(--height) - 2 * var(--border-width));
4279
+ border-radius: calc(var(--height) - 2 * var(--border-width));
4280
+ background: var(--adm-color-white);
4281
+ position: absolute;
4282
+ z-index: 2;
4283
+ top: var(--border-width);
4284
+ left: var(--border-width);
4285
+ transition: all 200ms;
4286
+ box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2), 0 4px 23px 0 rgba(0, 0, 0, 0.08), -2px 4px 4px 0 rgba(0, 0, 0, 0.1);
4287
+ }
4288
+
4289
+ .adm-switch-inner {
4290
+ position: relative;
4291
+ z-index: 1;
4292
+ display: flex;
4293
+ justify-content: center;
4294
+ align-items: center;
4295
+ margin: 0 16px 0 calc(var(--height) - var(--border-width) + 8px);
4296
+ height: 100%;
4297
+ color: var(--adm-color-weak);
4298
+ transition: margin 200ms;
4299
+ font-size: var(--adm-font-size-7);
4300
+ }
4301
+
4302
+ .adm-switch.adm-switch-checked .adm-switch-checkbox {
4303
+ background: var(--checked-color);
4304
+ }
4305
+
4306
+ .adm-switch.adm-switch-checked .adm-switch-checkbox:before {
4307
+ transform: scale(0);
4308
+ }
4309
+
4310
+ .adm-switch.adm-switch-checked .adm-switch-handle {
4311
+ left: calc(100% - (var(--height) - var(--border-width)));
4312
+ }
4313
+
4314
+ .adm-switch.adm-switch-checked .adm-switch-inner {
4315
+ margin: 0 calc(var(--height) - var(--border-width) + 10px) 0 20px;
4316
+ color: var(--adm-color-white);
4317
+ }
4318
+
4319
+ .adm-switch.adm-switch-disabled {
4320
+ cursor: not-allowed;
4321
+ opacity: 0.4;
4322
+ }
4323
+
4324
+ .adm-switch-spin-icon {
4325
+ width: 28px;
4326
+ height: 28px;
4327
+ animation: loading-rotate 1s linear infinite;
4328
+ }
4329
+
4330
+ .adm-tab-bar-wrap {
4331
+ display: flex;
4332
+ flex-wrap: nowrap;
4333
+ justify-content: flex-start;
4334
+ align-items: stretch;
4335
+ overflow: hidden;
4336
+ min-height: 96px;
4337
+ }
4338
+
4339
+ .adm-tab-bar-item {
4340
+ flex: 1;
4341
+ color: var(--adm-color-weak);
4342
+ white-space: nowrap;
4343
+ padding: 8px 16px;
4344
+ width: min-content;
4345
+ position: relative;
4346
+ cursor: pointer;
4347
+ display: flex;
4348
+ align-items: center;
4349
+ justify-content: center;
4350
+ flex-direction: column;
4351
+ }
4352
+
4353
+ .adm-tab-bar-item-icon {
4354
+ font-size: 48px;
4355
+ height: 48px;
4356
+ line-height: 1;
4357
+ }
4358
+
4359
+ .adm-tab-bar-item-title {
4360
+ font-size: var(--adm-font-size-3);
4361
+ line-height: 30px;
4362
+ }
4363
+
4364
+ .adm-tab-bar-item-title-with-icon {
4365
+ margin-top: 4px;
4366
+ }
4367
+
4368
+ .adm-tab-bar-item-active {
4369
+ color: var(--adm-color-primary);
4370
+ }
4371
+
4372
+ .adm-tab-bar-icon-badge {
4373
+ --top: 12px;
4374
+ }
4375
+
4376
+ .adm-tab-bar-title-badge {
4377
+ --right: -4px;
4378
+ --top: -4px;
4379
+ }
4380
+
4381
+ .adm-tag {
4382
+ --border-radius: var(--adm-tag-border-radius, 4px);
4383
+ padding: 4px 8px;
4384
+ font-size: var(--adm-font-size-3);
4385
+ line-height: 1;
4386
+ font-weight: normal;
4387
+ background: var(--background-color);
4388
+ color: var(--text-color);
4389
+ display: inline-block;
4390
+ white-space: nowrap;
4391
+ border-radius: var(--border-radius);
4392
+ border: 2px solid var(--border-color);
4393
+ box-sizing: border-box;
4394
+ }
4395
+
4396
+ .adm-tag-round {
4397
+ border-radius: 200px;
4398
+ }
4399
+
4400
+ .adm-text-area {
4401
+ --font-size: var(--adm-font-size-9);
4402
+ --color: var(--adm-color-text);
4403
+ --placeholder-color: var(--adm-color-light);
4404
+ --disabled-color: var(--adm-color-weak);
4405
+ --text-align: left;
4406
+ --count-text-align: right;
4407
+ width: 100%;
4408
+ max-width: 100%;
4409
+ max-height: 100%;
4410
+ }
4411
+
4412
+ .adm-text-area-element {
4413
+ font-family: var(--adm-font-family);
4414
+ resize: none;
4415
+ flex: auto;
4416
+ display: block;
4417
+ box-sizing: border-box;
4418
+ width: 100%;
4419
+ max-width: 100%;
4420
+ max-height: 100%;
4421
+ padding: 0;
4422
+ margin: 0;
4423
+ color: var(--color);
4424
+ font-size: var(--font-size);
4425
+ line-height: 1.5;
4426
+ background: transparent;
4427
+ border: 0;
4428
+ outline: none;
4429
+ appearance: none;
4430
+ min-height: 1.5em;
4431
+ text-align: var(--text-align);
4432
+ }
4433
+
4434
+ .adm-text-area-element::placeholder {
4435
+ color: var(--placeholder-color);
4436
+ font-family: inherit;
4437
+ }
4438
+
4439
+ .adm-text-area-element:-webkit-autofill {
4440
+ background-color: transparent;
4441
+ }
4442
+
4443
+ .adm-text-area-element:disabled {
4444
+ color: var(--disabled-color);
4445
+ cursor: not-allowed;
4446
+ opacity: 1;
4447
+ -webkit-text-fill-color: var(--disabled-color);
4448
+ }
4449
+
4450
+ .adm-text-area-element:read-only {
4451
+ cursor: default;
4452
+ }
4453
+
4454
+ .adm-text-area-element:invalid {
4455
+ box-shadow: none;
4456
+ }
4457
+
4458
+ .adm-text-area-element::-ms-clear {
4459
+ display: none;
4460
+ }
4461
+
4462
+ .adm-text-area-element[readonly] {
4463
+ pointer-events: none;
4464
+ }
4465
+
4466
+ .adm-text-area-count {
4467
+ text-align: var(--count-text-align);
4468
+ color: var(--adm-color-weak);
4469
+ font-size: var(--adm-font-size-9);
4470
+ padding-top: 16px;
4471
+ }
4472
+
4473
+ .adm-toast-mask .adm-toast-wrap {
4474
+ position: fixed;
4475
+ top: 0;
4476
+ left: 0;
4477
+ width: 100%;
4478
+ height: 100%;
4479
+ }
4480
+
4481
+ .adm-toast-mask .adm-toast-main {
4482
+ display: inline-block;
4483
+ position: relative;
4484
+ top: 50%;
4485
+ left: 50%;
4486
+ transform: translate(-50%, -50%);
4487
+ width: auto;
4488
+ min-width: 192px;
4489
+ max-width: 400px;
4490
+ max-height: 70%;
4491
+ overflow: auto;
4492
+ color: white;
4493
+ word-break: break-all;
4494
+ background-color: rgba(0, 0, 0, 0.7);
4495
+ border-radius: 16px;
4496
+ pointer-events: all;
4497
+ font-size: var(--adm-font-size-7);
4498
+ line-height: 1.5;
4499
+ box-sizing: border-box;
4500
+ }
4501
+
4502
+ .adm-toast-mask .adm-toast-main-text {
4503
+ padding: 24px;
4504
+ }
4505
+
4506
+ .adm-toast-mask .adm-toast-main-icon {
4507
+ padding: 70px 80px;
4508
+ }
4509
+
4510
+ .adm-toast-mask .adm-toast-main-icon .adm-toast-icon {
4511
+ text-align: center;
4512
+ margin-bottom: 16px;
4513
+ font-size: 72px;
4514
+ line-height: 1;
4515
+ }
4516
+
4517
+ .adm-toast-loading {
4518
+ --size: 96px;
4519
+ margin: 0 auto 16px;
4520
+ }
4521
+
4522
+ .adm-tree-select,
4523
+ .adm-tree-select-multiple {
4524
+ display: flex;
4525
+ height: 100%;
4526
+ font-size: var(--adm-font-size-main);
4527
+ background-color: var(--adm-color-white);
4528
+ }
4529
+
4530
+ .adm-tree-select-column,
4531
+ .adm-tree-select-multiple-column {
4532
+ overflow-y: auto;
4533
+ transform: translateZ(0);
4534
+ -webkit-transform: translateZ(0);
4535
+ }
4536
+
4537
+ .adm-tree-select-column:first-child,
4538
+ .adm-tree-select-multiple-column:first-child {
4539
+ background-color: var(--adm-color-box);
4540
+ }
4541
+
4542
+ .adm-tree-select-column:nth-child(2),
4543
+ .adm-tree-select-multiple-column:nth-child(2) {
4544
+ background-color: #fafafa;
4545
+ }
4546
+
4547
+ .adm-tree-select-item,
4548
+ .adm-tree-select-multiple-item {
4549
+ display: flex;
4550
+ align-items: center;
4551
+ min-height: 100px;
4552
+ box-sizing: border-box;
4553
+ padding: 12px 24px;
4554
+ position: relative;
4555
+ }
4556
+
4557
+ .adm-tree-select-item-active {
4558
+ color: var(--adm-color-primary);
4559
+ font-weight: bold;
4560
+ background-color: white;
4561
+ }
4562
+
4563
+ .adm-tree-select-multiple-item-expand {
4564
+ color: var(--adm-color-primary);
4565
+ font-weight: bold;
4566
+ background-color: white;
4567
+ }
4568
+
4569
+ .adm-tree-select-multiple-item-checkbox {
4570
+ margin-right: 16px;
4571
+ }
4572
+
4573
+ .adm-tree-select-multiple-dot {
4574
+ position: absolute;
4575
+ top: 50%;
4576
+ margin-top: -6px;
4577
+ right: 16px;
4578
+ width: 12px;
4579
+ height: 12px;
4580
+ background: var(--adm-color-primary);
4581
+ border-radius: 6px;
4582
+ }
4583
+
4584
+ .adm-virtual-input {
4585
+ --font-size: var(--adm-font-size-9);
4586
+ --color: var(--adm-color-text);
4587
+ --placeholder-color: var(--adm-color-light);
4588
+ --disabled-color: var(--adm-color-weak);
4589
+ --text-align: left;
4590
+ --caret-width: var(--adm-virtual-input-caret-width, 4px);
4591
+ --caret-color: var(--adm-virtual-input-caret-color, var(--adm-color-primary));
4592
+ display: flex;
4593
+ justify-content: flex-start;
4594
+ align-items: center;
4595
+ position: relative;
4596
+ text-align: var(--text-align);
4597
+ font-size: var(--font-size);
4598
+ line-height: 1.5;
4599
+ white-space: nowrap;
4600
+ color: var(--color);
4601
+ }
4602
+
4603
+ .adm-virtual-input > * {
4604
+ vertical-align: top;
4605
+ }
4606
+
4607
+ .adm-virtual-input-content {
4608
+ flex: auto;
4609
+ display: inline-block;
4610
+ position: relative;
4611
+ z-index: 1;
4612
+ width: 100%;
4613
+ max-width: 100%;
4614
+ overflow-y: hidden;
4615
+ overflow-x: scroll;
4616
+ scrollbar-width: none;
4617
+ }
4618
+
4619
+ .adm-virtual-input-content::-webkit-scrollbar {
4620
+ display: none;
4621
+ }
4622
+
4623
+ .adm-virtual-input-placeholder {
4624
+ display: block;
4625
+ position: absolute;
4626
+ z-index: 0;
4627
+ left: 0;
4628
+ top: 0;
4629
+ width: 100%;
4630
+ overflow: hidden;
4631
+ text-align: var(--text-align);
4632
+ color: var(--placeholder-color);
4633
+ }
4634
+
4635
+ .adm-virtual-input-caret-container {
4636
+ display: inline-block;
4637
+ width: var(--caret-width);
4638
+ height: 1.3em;
4639
+ vertical-align: top;
4640
+ margin-right: 2px;
4641
+ }
4642
+
4643
+ .adm-virtual-input-caret {
4644
+ width: 100%;
4645
+ height: 100%;
4646
+ background-color: var(--caret-color);
4647
+ position: relative;
4648
+ top: 5%;
4649
+ }
4650
+
4651
+ .adm-virtual-input:focus {
4652
+ outline: none;
4653
+ }
4654
+
4655
+ .adm-virtual-input:focus .adm-virtual-input-caret {
4656
+ display: block;
4657
+ animation-name: adm-caret-blink;
4658
+ animation-duration: 1s;
4659
+ animation-timing-function: linear;
4660
+ animation-iteration-count: infinite;
4661
+ }
4662
+
4663
+ .adm-virtual-input-disabled {
4664
+ color: var(--disabled-color);
4665
+ }
4666
+
4667
+ @keyframes adm-caret-blink {
4668
+ from {
4669
+ opacity: 1;
4670
+ }
4671
+
4672
+ 60% {
4673
+ opacity: 1;
4674
+ }
4675
+
4676
+ 80% {
4677
+ opacity: 0;
4678
+ }
4679
+
4680
+ to {
4681
+ opacity: 0;
4682
+ }
4683
+ }
4684
+
4685
+ .adm-virtual-input-clear {
4686
+ flex: none;
4687
+ margin-left: 16px;
4688
+ color: var(--placeholder-color);
4689
+ padding: 6px;
4690
+ cursor: pointer;
4691
+ }
4692
+
4693
+ .adm-virtual-input-clear .antd-mobile-icon {
4694
+ display: block;
4695
+ font-size: var(--adm-font-size-6);
4696
+ }
4697
+
4698
+ .adm-water-mark {
4699
+ --z-index: var(--adm-water-mark-z-index, 2000);
4700
+ position: absolute;
4701
+ z-index: var(--z-index);
4702
+ left: 0;
4703
+ right: 0;
4704
+ top: 0;
4705
+ bottom: 0;
4706
+ pointer-events: none;
4707
+ background-repeat: repeat;
4708
+ }
4709
+
4710
+ .adm-water-mark-full-page {
4711
+ position: fixed;
4712
+ }