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.
- package/2x/README.md +10 -8
- package/2x/bundle/antd-mobile.cjs.js +18963 -0
- package/2x/bundle/antd-mobile.es.js +18872 -0
- package/2x/bundle/css-vars-patch.css +399 -0
- package/2x/bundle/style.css +4712 -0
- package/2x/cjs/components/action-sheet/action-sheet.css +8 -8
- package/2x/cjs/components/badge/badge.css +2 -2
- package/2x/cjs/components/button/button.css +6 -6
- package/2x/cjs/components/button/button.patch.css +106 -0
- package/2x/cjs/components/calendar/calendar.css +5 -5
- package/2x/cjs/components/capsule-tabs/capsule-tabs.css +4 -24
- package/2x/cjs/components/card/card.css +3 -3
- package/2x/cjs/components/cascader/cascader.css +2 -2
- package/2x/cjs/components/cascader/cascader.d.ts +1 -0
- package/2x/cjs/components/cascader-view/cascader-view.css +2 -2
- package/2x/cjs/components/cascader-view/cascader-view.d.ts +1 -0
- package/2x/cjs/components/cascader-view/cascader-view.js +14 -8
- package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
- package/2x/cjs/components/center-popup/center-popup.css +29 -0
- package/2x/cjs/components/center-popup/center-popup.d.ts +23 -0
- package/2x/cjs/components/center-popup/center-popup.js +116 -0
- package/2x/cjs/components/center-popup/center-popup.patch.css +13 -0
- package/2x/cjs/components/center-popup/index.d.ts +4 -0
- package/2x/cjs/components/center-popup/index.js +13 -0
- package/2x/cjs/components/check-list/check-list.css +1 -1
- package/2x/cjs/components/checkbox/checkbox.css +3 -3
- package/2x/cjs/components/dialog/dialog.css +21 -34
- package/2x/cjs/components/dialog/dialog.d.ts +4 -16
- package/2x/cjs/components/dialog/dialog.js +23 -72
- package/2x/cjs/components/divider/divider.css +2 -2
- package/2x/cjs/components/dropdown/dropdown.css +2 -2
- package/2x/cjs/components/ellipsis/ellipsis.js +1 -2
- package/2x/cjs/components/empty/empty.css +1 -1
- package/2x/cjs/components/error-block/create-error-block.d.ts +12 -0
- package/2x/cjs/components/error-block/create-error-block.js +59 -0
- package/2x/cjs/components/error-block/error-block.css +4 -4
- package/2x/cjs/components/error-block/error-block.d.ts +2 -11
- package/2x/cjs/components/error-block/error-block.js +7 -53
- package/2x/cjs/components/error-block/error-block.patch.css +29 -0
- package/2x/cjs/components/error-block/images/index.d.ts +4 -2
- package/2x/cjs/components/error-block/images/index.js +25 -10
- package/2x/cjs/components/error-block/index.d.ts +5 -1
- package/2x/cjs/components/error-block/index.js +8 -0
- package/2x/cjs/components/form/form-item.css +2 -2
- package/2x/cjs/components/form/form.css +3 -3
- package/2x/cjs/components/form/index.css +5 -5
- package/2x/cjs/components/image/image.css +1 -1
- package/2x/cjs/components/image/image.js +2 -0
- package/2x/cjs/components/image/image.patch.css +12 -0
- package/2x/cjs/components/image-uploader/image-uploader.css +4 -4
- package/2x/cjs/components/image-viewer/image-viewer.css +8 -2
- package/2x/cjs/components/image-viewer/image-viewer.d.ts +5 -2
- package/2x/cjs/components/image-viewer/image-viewer.js +24 -4
- package/2x/cjs/components/image-viewer/index.d.ts +2 -1
- package/2x/cjs/components/index-bar/index-bar.css +4 -4
- package/2x/cjs/components/index-bar/index-bar.d.ts +2 -0
- package/2x/cjs/components/index-bar/index-bar.js +6 -0
- package/2x/cjs/components/index-bar/index.d.ts +1 -0
- package/2x/cjs/components/infinite-scroll/infinite-scroll.css +6 -1
- package/2x/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
- package/2x/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
- package/2x/cjs/components/input/input.css +2 -2
- package/2x/cjs/components/input/input.js +22 -4
- package/2x/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -24
- package/2x/cjs/components/list/list.css +10 -11
- package/2x/cjs/components/mask/mask.js +9 -7
- package/2x/cjs/components/mask/mask.patch.css +3 -0
- package/2x/cjs/components/modal/modal.css +14 -29
- package/2x/cjs/components/modal/modal.d.ts +4 -16
- package/2x/cjs/components/modal/modal.js +24 -74
- package/2x/cjs/components/modal/modal.patch.css +29 -0
- package/2x/cjs/components/nav-bar/nav-bar.css +2 -2
- package/2x/cjs/components/notice-bar/notice-bar.css +4 -4
- package/2x/cjs/components/number-keyboard/number-keyboard.css +4 -4
- package/2x/cjs/components/page-indicator/page-indicator.patch.css +31 -0
- package/2x/cjs/components/passcode-input/passcode-input.css +1 -1
- package/2x/cjs/components/picker/picker.css +6 -7
- package/2x/cjs/components/picker-view/picker-view.css +3 -3
- package/2x/cjs/components/popover/popover-menu.css +1 -1
- package/2x/cjs/components/popover/popover-menu.patch.css +31 -0
- package/2x/cjs/components/popover/popover.css +3 -2
- package/2x/cjs/components/popover/popover.patch.css +24 -0
- package/2x/cjs/components/popup/popup.css +1 -1
- package/2x/cjs/components/popup/popup.d.ts +11 -12
- package/2x/cjs/components/radio/radio.css +2 -2
- package/2x/cjs/components/result/result.css +2 -2
- package/2x/cjs/components/scroll-mask/scroll-mask.css +2 -2
- package/2x/cjs/components/scroll-mask/scroll-mask.patch.css +7 -0
- package/2x/cjs/components/search-bar/search-bar.css +4 -4
- package/2x/cjs/components/selector/selector.css +3 -3
- package/2x/cjs/components/side-bar/corner.js +1 -1
- package/2x/cjs/components/side-bar/side-bar.css +3 -3
- package/2x/cjs/components/side-bar/side-bar.js +1 -0
- package/2x/cjs/components/slider/slider.css +26 -24
- package/2x/cjs/components/slider/slider.d.ts +3 -2
- package/2x/cjs/components/slider/slider.js +4 -2
- package/2x/cjs/components/slider/thumb-icon.js +20 -18
- package/2x/cjs/components/slider/thumb.d.ts +2 -1
- package/2x/cjs/components/slider/thumb.js +19 -5
- package/2x/cjs/components/space/space.patch.css +16 -0
- package/2x/cjs/components/spin-loading/spin-loading.css +0 -3
- package/2x/cjs/components/spin-loading/spin-loading.js +6 -2
- package/2x/cjs/components/spin-loading/spin-loading.patch.css +14 -0
- package/2x/cjs/components/stepper/stepper.css +3 -3
- package/2x/cjs/components/steps/steps.css +2 -2
- package/2x/cjs/components/swipe-action/swipe-action.css +1 -1
- package/2x/cjs/components/swipe-action/swipe-action.js +7 -6
- package/2x/cjs/components/swiper/swiper.js +9 -8
- package/2x/cjs/components/swiper/swiper.patch.css +26 -0
- package/2x/cjs/components/switch/switch.css +4 -4
- package/2x/cjs/components/tab-bar/tab-bar.css +8 -5
- package/2x/cjs/components/tab-bar/tab-bar.js +2 -1
- package/2x/cjs/components/tabs/tabs.css +4 -4
- package/2x/cjs/components/tabs/tabs.patch.css +29 -0
- package/2x/cjs/components/tag/tag.css +1 -1
- package/2x/cjs/components/text-area/text-area.css +2 -2
- package/2x/cjs/components/toast/toast.css +1 -1
- package/2x/cjs/components/toast/toast.patch.css +13 -0
- package/2x/cjs/components/tree-select/tree-select.css +1 -1
- package/2x/cjs/components/virtual-input/virtual-input.css +2 -2
- package/2x/cjs/global/css-vars-patch.css +399 -0
- package/2x/cjs/global/global.css +36 -4
- package/2x/cjs/global/index.js +2 -1
- package/2x/cjs/global/theme-dark.css +14 -0
- package/2x/cjs/global/theme-default.css +33 -0
- package/2x/cjs/index.d.ts +3 -0
- package/2x/cjs/index.js +29 -1
- package/2x/cjs/locales/base.d.ts +2 -0
- package/2x/cjs/locales/base.js +3 -1
- package/2x/cjs/locales/en-US.d.ts +2 -0
- package/2x/cjs/locales/es-ES.d.ts +2 -0
- package/2x/cjs/locales/fa-IR.d.ts +2 -0
- package/2x/cjs/locales/fr-FR.d.ts +108 -0
- package/2x/cjs/locales/fr-FR.js +119 -0
- package/2x/cjs/locales/ko-KR.d.ts +2 -0
- package/2x/cjs/locales/zh-CN.d.ts +2 -0
- package/2x/cjs/locales/zh-CN.js +3 -1
- package/2x/cjs/locales/zh-HK.d.ts +2 -0
- package/2x/cjs/locales/zh-TW.d.ts +2 -0
- package/2x/cjs/utils/measure-css-length.js +2 -2
- package/2x/cjs/utils/reduce-and-restore-motion.d.ts +4 -0
- package/2x/cjs/utils/reduce-and-restore-motion.js +53 -0
- package/2x/cjs/utils/use-inner-visible.d.ts +1 -0
- package/2x/cjs/utils/use-inner-visible.js +18 -0
- package/2x/es/components/action-sheet/action-sheet.css +8 -8
- package/2x/es/components/badge/badge.css +2 -2
- package/2x/es/components/button/button.css +6 -6
- package/2x/es/components/button/button.patch.css +106 -0
- package/2x/es/components/calendar/calendar.css +5 -5
- package/2x/es/components/capsule-tabs/capsule-tabs.css +4 -24
- package/2x/es/components/card/card.css +3 -3
- package/2x/es/components/cascader/cascader.css +2 -2
- package/2x/es/components/cascader/cascader.d.ts +1 -0
- package/2x/es/components/cascader-view/cascader-view.css +2 -2
- package/2x/es/components/cascader-view/cascader-view.d.ts +1 -0
- package/2x/es/components/cascader-view/cascader-view.js +14 -8
- package/2x/es/components/cascader-view/use-cascader-value-extend.js +5 -14
- package/2x/es/components/center-popup/center-popup.css +29 -0
- package/2x/es/components/center-popup/center-popup.d.ts +23 -0
- package/2x/es/components/center-popup/center-popup.js +86 -0
- package/2x/es/components/center-popup/center-popup.patch.css +13 -0
- package/2x/es/components/center-popup/index.d.ts +4 -0
- package/2x/es/components/center-popup/index.js +3 -0
- package/2x/es/components/check-list/check-list.css +1 -1
- package/2x/es/components/checkbox/checkbox.css +3 -3
- package/2x/es/components/dialog/dialog.css +21 -34
- package/2x/es/components/dialog/dialog.d.ts +4 -16
- package/2x/es/components/dialog/dialog.js +22 -62
- package/2x/es/components/divider/divider.css +2 -2
- package/2x/es/components/dropdown/dropdown.css +2 -2
- package/2x/es/components/ellipsis/ellipsis.js +1 -2
- package/2x/es/components/empty/empty.css +1 -1
- package/2x/es/components/error-block/create-error-block.d.ts +12 -0
- package/2x/es/components/error-block/create-error-block.js +44 -0
- package/2x/es/components/error-block/error-block.css +4 -4
- package/2x/es/components/error-block/error-block.d.ts +2 -11
- package/2x/es/components/error-block/error-block.js +8 -46
- package/2x/es/components/error-block/error-block.patch.css +29 -0
- package/2x/es/components/error-block/images/index.d.ts +4 -2
- package/2x/es/components/error-block/images/index.js +4 -10
- package/2x/es/components/error-block/index.d.ts +5 -1
- package/2x/es/components/error-block/index.js +1 -0
- package/2x/es/components/form/form-item.css +2 -2
- package/2x/es/components/form/form.css +3 -3
- package/2x/es/components/form/index.css +5 -5
- package/2x/es/components/image/image.css +1 -1
- package/2x/es/components/image/image.js +2 -0
- package/2x/es/components/image/image.patch.css +12 -0
- package/2x/es/components/image-uploader/image-uploader.css +4 -4
- package/2x/es/components/image-viewer/image-viewer.css +8 -2
- package/2x/es/components/image-viewer/image-viewer.d.ts +5 -2
- package/2x/es/components/image-viewer/image-viewer.js +24 -5
- package/2x/es/components/image-viewer/index.d.ts +2 -1
- package/2x/es/components/index-bar/index-bar.css +4 -4
- package/2x/es/components/index-bar/index-bar.d.ts +2 -0
- package/2x/es/components/index-bar/index-bar.js +6 -0
- package/2x/es/components/index-bar/index.d.ts +1 -0
- package/2x/es/components/infinite-scroll/infinite-scroll.css +6 -1
- package/2x/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
- package/2x/es/components/infinite-scroll/infinite-scroll.js +47 -17
- package/2x/es/components/input/input.css +2 -2
- package/2x/es/components/input/input.js +21 -4
- package/2x/es/components/jumbo-tabs/jumbo-tabs.css +4 -24
- package/2x/es/components/list/list.css +10 -11
- package/2x/es/components/mask/mask.js +10 -8
- package/2x/es/components/mask/mask.patch.css +3 -0
- package/2x/es/components/modal/modal.css +14 -29
- package/2x/es/components/modal/modal.d.ts +4 -16
- package/2x/es/components/modal/modal.js +22 -63
- package/2x/es/components/modal/modal.patch.css +29 -0
- package/2x/es/components/nav-bar/nav-bar.css +2 -2
- package/2x/es/components/notice-bar/notice-bar.css +4 -4
- package/2x/es/components/number-keyboard/number-keyboard.css +4 -4
- package/2x/es/components/page-indicator/page-indicator.patch.css +31 -0
- package/2x/es/components/passcode-input/passcode-input.css +1 -1
- package/2x/es/components/picker/picker.css +6 -7
- package/2x/es/components/picker-view/picker-view.css +3 -3
- package/2x/es/components/popover/popover-menu.css +1 -1
- package/2x/es/components/popover/popover-menu.patch.css +31 -0
- package/2x/es/components/popover/popover.css +3 -2
- package/2x/es/components/popover/popover.patch.css +24 -0
- package/2x/es/components/popup/popup.css +1 -1
- package/2x/es/components/popup/popup.d.ts +11 -12
- package/2x/es/components/radio/radio.css +2 -2
- package/2x/es/components/result/result.css +2 -2
- package/2x/es/components/scroll-mask/scroll-mask.css +2 -2
- package/2x/es/components/scroll-mask/scroll-mask.patch.css +7 -0
- package/2x/es/components/search-bar/search-bar.css +4 -4
- package/2x/es/components/selector/selector.css +3 -3
- package/2x/es/components/side-bar/corner.js +1 -1
- package/2x/es/components/side-bar/side-bar.css +3 -3
- package/2x/es/components/side-bar/side-bar.js +2 -0
- package/2x/es/components/slider/slider.css +26 -24
- package/2x/es/components/slider/slider.d.ts +3 -2
- package/2x/es/components/slider/slider.js +4 -2
- package/2x/es/components/slider/thumb-icon.js +20 -18
- package/2x/es/components/slider/thumb.d.ts +2 -1
- package/2x/es/components/slider/thumb.js +17 -6
- package/2x/es/components/space/space.patch.css +16 -0
- package/2x/es/components/spin-loading/spin-loading.css +0 -3
- package/2x/es/components/spin-loading/spin-loading.js +5 -2
- package/2x/es/components/spin-loading/spin-loading.patch.css +14 -0
- package/2x/es/components/stepper/stepper.css +3 -3
- package/2x/es/components/steps/steps.css +2 -2
- package/2x/es/components/swipe-action/swipe-action.css +1 -1
- package/2x/es/components/swipe-action/swipe-action.js +7 -6
- package/2x/es/components/swiper/swiper.js +9 -8
- package/2x/es/components/swiper/swiper.patch.css +26 -0
- package/2x/es/components/switch/switch.css +4 -4
- package/2x/es/components/tab-bar/tab-bar.css +8 -5
- package/2x/es/components/tab-bar/tab-bar.js +3 -1
- package/2x/es/components/tabs/tabs.css +4 -4
- package/2x/es/components/tabs/tabs.patch.css +29 -0
- package/2x/es/components/tag/tag.css +1 -1
- package/2x/es/components/text-area/text-area.css +2 -2
- package/2x/es/components/toast/toast.css +1 -1
- package/2x/es/components/toast/toast.patch.css +13 -0
- package/2x/es/components/tree-select/tree-select.css +1 -1
- package/2x/es/components/virtual-input/virtual-input.css +2 -2
- package/2x/es/global/css-vars-patch.css +399 -0
- package/2x/es/global/global.css +36 -4
- package/2x/es/global/index.js +2 -1
- package/2x/es/global/theme-dark.css +14 -0
- package/2x/es/global/theme-default.css +33 -0
- package/2x/es/index.d.ts +3 -0
- package/2x/es/index.js +4 -1
- package/2x/es/locales/base.d.ts +2 -0
- package/2x/es/locales/base.js +3 -1
- package/2x/es/locales/en-US.d.ts +2 -0
- package/2x/es/locales/es-ES.d.ts +2 -0
- package/2x/es/locales/fa-IR.d.ts +2 -0
- package/2x/es/locales/fr-FR.d.ts +108 -0
- package/2x/es/locales/fr-FR.js +109 -0
- package/2x/es/locales/ko-KR.d.ts +2 -0
- package/2x/es/locales/zh-CN.d.ts +2 -0
- package/2x/es/locales/zh-CN.js +3 -1
- package/2x/es/locales/zh-HK.d.ts +2 -0
- package/2x/es/locales/zh-TW.d.ts +2 -0
- package/2x/es/utils/measure-css-length.js +2 -2
- package/2x/es/utils/reduce-and-restore-motion.d.ts +4 -0
- package/2x/es/utils/reduce-and-restore-motion.js +36 -0
- package/2x/es/utils/use-inner-visible.d.ts +1 -0
- package/2x/es/utils/use-inner-visible.js +9 -0
- package/2x/package.json +8 -7
- package/2x/umd/antd-mobile.js +2 -0
- package/2x/umd/antd-mobile.js.LICENSE.txt +35 -0
- package/README.md +10 -8
- package/bundle/antd-mobile.cjs.js +2262 -2081
- package/bundle/antd-mobile.es.js +2257 -2080
- package/bundle/css-vars-patch.css +312 -0
- package/bundle/style.css +278 -272
- package/cjs/components/action-sheet/action-sheet.css +8 -8
- package/cjs/components/badge/badge.css +2 -2
- package/cjs/components/button/button.css +6 -6
- package/cjs/components/button/button.patch.css +86 -0
- package/cjs/components/calendar/calendar.css +5 -5
- package/cjs/components/capsule-tabs/capsule-tabs.css +4 -21
- package/cjs/components/card/card.css +3 -3
- package/cjs/components/cascader/cascader.css +2 -2
- package/cjs/components/cascader/cascader.d.ts +1 -0
- package/cjs/components/cascader-view/cascader-view.css +2 -2
- package/cjs/components/cascader-view/cascader-view.d.ts +1 -0
- package/cjs/components/cascader-view/cascader-view.js +14 -8
- package/cjs/components/cascader-view/use-cascader-value-extend.js +5 -14
- package/cjs/components/center-popup/center-popup.css +26 -0
- package/cjs/components/center-popup/center-popup.d.ts +23 -0
- package/cjs/components/center-popup/center-popup.js +116 -0
- package/cjs/components/center-popup/center-popup.patch.css +11 -0
- package/cjs/components/center-popup/index.d.ts +4 -0
- package/cjs/components/center-popup/index.js +13 -0
- package/cjs/components/check-list/check-list.css +1 -1
- package/cjs/components/checkbox/checkbox.css +3 -3
- package/cjs/components/dialog/dialog.css +21 -33
- package/cjs/components/dialog/dialog.d.ts +4 -16
- package/cjs/components/dialog/dialog.js +23 -72
- package/cjs/components/divider/divider.css +2 -2
- package/cjs/components/dropdown/dropdown.css +2 -2
- package/cjs/components/ellipsis/ellipsis.js +1 -2
- package/cjs/components/empty/empty.css +1 -1
- package/cjs/components/error-block/create-error-block.d.ts +12 -0
- package/cjs/components/error-block/create-error-block.js +59 -0
- package/cjs/components/error-block/error-block.css +4 -4
- package/cjs/components/error-block/error-block.d.ts +2 -11
- package/cjs/components/error-block/error-block.js +7 -53
- package/cjs/components/error-block/error-block.patch.css +23 -0
- package/cjs/components/error-block/images/index.d.ts +4 -2
- package/cjs/components/error-block/images/index.js +25 -10
- package/cjs/components/error-block/index.d.ts +5 -1
- package/cjs/components/error-block/index.js +8 -0
- package/cjs/components/form/form-item.css +2 -2
- package/cjs/components/form/form.css +3 -3
- package/cjs/components/form/index.css +5 -5
- package/cjs/components/image/image.css +1 -1
- package/cjs/components/image/image.js +2 -0
- package/cjs/components/image/image.patch.css +10 -0
- package/cjs/components/image-uploader/image-uploader.css +4 -4
- package/cjs/components/image-viewer/image-viewer.css +7 -2
- package/cjs/components/image-viewer/image-viewer.d.ts +5 -2
- package/cjs/components/image-viewer/image-viewer.js +24 -4
- package/cjs/components/image-viewer/index.d.ts +2 -1
- package/cjs/components/index-bar/index-bar.css +4 -4
- package/cjs/components/index-bar/index-bar.d.ts +2 -0
- package/cjs/components/index-bar/index-bar.js +6 -0
- package/cjs/components/index-bar/index.d.ts +1 -0
- package/cjs/components/infinite-scroll/infinite-scroll.css +5 -1
- package/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -2
- package/cjs/components/infinite-scroll/infinite-scroll.js +48 -17
- package/cjs/components/input/input.css +2 -2
- package/cjs/components/input/input.js +22 -4
- package/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -21
- package/cjs/components/list/list.css +10 -11
- package/cjs/components/mask/mask.js +9 -7
- package/cjs/components/mask/mask.patch.css +3 -0
- package/cjs/components/modal/modal.css +15 -29
- package/cjs/components/modal/modal.d.ts +4 -16
- package/cjs/components/modal/modal.js +24 -74
- package/cjs/components/modal/modal.patch.css +23 -0
- package/cjs/components/nav-bar/nav-bar.css +2 -2
- package/cjs/components/notice-bar/notice-bar.css +4 -4
- package/cjs/components/number-keyboard/number-keyboard.css +4 -4
- package/cjs/components/page-indicator/page-indicator.patch.css +25 -0
- package/cjs/components/passcode-input/passcode-input.css +1 -1
- package/cjs/components/picker/picker.css +6 -7
- package/cjs/components/picker-view/picker-view.css +3 -3
- package/cjs/components/popover/popover-menu.css +1 -1
- package/cjs/components/popover/popover-menu.patch.css +24 -0
- package/cjs/components/popover/popover.css +3 -2
- package/cjs/components/popover/popover.patch.css +19 -0
- package/cjs/components/popup/popup.css +1 -1
- package/cjs/components/popup/popup.d.ts +11 -12
- package/cjs/components/radio/radio.css +2 -2
- package/cjs/components/result/result.css +2 -2
- package/cjs/components/scroll-mask/scroll-mask.css +2 -2
- package/cjs/components/scroll-mask/scroll-mask.patch.css +6 -0
- package/cjs/components/search-bar/search-bar.css +4 -4
- package/cjs/components/selector/selector.css +3 -3
- package/cjs/components/side-bar/corner.js +1 -1
- package/cjs/components/side-bar/side-bar.css +3 -3
- package/cjs/components/side-bar/side-bar.js +1 -0
- package/cjs/components/slider/slider.css +26 -24
- package/cjs/components/slider/slider.d.ts +3 -2
- package/cjs/components/slider/slider.js +4 -2
- package/cjs/components/slider/thumb-icon.js +20 -18
- package/cjs/components/slider/thumb.d.ts +2 -1
- package/cjs/components/slider/thumb.js +19 -5
- package/cjs/components/space/space.patch.css +13 -0
- package/cjs/components/spin-loading/spin-loading.css +0 -3
- package/cjs/components/spin-loading/spin-loading.js +6 -2
- package/cjs/components/spin-loading/spin-loading.patch.css +12 -0
- package/cjs/components/stepper/stepper.css +3 -3
- package/cjs/components/steps/steps.css +2 -2
- package/cjs/components/swipe-action/swipe-action.css +1 -1
- package/cjs/components/swipe-action/swipe-action.js +7 -6
- package/cjs/components/swiper/swiper.js +9 -8
- package/cjs/components/swiper/swiper.patch.css +21 -0
- package/cjs/components/switch/switch.css +4 -4
- package/cjs/components/tab-bar/tab-bar.css +7 -5
- package/cjs/components/tab-bar/tab-bar.js +2 -1
- package/cjs/components/tabs/tabs.css +4 -4
- package/cjs/components/tabs/tabs.patch.css +23 -0
- package/cjs/components/tag/tag.css +1 -1
- package/cjs/components/text-area/text-area.css +2 -2
- package/cjs/components/toast/toast.css +1 -1
- package/cjs/components/toast/toast.patch.css +11 -0
- package/cjs/components/tree-select/tree-select.css +1 -1
- package/cjs/components/virtual-input/virtual-input.css +2 -2
- package/cjs/global/css-vars-patch.css +312 -0
- package/cjs/global/global.css +35 -4
- package/cjs/global/index.js +2 -1
- package/cjs/global/theme-dark.css +14 -0
- package/cjs/global/theme-default.css +33 -0
- package/cjs/index.d.ts +3 -0
- package/cjs/index.js +29 -1
- package/cjs/locales/base.d.ts +2 -0
- package/cjs/locales/base.js +3 -1
- package/cjs/locales/en-US.d.ts +2 -0
- package/cjs/locales/es-ES.d.ts +2 -0
- package/cjs/locales/fa-IR.d.ts +2 -0
- package/cjs/locales/fr-FR.d.ts +108 -0
- package/cjs/locales/fr-FR.js +119 -0
- package/cjs/locales/ko-KR.d.ts +2 -0
- package/cjs/locales/zh-CN.d.ts +2 -0
- package/cjs/locales/zh-CN.js +3 -1
- package/cjs/locales/zh-HK.d.ts +2 -0
- package/cjs/locales/zh-TW.d.ts +2 -0
- package/cjs/utils/measure-css-length.js +2 -2
- package/cjs/utils/reduce-and-restore-motion.d.ts +4 -0
- package/cjs/utils/reduce-and-restore-motion.js +53 -0
- package/cjs/utils/use-inner-visible.d.ts +1 -0
- package/cjs/utils/use-inner-visible.js +18 -0
- package/es/components/action-sheet/action-sheet.css +8 -8
- package/es/components/badge/badge.css +2 -2
- package/es/components/button/button.css +6 -6
- package/es/components/button/button.patch.css +86 -0
- package/es/components/calendar/calendar.css +5 -5
- package/es/components/capsule-tabs/capsule-tabs.css +4 -21
- package/es/components/card/card.css +3 -3
- package/es/components/cascader/cascader.css +2 -2
- package/es/components/cascader/cascader.d.ts +1 -0
- package/es/components/cascader-view/cascader-view.css +2 -2
- package/es/components/cascader-view/cascader-view.d.ts +1 -0
- package/es/components/cascader-view/cascader-view.js +14 -8
- package/es/components/cascader-view/use-cascader-value-extend.js +5 -14
- package/es/components/center-popup/center-popup.css +26 -0
- package/es/components/center-popup/center-popup.d.ts +23 -0
- package/es/components/center-popup/center-popup.js +86 -0
- package/es/components/center-popup/center-popup.patch.css +11 -0
- package/es/components/center-popup/index.d.ts +4 -0
- package/es/components/center-popup/index.js +3 -0
- package/es/components/check-list/check-list.css +1 -1
- package/es/components/checkbox/checkbox.css +3 -3
- package/es/components/dialog/dialog.css +21 -33
- package/es/components/dialog/dialog.d.ts +4 -16
- package/es/components/dialog/dialog.js +22 -62
- package/es/components/divider/divider.css +2 -2
- package/es/components/dropdown/dropdown.css +2 -2
- package/es/components/ellipsis/ellipsis.js +1 -2
- package/es/components/empty/empty.css +1 -1
- package/es/components/error-block/create-error-block.d.ts +12 -0
- package/es/components/error-block/create-error-block.js +44 -0
- package/es/components/error-block/error-block.css +4 -4
- package/es/components/error-block/error-block.d.ts +2 -11
- package/es/components/error-block/error-block.js +8 -46
- package/es/components/error-block/error-block.patch.css +23 -0
- package/es/components/error-block/images/index.d.ts +4 -2
- package/es/components/error-block/images/index.js +4 -10
- package/es/components/error-block/index.d.ts +5 -1
- package/es/components/error-block/index.js +1 -0
- package/es/components/form/form-item.css +2 -2
- package/es/components/form/form.css +3 -3
- package/es/components/form/index.css +5 -5
- package/es/components/image/image.css +1 -1
- package/es/components/image/image.js +2 -0
- package/es/components/image/image.patch.css +10 -0
- package/es/components/image-uploader/image-uploader.css +4 -4
- package/es/components/image-viewer/image-viewer.css +7 -2
- package/es/components/image-viewer/image-viewer.d.ts +5 -2
- package/es/components/image-viewer/image-viewer.js +24 -5
- package/es/components/image-viewer/index.d.ts +2 -1
- package/es/components/index-bar/index-bar.css +4 -4
- package/es/components/index-bar/index-bar.d.ts +2 -0
- package/es/components/index-bar/index-bar.js +6 -0
- package/es/components/index-bar/index.d.ts +1 -0
- package/es/components/infinite-scroll/infinite-scroll.css +5 -1
- package/es/components/infinite-scroll/infinite-scroll.d.ts +2 -2
- package/es/components/infinite-scroll/infinite-scroll.js +47 -17
- package/es/components/input/input.css +2 -2
- package/es/components/input/input.js +21 -4
- package/es/components/jumbo-tabs/jumbo-tabs.css +4 -21
- package/es/components/list/list.css +10 -11
- package/es/components/mask/mask.js +10 -8
- package/es/components/mask/mask.patch.css +3 -0
- package/es/components/modal/modal.css +15 -29
- package/es/components/modal/modal.d.ts +4 -16
- package/es/components/modal/modal.js +22 -63
- package/es/components/modal/modal.patch.css +23 -0
- package/es/components/nav-bar/nav-bar.css +2 -2
- package/es/components/notice-bar/notice-bar.css +4 -4
- package/es/components/number-keyboard/number-keyboard.css +4 -4
- package/es/components/page-indicator/page-indicator.patch.css +25 -0
- package/es/components/passcode-input/passcode-input.css +1 -1
- package/es/components/picker/picker.css +6 -7
- package/es/components/picker-view/picker-view.css +3 -3
- package/es/components/popover/popover-menu.css +1 -1
- package/es/components/popover/popover-menu.patch.css +24 -0
- package/es/components/popover/popover.css +3 -2
- package/es/components/popover/popover.patch.css +19 -0
- package/es/components/popup/popup.css +1 -1
- package/es/components/popup/popup.d.ts +11 -12
- package/es/components/radio/radio.css +2 -2
- package/es/components/result/result.css +2 -2
- package/es/components/scroll-mask/scroll-mask.css +2 -2
- package/es/components/scroll-mask/scroll-mask.patch.css +6 -0
- package/es/components/search-bar/search-bar.css +4 -4
- package/es/components/selector/selector.css +3 -3
- package/es/components/side-bar/corner.js +1 -1
- package/es/components/side-bar/side-bar.css +3 -3
- package/es/components/side-bar/side-bar.js +2 -0
- package/es/components/slider/slider.css +26 -24
- package/es/components/slider/slider.d.ts +3 -2
- package/es/components/slider/slider.js +4 -2
- package/es/components/slider/thumb-icon.js +20 -18
- package/es/components/slider/thumb.d.ts +2 -1
- package/es/components/slider/thumb.js +17 -6
- package/es/components/space/space.patch.css +13 -0
- package/es/components/spin-loading/spin-loading.css +0 -3
- package/es/components/spin-loading/spin-loading.js +5 -2
- package/es/components/spin-loading/spin-loading.patch.css +12 -0
- package/es/components/stepper/stepper.css +3 -3
- package/es/components/steps/steps.css +2 -2
- package/es/components/swipe-action/swipe-action.css +1 -1
- package/es/components/swipe-action/swipe-action.js +7 -6
- package/es/components/swiper/swiper.js +9 -8
- package/es/components/swiper/swiper.patch.css +21 -0
- package/es/components/switch/switch.css +4 -4
- package/es/components/tab-bar/tab-bar.css +7 -5
- package/es/components/tab-bar/tab-bar.js +3 -1
- package/es/components/tabs/tabs.css +4 -4
- package/es/components/tabs/tabs.patch.css +23 -0
- package/es/components/tag/tag.css +1 -1
- package/es/components/text-area/text-area.css +2 -2
- package/es/components/toast/toast.css +1 -1
- package/es/components/toast/toast.patch.css +11 -0
- package/es/components/tree-select/tree-select.css +1 -1
- package/es/components/virtual-input/virtual-input.css +2 -2
- package/es/global/css-vars-patch.css +312 -0
- package/es/global/global.css +35 -4
- package/es/global/index.js +2 -1
- package/es/global/theme-dark.css +14 -0
- package/es/global/theme-default.css +33 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/locales/base.d.ts +2 -0
- package/es/locales/base.js +3 -1
- package/es/locales/en-US.d.ts +2 -0
- package/es/locales/es-ES.d.ts +2 -0
- package/es/locales/fa-IR.d.ts +2 -0
- package/es/locales/fr-FR.d.ts +108 -0
- package/es/locales/fr-FR.js +109 -0
- package/es/locales/ko-KR.d.ts +2 -0
- package/es/locales/zh-CN.d.ts +2 -0
- package/es/locales/zh-CN.js +3 -1
- package/es/locales/zh-HK.d.ts +2 -0
- package/es/locales/zh-TW.d.ts +2 -0
- package/es/utils/measure-css-length.js +2 -2
- package/es/utils/reduce-and-restore-motion.d.ts +4 -0
- package/es/utils/reduce-and-restore-motion.js +36 -0
- package/es/utils/use-inner-visible.d.ts +1 -0
- package/es/utils/use-inner-visible.js +9 -0
- package/package.json +8 -7
- package/umd/antd-mobile.js +1 -1
- package/umd/antd-mobile.js.LICENSE.txt +12 -0
- package/2x/cjs/global/theme.css +0 -16
- package/2x/es/global/theme.css +0 -16
- package/cjs/global/theme.css +0 -16
- package/es/global/theme.css +0 -16
package/bundle/style.css
CHANGED
|
@@ -1,18 +1,49 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--adm-radius-s: 4px;
|
|
3
|
+
--adm-radius-m: 8px;
|
|
4
|
+
--adm-radius-l: 12px;
|
|
5
|
+
--adm-font-size-1: 9px;
|
|
6
|
+
--adm-font-size-2: 10px;
|
|
7
|
+
--adm-font-size-3: 11px;
|
|
8
|
+
--adm-font-size-4: 12px;
|
|
9
|
+
--adm-font-size-5: 13px;
|
|
10
|
+
--adm-font-size-6: 14px;
|
|
11
|
+
--adm-font-size-7: 15px;
|
|
12
|
+
--adm-font-size-8: 16px;
|
|
13
|
+
--adm-font-size-9: 17px;
|
|
14
|
+
--adm-font-size-10: 18px;
|
|
15
|
+
--adm-hd: 1;
|
|
2
16
|
--adm-color-primary: #1677ff;
|
|
3
17
|
--adm-color-success: #00b578;
|
|
4
18
|
--adm-color-warning: #ff8f1f;
|
|
5
19
|
--adm-color-danger: #ff3141;
|
|
6
20
|
--adm-color-white: #ffffff;
|
|
21
|
+
--adm-color-text: #333333;
|
|
22
|
+
--adm-color-text-secondary: #666666;
|
|
7
23
|
--adm-color-weak: #999999;
|
|
8
24
|
--adm-color-light: #cccccc;
|
|
9
|
-
--adm-border
|
|
10
|
-
--adm-
|
|
11
|
-
--adm-color-
|
|
12
|
-
--adm-
|
|
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);
|
|
13
29
|
--adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
|
|
14
30
|
helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
|
|
15
31
|
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
|
|
32
|
+
--adm-border-color: var(--adm-color-border);
|
|
33
|
+
}
|
|
34
|
+
html[data-prefers-color-scheme='dark'] {
|
|
35
|
+
--adm-color-primary: #3086ff;
|
|
36
|
+
--adm-color-success: #34b368;
|
|
37
|
+
--adm-color-warning: #ffa930;
|
|
38
|
+
--adm-color-danger: #ff4a58;
|
|
39
|
+
--adm-color-text: #e6e6e6;
|
|
40
|
+
--adm-color-text-secondary: #b3b3b3;
|
|
41
|
+
--adm-color-weak: #808080;
|
|
42
|
+
--adm-color-light: #4d4d4d;
|
|
43
|
+
--adm-color-border: #2b2b2b;
|
|
44
|
+
--adm-color-box: #0a0a0a;
|
|
45
|
+
--adm-color-background: #1a1a1a;
|
|
46
|
+
--adm-border-color: var(--adm-color-border);
|
|
16
47
|
}
|
|
17
48
|
:root {
|
|
18
49
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
@@ -62,15 +93,15 @@ div.adm-px-tester {
|
|
|
62
93
|
display: flex;
|
|
63
94
|
justify-content: center;
|
|
64
95
|
color: var(--adm-color-weak);
|
|
65
|
-
font-size:
|
|
96
|
+
font-size: var(--adm-font-size-7);
|
|
66
97
|
padding: 18px 12px;
|
|
67
|
-
border-bottom: 1px solid var(--adm-border
|
|
98
|
+
border-bottom: 1px solid var(--adm-color-border);
|
|
68
99
|
}
|
|
69
100
|
.adm-action-sheet-button-list {
|
|
70
|
-
border-bottom: 1px solid var(--adm-border
|
|
101
|
+
border-bottom: 1px solid var(--adm-color-border);
|
|
71
102
|
}
|
|
72
103
|
.adm-action-sheet-button-item-wrapper {
|
|
73
|
-
border-bottom: 1px solid var(--adm-border
|
|
104
|
+
border-bottom: 1px solid var(--adm-color-border);
|
|
74
105
|
}
|
|
75
106
|
.adm-action-sheet-button-item-wrapper:last-child {
|
|
76
107
|
border-bottom: none;
|
|
@@ -78,7 +109,7 @@ div.adm-px-tester {
|
|
|
78
109
|
.adm-action-sheet-button-item {
|
|
79
110
|
text-align: center;
|
|
80
111
|
display: block;
|
|
81
|
-
background-color:
|
|
112
|
+
background-color: var(--adm-color-background);
|
|
82
113
|
padding: 16px;
|
|
83
114
|
}
|
|
84
115
|
.adm-action-sheet-button-item:active {
|
|
@@ -91,10 +122,10 @@ div.adm-px-tester {
|
|
|
91
122
|
}
|
|
92
123
|
.adm-action-sheet-button-item-name {
|
|
93
124
|
color: var(--adm-color-text);
|
|
94
|
-
font-size:
|
|
125
|
+
font-size: var(--adm-font-size-10);
|
|
95
126
|
}
|
|
96
127
|
.adm-action-sheet-button-item-description {
|
|
97
|
-
font-size:
|
|
128
|
+
font-size: var(--adm-font-size-4);
|
|
98
129
|
color: var(--adm-color-weak);
|
|
99
130
|
padding-top: 2px;
|
|
100
131
|
}
|
|
@@ -102,7 +133,7 @@ div.adm-px-tester {
|
|
|
102
133
|
color: var(--adm-color-danger);
|
|
103
134
|
}
|
|
104
135
|
.adm-action-sheet-cancel {
|
|
105
|
-
background-color:
|
|
136
|
+
background-color: var(--adm-color-box);
|
|
106
137
|
padding-top: 8px;
|
|
107
138
|
}
|
|
108
139
|
.adm-popup {
|
|
@@ -112,7 +143,7 @@ div.adm-px-tester {
|
|
|
112
143
|
}
|
|
113
144
|
.adm-popup-body {
|
|
114
145
|
position: fixed;
|
|
115
|
-
background-color:
|
|
146
|
+
background-color: var(--adm-color-background);
|
|
116
147
|
z-index: calc(var(--z-index) + 10);
|
|
117
148
|
}
|
|
118
149
|
.adm-popup-body-position-bottom {
|
|
@@ -203,11 +234,11 @@ div.adm-px-tester {
|
|
|
203
234
|
--color: var(--adm-badge-color, #ff411c);
|
|
204
235
|
}
|
|
205
236
|
.adm-badge-content {
|
|
206
|
-
color:
|
|
237
|
+
color: var(--adm-color-white);
|
|
207
238
|
box-sizing: border-box;
|
|
208
239
|
min-width: 8px;
|
|
209
240
|
padding: 1px 4px;
|
|
210
|
-
font-size:
|
|
241
|
+
font-size: var(--adm-font-size-1);
|
|
211
242
|
line-height: 12px;
|
|
212
243
|
white-space: nowrap;
|
|
213
244
|
font-weight: normal;
|
|
@@ -231,11 +262,11 @@ div.adm-px-tester {
|
|
|
231
262
|
.adm-button {
|
|
232
263
|
--color: var(--adm-color-white);
|
|
233
264
|
--text-color: var(--adm-button-text-color, var(--adm-color-text));
|
|
234
|
-
--background-color: var(--adm-button-background-color, var(--adm-color-
|
|
265
|
+
--background-color: var(--adm-button-background-color, var(--adm-color-background));
|
|
235
266
|
--border-radius: var(--adm-button-border-radius, 4px);
|
|
236
267
|
--border-width: var(--adm-button-border-width, 1px);
|
|
237
268
|
--border-style: var(--adm-button-border-style, solid);
|
|
238
|
-
--border-color: var(--adm-button-border-color, var(--adm-border
|
|
269
|
+
--border-color: var(--adm-button-border-color, var(--adm-color-border));
|
|
239
270
|
color: var(--text-color);
|
|
240
271
|
background-color: var(--background-color);
|
|
241
272
|
position: relative;
|
|
@@ -244,7 +275,7 @@ div.adm-px-tester {
|
|
|
244
275
|
height: auto;
|
|
245
276
|
padding: 7px 12px;
|
|
246
277
|
margin: 0;
|
|
247
|
-
font-size:
|
|
278
|
+
font-size: var(--adm-font-size-9);
|
|
248
279
|
line-height: 1.4;
|
|
249
280
|
text-align: center;
|
|
250
281
|
border: var(--border-width) var(--border-style) var(--border-color);
|
|
@@ -321,7 +352,7 @@ div.adm-px-tester {
|
|
|
321
352
|
.adm-button.adm-button-mini {
|
|
322
353
|
padding-top: 3px;
|
|
323
354
|
padding-bottom: 3px;
|
|
324
|
-
font-size:
|
|
355
|
+
font-size: var(--adm-font-size-main);
|
|
325
356
|
}
|
|
326
357
|
.adm-button.adm-button-mini.adm-button-shape-rounded {
|
|
327
358
|
padding-left: 9px;
|
|
@@ -330,12 +361,12 @@ div.adm-px-tester {
|
|
|
330
361
|
.adm-button.adm-button-small {
|
|
331
362
|
padding-top: 3px;
|
|
332
363
|
padding-bottom: 3px;
|
|
333
|
-
font-size:
|
|
364
|
+
font-size: var(--adm-font-size-7);
|
|
334
365
|
}
|
|
335
366
|
.adm-button.adm-button-large {
|
|
336
367
|
padding-top: 11px;
|
|
337
368
|
padding-bottom: 11px;
|
|
338
|
-
font-size:
|
|
369
|
+
font-size: var(--adm-font-size-10);
|
|
339
370
|
}
|
|
340
371
|
.adm-button.adm-button-shape-rounded {
|
|
341
372
|
--border-radius: 1000px;
|
|
@@ -377,7 +408,7 @@ div.adm-px-tester {
|
|
|
377
408
|
transform: rotate(180deg);
|
|
378
409
|
}
|
|
379
410
|
.adm-calendar .adm-calendar-header .adm-calendar-title {
|
|
380
|
-
font-size:
|
|
411
|
+
font-size: var(--adm-font-size-10);
|
|
381
412
|
flex: auto;
|
|
382
413
|
text-align: center;
|
|
383
414
|
}
|
|
@@ -436,11 +467,11 @@ div.adm-px-tester {
|
|
|
436
467
|
}
|
|
437
468
|
.adm-calendar-cell .adm-calendar-cell-top {
|
|
438
469
|
flex: none;
|
|
439
|
-
font-size:
|
|
470
|
+
font-size: var(--adm-font-size-10);
|
|
440
471
|
}
|
|
441
472
|
.adm-calendar-cell .adm-calendar-cell-bottom {
|
|
442
473
|
flex: none;
|
|
443
|
-
font-size:
|
|
474
|
+
font-size: var(--adm-font-size-4);
|
|
444
475
|
height: 12px;
|
|
445
476
|
line-height: 12px;
|
|
446
477
|
color: var(--adm-color-weak);
|
|
@@ -450,10 +481,10 @@ div.adm-px-tester {
|
|
|
450
481
|
flex-direction: row;
|
|
451
482
|
justify-content: flex-start;
|
|
452
483
|
align-items: center;
|
|
453
|
-
border-bottom: solid 1px var(--adm-border
|
|
484
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
454
485
|
height: 45px;
|
|
455
486
|
box-sizing: border-box;
|
|
456
|
-
font-size:
|
|
487
|
+
font-size: var(--adm-font-size-7);
|
|
457
488
|
padding: 0 8px;
|
|
458
489
|
}
|
|
459
490
|
.adm-calendar-mark .adm-calendar-mark-cell {
|
|
@@ -467,7 +498,7 @@ div.adm-px-tester {
|
|
|
467
498
|
.adm-capsule-tabs-header {
|
|
468
499
|
position: relative;
|
|
469
500
|
padding: 12px 6px;
|
|
470
|
-
border-bottom: solid 1px var(--adm-border
|
|
501
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
471
502
|
}
|
|
472
503
|
.adm-capsule-tabs-tab-list {
|
|
473
504
|
display: flex;
|
|
@@ -491,13 +522,13 @@ div.adm-px-tester {
|
|
|
491
522
|
margin: 0 auto;
|
|
492
523
|
border-radius: 20px;
|
|
493
524
|
cursor: pointer;
|
|
494
|
-
font-size:
|
|
525
|
+
font-size: var(--adm-font-size-7);
|
|
495
526
|
text-align: center;
|
|
496
527
|
white-space: nowrap;
|
|
497
|
-
background-color:
|
|
528
|
+
background-color: var(--adm-color-box);
|
|
498
529
|
}
|
|
499
530
|
.adm-capsule-tabs-tab-active {
|
|
500
|
-
color:
|
|
531
|
+
color: var(--adm-color-white);
|
|
501
532
|
background-color: var(--adm-color-primary);
|
|
502
533
|
}
|
|
503
534
|
.adm-capsule-tabs-tab-disabled {
|
|
@@ -507,23 +538,6 @@ div.adm-px-tester {
|
|
|
507
538
|
.adm-capsule-tabs-content {
|
|
508
539
|
padding: 12px;
|
|
509
540
|
}
|
|
510
|
-
.adm-capsule-tabs-header-mask {
|
|
511
|
-
position: absolute;
|
|
512
|
-
top: 0;
|
|
513
|
-
bottom: 0;
|
|
514
|
-
z-index: 1;
|
|
515
|
-
width: 30px;
|
|
516
|
-
height: 100%;
|
|
517
|
-
pointer-events: none;
|
|
518
|
-
}
|
|
519
|
-
.adm-capsule-tabs-header-mask-left {
|
|
520
|
-
left: 0;
|
|
521
|
-
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
522
|
-
}
|
|
523
|
-
.adm-capsule-tabs-header-mask-right {
|
|
524
|
-
right: 0;
|
|
525
|
-
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
|
|
526
|
-
}
|
|
527
541
|
.adm-scroll-mask {
|
|
528
542
|
position: absolute;
|
|
529
543
|
top: 0;
|
|
@@ -535,14 +549,14 @@ div.adm-px-tester {
|
|
|
535
549
|
}
|
|
536
550
|
.adm-scroll-mask-left {
|
|
537
551
|
left: 0;
|
|
538
|
-
background: linear-gradient(to right,
|
|
552
|
+
background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));
|
|
539
553
|
}
|
|
540
554
|
.adm-scroll-mask-right {
|
|
541
555
|
right: 0;
|
|
542
|
-
background: linear-gradient(to left,
|
|
556
|
+
background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));
|
|
543
557
|
}
|
|
544
558
|
.adm-card {
|
|
545
|
-
background:
|
|
559
|
+
background: var(--adm-color-background);
|
|
546
560
|
border-radius: 8px;
|
|
547
561
|
padding: 0 12px;
|
|
548
562
|
}
|
|
@@ -555,10 +569,10 @@ div.adm-px-tester {
|
|
|
555
569
|
padding: 12px 0;
|
|
556
570
|
}
|
|
557
571
|
.adm-card-header:not(:last-child) {
|
|
558
|
-
border-bottom: solid 0.5px var(--adm-border
|
|
572
|
+
border-bottom: solid 0.5px var(--adm-color-border);
|
|
559
573
|
}
|
|
560
574
|
.adm-card-header-title {
|
|
561
|
-
font-size:
|
|
575
|
+
font-size: var(--adm-font-size-7);
|
|
562
576
|
line-height: 1.4;
|
|
563
577
|
font-weight: bold;
|
|
564
578
|
}
|
|
@@ -566,9 +580,9 @@ div.adm-px-tester {
|
|
|
566
580
|
padding: 12px 0;
|
|
567
581
|
}
|
|
568
582
|
.adm-picker {
|
|
569
|
-
--header-button-font-size:
|
|
570
|
-
--title-font-size:
|
|
571
|
-
--item-font-size:
|
|
583
|
+
--header-button-font-size: var(--adm-font-size-7);
|
|
584
|
+
--title-font-size: var(--adm-font-size-7);
|
|
585
|
+
--item-font-size: var(--adm-font-size-8);
|
|
572
586
|
--item-height: 34px;
|
|
573
587
|
width: 100%;
|
|
574
588
|
height: 300px;
|
|
@@ -584,8 +598,8 @@ div.adm-px-tester {
|
|
|
584
598
|
--item-height: var(---item-height);
|
|
585
599
|
}
|
|
586
600
|
.adm-picker-header {
|
|
587
|
-
flex:
|
|
588
|
-
border-bottom: solid 1px var(--adm-border
|
|
601
|
+
flex-shrink: 0;
|
|
602
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
589
603
|
display: flex;
|
|
590
604
|
justify-content: space-between;
|
|
591
605
|
align-items: center;
|
|
@@ -604,8 +618,7 @@ div.adm-px-tester {
|
|
|
604
618
|
flex: 1;
|
|
605
619
|
}
|
|
606
620
|
.adm-picker-body {
|
|
607
|
-
flex:
|
|
608
|
-
height: 100%;
|
|
621
|
+
flex: 1;
|
|
609
622
|
width: 100%;
|
|
610
623
|
}
|
|
611
624
|
.adm-picker-body > .adm-picker-view {
|
|
@@ -618,7 +631,7 @@ div.adm-px-tester {
|
|
|
618
631
|
.adm-picker-view {
|
|
619
632
|
--height: 240px;
|
|
620
633
|
--item-height: 34px;
|
|
621
|
-
--item-font-size:
|
|
634
|
+
--item-font-size: var(--adm-font-size-8);
|
|
622
635
|
height: var(--height);
|
|
623
636
|
width: 100%;
|
|
624
637
|
display: flex;
|
|
@@ -712,8 +725,8 @@ div.adm-px-tester {
|
|
|
712
725
|
height: var(--item-height);
|
|
713
726
|
box-sizing: border-box;
|
|
714
727
|
flex: none;
|
|
715
|
-
border-top: solid 1px var(--adm-border
|
|
716
|
-
border-bottom: solid 1px var(--adm-border
|
|
728
|
+
border-top: solid 1px var(--adm-color-border);
|
|
729
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
717
730
|
}
|
|
718
731
|
.adm-picker-view-mask-top {
|
|
719
732
|
background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
|
|
@@ -725,7 +738,7 @@ div.adm-px-tester {
|
|
|
725
738
|
--height: auto;
|
|
726
739
|
}
|
|
727
740
|
.adm-cascader-view-tabs.adm-tabs {
|
|
728
|
-
--title-font-size:
|
|
741
|
+
--title-font-size: var(--adm-font-size-6);
|
|
729
742
|
--content-padding: none;
|
|
730
743
|
}
|
|
731
744
|
.adm-cascader-view-header-title {
|
|
@@ -744,7 +757,7 @@ div.adm-px-tester {
|
|
|
744
757
|
--border-top: none;
|
|
745
758
|
}
|
|
746
759
|
.adm-cascader-view-item {
|
|
747
|
-
font-size:
|
|
760
|
+
font-size: var(--adm-font-size-6);
|
|
748
761
|
}
|
|
749
762
|
.adm-cascader-view-item-active {
|
|
750
763
|
color: var(--adm-color-primary);
|
|
@@ -768,7 +781,7 @@ div.adm-px-tester {
|
|
|
768
781
|
--width: 60%;
|
|
769
782
|
}
|
|
770
783
|
.adm-tabs {
|
|
771
|
-
--title-font-size:
|
|
784
|
+
--title-font-size: var(--adm-font-size-9);
|
|
772
785
|
--content-padding: 12px;
|
|
773
786
|
--active-line-height: 2px;
|
|
774
787
|
--active-line-border-radius: var(--active-line-height);
|
|
@@ -779,7 +792,7 @@ div.adm-px-tester {
|
|
|
779
792
|
}
|
|
780
793
|
.adm-tabs-header {
|
|
781
794
|
position: relative;
|
|
782
|
-
border-bottom: solid 1px var(--adm-border
|
|
795
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
783
796
|
}
|
|
784
797
|
.adm-tabs-tab-list {
|
|
785
798
|
display: flex;
|
|
@@ -836,14 +849,14 @@ div.adm-px-tester {
|
|
|
836
849
|
}
|
|
837
850
|
.adm-tabs-header-mask-left {
|
|
838
851
|
left: 0;
|
|
839
|
-
background: linear-gradient(to right,
|
|
852
|
+
background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));
|
|
840
853
|
}
|
|
841
854
|
.adm-tabs-header-mask-right {
|
|
842
855
|
right: 0;
|
|
843
|
-
background: linear-gradient(to left,
|
|
856
|
+
background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));
|
|
844
857
|
}
|
|
845
858
|
.adm-check-list-item-extra {
|
|
846
|
-
font-size:
|
|
859
|
+
font-size: var(--adm-font-size-8);
|
|
847
860
|
line-height: 1;
|
|
848
861
|
color: var(--adm-color-primary);
|
|
849
862
|
}
|
|
@@ -851,17 +864,17 @@ div.adm-px-tester {
|
|
|
851
864
|
cursor: unset;
|
|
852
865
|
}
|
|
853
866
|
.adm-list {
|
|
854
|
-
--header-font-size:
|
|
867
|
+
--header-font-size: var(--adm-font-size-7);
|
|
855
868
|
--prefix-width: 'auto';
|
|
856
869
|
--prefix-padding-right: 12px;
|
|
857
870
|
--align-items: center;
|
|
858
|
-
--active-background-color: var(--adm-border
|
|
859
|
-
--border-inner: solid 1px var(--adm-border
|
|
860
|
-
--border-top: solid 1px var(--adm-border
|
|
861
|
-
--border-bottom: solid 1px var(--adm-border
|
|
871
|
+
--active-background-color: var(--adm-color-border);
|
|
872
|
+
--border-inner: solid 1px var(--adm-color-border);
|
|
873
|
+
--border-top: solid 1px var(--adm-color-border);
|
|
874
|
+
--border-bottom: solid 1px var(--adm-color-border);
|
|
862
875
|
--padding-left: 12px;
|
|
863
876
|
--padding-right: 12px;
|
|
864
|
-
--font-size:
|
|
877
|
+
--font-size: var(--adm-font-size-9);
|
|
865
878
|
}
|
|
866
879
|
.adm-list-header {
|
|
867
880
|
color: var(--adm-color-weak);
|
|
@@ -869,7 +882,7 @@ div.adm-px-tester {
|
|
|
869
882
|
padding: 8px var(--padding-right) 8px var(--padding-left);
|
|
870
883
|
}
|
|
871
884
|
.adm-list-body {
|
|
872
|
-
background-color:
|
|
885
|
+
background-color: var(--adm-color-background);
|
|
873
886
|
overflow: hidden;
|
|
874
887
|
font-size: var(--font-size);
|
|
875
888
|
}
|
|
@@ -893,13 +906,13 @@ div.adm-px-tester {
|
|
|
893
906
|
display: block;
|
|
894
907
|
padding-left: var(--padding-left);
|
|
895
908
|
position: relative;
|
|
896
|
-
background-color:
|
|
909
|
+
background-color: var(--adm-color-background);
|
|
897
910
|
line-height: 1.5;
|
|
898
911
|
}
|
|
899
912
|
.adm-list-item-title,
|
|
900
913
|
.adm-list-item-description {
|
|
901
914
|
color: var(--adm-color-weak);
|
|
902
|
-
font-size:
|
|
915
|
+
font-size: var(--adm-font-size-main);
|
|
903
916
|
}
|
|
904
917
|
.adm-list-item-content {
|
|
905
918
|
display: flex;
|
|
@@ -918,9 +931,8 @@ div.adm-px-tester {
|
|
|
918
931
|
padding: 12px 0;
|
|
919
932
|
}
|
|
920
933
|
.adm-list-item-content-extra {
|
|
921
|
-
flex: none;
|
|
922
934
|
padding-left: 12px;
|
|
923
|
-
font-size:
|
|
935
|
+
font-size: var(--adm-font-size-7);
|
|
924
936
|
color: var(--adm-color-weak);
|
|
925
937
|
}
|
|
926
938
|
.adm-list-item-content-arrow {
|
|
@@ -1004,13 +1016,13 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1004
1016
|
padding: 6px 8px;
|
|
1005
1017
|
}
|
|
1006
1018
|
.adm-cascader-header-button {
|
|
1007
|
-
font-size:
|
|
1019
|
+
font-size: var(--adm-font-size-7);
|
|
1008
1020
|
display: inline-block;
|
|
1009
1021
|
padding: 4px 4px;
|
|
1010
1022
|
}
|
|
1011
1023
|
.adm-cascader-header-title {
|
|
1012
1024
|
padding: 4px 4px;
|
|
1013
|
-
font-size:
|
|
1025
|
+
font-size: var(--adm-font-size-7);
|
|
1014
1026
|
color: var(--adm-color-text);
|
|
1015
1027
|
text-align: center;
|
|
1016
1028
|
flex: 1;
|
|
@@ -1023,9 +1035,35 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1023
1035
|
.adm-cascader-body > .adm-cascader-view {
|
|
1024
1036
|
--height: 310px;
|
|
1025
1037
|
}
|
|
1038
|
+
.adm-center-popup {
|
|
1039
|
+
--background-color: var(--adm-center-popup-background-color, var(--adm-color-background));
|
|
1040
|
+
--border-radius: var(--adm-center-popup-border-radius, 8px);
|
|
1041
|
+
--max-width: var(--adm-center-popup-max-width, 75vw);
|
|
1042
|
+
--min-width: var(--adm-center-popup-min-width, 280px);
|
|
1043
|
+
--z-index: var(--adm-center-popup-z-index, 1000);
|
|
1044
|
+
position: fixed;
|
|
1045
|
+
z-index: var(--z-index);
|
|
1046
|
+
}
|
|
1047
|
+
.adm-center-popup .adm-center-popup-mask {
|
|
1048
|
+
z-index: 0;
|
|
1049
|
+
}
|
|
1050
|
+
.adm-center-popup-wrap {
|
|
1051
|
+
position: fixed;
|
|
1052
|
+
z-index: 1;
|
|
1053
|
+
top: 50%;
|
|
1054
|
+
left: 50%;
|
|
1055
|
+
width: auto;
|
|
1056
|
+
min-width: var(--min-width);
|
|
1057
|
+
max-width: var(--max-width);
|
|
1058
|
+
transform: translate(-50%, -50%);
|
|
1059
|
+
}
|
|
1060
|
+
.adm-center-popup-body {
|
|
1061
|
+
background-color: var(--background-color);
|
|
1062
|
+
border-radius: var(--border-radius);
|
|
1063
|
+
}
|
|
1026
1064
|
.adm-checkbox {
|
|
1027
1065
|
--icon-size: 22px;
|
|
1028
|
-
--font-size:
|
|
1066
|
+
--font-size: var(--adm-font-size-9);
|
|
1029
1067
|
--gap: 8px;
|
|
1030
1068
|
display: inline-flex;
|
|
1031
1069
|
vertical-align: text-bottom;
|
|
@@ -1066,13 +1104,13 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1066
1104
|
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon.adm-checkbox-icon {
|
|
1067
1105
|
color: #b7b7b7;
|
|
1068
1106
|
border-color: var(--adm-color-light);
|
|
1069
|
-
background-color:
|
|
1107
|
+
background-color: var(--adm-color-box);
|
|
1070
1108
|
}
|
|
1071
1109
|
.adm-checkbox .adm-checkbox-custom-icon {
|
|
1072
1110
|
font-size: var(--icon-size);
|
|
1073
1111
|
}
|
|
1074
1112
|
.adm-checkbox.adm-checkbox-indeterminate .adm-checkbox-icon {
|
|
1075
|
-
background-color:
|
|
1113
|
+
background-color: var(--adm-color-background);
|
|
1076
1114
|
color: var(--adm-color-primary);
|
|
1077
1115
|
}
|
|
1078
1116
|
.adm-checkbox-content {
|
|
@@ -1097,27 +1135,15 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1097
1135
|
}
|
|
1098
1136
|
.adm-dialog {
|
|
1099
1137
|
--z-index: var(--adm-dialog-z-index, 1000);
|
|
1100
|
-
|
|
1101
|
-
z-index: var(--z-index);
|
|
1138
|
+
---z-index: var(--z-index);
|
|
1102
1139
|
}
|
|
1103
|
-
.adm-dialog .adm-
|
|
1104
|
-
z-index:
|
|
1105
|
-
}
|
|
1106
|
-
.adm-dialog-wrap {
|
|
1107
|
-
position: fixed;
|
|
1108
|
-
z-index: 1;
|
|
1109
|
-
top: 50%;
|
|
1110
|
-
left: 50%;
|
|
1111
|
-
width: 75vw;
|
|
1112
|
-
max-width: 500px;
|
|
1113
|
-
transform: translate(-50%, -50%);
|
|
1140
|
+
.adm-dialog .adm-center-popup {
|
|
1141
|
+
--z-index: var(---z-index);
|
|
1114
1142
|
}
|
|
1115
1143
|
.adm-dialog-body {
|
|
1116
1144
|
width: 100%;
|
|
1117
1145
|
max-height: 70vh;
|
|
1118
|
-
font-size:
|
|
1119
|
-
background-color: white;
|
|
1120
|
-
border-radius: 8px;
|
|
1146
|
+
font-size: var(--adm-font-size-6);
|
|
1121
1147
|
overflow: hidden;
|
|
1122
1148
|
display: flex;
|
|
1123
1149
|
flex-direction: column;
|
|
@@ -1131,57 +1157,57 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1131
1157
|
.adm-dialog-body:not(.adm-dialog-with-image) {
|
|
1132
1158
|
padding-top: 20px;
|
|
1133
1159
|
}
|
|
1134
|
-
.adm-dialog-
|
|
1160
|
+
.adm-dialog-image-container {
|
|
1135
1161
|
margin-bottom: 12px;
|
|
1136
1162
|
max-height: 40vh;
|
|
1137
1163
|
}
|
|
1138
|
-
.adm-dialog-
|
|
1164
|
+
.adm-dialog-header {
|
|
1139
1165
|
margin-bottom: 8px;
|
|
1140
1166
|
padding: 0 12px;
|
|
1141
1167
|
}
|
|
1142
|
-
.adm-dialog-
|
|
1168
|
+
.adm-dialog-title {
|
|
1143
1169
|
margin-bottom: 8px;
|
|
1144
1170
|
padding: 0 12px;
|
|
1145
1171
|
font-weight: bold;
|
|
1146
|
-
font-size:
|
|
1172
|
+
font-size: var(--adm-font-size-10);
|
|
1147
1173
|
line-height: 25px;
|
|
1148
1174
|
text-align: center;
|
|
1149
1175
|
}
|
|
1150
|
-
.adm-dialog-
|
|
1176
|
+
.adm-dialog-content {
|
|
1151
1177
|
padding: 0 12px 20px;
|
|
1152
1178
|
max-height: 70vh;
|
|
1153
1179
|
overflow-x: hidden;
|
|
1154
1180
|
overflow-y: auto;
|
|
1155
|
-
font-size:
|
|
1181
|
+
font-size: var(--adm-font-size-7);
|
|
1156
1182
|
line-height: 1.4;
|
|
1157
|
-
color:
|
|
1183
|
+
color: var(--adm-color-text);
|
|
1158
1184
|
}
|
|
1159
|
-
.adm-dialog-
|
|
1185
|
+
.adm-dialog-content-empty {
|
|
1160
1186
|
padding: 0;
|
|
1161
1187
|
height: 12px;
|
|
1162
1188
|
}
|
|
1163
|
-
.adm-dialog-
|
|
1189
|
+
.adm-dialog-footer {
|
|
1164
1190
|
user-select: none;
|
|
1165
1191
|
}
|
|
1166
|
-
.adm-dialog-
|
|
1192
|
+
.adm-dialog-footer .adm-dialog-action-row {
|
|
1167
1193
|
display: flex;
|
|
1168
1194
|
align-items: stretch;
|
|
1169
|
-
border-top: 0.5px solid var(--adm-border
|
|
1195
|
+
border-top: 0.5px solid var(--adm-color-border);
|
|
1170
1196
|
}
|
|
1171
|
-
.adm-dialog-
|
|
1197
|
+
.adm-dialog-footer .adm-dialog-action-row > * {
|
|
1172
1198
|
flex: 1;
|
|
1173
1199
|
}
|
|
1174
|
-
.adm-dialog-
|
|
1200
|
+
.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {
|
|
1175
1201
|
padding: 10px;
|
|
1176
|
-
font-size:
|
|
1202
|
+
font-size: var(--adm-font-size-10);
|
|
1177
1203
|
line-height: 25px;
|
|
1178
1204
|
border-radius: 0;
|
|
1179
|
-
border-right: solid 0.5px var(--adm-border
|
|
1205
|
+
border-right: solid 0.5px var(--adm-color-border);
|
|
1180
1206
|
}
|
|
1181
|
-
.adm-dialog-
|
|
1207
|
+
.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
|
|
1182
1208
|
font-weight: bold;
|
|
1183
1209
|
}
|
|
1184
|
-
.adm-dialog-
|
|
1210
|
+
.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
|
|
1185
1211
|
border-right: none;
|
|
1186
1212
|
}
|
|
1187
1213
|
.adm-dialog-image-container {
|
|
@@ -1201,7 +1227,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1201
1227
|
}
|
|
1202
1228
|
.adm-image-tip {
|
|
1203
1229
|
position: relative;
|
|
1204
|
-
background-color:
|
|
1230
|
+
background-color: var(--adm-color-box);
|
|
1205
1231
|
height: 100%;
|
|
1206
1232
|
min-height: 24px;
|
|
1207
1233
|
min-width: 24px;
|
|
@@ -1220,7 +1246,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1220
1246
|
align-items: center;
|
|
1221
1247
|
margin: 16px 0;
|
|
1222
1248
|
border-width: 0;
|
|
1223
|
-
border-color: var(--adm-border
|
|
1249
|
+
border-color: var(--adm-color-border);
|
|
1224
1250
|
border-style: solid;
|
|
1225
1251
|
color: var(--adm-color-weak);
|
|
1226
1252
|
font-size: 14px;
|
|
@@ -1252,7 +1278,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1252
1278
|
margin: 0 16px;
|
|
1253
1279
|
vertical-align: middle;
|
|
1254
1280
|
border-top: 0;
|
|
1255
|
-
border-left: 1px solid var(--adm-border
|
|
1281
|
+
border-left: 1px solid var(--adm-color-border);
|
|
1256
1282
|
}
|
|
1257
1283
|
.adm-dropdown {
|
|
1258
1284
|
background-color: white;
|
|
@@ -1262,7 +1288,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1262
1288
|
border-bottom: 1px solid transparent;
|
|
1263
1289
|
}
|
|
1264
1290
|
.adm-dropdown-open .adm-dropdown-nav {
|
|
1265
|
-
border-bottom-color: var(--adm-border
|
|
1291
|
+
border-bottom-color: var(--adm-color-border);
|
|
1266
1292
|
}
|
|
1267
1293
|
.adm-dropdown-item {
|
|
1268
1294
|
display: flex;
|
|
@@ -1276,7 +1302,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1276
1302
|
align-items: center;
|
|
1277
1303
|
position: relative;
|
|
1278
1304
|
max-width: 100%;
|
|
1279
|
-
font-size:
|
|
1305
|
+
font-size: var(--adm-font-size-main);
|
|
1280
1306
|
padding: 12px;
|
|
1281
1307
|
}
|
|
1282
1308
|
.adm-dropdown-item .adm-dropdown-item-title-text {
|
|
@@ -1345,7 +1371,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1345
1371
|
}
|
|
1346
1372
|
.adm-empty-description {
|
|
1347
1373
|
margin-top: 8px;
|
|
1348
|
-
font-size:
|
|
1374
|
+
font-size: var(--adm-font-size-6);
|
|
1349
1375
|
color: var(--adm-color-light);
|
|
1350
1376
|
}
|
|
1351
1377
|
.adm-error-block {
|
|
@@ -1367,13 +1393,13 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1367
1393
|
height: 100%;
|
|
1368
1394
|
}
|
|
1369
1395
|
.adm-error-block-description {
|
|
1370
|
-
font-size:
|
|
1396
|
+
font-size: var(--adm-font-size-4);
|
|
1371
1397
|
color: #999;
|
|
1372
1398
|
line-height: 1.4;
|
|
1373
1399
|
margin-top: 12px;
|
|
1374
1400
|
}
|
|
1375
1401
|
.adm-error-block-description-title {
|
|
1376
|
-
font-size:
|
|
1402
|
+
font-size: var(--adm-font-size-7);
|
|
1377
1403
|
}
|
|
1378
1404
|
.adm-error-block-description-subtitle {
|
|
1379
1405
|
margin-top: 8px;
|
|
@@ -1390,11 +1416,11 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1390
1416
|
}
|
|
1391
1417
|
.adm-error-block-full-page .adm-error-block-description {
|
|
1392
1418
|
margin-top: 20px;
|
|
1393
|
-
font-size:
|
|
1419
|
+
font-size: var(--adm-font-size-main);
|
|
1394
1420
|
}
|
|
1395
1421
|
.adm-error-block-full-page .adm-error-block-description-title {
|
|
1396
1422
|
font-size: 20px;
|
|
1397
|
-
color:
|
|
1423
|
+
color: var(--adm-color-text);
|
|
1398
1424
|
}
|
|
1399
1425
|
.adm-floating-bubble {
|
|
1400
1426
|
--initial-position-left: var(--initial-position-left);
|
|
@@ -1498,9 +1524,9 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1498
1524
|
overflow-y: scroll;
|
|
1499
1525
|
}
|
|
1500
1526
|
.adm-form {
|
|
1501
|
-
--border-inner: solid 1px var(--adm-border
|
|
1502
|
-
--border-top: solid 1px var(--adm-border
|
|
1503
|
-
--border-bottom: solid 1px var(--adm-border
|
|
1527
|
+
--border-inner: solid 1px var(--adm-color-border);
|
|
1528
|
+
--border-top: solid 1px var(--adm-color-border);
|
|
1529
|
+
--border-bottom: solid 1px var(--adm-color-border);
|
|
1504
1530
|
---border-inner: var(--border-inner);
|
|
1505
1531
|
---border-top: var(--border-top);
|
|
1506
1532
|
---border-bottom: var(--border-bottom);
|
|
@@ -1528,7 +1554,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1528
1554
|
line-height: 1.5;
|
|
1529
1555
|
box-sizing: border-box;
|
|
1530
1556
|
position: relative;
|
|
1531
|
-
color:
|
|
1557
|
+
color: var(--adm-color-text-secondary);
|
|
1532
1558
|
}
|
|
1533
1559
|
.adm-form-item-label .adm-form-item-required-asterisk {
|
|
1534
1560
|
position: absolute;
|
|
@@ -1584,7 +1610,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1584
1610
|
align-self: center;
|
|
1585
1611
|
}
|
|
1586
1612
|
.adm-form-item.adm-form-item-vertical .adm-form-item-label {
|
|
1587
|
-
font-size:
|
|
1613
|
+
font-size: var(--adm-font-size-7);
|
|
1588
1614
|
margin-bottom: 4px;
|
|
1589
1615
|
}
|
|
1590
1616
|
.adm-popover {
|
|
@@ -1592,6 +1618,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1592
1618
|
--background: #ffffff;
|
|
1593
1619
|
--arrow-size: 8px;
|
|
1594
1620
|
--content-padding: 8px 12px;
|
|
1621
|
+
color: #333333;
|
|
1595
1622
|
position: absolute;
|
|
1596
1623
|
top: 0;
|
|
1597
1624
|
left: 0;
|
|
@@ -1605,7 +1632,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1605
1632
|
.adm-popover.adm-popover-dark {
|
|
1606
1633
|
--background: rgba(0, 0, 0, 0.75);
|
|
1607
1634
|
--adm-color-text: #ffffff;
|
|
1608
|
-
color:
|
|
1635
|
+
color: #ffffff;
|
|
1609
1636
|
}
|
|
1610
1637
|
.adm-popover.adm-popover-dark .adm-popover-inner {
|
|
1611
1638
|
box-shadow: none;
|
|
@@ -1623,7 +1650,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1623
1650
|
background-clip: padding-box;
|
|
1624
1651
|
border-radius: 8px;
|
|
1625
1652
|
box-shadow: 0 0 30px 0 rgba(51, 51, 51, 0.2);
|
|
1626
|
-
font-size:
|
|
1653
|
+
font-size: var(--adm-font-size-7);
|
|
1627
1654
|
width: max-content;
|
|
1628
1655
|
min-width: 32px;
|
|
1629
1656
|
max-width: calc(100vw - 24px);
|
|
@@ -1653,7 +1680,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1653
1680
|
color: var(--background);
|
|
1654
1681
|
}
|
|
1655
1682
|
.adm-popover-menu {
|
|
1656
|
-
--border-color:
|
|
1683
|
+
--border-color: #eeeeee;
|
|
1657
1684
|
}
|
|
1658
1685
|
.adm-popover-menu.adm-popover {
|
|
1659
1686
|
--content-padding: 0;
|
|
@@ -1721,10 +1748,15 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1721
1748
|
.adm-image-viewer-content {
|
|
1722
1749
|
width: 100vw;
|
|
1723
1750
|
height: 100vh;
|
|
1724
|
-
max-height: -webkit-fill-available;
|
|
1725
1751
|
touch-action: none;
|
|
1726
1752
|
user-select: none;
|
|
1727
1753
|
}
|
|
1754
|
+
.adm-image-viewer-footer {
|
|
1755
|
+
position: absolute;
|
|
1756
|
+
width: 100%;
|
|
1757
|
+
bottom: 0;
|
|
1758
|
+
z-index: 1;
|
|
1759
|
+
}
|
|
1728
1760
|
.adm-image-viewer-slides {
|
|
1729
1761
|
height: 100%;
|
|
1730
1762
|
position: relative;
|
|
@@ -1774,14 +1806,11 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1774
1806
|
top: 12px;
|
|
1775
1807
|
transform: translateX(-50%);
|
|
1776
1808
|
color: #e6e6e6;
|
|
1777
|
-
font-size:
|
|
1809
|
+
font-size: var(--adm-font-size-6);
|
|
1778
1810
|
}
|
|
1779
1811
|
.adm-spin-loading {
|
|
1780
1812
|
--color: var(--adm-color-weak);
|
|
1781
1813
|
--size: 32px;
|
|
1782
|
-
--pi: 3.14159265;
|
|
1783
|
-
--radius: 15;
|
|
1784
|
-
--circumference: calc(var(--radius) * var(--pi) * 2);
|
|
1785
1814
|
width: var(--size);
|
|
1786
1815
|
height: var(--size);
|
|
1787
1816
|
}
|
|
@@ -1897,7 +1926,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1897
1926
|
background-color: rgba(0, 0, 0, 0.7);
|
|
1898
1927
|
border-radius: 0 0 0 12px;
|
|
1899
1928
|
font-size: 8px;
|
|
1900
|
-
color:
|
|
1929
|
+
color: var(--adm-color-white);
|
|
1901
1930
|
cursor: pointer;
|
|
1902
1931
|
}
|
|
1903
1932
|
.adm-image-uploader-cell-delete-icon {
|
|
@@ -1911,7 +1940,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1911
1940
|
right: 0;
|
|
1912
1941
|
bottom: 0;
|
|
1913
1942
|
left: 0;
|
|
1914
|
-
color:
|
|
1943
|
+
color: var(--adm-color-white);
|
|
1915
1944
|
background-color: rgba(50, 50, 51, 0.88);
|
|
1916
1945
|
}
|
|
1917
1946
|
.adm-image-uploader-cell-loading {
|
|
@@ -1926,7 +1955,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1926
1955
|
.adm-image-uploader-cell-mask-message {
|
|
1927
1956
|
display: inline-block;
|
|
1928
1957
|
padding: 6px 4px;
|
|
1929
|
-
font-size:
|
|
1958
|
+
font-size: var(--adm-font-size-4);
|
|
1930
1959
|
}
|
|
1931
1960
|
.adm-image-uploader-cell-image {
|
|
1932
1961
|
width: var(--cell-size);
|
|
@@ -1936,7 +1965,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1936
1965
|
position: relative;
|
|
1937
1966
|
}
|
|
1938
1967
|
.adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button {
|
|
1939
|
-
background-color:
|
|
1968
|
+
background-color: var(--adm-color-box);
|
|
1940
1969
|
text-align: center;
|
|
1941
1970
|
line-height: var(--cell-size);
|
|
1942
1971
|
display: block;
|
|
@@ -1978,8 +2007,8 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1978
2007
|
height: 35px;
|
|
1979
2008
|
padding: 0 12px;
|
|
1980
2009
|
color: var(--adm-color-weak);
|
|
1981
|
-
font-size:
|
|
1982
|
-
background-color:
|
|
2010
|
+
font-size: var(--adm-font-size-main);
|
|
2011
|
+
background-color: var(--adm-color-box);
|
|
1983
2012
|
}
|
|
1984
2013
|
.adm-index-bar-sidebar {
|
|
1985
2014
|
position: absolute;
|
|
@@ -1989,7 +2018,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
1989
2018
|
z-index: 910;
|
|
1990
2019
|
overflow: visible;
|
|
1991
2020
|
color: var(--adm-color-weak);
|
|
1992
|
-
font-size:
|
|
2021
|
+
font-size: var(--adm-font-size-4);
|
|
1993
2022
|
user-select: none;
|
|
1994
2023
|
touch-action: none;
|
|
1995
2024
|
}
|
|
@@ -2026,7 +2055,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2026
2055
|
align-items: center;
|
|
2027
2056
|
}
|
|
2028
2057
|
.adm-index-bar-sidebar-item-active {
|
|
2029
|
-
color:
|
|
2058
|
+
color: var(--adm-color-white);
|
|
2030
2059
|
background-color: var(--adm-color-primary);
|
|
2031
2060
|
border-radius: 50%;
|
|
2032
2061
|
}
|
|
@@ -2045,10 +2074,14 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2045
2074
|
display: flex;
|
|
2046
2075
|
justify-content: center;
|
|
2047
2076
|
align-items: center;
|
|
2048
|
-
font-size:
|
|
2077
|
+
font-size: var(--adm-font-size-main);
|
|
2078
|
+
}
|
|
2079
|
+
.adm-infinite-scroll-failed-text {
|
|
2080
|
+
display: inline-block;
|
|
2081
|
+
margin-right: 8px;
|
|
2049
2082
|
}
|
|
2050
2083
|
.adm-input {
|
|
2051
|
-
--font-size:
|
|
2084
|
+
--font-size: var(--adm-font-size-9);
|
|
2052
2085
|
--color: var(--adm-color-text);
|
|
2053
2086
|
--placeholder-color: var(--adm-color-light);
|
|
2054
2087
|
--text-align: left;
|
|
@@ -2133,7 +2166,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2133
2166
|
}
|
|
2134
2167
|
.adm-input-clear .antd-mobile-icon {
|
|
2135
2168
|
display: block;
|
|
2136
|
-
font-size:
|
|
2169
|
+
font-size: var(--adm-font-size-7);
|
|
2137
2170
|
}
|
|
2138
2171
|
.adm-jumbo-tabs {
|
|
2139
2172
|
--gap: 8px;
|
|
@@ -2142,7 +2175,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2142
2175
|
}
|
|
2143
2176
|
.adm-jumbo-tabs-header {
|
|
2144
2177
|
position: relative;
|
|
2145
|
-
border-bottom: solid 1px var(--adm-border
|
|
2178
|
+
border-bottom: solid 1px var(--adm-color-border);
|
|
2146
2179
|
}
|
|
2147
2180
|
.adm-jumbo-tabs-tab-list {
|
|
2148
2181
|
display: flex;
|
|
@@ -2171,7 +2204,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2171
2204
|
margin: 0 auto;
|
|
2172
2205
|
padding: 12px 0;
|
|
2173
2206
|
cursor: pointer;
|
|
2174
|
-
font-size:
|
|
2207
|
+
font-size: var(--adm-font-size-9);
|
|
2175
2208
|
white-space: nowrap;
|
|
2176
2209
|
}
|
|
2177
2210
|
.adm-jumbo-tabs-tab-title {
|
|
@@ -2184,13 +2217,13 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2184
2217
|
border-radius: 10px;
|
|
2185
2218
|
color: var(--adm-color-weak);
|
|
2186
2219
|
font-size: var(--adm-font-size-main);
|
|
2187
|
-
background-color:
|
|
2220
|
+
background-color: var(--adm-color-box);
|
|
2188
2221
|
}
|
|
2189
2222
|
.adm-jumbo-tabs-tab-active {
|
|
2190
2223
|
color: var(--adm-color-primary);
|
|
2191
2224
|
}
|
|
2192
2225
|
.adm-jumbo-tabs-tab-active .adm-jumbo-tabs-tab-description {
|
|
2193
|
-
color:
|
|
2226
|
+
color: var(--adm-color-white);
|
|
2194
2227
|
background-color: var(--adm-color-primary);
|
|
2195
2228
|
}
|
|
2196
2229
|
.adm-jumbo-tabs-tab-disabled {
|
|
@@ -2200,48 +2233,17 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2200
2233
|
.adm-jumbo-tabs-content {
|
|
2201
2234
|
padding: 12px;
|
|
2202
2235
|
}
|
|
2203
|
-
.adm-jumbo-tabs-header-mask {
|
|
2204
|
-
position: absolute;
|
|
2205
|
-
top: 0;
|
|
2206
|
-
bottom: 0;
|
|
2207
|
-
z-index: 1;
|
|
2208
|
-
width: 30px;
|
|
2209
|
-
height: 100%;
|
|
2210
|
-
pointer-events: none;
|
|
2211
|
-
}
|
|
2212
|
-
.adm-jumbo-tabs-header-mask-left {
|
|
2213
|
-
left: 0;
|
|
2214
|
-
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
|
2215
|
-
}
|
|
2216
|
-
.adm-jumbo-tabs-header-mask-right {
|
|
2217
|
-
right: 0;
|
|
2218
|
-
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
|
|
2219
|
-
}
|
|
2220
2236
|
.adm-modal {
|
|
2221
2237
|
--z-index: var(--adm-modal-z-index, 1000);
|
|
2222
|
-
|
|
2223
|
-
z-index: var(--z-index);
|
|
2238
|
+
---z-index: var(--z-index);
|
|
2224
2239
|
}
|
|
2225
|
-
.adm-modal .adm-
|
|
2226
|
-
z-index:
|
|
2227
|
-
}
|
|
2228
|
-
.adm-modal-wrap {
|
|
2229
|
-
position: fixed;
|
|
2230
|
-
z-index: 1;
|
|
2231
|
-
top: 50%;
|
|
2232
|
-
left: 50%;
|
|
2233
|
-
width: auto;
|
|
2234
|
-
min-width: 280px;
|
|
2235
|
-
max-width: 75vw;
|
|
2236
|
-
transform: translate(-50%, -50%);
|
|
2240
|
+
.adm-modal .adm-center-popup {
|
|
2241
|
+
--z-index: var(---z-index);
|
|
2237
2242
|
}
|
|
2238
2243
|
.adm-modal-body {
|
|
2239
2244
|
width: 100%;
|
|
2240
2245
|
max-height: 70vh;
|
|
2241
|
-
|
|
2242
|
-
font-size: 14px;
|
|
2243
|
-
background-color: white;
|
|
2244
|
-
border-radius: 8px;
|
|
2246
|
+
font-size: var(--adm-font-size-6);
|
|
2245
2247
|
overflow: hidden;
|
|
2246
2248
|
display: flex;
|
|
2247
2249
|
flex-direction: column;
|
|
@@ -2255,39 +2257,39 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2255
2257
|
.adm-modal-body:not(.adm-modal-with-image) {
|
|
2256
2258
|
padding-top: 20px;
|
|
2257
2259
|
}
|
|
2258
|
-
.adm-modal-
|
|
2260
|
+
.adm-modal-image-container {
|
|
2259
2261
|
margin-bottom: 12px;
|
|
2260
2262
|
max-height: 40vh;
|
|
2261
2263
|
overflow-y: scroll;
|
|
2262
2264
|
}
|
|
2263
|
-
.adm-modal-
|
|
2265
|
+
.adm-modal-header {
|
|
2264
2266
|
margin-bottom: 8px;
|
|
2265
2267
|
padding: 0 12px;
|
|
2266
2268
|
}
|
|
2267
|
-
.adm-modal-
|
|
2269
|
+
.adm-modal-title {
|
|
2268
2270
|
margin-bottom: 8px;
|
|
2269
2271
|
padding: 0 12px;
|
|
2270
2272
|
font-weight: bold;
|
|
2271
|
-
font-size:
|
|
2273
|
+
font-size: var(--adm-font-size-10);
|
|
2272
2274
|
line-height: 25px;
|
|
2273
2275
|
text-align: center;
|
|
2274
2276
|
}
|
|
2275
|
-
.adm-modal-
|
|
2277
|
+
.adm-modal-content {
|
|
2276
2278
|
padding: 0 12px 12px;
|
|
2277
2279
|
max-height: 70vh;
|
|
2278
2280
|
overflow-x: hidden;
|
|
2279
2281
|
overflow-y: auto;
|
|
2280
|
-
font-size:
|
|
2282
|
+
font-size: var(--adm-font-size-7);
|
|
2281
2283
|
line-height: 1.4;
|
|
2282
|
-
color:
|
|
2284
|
+
color: var(--adm-color-text);
|
|
2283
2285
|
}
|
|
2284
|
-
.adm-modal-
|
|
2286
|
+
.adm-modal-close {
|
|
2285
2287
|
position: absolute;
|
|
2286
2288
|
right: 8px;
|
|
2287
2289
|
top: 8px;
|
|
2288
2290
|
color: var(--adm-color-weak);
|
|
2289
2291
|
padding: 4px;
|
|
2290
|
-
font-size:
|
|
2292
|
+
font-size: var(--adm-font-size-10);
|
|
2291
2293
|
}
|
|
2292
2294
|
.adm-modal-footer {
|
|
2293
2295
|
user-select: none;
|
|
@@ -2301,7 +2303,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2301
2303
|
--gap-vertical: 20px;
|
|
2302
2304
|
}
|
|
2303
2305
|
.adm-modal-footer .adm-modal-button {
|
|
2304
|
-
font-size:
|
|
2306
|
+
font-size: var(--adm-font-size-10);
|
|
2305
2307
|
line-height: 25px;
|
|
2306
2308
|
}
|
|
2307
2309
|
.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary) {
|
|
@@ -2346,7 +2348,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2346
2348
|
margin-right: 4px;
|
|
2347
2349
|
}
|
|
2348
2350
|
.adm-nav-bar-left {
|
|
2349
|
-
font-size:
|
|
2351
|
+
font-size: var(--adm-font-size-7);
|
|
2350
2352
|
display: flex;
|
|
2351
2353
|
justify-content: flex-start;
|
|
2352
2354
|
align-items: center;
|
|
@@ -2354,7 +2356,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2354
2356
|
.adm-nav-bar-title {
|
|
2355
2357
|
justify-content: center;
|
|
2356
2358
|
white-space: nowrap;
|
|
2357
|
-
font-size:
|
|
2359
|
+
font-size: var(--adm-font-size-10);
|
|
2358
2360
|
padding: 0 12px;
|
|
2359
2361
|
}
|
|
2360
2362
|
.adm-nav-bar-right {
|
|
@@ -2363,9 +2365,9 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2363
2365
|
.adm-notice-bar {
|
|
2364
2366
|
--background-color: #ababab;
|
|
2365
2367
|
--border-color: #999999;
|
|
2366
|
-
--text-color:
|
|
2367
|
-
--font-size:
|
|
2368
|
-
--icon-font-size:
|
|
2368
|
+
--text-color: var(--adm-color-white);
|
|
2369
|
+
--font-size: var(--adm-font-size-7);
|
|
2370
|
+
--icon-font-size: var(--adm-font-size-10);
|
|
2369
2371
|
--height: 38px;
|
|
2370
2372
|
height: var(--height);
|
|
2371
2373
|
box-sizing: border-box;
|
|
@@ -2424,7 +2426,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2424
2426
|
margin-left: 12px;
|
|
2425
2427
|
}
|
|
2426
2428
|
.adm-notice-bar-close-icon {
|
|
2427
|
-
font-size:
|
|
2429
|
+
font-size: var(--adm-font-size-10);
|
|
2428
2430
|
}
|
|
2429
2431
|
.adm-number-keyboard-main {
|
|
2430
2432
|
display: flex;
|
|
@@ -2440,7 +2442,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2440
2442
|
z-index: 1050;
|
|
2441
2443
|
}
|
|
2442
2444
|
.adm-number-keyboard-popup.adm-popup .adm-popup-body {
|
|
2443
|
-
background-color:
|
|
2445
|
+
background-color: var(--adm-color-box);
|
|
2444
2446
|
}
|
|
2445
2447
|
.adm-number-keyboard-wrapper {
|
|
2446
2448
|
display: flex;
|
|
@@ -2448,7 +2450,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2448
2450
|
.adm-number-keyboard-header {
|
|
2449
2451
|
height: 34px;
|
|
2450
2452
|
line-height: 34px;
|
|
2451
|
-
border-top: solid 1px
|
|
2453
|
+
border-top: solid 1px var(--adm-color-border);
|
|
2452
2454
|
display: flex;
|
|
2453
2455
|
justify-content: center;
|
|
2454
2456
|
align-items: center;
|
|
@@ -2486,7 +2488,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2486
2488
|
height: 48px;
|
|
2487
2489
|
font-size: 22px;
|
|
2488
2490
|
box-sizing: border-box;
|
|
2489
|
-
border: solid 1px
|
|
2491
|
+
border: solid 1px var(--adm-color-border);
|
|
2490
2492
|
border-bottom: none;
|
|
2491
2493
|
border-left: none;
|
|
2492
2494
|
}
|
|
@@ -2516,7 +2518,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2516
2518
|
opacity: 0.1;
|
|
2517
2519
|
}
|
|
2518
2520
|
.adm-number-keyboard-key.extra-key {
|
|
2519
|
-
border-left: solid 1px
|
|
2521
|
+
border-left: solid 1px var(--adm-color-border);
|
|
2520
2522
|
border-right: none;
|
|
2521
2523
|
}
|
|
2522
2524
|
.adm-number-keyboard-key.extra-key,
|
|
@@ -2602,7 +2604,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2602
2604
|
align-items: center;
|
|
2603
2605
|
justify-content: center;
|
|
2604
2606
|
box-sizing: border-box;
|
|
2605
|
-
font-size:
|
|
2607
|
+
font-size: var(--adm-font-size-10);
|
|
2606
2608
|
width: var(--cell-size);
|
|
2607
2609
|
height: var(--cell-size);
|
|
2608
2610
|
background: var(--adm-color-white);
|
|
@@ -2803,7 +2805,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2803
2805
|
}
|
|
2804
2806
|
.adm-radio {
|
|
2805
2807
|
--icon-size: 22px;
|
|
2806
|
-
--font-size:
|
|
2808
|
+
--font-size: var(--adm-font-size-9);
|
|
2807
2809
|
--gap: 8px;
|
|
2808
2810
|
display: inline-flex;
|
|
2809
2811
|
vertical-align: text-bottom;
|
|
@@ -2844,7 +2846,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2844
2846
|
.adm-radio.adm-radio-disabled .adm-radio-icon {
|
|
2845
2847
|
color: #b7b7b7;
|
|
2846
2848
|
border-color: var(--adm-color-light);
|
|
2847
|
-
background-color:
|
|
2849
|
+
background-color: var(--adm-color-box);
|
|
2848
2850
|
}
|
|
2849
2851
|
.adm-radio .adm-radio-custom-icon {
|
|
2850
2852
|
font-size: var(--icon-size);
|
|
@@ -2902,14 +2904,14 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2902
2904
|
}
|
|
2903
2905
|
.adm-result-title {
|
|
2904
2906
|
color: var(--adm-color-text);
|
|
2905
|
-
font-size:
|
|
2907
|
+
font-size: var(--adm-font-size-10);
|
|
2906
2908
|
line-height: 1.4;
|
|
2907
2909
|
text-align: center;
|
|
2908
2910
|
}
|
|
2909
2911
|
.adm-result-description {
|
|
2910
2912
|
margin-top: 8px;
|
|
2911
2913
|
color: var(--adm-color-weak);
|
|
2912
|
-
font-size:
|
|
2914
|
+
font-size: var(--adm-font-size-main);
|
|
2913
2915
|
line-height: 1.4;
|
|
2914
2916
|
text-align: center;
|
|
2915
2917
|
}
|
|
@@ -2931,7 +2933,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2931
2933
|
.adm-search-bar {
|
|
2932
2934
|
--height: 32px;
|
|
2933
2935
|
--padding-left: 8px;
|
|
2934
|
-
--background:
|
|
2936
|
+
--background: var(--adm-color-box);
|
|
2935
2937
|
--border-radius: 6px;
|
|
2936
2938
|
--placeholder-color: var(--adm-color-weak);
|
|
2937
2939
|
---placeholder-color: var(--placeholder-color);
|
|
@@ -2953,7 +2955,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2953
2955
|
.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input-box-icon {
|
|
2954
2956
|
flex: none;
|
|
2955
2957
|
color: var(--adm-color-light);
|
|
2956
|
-
font-size:
|
|
2958
|
+
font-size: var(--adm-font-size-8);
|
|
2957
2959
|
}
|
|
2958
2960
|
.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input {
|
|
2959
2961
|
flex: auto;
|
|
@@ -2963,7 +2965,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2963
2965
|
}
|
|
2964
2966
|
.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-input {
|
|
2965
2967
|
--placeholder-color: var(---placeholder-color);
|
|
2966
|
-
--font-size:
|
|
2968
|
+
--font-size: var(--adm-font-size-7);
|
|
2967
2969
|
}
|
|
2968
2970
|
.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input .adm-input-element {
|
|
2969
2971
|
line-height: 19px;
|
|
@@ -2983,10 +2985,10 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2983
2985
|
}
|
|
2984
2986
|
.adm-search-bar-active .adm-search-bar-input-box {
|
|
2985
2987
|
border-color: var(--adm-color-primary);
|
|
2986
|
-
background: var(--adm-color-
|
|
2988
|
+
background: var(--adm-color-background);
|
|
2987
2989
|
}
|
|
2988
2990
|
.adm-selector {
|
|
2989
|
-
--color:
|
|
2991
|
+
--color: var(--adm-color-box);
|
|
2990
2992
|
--checked-color: #e7f1ff;
|
|
2991
2993
|
--text-color: var(--adm-color-text);
|
|
2992
2994
|
--checked-text-color: var(--adm-color-primary);
|
|
@@ -2995,7 +2997,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
2995
2997
|
--border-radius: 2px;
|
|
2996
2998
|
--padding: 8px 16px;
|
|
2997
2999
|
overflow: hidden;
|
|
2998
|
-
font-size:
|
|
3000
|
+
font-size: var(--adm-font-size-7);
|
|
2999
3001
|
line-height: 1.4;
|
|
3000
3002
|
}
|
|
3001
3003
|
.adm-selector .adm-space.adm-space {
|
|
@@ -3016,7 +3018,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3016
3018
|
vertical-align: top;
|
|
3017
3019
|
}
|
|
3018
3020
|
.adm-selector-item-description {
|
|
3019
|
-
font-size:
|
|
3021
|
+
font-size: var(--adm-font-size-main);
|
|
3020
3022
|
color: var(--adm-color-weak);
|
|
3021
3023
|
}
|
|
3022
3024
|
.adm-selector-item-active,
|
|
@@ -3051,11 +3053,11 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3051
3053
|
--height: 100%;
|
|
3052
3054
|
--width: 105px;
|
|
3053
3055
|
--item-border-radius: 8px;
|
|
3054
|
-
--background-color:
|
|
3056
|
+
--background-color: var(--adm-color-box);
|
|
3055
3057
|
width: var(--width);
|
|
3056
3058
|
height: var(--height);
|
|
3057
3059
|
box-sizing: border-box;
|
|
3058
|
-
font-size:
|
|
3060
|
+
font-size: var(--adm-font-size-main);
|
|
3059
3061
|
overflow-y: auto;
|
|
3060
3062
|
transform: translateZ(0);
|
|
3061
3063
|
-webkit-transform: translateZ(0);
|
|
@@ -3093,7 +3095,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3093
3095
|
}
|
|
3094
3096
|
.adm-side-bar-item-active {
|
|
3095
3097
|
color: var(--adm-color-primary);
|
|
3096
|
-
background-color: var(--adm-color-
|
|
3098
|
+
background-color: var(--adm-color-background);
|
|
3097
3099
|
position: relative;
|
|
3098
3100
|
}
|
|
3099
3101
|
.adm-side-bar-item-corner {
|
|
@@ -3123,7 +3125,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3123
3125
|
}
|
|
3124
3126
|
.adm-slider {
|
|
3125
3127
|
--fill-color: var(--adm-color-primary);
|
|
3126
|
-
padding:
|
|
3128
|
+
padding: 5px 14px;
|
|
3127
3129
|
list-style: none;
|
|
3128
3130
|
user-select: none;
|
|
3129
3131
|
}
|
|
@@ -3133,51 +3135,53 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3133
3135
|
.adm-slider-track {
|
|
3134
3136
|
position: relative;
|
|
3135
3137
|
width: 100%;
|
|
3136
|
-
height:
|
|
3137
|
-
background-color:
|
|
3138
|
+
height: 3px;
|
|
3139
|
+
background-color: var(--adm-color-box);
|
|
3140
|
+
border-radius: 3px;
|
|
3138
3141
|
}
|
|
3139
3142
|
.adm-slider-fill {
|
|
3140
3143
|
position: absolute;
|
|
3141
3144
|
z-index: 1;
|
|
3142
|
-
height:
|
|
3145
|
+
height: 3px;
|
|
3146
|
+
border-radius: 3px;
|
|
3143
3147
|
background-color: var(--fill-color);
|
|
3144
3148
|
}
|
|
3145
3149
|
.adm-slider-ticks {
|
|
3146
3150
|
position: absolute;
|
|
3147
3151
|
width: 100%;
|
|
3148
|
-
height:
|
|
3152
|
+
height: 3px;
|
|
3149
3153
|
background: transparent;
|
|
3150
3154
|
}
|
|
3151
3155
|
.adm-slider-tick {
|
|
3152
3156
|
position: absolute;
|
|
3153
|
-
top:
|
|
3154
|
-
width:
|
|
3155
|
-
height:
|
|
3156
|
-
margin-left: -
|
|
3157
|
-
background-color:
|
|
3157
|
+
top: -2px;
|
|
3158
|
+
width: 7px;
|
|
3159
|
+
height: 7px;
|
|
3160
|
+
margin-left: -3px;
|
|
3161
|
+
background-color: var(--adm-color-box);
|
|
3158
3162
|
border-radius: 50%;
|
|
3159
|
-
transform: translate(0, -50%);
|
|
3160
3163
|
}
|
|
3161
3164
|
.adm-slider-tick-active {
|
|
3162
3165
|
background-color: var(--fill-color);
|
|
3163
3166
|
}
|
|
3164
3167
|
.adm-slider-thumb {
|
|
3165
|
-
width:
|
|
3166
|
-
height:
|
|
3167
|
-
margin:
|
|
3168
|
+
width: 28px;
|
|
3169
|
+
height: 28px;
|
|
3170
|
+
margin: 2px;
|
|
3168
3171
|
border-radius: 50%;
|
|
3169
3172
|
text-align: center;
|
|
3170
|
-
line-height:
|
|
3173
|
+
line-height: 28px;
|
|
3171
3174
|
background: var(--adm-color-white);
|
|
3172
|
-
box-shadow: 0
|
|
3175
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.12);
|
|
3176
|
+
color: var(--fill-color);
|
|
3173
3177
|
}
|
|
3174
3178
|
.adm-slider-thumb:focus {
|
|
3175
3179
|
outline: none;
|
|
3176
3180
|
}
|
|
3177
3181
|
.adm-slider-thumb-icon {
|
|
3178
|
-
width:
|
|
3179
|
-
height:
|
|
3180
|
-
margin:
|
|
3182
|
+
width: 12px;
|
|
3183
|
+
height: 12px;
|
|
3184
|
+
margin: 8px;
|
|
3181
3185
|
user-select: none;
|
|
3182
3186
|
}
|
|
3183
3187
|
.adm-slider-thumb-container {
|
|
@@ -3195,15 +3199,15 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3195
3199
|
position: relative;
|
|
3196
3200
|
width: 100%;
|
|
3197
3201
|
overflow: visible;
|
|
3198
|
-
font-size:
|
|
3199
|
-
height:
|
|
3200
|
-
margin-top:
|
|
3202
|
+
font-size: var(--adm-font-size-3);
|
|
3203
|
+
height: 11px;
|
|
3204
|
+
margin-top: 10px;
|
|
3201
3205
|
}
|
|
3202
3206
|
.adm-slider-mark-text {
|
|
3203
3207
|
position: absolute;
|
|
3204
3208
|
display: inline-block;
|
|
3205
|
-
line-height:
|
|
3206
|
-
color:
|
|
3209
|
+
line-height: 1;
|
|
3210
|
+
color: var(--adm-color-text);
|
|
3207
3211
|
text-align: center;
|
|
3208
3212
|
word-break: keep-all;
|
|
3209
3213
|
user-select: none;
|
|
@@ -3225,14 +3229,14 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3225
3229
|
--input-width: 44px;
|
|
3226
3230
|
--input-font-size: var(--adm-font-size-main);
|
|
3227
3231
|
--input-font-color: var(--adm-color-text);
|
|
3228
|
-
--input-background-color:
|
|
3232
|
+
--input-background-color: var(--adm-color-box);
|
|
3229
3233
|
--border-radius: 2px;
|
|
3230
3234
|
--border: none;
|
|
3231
3235
|
--border-inner: solid 2px transparent;
|
|
3232
3236
|
--active-border: var(--border);
|
|
3233
|
-
--button-font-size:
|
|
3237
|
+
--button-font-size: var(--adm-font-size-7);
|
|
3234
3238
|
--button-text-color: var(--adm-color-primary);
|
|
3235
|
-
--button-background-color:
|
|
3239
|
+
--button-background-color: var(--adm-color-box);
|
|
3236
3240
|
--button-width: var(--height);
|
|
3237
3241
|
display: flex;
|
|
3238
3242
|
align-items: center;
|
|
@@ -3335,8 +3339,8 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3335
3339
|
color: var(--adm-color-danger);
|
|
3336
3340
|
}
|
|
3337
3341
|
.adm-steps {
|
|
3338
|
-
--title-font-size:
|
|
3339
|
-
--description-font-size:
|
|
3342
|
+
--title-font-size: var(--adm-font-size-main);
|
|
3343
|
+
--description-font-size: var(--adm-font-size-4);
|
|
3340
3344
|
--indicator-margin-right: 0;
|
|
3341
3345
|
--icon-size: 18px;
|
|
3342
3346
|
width: 100%;
|
|
@@ -3429,7 +3433,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3429
3433
|
border-radius: 4px;
|
|
3430
3434
|
}
|
|
3431
3435
|
.adm-swipe-action {
|
|
3432
|
-
--background:
|
|
3436
|
+
--background: var(--adm-color-background);
|
|
3433
3437
|
background: var(--background);
|
|
3434
3438
|
cursor: grab;
|
|
3435
3439
|
overflow: hidden;
|
|
@@ -3570,7 +3574,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3570
3574
|
height: var(--height);
|
|
3571
3575
|
box-sizing: border-box;
|
|
3572
3576
|
border-radius: 31px;
|
|
3573
|
-
background:
|
|
3577
|
+
background: var(--adm-color-border);
|
|
3574
3578
|
z-index: 0;
|
|
3575
3579
|
overflow: hidden;
|
|
3576
3580
|
line-height: var(--height);
|
|
@@ -3584,7 +3588,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3584
3588
|
height: calc(var(--height) - 2 * var(--border-width));
|
|
3585
3589
|
border-radius: calc(var(--height) - 2 * var(--border-width));
|
|
3586
3590
|
box-sizing: border-box;
|
|
3587
|
-
background:
|
|
3591
|
+
background: var(--adm-color-background);
|
|
3588
3592
|
z-index: 1;
|
|
3589
3593
|
transition: all 200ms;
|
|
3590
3594
|
transform: scale(1);
|
|
@@ -3596,7 +3600,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3596
3600
|
width: calc(var(--height) - 2 * var(--border-width));
|
|
3597
3601
|
height: calc(var(--height) - 2 * var(--border-width));
|
|
3598
3602
|
border-radius: calc(var(--height) - 2 * var(--border-width));
|
|
3599
|
-
background:
|
|
3603
|
+
background: var(--adm-color-white);
|
|
3600
3604
|
position: absolute;
|
|
3601
3605
|
z-index: 2;
|
|
3602
3606
|
top: var(--border-width);
|
|
@@ -3614,7 +3618,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3614
3618
|
height: 100%;
|
|
3615
3619
|
color: var(--adm-color-weak);
|
|
3616
3620
|
transition: margin 200ms;
|
|
3617
|
-
font-size:
|
|
3621
|
+
font-size: var(--adm-font-size-7);
|
|
3618
3622
|
}
|
|
3619
3623
|
.adm-switch.adm-switch-checked .adm-switch-checkbox {
|
|
3620
3624
|
background: var(--checked-color);
|
|
@@ -3644,7 +3648,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3644
3648
|
justify-content: flex-start;
|
|
3645
3649
|
align-items: stretch;
|
|
3646
3650
|
overflow: hidden;
|
|
3647
|
-
min-height:
|
|
3651
|
+
min-height: 48px;
|
|
3648
3652
|
}
|
|
3649
3653
|
.adm-tab-bar-item {
|
|
3650
3654
|
flex: 1;
|
|
@@ -3660,15 +3664,17 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3660
3664
|
flex-direction: column;
|
|
3661
3665
|
}
|
|
3662
3666
|
.adm-tab-bar-item-icon {
|
|
3663
|
-
font-size:
|
|
3664
|
-
height:
|
|
3667
|
+
font-size: 24px;
|
|
3668
|
+
height: 24px;
|
|
3665
3669
|
line-height: 1;
|
|
3666
|
-
margin: 4px 0 1px;
|
|
3667
3670
|
}
|
|
3668
3671
|
.adm-tab-bar-item-title {
|
|
3669
|
-
font-size:
|
|
3672
|
+
font-size: var(--adm-font-size-3);
|
|
3670
3673
|
line-height: 15px;
|
|
3671
3674
|
}
|
|
3675
|
+
.adm-tab-bar-item-title-with-icon {
|
|
3676
|
+
margin-top: 2px;
|
|
3677
|
+
}
|
|
3672
3678
|
.adm-tab-bar-item-active {
|
|
3673
3679
|
color: var(--adm-color-primary);
|
|
3674
3680
|
}
|
|
@@ -3682,7 +3688,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3682
3688
|
.adm-tag {
|
|
3683
3689
|
--border-radius: var(--adm-tag-border-radius, 2px);
|
|
3684
3690
|
padding: 2px 4px;
|
|
3685
|
-
font-size:
|
|
3691
|
+
font-size: var(--adm-font-size-3);
|
|
3686
3692
|
line-height: 1;
|
|
3687
3693
|
font-weight: normal;
|
|
3688
3694
|
background: var(--background-color);
|
|
@@ -3697,7 +3703,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3697
3703
|
border-radius: 100px;
|
|
3698
3704
|
}
|
|
3699
3705
|
.adm-text-area {
|
|
3700
|
-
--font-size:
|
|
3706
|
+
--font-size: var(--adm-font-size-9);
|
|
3701
3707
|
--color: var(--adm-color-text);
|
|
3702
3708
|
--placeholder-color: var(--adm-color-light);
|
|
3703
3709
|
--disabled-color: var(--adm-color-weak);
|
|
@@ -3756,7 +3762,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3756
3762
|
.adm-text-area-count {
|
|
3757
3763
|
text-align: var(--count-text-align);
|
|
3758
3764
|
color: var(--adm-color-weak);
|
|
3759
|
-
font-size:
|
|
3765
|
+
font-size: var(--adm-font-size-9);
|
|
3760
3766
|
padding-top: 8px;
|
|
3761
3767
|
}
|
|
3762
3768
|
.adm-toast-mask .adm-toast-wrap {
|
|
@@ -3782,7 +3788,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3782
3788
|
background-color: rgba(0, 0, 0, 0.7);
|
|
3783
3789
|
border-radius: 8px;
|
|
3784
3790
|
pointer-events: all;
|
|
3785
|
-
font-size:
|
|
3791
|
+
font-size: var(--adm-font-size-7);
|
|
3786
3792
|
line-height: 1.5;
|
|
3787
3793
|
box-sizing: border-box;
|
|
3788
3794
|
}
|
|
@@ -3817,7 +3823,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3817
3823
|
}
|
|
3818
3824
|
.adm-tree-select-column:first-child,
|
|
3819
3825
|
.adm-tree-select-multiple-column:first-child {
|
|
3820
|
-
background-color:
|
|
3826
|
+
background-color: var(--adm-color-box);
|
|
3821
3827
|
}
|
|
3822
3828
|
.adm-tree-select-column:nth-child(2),
|
|
3823
3829
|
.adm-tree-select-multiple-column:nth-child(2) {
|
|
@@ -3856,7 +3862,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3856
3862
|
border-radius: 3px;
|
|
3857
3863
|
}
|
|
3858
3864
|
.adm-virtual-input {
|
|
3859
|
-
--font-size:
|
|
3865
|
+
--font-size: var(--adm-font-size-9);
|
|
3860
3866
|
--color: var(--adm-color-text);
|
|
3861
3867
|
--placeholder-color: var(--adm-color-light);
|
|
3862
3868
|
--disabled-color: var(--adm-color-weak);
|
|
@@ -3951,7 +3957,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
|
|
|
3951
3957
|
}
|
|
3952
3958
|
.adm-virtual-input-clear .antd-mobile-icon {
|
|
3953
3959
|
display: block;
|
|
3954
|
-
font-size:
|
|
3960
|
+
font-size: var(--adm-font-size-6);
|
|
3955
3961
|
}
|
|
3956
3962
|
.adm-water-mark {
|
|
3957
3963
|
--z-index: var(--adm-water-mark-z-index, 2000);
|