taro-ui 3.3.1 → 3.3.2
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/lib/common/component.d.ts +10 -0
- package/lib/common/component.js +27 -28
- package/lib/common/component.js.map +1 -1
- package/lib/common/utils.d.ts +41 -0
- package/lib/common/utils.js +169 -192
- package/lib/common/utils.js.map +1 -1
- package/lib/components/accordion/index.d.ts +14 -0
- package/lib/components/accordion/index.js +111 -106
- package/lib/components/accordion/index.js.map +1 -1
- package/lib/components/action-sheet/body/index.d.ts +5 -0
- package/lib/components/action-sheet/body/index.js +11 -8
- package/lib/components/action-sheet/body/index.js.map +1 -1
- package/lib/components/action-sheet/body/item/index.d.ts +9 -0
- package/lib/components/action-sheet/body/item/index.js +21 -18
- package/lib/components/action-sheet/body/item/index.js.map +1 -1
- package/lib/components/action-sheet/footer/index.d.ts +9 -0
- package/lib/components/action-sheet/footer/index.js +24 -18
- package/lib/components/action-sheet/footer/index.js.map +1 -1
- package/lib/components/action-sheet/header/index.d.ts +5 -0
- package/lib/components/action-sheet/header/index.js +14 -8
- package/lib/components/action-sheet/header/index.js.map +1 -1
- package/lib/components/action-sheet/index.d.ts +14 -0
- package/lib/components/action-sheet/index.js +69 -64
- package/lib/components/action-sheet/index.js.map +1 -1
- package/lib/components/activity-indicator/index.d.ts +8 -0
- package/lib/components/activity-indicator/index.js +33 -29
- package/lib/components/activity-indicator/index.js.map +1 -1
- package/lib/components/avatar/index.d.ts +9 -0
- package/lib/components/avatar/index.js +58 -55
- package/lib/components/avatar/index.js.map +1 -1
- package/lib/components/badge/index.d.ts +10 -0
- package/lib/components/badge/index.js +44 -35
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/button/index.d.ts +15 -0
- package/lib/components/button/index.js +165 -113
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/calendar/body/index.d.ts +26 -0
- package/lib/components/calendar/body/index.js +279 -183
- package/lib/components/calendar/body/index.js.map +1 -1
- package/lib/components/calendar/common/constant.d.ts +3 -0
- package/lib/components/calendar/common/constant.js +8 -3
- package/lib/components/calendar/common/constant.js.map +1 -1
- package/lib/components/calendar/common/helper.d.ts +4 -0
- package/lib/components/calendar/common/helper.js +77 -76
- package/lib/components/calendar/common/helper.js.map +1 -1
- package/lib/components/calendar/common/plugins.d.ts +11 -0
- package/lib/components/calendar/common/plugins.js +50 -66
- package/lib/components/calendar/common/plugins.js.map +1 -1
- package/lib/components/calendar/controller/index.d.ts +5 -0
- package/lib/components/calendar/controller/index.js +49 -28
- package/lib/components/calendar/controller/index.js.map +1 -1
- package/lib/components/calendar/index.d.ts +20 -0
- package/lib/components/calendar/index.js +233 -196
- package/lib/components/calendar/index.js.map +1 -1
- package/lib/components/calendar/ui/date-list/index.d.ts +12 -0
- package/lib/components/calendar/ui/date-list/index.js +50 -39
- package/lib/components/calendar/ui/date-list/index.js.map +1 -1
- package/lib/components/calendar/ui/day-list/index.d.ts +4 -0
- package/lib/components/calendar/ui/day-list/index.js +9 -14
- package/lib/components/calendar/ui/day-list/index.js.map +1 -1
- package/lib/components/card/index.d.ts +9 -0
- package/lib/components/card/index.js +73 -52
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +9 -0
- package/lib/components/checkbox/index.js +52 -48
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/countdown/index.d.ts +20 -0
- package/lib/components/countdown/index.js +140 -125
- package/lib/components/countdown/index.js.map +1 -1
- package/lib/components/countdown/item/index.d.ts +9 -0
- package/lib/components/countdown/item/index.js +18 -18
- package/lib/components/countdown/item/index.js.map +1 -1
- package/lib/components/curtain/index.d.ts +10 -0
- package/lib/components/curtain/index.js +56 -39
- package/lib/components/curtain/index.js.map +1 -1
- package/lib/components/divider/index.d.ts +8 -0
- package/lib/components/divider/index.js +51 -34
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/drawer/index.d.ts +16 -0
- package/lib/components/drawer/index.js +106 -85
- package/lib/components/drawer/index.js.map +1 -1
- package/lib/components/fab/index.d.ts +9 -0
- package/lib/components/fab/index.js +22 -19
- package/lib/components/fab/index.js.map +1 -1
- package/lib/components/flex/index.d.ts +7 -0
- package/lib/components/flex/index.js +37 -34
- package/lib/components/flex/index.js.map +1 -1
- package/lib/components/flex/item/index.d.ts +7 -0
- package/lib/components/flex/item/index.js +30 -27
- package/lib/components/flex/item/index.js.map +1 -1
- package/lib/components/float-layout/index.d.ts +13 -0
- package/lib/components/float-layout/index.js +96 -68
- package/lib/components/float-layout/index.js.map +1 -1
- package/lib/components/form/index.d.ts +10 -0
- package/lib/components/form/index.js +37 -24
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/grid/index.d.ts +9 -0
- package/lib/components/grid/index.js +92 -62
- package/lib/components/grid/index.js.map +1 -1
- package/lib/components/icon/index.d.ts +9 -0
- package/lib/components/icon/index.js +48 -31
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/image-picker/index.d.ts +11 -0
- package/lib/components/image-picker/index.js +152 -126
- package/lib/components/image-picker/index.js.map +1 -1
- package/lib/components/indexes/index.d.ts +29 -0
- package/lib/components/indexes/index.js +255 -198
- package/lib/components/indexes/index.js.map +1 -1
- package/lib/components/input/index.d.ts +17 -0
- package/lib/components/input/index.js +224 -160
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/input-number/index.d.ts +13 -0
- package/lib/components/input-number/index.js +180 -152
- package/lib/components/input-number/index.js.map +1 -1
- package/lib/components/list/index.d.ts +8 -0
- package/lib/components/list/index.js +20 -13
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/list/item/index.d.ts +11 -0
- package/lib/components/list/item/index.js +146 -99
- package/lib/components/list/item/index.js.map +1 -1
- package/lib/components/load-more/index.d.ts +9 -0
- package/lib/components/load-more/index.js +65 -41
- package/lib/components/load-more/index.js.map +1 -1
- package/lib/components/loading/index.d.ts +12 -0
- package/lib/components/loading/index.js +26 -26
- package/lib/components/loading/index.js.map +1 -1
- package/lib/components/message/index.d.ts +15 -0
- package/lib/components/message/index.js +72 -63
- package/lib/components/message/index.js.map +1 -1
- package/lib/components/modal/action/index.d.ts +8 -0
- package/lib/components/modal/action/index.js +20 -14
- package/lib/components/modal/action/index.js.map +1 -1
- package/lib/components/modal/content/index.d.ts +5 -0
- package/lib/components/modal/content/index.js +11 -8
- package/lib/components/modal/content/index.js.map +1 -1
- package/lib/components/modal/header/index.d.ts +5 -0
- package/lib/components/modal/header/index.js +11 -8
- package/lib/components/modal/header/index.js.map +1 -1
- package/lib/components/modal/index.d.ts +15 -0
- package/lib/components/modal/index.js +96 -87
- package/lib/components/modal/index.js.map +1 -1
- package/lib/components/nav-bar/index.d.ts +12 -0
- package/lib/components/nav-bar/index.js +210 -98
- package/lib/components/nav-bar/index.js.map +1 -1
- package/lib/components/noticebar/index.d.ts +16 -0
- package/lib/components/noticebar/index.js +177 -154
- package/lib/components/noticebar/index.js.map +1 -1
- package/lib/components/pagination/index.d.ts +12 -0
- package/lib/components/pagination/index.js +133 -102
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/progress/index.d.ts +7 -0
- package/lib/components/progress/index.js +48 -40
- package/lib/components/progress/index.js.map +1 -1
- package/lib/components/radio/index.d.ts +9 -0
- package/lib/components/radio/index.js +48 -37
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/range/index.d.ts +22 -0
- package/lib/components/range/index.js +197 -142
- package/lib/components/range/index.js.map +1 -1
- package/lib/components/rate/index.d.ts +9 -0
- package/lib/components/rate/index.js +74 -48
- package/lib/components/rate/index.js.map +1 -1
- package/lib/components/search-bar/index.d.ts +16 -0
- package/lib/components/search-bar/index.js +167 -112
- package/lib/components/search-bar/index.js.map +1 -1
- package/lib/components/segmented-control/index.d.ts +9 -0
- package/lib/components/segmented-control/index.js +78 -53
- package/lib/components/segmented-control/index.js.map +1 -1
- package/lib/components/slider/index.d.ts +13 -0
- package/lib/components/slider/index.js +107 -69
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/steps/index.d.ts +9 -0
- package/lib/components/steps/index.js +61 -44
- package/lib/components/steps/index.js.map +1 -1
- package/lib/components/swipe-action/index.d.ts +27 -0
- package/lib/components/swipe-action/index.js +206 -157
- package/lib/components/swipe-action/index.js.map +1 -1
- package/lib/components/swipe-action/options/index.d.ts +5 -0
- package/lib/components/swipe-action/options/index.js +22 -8
- package/lib/components/swipe-action/options/index.js.map +1 -1
- package/lib/components/switch/index.d.ts +9 -0
- package/lib/components/switch/index.js +53 -42
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/tab-bar/index.d.ts +9 -0
- package/lib/components/tab-bar/index.js +164 -90
- package/lib/components/tab-bar/index.js.map +1 -1
- package/lib/components/tabs/index.d.ts +24 -0
- package/lib/components/tabs/index.js +203 -174
- package/lib/components/tabs/index.js.map +1 -1
- package/lib/components/tabs-pane/index.d.ts +8 -0
- package/lib/components/tabs-pane/index.js +37 -24
- package/lib/components/tabs-pane/index.js.map +1 -1
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/tag/index.js +64 -44
- package/lib/components/tag/index.js.map +1 -1
- package/lib/components/textarea/index.d.ts +13 -0
- package/lib/components/textarea/index.js +132 -86
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/timeline/index.d.ts +8 -0
- package/lib/components/timeline/index.js +70 -47
- package/lib/components/timeline/index.js.map +1 -1
- package/lib/components/toast/img.json +6 -3
- package/lib/components/toast/index.d.ts +16 -0
- package/lib/components/toast/index.js +111 -104
- package/lib/components/toast/index.js.map +1 -1
- package/lib/index.d.ts +53 -0
- package/lib/index.js +108 -54
- package/lib/index.js.map +1 -1
- package/{dist → lib}/style/components/grid.scss +2 -2
- package/lib/style/components/index.scss +52 -0
- package/{dist → lib}/style/components/list.scss +2 -2
- package/lib/style/index.css +11754 -0
- package/lib/style/index.css.map +1 -0
- package/lib/style/mixins/index.scss +18 -0
- package/{dist → lib}/style/mixins/libs/shade.scss +4 -2
- package/{dist → lib}/style/mixins/libs/tint.scss +4 -2
- package/{dist → lib}/style/variables/default.scss +1 -1
- package/package.json +24 -32
- package/rn/components/action-sheet/index.tsx +8 -14
- package/rn/components/calendar/ui/date-list/index.tsx +1 -1
- package/rn/components/drawer/index.tsx +15 -15
- package/rn/components/float-layout/index.tsx +3 -2
- package/rn/components/input/index.tsx +14 -7
- package/rn/components/input-number/index.tsx +19 -19
- package/rn/components/message/index.tsx +1 -1
- package/rn/components/swipe-action/index.rn.tsx +4 -2
- package/rn/components/swipe-action/index.tsx +6 -5
- package/rn/components/tab-bar/index.tsx +1 -1
- package/rn/components/tabs/index.tsx +14 -14
- package/rn/components/textarea/index.tsx +2 -2
- package/dist/index.esm.js +0 -8506
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js +0 -8567
- package/dist/index.js.map +0 -1
- package/dist/style/components/accordion.rn.scss +0 -79
- package/dist/style/components/action-sheet.rn.scss +0 -80
- package/dist/style/components/activity-indicator.rn.scss +0 -30
- package/dist/style/components/article.rn.scss +0 -59
- package/dist/style/components/avatar.rn.scss +0 -46
- package/dist/style/components/badge.rn.scss +0 -52
- package/dist/style/components/button.rn.scss +0 -80
- package/dist/style/components/calendar.rn.scss +0 -182
- package/dist/style/components/card.rn.scss +0 -88
- package/dist/style/components/checkbox.rn.scss +0 -108
- package/dist/style/components/countdown.rn.scss +0 -82
- package/dist/style/components/curtain.rn.scss +0 -129
- package/dist/style/components/divider.rn.scss +0 -33
- package/dist/style/components/drawer.rn.scss +0 -72
- package/dist/style/components/fab.rn.scss +0 -38
- package/dist/style/components/flex.rn.scss +0 -159
- package/dist/style/components/float-layout.rn.scss +0 -119
- package/dist/style/components/form.rn.scss +0 -12
- package/dist/style/components/grid.rn.scss +0 -104
- package/dist/style/components/icon.rn.scss +0 -221
- package/dist/style/components/image-picker.rn.scss +0 -108
- package/dist/style/components/index.rn.scss +0 -51
- package/dist/style/components/index.scss +0 -52
- package/dist/style/components/indexes.rn.scss +0 -53
- package/dist/style/components/input-number.rn.scss +0 -82
- package/dist/style/components/input.rn.scss +0 -149
- package/dist/style/components/list.rn.scss +0 -107
- package/dist/style/components/load-more.rn.scss +0 -28
- package/dist/style/components/loading.rn.scss +0 -45
- package/dist/style/components/message.rn.scss +0 -57
- package/dist/style/components/modal.rn.scss +0 -136
- package/dist/style/components/nav-bar.rn.scss +0 -123
- package/dist/style/components/noticebar.rn.scss +0 -111
- package/dist/style/components/pagination.rn.scss +0 -43
- package/dist/style/components/progress.rn.scss +0 -105
- package/dist/style/components/radio.rn.scss +0 -94
- package/dist/style/components/range.rn.scss +0 -52
- package/dist/style/components/rate.rn.scss +0 -48
- package/dist/style/components/search-bar.rn.scss +0 -134
- package/dist/style/components/segmented-control.rn.scss +0 -44
- package/dist/style/components/slider.rn.scss +0 -33
- package/dist/style/components/steps.rn.scss +0 -131
- package/dist/style/components/swipe-action.rn.scss +0 -53
- package/dist/style/components/switch.rn.scss +0 -61
- package/dist/style/components/tab-bar.rn.scss +0 -74
- package/dist/style/components/tabs.rn.scss +0 -205
- package/dist/style/components/tag.rn.scss +0 -74
- package/dist/style/components/textarea.rn.scss +0 -57
- package/dist/style/components/timeline.rn.scss +0 -89
- package/dist/style/components/toast.rn.scss +0 -112
- package/dist/style/index.rn.scss +0 -14
- package/dist/style/mixins/index.rn.scss +0 -18
- package/dist/style/mixins/index.scss +0 -18
- package/dist/style/mixins/libs/absolute-center.rn.scss +0 -9
- package/dist/style/mixins/libs/active.rn.scss +0 -10
- package/dist/style/mixins/libs/alignhack.rn.scss +0 -11
- package/dist/style/mixins/libs/border.rn.scss +0 -48
- package/dist/style/mixins/libs/clearfix.rn.scss +0 -21
- package/dist/style/mixins/libs/disabled.rn.scss +0 -6
- package/dist/style/mixins/libs/flex.rn.scss +0 -49
- package/dist/style/mixins/libs/hairline.rn.scss +0 -209
- package/dist/style/mixins/libs/line.rn.scss +0 -14
- package/dist/style/mixins/libs/overlay.rn.scss +0 -11
- package/dist/style/mixins/libs/placeholder.rn.scss +0 -12
- package/dist/style/mixins/libs/shade.rn.scss +0 -23
- package/dist/style/mixins/libs/tint.rn.scss +0 -23
- package/dist/style/themes/purple.rn.scss +0 -44
- package/dist/style/themes/red.rn.scss +0 -45
- package/dist/style/variables/default.rn.scss +0 -461
- package/types/accordion.d.ts +0 -49
- package/types/action-sheet.d.ts +0 -55
- package/types/activity-indicator.d.ts +0 -33
- package/types/avatar.d.ts +0 -39
- package/types/badge.d.ts +0 -24
- package/types/base.d.ts +0 -26
- package/types/button.d.ts +0 -70
- package/types/calendar.d.ts +0 -225
- package/types/card.d.ts +0 -48
- package/types/checkbox.d.ts +0 -24
- package/types/countdown.d.ts +0 -95
- package/types/curtain.d.ts +0 -26
- package/types/divider.d.ts +0 -33
- package/types/drawer.d.ts +0 -48
- package/types/fab.d.ts +0 -21
- package/types/flex.d.ts +0 -27
- package/types/float-button.d.ts +0 -26
- package/types/float-layout.d.ts +0 -73
- package/types/form.d.ts +0 -26
- package/types/grid.d.ts +0 -51
- package/types/icon.d.ts +0 -12
- package/types/image-picker.d.ts +0 -73
- package/types/index.d.ts +0 -55
- package/types/indexes.d.ts +0 -76
- package/types/input-number.d.ts +0 -89
- package/types/input.d.ts +0 -162
- package/types/list.d.ts +0 -84
- package/types/load-more.d.ts +0 -43
- package/types/message.d.ts +0 -43
- package/types/modal.d.ts +0 -62
- package/types/nav-bar.d.ts +0 -65
- package/types/noticebar.d.ts +0 -65
- package/types/pagination.d.ts +0 -51
- package/types/progress.d.ts +0 -30
- package/types/radio.d.ts +0 -47
- package/types/range.d.ts +0 -63
- package/types/rate.d.ts +0 -34
- package/types/search-bar.d.ts +0 -105
- package/types/segmented-control.d.ts +0 -44
- package/types/slider.d.ts +0 -73
- package/types/steps.d.ts +0 -69
- package/types/swipe-action.d.ts +0 -86
- package/types/switch.d.ts +0 -38
- package/types/tab-bar.d.ts +0 -98
- package/types/tabs-pane.d.ts +0 -25
- package/types/tabs.d.ts +0 -62
- package/types/tag.d.ts +0 -48
- package/types/textarea.d.ts +0 -113
- package/types/timeline.d.ts +0 -46
- package/types/toast.d.ts +0 -53
- /package/{dist → lib}/style/components/accordion.scss +0 -0
- /package/{dist → lib}/style/components/action-sheet.scss +0 -0
- /package/{dist → lib}/style/components/activity-indicator.scss +0 -0
- /package/{dist → lib}/style/components/article.scss +0 -0
- /package/{dist → lib}/style/components/avatar.scss +0 -0
- /package/{dist → lib}/style/components/badge.scss +0 -0
- /package/{dist → lib}/style/components/button.scss +0 -0
- /package/{dist → lib}/style/components/calendar.scss +0 -0
- /package/{dist → lib}/style/components/card.scss +0 -0
- /package/{dist → lib}/style/components/checkbox.scss +0 -0
- /package/{dist → lib}/style/components/countdown.scss +0 -0
- /package/{dist → lib}/style/components/curtain.scss +0 -0
- /package/{dist → lib}/style/components/divider.scss +0 -0
- /package/{dist → lib}/style/components/drawer.scss +0 -0
- /package/{dist → lib}/style/components/fab.scss +0 -0
- /package/{dist → lib}/style/components/flex.scss +0 -0
- /package/{dist → lib}/style/components/float-layout.scss +0 -0
- /package/{dist → lib}/style/components/form.scss +0 -0
- /package/{dist → lib}/style/components/icon.scss +0 -0
- /package/{dist → lib}/style/components/image-picker.scss +0 -0
- /package/{dist → lib}/style/components/indexes.scss +0 -0
- /package/{dist → lib}/style/components/input-number.scss +0 -0
- /package/{dist → lib}/style/components/input.scss +0 -0
- /package/{dist → lib}/style/components/load-more.scss +0 -0
- /package/{dist → lib}/style/components/loading.scss +0 -0
- /package/{dist → lib}/style/components/message.scss +0 -0
- /package/{dist → lib}/style/components/modal.scss +0 -0
- /package/{dist → lib}/style/components/nav-bar.scss +0 -0
- /package/{dist → lib}/style/components/noticebar.scss +0 -0
- /package/{dist → lib}/style/components/pagination.scss +0 -0
- /package/{dist → lib}/style/components/progress.scss +0 -0
- /package/{dist → lib}/style/components/radio.scss +0 -0
- /package/{dist → lib}/style/components/range.scss +0 -0
- /package/{dist → lib}/style/components/rate.scss +0 -0
- /package/{dist → lib}/style/components/search-bar.scss +0 -0
- /package/{dist → lib}/style/components/segmented-control.scss +0 -0
- /package/{dist → lib}/style/components/slider.scss +0 -0
- /package/{dist → lib}/style/components/steps.scss +0 -0
- /package/{dist → lib}/style/components/swipe-action.scss +0 -0
- /package/{dist → lib}/style/components/switch.scss +0 -0
- /package/{dist → lib}/style/components/tab-bar.scss +0 -0
- /package/{dist → lib}/style/components/tabs.scss +0 -0
- /package/{dist → lib}/style/components/tag.scss +0 -0
- /package/{dist → lib}/style/components/textarea.scss +0 -0
- /package/{dist → lib}/style/components/timeline.scss +0 -0
- /package/{dist → lib}/style/components/toast.scss +0 -0
- /package/{dist → lib}/style/index.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/absolute-center.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/active.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/alignhack.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/border.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/clearfix.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/disabled.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/flex.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/hairline.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/line.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/overlay.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/placeholder.scss +0 -0
- /package/{dist → lib}/style/themes/purple.scss +0 -0
- /package/{dist → lib}/style/themes/red.scss +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-indexes {
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
// box-sizing: border-box;
|
|
9
|
-
|
|
10
|
-
&__content {
|
|
11
|
-
width: 100%;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
// box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&__menu {
|
|
17
|
-
// position: fixed;
|
|
18
|
-
top: 50%;
|
|
19
|
-
right: 0;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
// transform: translate3d(0, -50%, 0);
|
|
22
|
-
z-index: $zindex-indexes;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__menu-item {
|
|
26
|
-
padding: 2px $spacing-h-sm;
|
|
27
|
-
color: $at-indexes-nav-color;
|
|
28
|
-
font-size: $at-indexes-nav-font-size;
|
|
29
|
-
text-align: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__body {
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
// box-sizing: border-box;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__list {
|
|
39
|
-
width: 100%;
|
|
40
|
-
// box-sizing: border-box;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&__list-title {
|
|
45
|
-
padding: $spacing-h-sm $spacing-v-lg;
|
|
46
|
-
width: 100%;
|
|
47
|
-
color: $at-indexes-title-color;
|
|
48
|
-
font-size: $at-indexes-title-font-size;
|
|
49
|
-
background-color: $at-indexes-title-bg-color;
|
|
50
|
-
// box-sizing: border-box;
|
|
51
|
-
overflow: hidden;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$component: '.at-input-number';
|
|
5
|
-
$at-input-number-btn-padding: 12px;
|
|
6
|
-
$at-input-number-btn-padding-lg: 20px;
|
|
7
|
-
|
|
8
|
-
#{$component} {
|
|
9
|
-
// display: inline-flex;
|
|
10
|
-
@include border-thin($width: 1PX);
|
|
11
|
-
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
|
|
15
|
-
font-size: $at-input-number-font-size;
|
|
16
|
-
border-radius: $border-radius-md;
|
|
17
|
-
background-color: $color-bg;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
|
|
20
|
-
/* elements */
|
|
21
|
-
&__btn {
|
|
22
|
-
position: relative;
|
|
23
|
-
// display: inline-flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
padding: $at-input-number-btn-padding;
|
|
27
|
-
color: $at-input-number-btn-color;
|
|
28
|
-
font-size: 0;
|
|
29
|
-
text-align: center;
|
|
30
|
-
// line-height: $line-height-base;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
@include active;
|
|
33
|
-
|
|
34
|
-
&-subtract,
|
|
35
|
-
&-add {
|
|
36
|
-
color: $at-input-number-btn-color;
|
|
37
|
-
font-size: $at-input-number-btn-size;
|
|
38
|
-
line-height: $at-input-number-btn-size;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__input {
|
|
43
|
-
// display: inline-block;
|
|
44
|
-
width: $at-input-number-width-min;
|
|
45
|
-
height: auto;
|
|
46
|
-
border-radius: 0;
|
|
47
|
-
color: $at-input-number-text-color;
|
|
48
|
-
font-size: $at-input-number-font-size;
|
|
49
|
-
text-align: center;
|
|
50
|
-
text-align-vertical: center;
|
|
51
|
-
// line-height: $line-height-zh;
|
|
52
|
-
@include border-thin($width: 1PX, $directions: left right);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* modifiers */
|
|
56
|
-
&--disabled {
|
|
57
|
-
color: $color-text-disabled;
|
|
58
|
-
|
|
59
|
-
// &:active {
|
|
60
|
-
// background-color: inherit;
|
|
61
|
-
// }
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&--lg {
|
|
65
|
-
// #{$component}__btn {
|
|
66
|
-
// padding: $at-input-number-btn-padding-lg;
|
|
67
|
-
// font-size: $at-input-number-font-size-lg;
|
|
68
|
-
|
|
69
|
-
// &-subtract,
|
|
70
|
-
// &-add {
|
|
71
|
-
// font-size: $at-input-number-btn-size-lg;
|
|
72
|
-
// }
|
|
73
|
-
// }
|
|
74
|
-
|
|
75
|
-
// input,
|
|
76
|
-
// #{$component}__input {
|
|
77
|
-
// padding: $spacing-v-sm;
|
|
78
|
-
// font-size: $at-input-number-font-size-lg;
|
|
79
|
-
// width: $at-input-number-width-min-lg;
|
|
80
|
-
// }
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-input {
|
|
5
|
-
position: relative;
|
|
6
|
-
padding: $spacing-v-lg 0;
|
|
7
|
-
color: $at-input-label-color;
|
|
8
|
-
background-color: $color-bg;
|
|
9
|
-
margin-left: $spacing-h-xl;
|
|
10
|
-
|
|
11
|
-
/* 修复底线隐藏问题 */
|
|
12
|
-
margin-bottom: 1PX;
|
|
13
|
-
@include hairline-bottom();
|
|
14
|
-
|
|
15
|
-
&__overlay {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
right: 0;
|
|
21
|
-
z-index: $zindex-form;
|
|
22
|
-
|
|
23
|
-
&--hidden {
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* elements */
|
|
29
|
-
&__container {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&--required {
|
|
36
|
-
margin-right: 8px;
|
|
37
|
-
color: $color-error;
|
|
38
|
-
font-size: 28px;
|
|
39
|
-
line-height: 28px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__title {
|
|
43
|
-
margin-right: $spacing-h-md;
|
|
44
|
-
width: 172px;
|
|
45
|
-
font-size: $at-input-font-size;
|
|
46
|
-
line-height: $line-height-zh * $at-input-font-size;
|
|
47
|
-
// vertical-align: middle;
|
|
48
|
-
text-align: left;
|
|
49
|
-
&--error {
|
|
50
|
-
color: $color-error;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__input {
|
|
55
|
-
flex: 1;
|
|
56
|
-
padding-top: 0;
|
|
57
|
-
padding-right: $spacing-v-md;
|
|
58
|
-
padding-left: 0;
|
|
59
|
-
padding-bottom: 0;
|
|
60
|
-
color: $at-input-text-color;
|
|
61
|
-
font-size: $at-input-font-size;
|
|
62
|
-
// 设行高要兼容 placehost style,不然会弹上去
|
|
63
|
-
// line-height: 1.2 * $at-input-font-size;
|
|
64
|
-
/*postcss-pxtransform rn eject enable*/
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
/*postcss-pxtransform rn eject disable*/
|
|
67
|
-
@include placeholder($at-input-placeholder-color);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// input {
|
|
71
|
-
// color: $at-input-text-color;
|
|
72
|
-
// font-size: $at-input-font-size;
|
|
73
|
-
// height: $at-input-font-size * 1.4;
|
|
74
|
-
// line-height: $line-height-zh * $at-input-font-size;
|
|
75
|
-
// }
|
|
76
|
-
|
|
77
|
-
&__icon {
|
|
78
|
-
// display: inline-flex;
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
margin-right: 10px;
|
|
82
|
-
width: 40px;
|
|
83
|
-
min-width: 40px;
|
|
84
|
-
// height: 100%;
|
|
85
|
-
font-size: $at-input-font-size;
|
|
86
|
-
text-align: center;
|
|
87
|
-
line-height: $at-input-font-size;
|
|
88
|
-
|
|
89
|
-
&-close {
|
|
90
|
-
color: #ccc;
|
|
91
|
-
font-size: $at-input-font-size;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-alert {
|
|
95
|
-
color: #FF4949;
|
|
96
|
-
font-size: $at-input-font-size;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&__children {
|
|
101
|
-
// display: inline-flex;
|
|
102
|
-
@include hairline-left();
|
|
103
|
-
padding: 0 $spacing-v-md;
|
|
104
|
-
color: $color-brand-dark;
|
|
105
|
-
font-size: $at-input-font-size;
|
|
106
|
-
text-align: center;
|
|
107
|
-
|
|
108
|
-
// > view,
|
|
109
|
-
// div,
|
|
110
|
-
// span,
|
|
111
|
-
// text,
|
|
112
|
-
// image,
|
|
113
|
-
// .taro-img {
|
|
114
|
-
// //display: inline-block;
|
|
115
|
-
// padding: 0 $spacing-v-md;
|
|
116
|
-
// color: $color-brand-dark;
|
|
117
|
-
// font-size: $at-input-font-size;
|
|
118
|
-
// text-align: center;
|
|
119
|
-
// }
|
|
120
|
-
|
|
121
|
-
// > image,
|
|
122
|
-
// img,
|
|
123
|
-
// .taro-img {
|
|
124
|
-
// // display: inline-block;
|
|
125
|
-
// width: 145px;
|
|
126
|
-
// height: 60px;
|
|
127
|
-
// vertical-align: middle;
|
|
128
|
-
// }
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* modifiers */
|
|
132
|
-
&--error {
|
|
133
|
-
color: $color-error;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&--disabled {
|
|
137
|
-
opacity: $opacity-disabled;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&--without-border {
|
|
141
|
-
border-bottom-width: 0;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// &--without-border {
|
|
145
|
-
// &::after {
|
|
146
|
-
// border: none;
|
|
147
|
-
// }
|
|
148
|
-
// }
|
|
149
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@import "../variables/default.scss";
|
|
2
|
-
@import "../mixins/index.scss";
|
|
3
|
-
|
|
4
|
-
$at-list-item-horizontal-padding: 24px;
|
|
5
|
-
|
|
6
|
-
@mixin squareImg($size: 56px) {
|
|
7
|
-
width: $size;
|
|
8
|
-
height: $size;
|
|
9
|
-
|
|
10
|
-
&__info {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.at-list {
|
|
17
|
-
// flex: 1;
|
|
18
|
-
width: 100%;
|
|
19
|
-
background-color: $color-bg;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
&--no-border {
|
|
23
|
-
@include hairline-top-bottom($width: 0);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
&__item {
|
|
28
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
29
|
-
position: relative;
|
|
30
|
-
color: $at-list-text-color;
|
|
31
|
-
font-size: $font-size-lg;
|
|
32
|
-
line-height: $line-height-zh * $font-size-lg;
|
|
33
|
-
@include active;
|
|
34
|
-
@include hairline-bottom-relative($left: $spacing-h-lg);
|
|
35
|
-
|
|
36
|
-
&--no-border {
|
|
37
|
-
@include hairline-bottom-relative($width: 0);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-container {
|
|
41
|
-
@include display-flex;
|
|
42
|
-
@include align-items(center);
|
|
43
|
-
|
|
44
|
-
&--disabled {
|
|
45
|
-
opacity: $opacity-disabled;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&--thumb {
|
|
50
|
-
margin-right: $at-list-item-horizontal-padding;
|
|
51
|
-
|
|
52
|
-
&__info {
|
|
53
|
-
width: $at-list-thumb-size;
|
|
54
|
-
height: $at-list-thumb-size;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-content {
|
|
59
|
-
@include flex(1);
|
|
60
|
-
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
margin-right: 40px;
|
|
63
|
-
|
|
64
|
-
&__info {
|
|
65
|
-
&-title {
|
|
66
|
-
color: $at-list-text-color;
|
|
67
|
-
font-size: $float-layout-title-font-size;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-note {
|
|
71
|
-
color: $at-list-content-color;
|
|
72
|
-
font-size: $font-size-base;
|
|
73
|
-
flex: 1;
|
|
74
|
-
margin-top: 10px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.item-extra {
|
|
82
|
-
max-width: $at-list-extra-width;
|
|
83
|
-
text-align: right;
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
flex-direction: row;
|
|
87
|
-
|
|
88
|
-
&__info {
|
|
89
|
-
max-width: 100%;
|
|
90
|
-
color: $at-list-extra-color;
|
|
91
|
-
padding-right: 30px;
|
|
92
|
-
font-size: $font-size-lg;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&__icon {
|
|
96
|
-
margin-right: -12px;
|
|
97
|
-
|
|
98
|
-
&-arrow {
|
|
99
|
-
color: $at-list-arrow-color;
|
|
100
|
-
font-size: 48px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.item-icon {
|
|
106
|
-
margin-right: $at-list-item-horizontal-padding;
|
|
107
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-load-more {
|
|
5
|
-
position: relative;
|
|
6
|
-
text-align: center;
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: $at-load-more-height;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
/* #ifndef rn */
|
|
14
|
-
// box-sizing: border-box;
|
|
15
|
-
/* #endif */
|
|
16
|
-
|
|
17
|
-
&__cnt {
|
|
18
|
-
flex: 1;
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__tip {
|
|
23
|
-
text-align: center;
|
|
24
|
-
width: 100%;
|
|
25
|
-
color: $at-load-more-tips-color;
|
|
26
|
-
font-size: $at-load-more-tips-size;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
@keyframes loading {
|
|
5
|
-
0% {
|
|
6
|
-
// transform: rotate(0deg);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
100% {
|
|
10
|
-
// transform: rotate(360deg);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.at-loading {
|
|
15
|
-
// display: inline-block;
|
|
16
|
-
position: relative;
|
|
17
|
-
width: $at-loading-size;
|
|
18
|
-
height: $at-loading-size;
|
|
19
|
-
|
|
20
|
-
&__ring {
|
|
21
|
-
// box-sizing: border-box;
|
|
22
|
-
// display: block;
|
|
23
|
-
position: absolute;
|
|
24
|
-
width: $at-loading-size;
|
|
25
|
-
height: $at-loading-size;
|
|
26
|
-
margin: 1PX;
|
|
27
|
-
border-width: 1PX;
|
|
28
|
-
border-style: solid;
|
|
29
|
-
border-color: $at-loading-color transparent transparent transparent;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
// animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
32
|
-
|
|
33
|
-
&:nth-child(1) {
|
|
34
|
-
// animation-delay: -0.45s;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:nth-child(2) {
|
|
38
|
-
// animation-delay: -0.3s;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:nth-child(3) {
|
|
42
|
-
// animation-delay: -0.15s;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-message {
|
|
5
|
-
position: absolute;
|
|
6
|
-
top: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
width: 100%;
|
|
10
|
-
padding: $spacing-v-sm $spacing-h-sm;
|
|
11
|
-
color: $at-message-color;
|
|
12
|
-
font-size: $at-message-font-size;
|
|
13
|
-
text-align: center;
|
|
14
|
-
line-height: $line-height-zh * $at-message-font-size;
|
|
15
|
-
background: $at-message-bg-color;
|
|
16
|
-
|
|
17
|
-
&--content {
|
|
18
|
-
color: $at-message-color;
|
|
19
|
-
font-size: $at-message-font-size;
|
|
20
|
-
text-align: center;
|
|
21
|
-
line-height: $line-height-zh * $at-message-font-size;
|
|
22
|
-
background: transparent
|
|
23
|
-
}
|
|
24
|
-
// animation: ease both;
|
|
25
|
-
// transform: translate3d(0, -100%, 0);
|
|
26
|
-
// transition: all 300ms $ease-in-sine;
|
|
27
|
-
// opacity: 0;
|
|
28
|
-
z-index: $zindex-message;
|
|
29
|
-
// box-sizing: border-box;
|
|
30
|
-
|
|
31
|
-
/* modifiers */
|
|
32
|
-
&--success {
|
|
33
|
-
background: $color-success;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&--error {
|
|
37
|
-
background: $color-error;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&--warning {
|
|
41
|
-
background: $color-warning;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--info {
|
|
45
|
-
background: $color-info;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&--show {
|
|
49
|
-
opacity: 1;
|
|
50
|
-
// transform: translate3d(0, 0, 0);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&--hidden {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
// transform: translate3d(0, -100%, 0);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$at-modal-duration: 200ms;
|
|
5
|
-
|
|
6
|
-
.at-modal {
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
z-index: $zindex-modal;
|
|
13
|
-
|
|
14
|
-
@include absolute-center();
|
|
15
|
-
|
|
16
|
-
&__overlay {
|
|
17
|
-
@include overlay;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__container {
|
|
21
|
-
|
|
22
|
-
width: $at-modal-width;
|
|
23
|
-
border-radius: $border-radius-lg;
|
|
24
|
-
background-color: $at-modal-bg-color;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&__header {
|
|
29
|
-
@include hairline-bottom-relative($color: $color-grey-4);
|
|
30
|
-
// @include line(1);
|
|
31
|
-
|
|
32
|
-
padding: $spacing-v-md $spacing-h-lg;
|
|
33
|
-
color: $at-modal-header-text-color;
|
|
34
|
-
font-size: $font-size-lg;
|
|
35
|
-
text-align: center;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__content {
|
|
39
|
-
min-height: 180px;
|
|
40
|
-
max-height: 840px;
|
|
41
|
-
padding: $spacing-h-xl $spacing-h-lg;
|
|
42
|
-
color: $at-modal-content-text-color;
|
|
43
|
-
font-size: $font-size-base;
|
|
44
|
-
// box-sizing: content-box;
|
|
45
|
-
width: auto;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&__action {
|
|
49
|
-
@include display-flex;
|
|
50
|
-
flex-direction: row;
|
|
51
|
-
|
|
52
|
-
&--button {
|
|
53
|
-
@include flex(auto);
|
|
54
|
-
// @include line(1);
|
|
55
|
-
@include active;
|
|
56
|
-
@include hairline-left-relative($color: $color-grey-4);
|
|
57
|
-
|
|
58
|
-
margin-top: 0;
|
|
59
|
-
min-width: 160px;
|
|
60
|
-
height: 88px;
|
|
61
|
-
// outline: 0;
|
|
62
|
-
// border: 0;
|
|
63
|
-
border-radius: 0;
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
|
|
66
|
-
&__text {
|
|
67
|
-
color: $at-modal-btn-default-color;
|
|
68
|
-
font-size: $font-size-base;
|
|
69
|
-
line-height: 86px;
|
|
70
|
-
|
|
71
|
-
&--confirm {
|
|
72
|
-
color: $at-modal-btn-confirm-color;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&__no-border {
|
|
77
|
-
border: 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&__footer {
|
|
84
|
-
@include hairline-top-relative($color: $color-grey-4);
|
|
85
|
-
|
|
86
|
-
// .at-modal__action {
|
|
87
|
-
// @include display-flex;
|
|
88
|
-
|
|
89
|
-
// & > button {
|
|
90
|
-
// @include flex(auto);
|
|
91
|
-
// @include line(1);
|
|
92
|
-
// @include active;
|
|
93
|
-
|
|
94
|
-
// margin-top: 0;
|
|
95
|
-
// min-width: 160px;
|
|
96
|
-
// height: 88px;
|
|
97
|
-
// color: $at-modal-btn-default-color;
|
|
98
|
-
// font-size: $font-size-base;
|
|
99
|
-
// line-height: 86px;
|
|
100
|
-
// outline: 0;
|
|
101
|
-
// border: 0;
|
|
102
|
-
// border-radius: 0;
|
|
103
|
-
// background-color: transparent;
|
|
104
|
-
|
|
105
|
-
// &::after {
|
|
106
|
-
// border: 0;
|
|
107
|
-
// border-radius: 0;
|
|
108
|
-
// width: initial;
|
|
109
|
-
// height: initial;
|
|
110
|
-
// }
|
|
111
|
-
|
|
112
|
-
// &:not(:first-child) {
|
|
113
|
-
// @include hairline-left-relative($color: $color-grey-4);
|
|
114
|
-
// }
|
|
115
|
-
|
|
116
|
-
// &:last-child {
|
|
117
|
-
// color: $at-modal-btn-confirm-color;
|
|
118
|
-
// }
|
|
119
|
-
// }
|
|
120
|
-
// }
|
|
121
|
-
|
|
122
|
-
// &--simple .at-modal__action > button:last-child:nth-child(2) {
|
|
123
|
-
// color: $at-modal-btn-confirm-color;
|
|
124
|
-
// }
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/* modifiers */
|
|
128
|
-
// &--active {
|
|
129
|
-
// // visibility: visible;
|
|
130
|
-
|
|
131
|
-
// .at-modal__overlay,
|
|
132
|
-
// .at-modal__container {
|
|
133
|
-
// opacity: 1;
|
|
134
|
-
// }
|
|
135
|
-
// }
|
|
136
|
-
}
|