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,57 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$component: '.at-textarea';
|
|
5
|
-
$at-textarea-input-height: $at-textarea-font-size * 4;
|
|
6
|
-
$at-textarea-bg-color: $color-bg;
|
|
7
|
-
|
|
8
|
-
#{$component} {
|
|
9
|
-
padding: $spacing-v-md;
|
|
10
|
-
width: 100%;
|
|
11
|
-
font-size: $at-textarea-font-size;
|
|
12
|
-
line-height: $line-height-zh * $at-textarea-font-size;
|
|
13
|
-
border-radius: $border-radius-md;
|
|
14
|
-
background-color: $at-textarea-bg-color;
|
|
15
|
-
// box-sizing: border-box;
|
|
16
|
-
@include border-thin($width: 1PX);
|
|
17
|
-
|
|
18
|
-
&__textarea {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: $at-textarea-input-height;
|
|
21
|
-
font-size: $at-textarea-font-size;
|
|
22
|
-
// outline: none;
|
|
23
|
-
// resize: none;
|
|
24
|
-
// -webkit-appearance: none;
|
|
25
|
-
border-radius: 0;
|
|
26
|
-
padding: 0;
|
|
27
|
-
margin: 0;
|
|
28
|
-
border: 0;
|
|
29
|
-
@include placeholder;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__counter {
|
|
33
|
-
padding-top: $spacing-v-sm;
|
|
34
|
-
width: 100%;
|
|
35
|
-
color: $at-textarea-tips-color;
|
|
36
|
-
font-size: $at-textarea-tips-size;
|
|
37
|
-
text-align: right;
|
|
38
|
-
line-height: $line-height-base * $at-textarea-tips-size;
|
|
39
|
-
|
|
40
|
-
&--error {
|
|
41
|
-
color: $color-error;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// &--WEB,
|
|
46
|
-
// &--WEAPP {
|
|
47
|
-
// #{$component}__textarea {
|
|
48
|
-
// line-height: $line-height-base;
|
|
49
|
-
// }
|
|
50
|
-
// }
|
|
51
|
-
|
|
52
|
-
// &--error {
|
|
53
|
-
// #{$component}__counter {
|
|
54
|
-
// color: $color-error;
|
|
55
|
-
// }
|
|
56
|
-
// }
|
|
57
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
.at-timeline-item {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: 0 0 $spacing-v-sm;
|
|
8
|
-
|
|
9
|
-
/* elements */
|
|
10
|
-
&__content {
|
|
11
|
-
margin-left: $at-timeline-offset-left;
|
|
12
|
-
min-height: 56px;
|
|
13
|
-
color: $at-timeline-title-color;
|
|
14
|
-
font-size: $at-timeline-title-font-size;
|
|
15
|
-
text-align: left;
|
|
16
|
-
|
|
17
|
-
&--sub {
|
|
18
|
-
color: $at-timeline-desc-color;
|
|
19
|
-
font-size: $at-timeline-desc-font-size;
|
|
20
|
-
line-height: $line-height-zh * $at-timeline-desc-font-size;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-item {
|
|
24
|
-
color: $at-timeline-title-color;
|
|
25
|
-
font-size: $at-timeline-title-font-size;
|
|
26
|
-
line-height: $line-height-zh * $at-timeline-title-font-size;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__dot {
|
|
31
|
-
position: absolute;
|
|
32
|
-
left: 0;
|
|
33
|
-
top: 8px;
|
|
34
|
-
width: $at-timeline-dot-size;
|
|
35
|
-
height: $at-timeline-dot-size;
|
|
36
|
-
font-size: 0;
|
|
37
|
-
text-align: center;
|
|
38
|
-
border-radius: math.div($at-timeline-dot-size, 2);
|
|
39
|
-
background: $at-timeline-dot-color;
|
|
40
|
-
z-index: 1;
|
|
41
|
-
border: 1PX solid transparent;
|
|
42
|
-
border-color: $at-timeline-dot-border-color;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
&--green {
|
|
46
|
-
border-color: $color-success;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&--red {
|
|
50
|
-
border-color: $color-error;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&--yellow {
|
|
54
|
-
border-color: $color-warning;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--has-icon {
|
|
58
|
-
border-color: transparent;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__icon {
|
|
63
|
-
position: absolute;
|
|
64
|
-
left: 0;
|
|
65
|
-
top: 0;
|
|
66
|
-
width: $at-timeline-dot-size;
|
|
67
|
-
height: $at-timeline-dot-size;
|
|
68
|
-
text-align: center;
|
|
69
|
-
border-radius: math.div($at-timeline-dot-size, 2);
|
|
70
|
-
background: $at-timeline-dot-color;
|
|
71
|
-
z-index: 1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&__at-icon {
|
|
75
|
-
font-size: $at-timeline-dot-size;
|
|
76
|
-
color: $at-timeline-dot-border-color;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&__tail {
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: math.div($at-timeline-dot-size, 2);
|
|
82
|
-
bottom: -1 * math.div($at-timeline-dot-size, 2);
|
|
83
|
-
left: math.div($at-timeline-dot-size, 2) - 2px;
|
|
84
|
-
border-left-color: $at-timeline-line-color;
|
|
85
|
-
border-left-width: 1PX;
|
|
86
|
-
border-style: solid;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
// @keyframes atRotate {
|
|
5
|
-
// 0% {
|
|
6
|
-
// transform: rotate(0deg);
|
|
7
|
-
// }
|
|
8
|
-
|
|
9
|
-
// 100% {
|
|
10
|
-
// transform: rotate(360deg);
|
|
11
|
-
// }
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
$at-toast-min-width: 256px !default;
|
|
15
|
-
$at-toast-image-size: 120px !default;
|
|
16
|
-
$at-toast-font-size: $font-size-base !default;
|
|
17
|
-
$at-toast-icon-size: 80px !default;
|
|
18
|
-
$at-toast-color: $color-white;
|
|
19
|
-
$at-toast-bg-color: rgba($color: $color-black-0, $alpha: 0.8);
|
|
20
|
-
|
|
21
|
-
.at-toast {
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 100%;
|
|
24
|
-
z-index: 10000;
|
|
25
|
-
position: absolute;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
|
|
29
|
-
&--no-mask {
|
|
30
|
-
top: 50%;
|
|
31
|
-
left: 50%;
|
|
32
|
-
width: auto;
|
|
33
|
-
height: auto;
|
|
34
|
-
align-items: stretch;
|
|
35
|
-
justify-content: flex-start;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* elements */
|
|
39
|
-
&__overlay {
|
|
40
|
-
@include overlay;
|
|
41
|
-
|
|
42
|
-
// position: fixed;
|
|
43
|
-
opacity: 0;
|
|
44
|
-
z-index: $zindex-toast;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__body {
|
|
48
|
-
&--loading {
|
|
49
|
-
.toast-body-content__img-item {
|
|
50
|
-
// animation: atRotate 1350ms linear infinite;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.toast-body {
|
|
57
|
-
// @include absolute-center(fixed);
|
|
58
|
-
|
|
59
|
-
padding: $spacing-v-lg $spacing-h-xl;
|
|
60
|
-
min-width: $at-toast-min-width;
|
|
61
|
-
border-radius: $border-radius-md;
|
|
62
|
-
background-color: $at-toast-bg-color;
|
|
63
|
-
z-index: $zindex-toast;
|
|
64
|
-
|
|
65
|
-
&-content {
|
|
66
|
-
&__icon {
|
|
67
|
-
color: $at-toast-color;
|
|
68
|
-
font-size: $at-toast-icon-size;
|
|
69
|
-
align-items: center;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&__img {
|
|
73
|
-
line-height: 0;
|
|
74
|
-
align-items: center;
|
|
75
|
-
|
|
76
|
-
&-item {
|
|
77
|
-
width: $at-toast-image-size;
|
|
78
|
-
height: $at-toast-image-size;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__info {
|
|
83
|
-
margin-top: $spacing-v-md;
|
|
84
|
-
color: $at-toast-color;
|
|
85
|
-
font-size: $at-toast-font-size;
|
|
86
|
-
line-height: $line-height-zh * $at-toast-font-size;
|
|
87
|
-
text-align: center;
|
|
88
|
-
|
|
89
|
-
&-no-margin {
|
|
90
|
-
margin-top: 0;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&--text {
|
|
96
|
-
color: $at-toast-color;
|
|
97
|
-
padding: $spacing-v-sm $spacing-h-lg;
|
|
98
|
-
line-height: $line-height-zh * $at-toast-font-size;
|
|
99
|
-
// min-width: initial;
|
|
100
|
-
|
|
101
|
-
// .toast-body-content__info {
|
|
102
|
-
// margin-top: 0;
|
|
103
|
-
// }
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.at-toast__body--custom-image,
|
|
107
|
-
&.at-toast__body--success,
|
|
108
|
-
&.at-toast__body--error,
|
|
109
|
-
&.at-toast__body--loading {
|
|
110
|
-
// padding-bottom: $spacing-v-lg - (($at-toast-font-size * $line-height-zh - $at-toast-font-size) / 2);
|
|
111
|
-
}
|
|
112
|
-
}
|
package/dist/style/index.rn.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mixins
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/* library */
|
|
6
|
-
@import './libs/absolute-center';
|
|
7
|
-
@import './libs/clearfix';
|
|
8
|
-
@import './libs/line';
|
|
9
|
-
@import './libs/overlay';
|
|
10
|
-
@import './libs/shade';
|
|
11
|
-
@import './libs/tint';
|
|
12
|
-
@import './libs/flex';
|
|
13
|
-
@import './libs/border';
|
|
14
|
-
@import './libs/active';
|
|
15
|
-
@import './libs/disabled';
|
|
16
|
-
@import './libs/placeholder';
|
|
17
|
-
@import './libs/alignhack';
|
|
18
|
-
@import './libs/hairline';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mixins
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/* library */
|
|
6
|
-
@import './libs/absolute-center';
|
|
7
|
-
@import './libs/clearfix';
|
|
8
|
-
@import './libs/line';
|
|
9
|
-
@import './libs/overlay';
|
|
10
|
-
@import './libs/shade';
|
|
11
|
-
@import './libs/tint';
|
|
12
|
-
@import './libs/flex';
|
|
13
|
-
@import './libs/border';
|
|
14
|
-
@import './libs/active';
|
|
15
|
-
@import './libs/disabled';
|
|
16
|
-
@import './libs/placeholder';
|
|
17
|
-
@import './libs/alignhack';
|
|
18
|
-
@import './libs/hairline';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 默认主题下 $color-border-light
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@mixin border-thin(
|
|
6
|
-
$color: $color-border-light,
|
|
7
|
-
$style: solid,
|
|
8
|
-
$directions: top bottom right left,
|
|
9
|
-
$width: 1px
|
|
10
|
-
) {
|
|
11
|
-
@each $value in $directions {
|
|
12
|
-
border-#{$value}-width: $width;
|
|
13
|
-
border-#{$value}-color: $color;
|
|
14
|
-
}
|
|
15
|
-
border-style: $style;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin border-thin-top(
|
|
19
|
-
$color: $color-border-light,
|
|
20
|
-
$style: solid,
|
|
21
|
-
$width: 1px
|
|
22
|
-
) {
|
|
23
|
-
@include border-thin($color, $style, top, $width);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin border-thin-left(
|
|
27
|
-
$color: $color-border-light,
|
|
28
|
-
$style: solid,
|
|
29
|
-
$width: 1px
|
|
30
|
-
) {
|
|
31
|
-
@include border-thin($color, $style, left, $width);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@mixin border-thin-right(
|
|
35
|
-
$color: $color-border-light,
|
|
36
|
-
$style: solid,
|
|
37
|
-
$width: 1px
|
|
38
|
-
) {
|
|
39
|
-
@include border-thin($color, $style, right, $width);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@mixin border-thin-bottom(
|
|
43
|
-
$color: $color-border-light,
|
|
44
|
-
$style: solid,
|
|
45
|
-
$width: 1px
|
|
46
|
-
) {
|
|
47
|
-
@include border-thin($color, $style, bottom, $width);
|
|
48
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @example scss
|
|
3
|
-
*
|
|
4
|
-
* .element {
|
|
5
|
-
* @include clearfix;
|
|
6
|
-
* }
|
|
7
|
-
*
|
|
8
|
-
* // CSS Output
|
|
9
|
-
* .element::after {
|
|
10
|
-
* clear: both;
|
|
11
|
-
* content: '';
|
|
12
|
-
* // display: block;
|
|
13
|
-
* }
|
|
14
|
-
*/
|
|
15
|
-
@mixin clearfix {
|
|
16
|
-
&::after {
|
|
17
|
-
clear: both;
|
|
18
|
-
content: '';
|
|
19
|
-
// display: block;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@mixin display-flex {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@mixin flex-wrap($value: nowrap) {
|
|
7
|
-
flex-wrap: $value;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin align-items($value: stretch) {
|
|
11
|
-
align-items: $value;
|
|
12
|
-
// @if $value == flex-start {
|
|
13
|
-
// -webkit-box-align: start;
|
|
14
|
-
// } @else if $value == flex-end {
|
|
15
|
-
// -webkit-box-align: end;
|
|
16
|
-
// } @else {
|
|
17
|
-
// -webkit-box-align: $value;
|
|
18
|
-
// }
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin align-content($value: flex-start) {
|
|
22
|
-
align-content: $value;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin justify-content($value: flex-start) {
|
|
26
|
-
justify-content: $value;
|
|
27
|
-
// @if $value == flex-start {
|
|
28
|
-
// -webkit-box-pack: start;
|
|
29
|
-
// } @else if $value == flex-end {
|
|
30
|
-
// -webkit-box-pack: end;
|
|
31
|
-
// } @else if $value == space-between {
|
|
32
|
-
// -webkit-box-pack: justify;
|
|
33
|
-
// } @else {
|
|
34
|
-
// -webkit-box-pack: $value;
|
|
35
|
-
// }
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Flex Item */
|
|
39
|
-
@mixin flex($fg: 1, $fs: null, $fb: null) {
|
|
40
|
-
flex: $fg $fs $fb;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin flex-order($n) {
|
|
44
|
-
order: $n;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@mixin align-self($value: auto) {
|
|
48
|
-
align-self: $value;
|
|
49
|
-
}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 默认主题下 $color-border-light
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@mixin hairline-common() {
|
|
6
|
-
content: '';
|
|
7
|
-
position: absolute;
|
|
8
|
-
// transform-origin: center;
|
|
9
|
-
// box-sizing: border-box;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin hairline-base(
|
|
14
|
-
$color: $color-border-light,
|
|
15
|
-
$style: solid
|
|
16
|
-
) {
|
|
17
|
-
@include hairline-common();
|
|
18
|
-
|
|
19
|
-
top: -50%;
|
|
20
|
-
left: -50%;
|
|
21
|
-
right: -50%;
|
|
22
|
-
bottom: -50%;
|
|
23
|
-
border: 0 $style $color;
|
|
24
|
-
// transform: scale(0.5);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin hairline-surround(
|
|
28
|
-
$color: $color-border-light,
|
|
29
|
-
$style: solid,
|
|
30
|
-
$width: 1PX
|
|
31
|
-
) {
|
|
32
|
-
|
|
33
|
-
border-width: $width;
|
|
34
|
-
border-color: $color;
|
|
35
|
-
border-style: $style;
|
|
36
|
-
|
|
37
|
-
// position: relative;
|
|
38
|
-
|
|
39
|
-
// &::after {
|
|
40
|
-
// @include hairline-base($color, $style);
|
|
41
|
-
|
|
42
|
-
// border-width: $width;
|
|
43
|
-
// }
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin hairline-top(
|
|
47
|
-
$color: $color-border-light,
|
|
48
|
-
$style: solid,
|
|
49
|
-
$width: 1PX
|
|
50
|
-
) {
|
|
51
|
-
border-top-width: $width;
|
|
52
|
-
border-top-color: $color;
|
|
53
|
-
border-style: $style;
|
|
54
|
-
|
|
55
|
-
// position: relative;
|
|
56
|
-
|
|
57
|
-
// &::after {
|
|
58
|
-
// @include hairline-base($color, $style);
|
|
59
|
-
|
|
60
|
-
// border-top-width: $width;
|
|
61
|
-
// }
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@mixin hairline-bottom(
|
|
65
|
-
$color: $color-border-light,
|
|
66
|
-
$style: solid,
|
|
67
|
-
$width: 1PX
|
|
68
|
-
) {
|
|
69
|
-
border-bottom-width: $width;
|
|
70
|
-
border-bottom-color: $color;
|
|
71
|
-
border-style: $style;
|
|
72
|
-
// position: relative;
|
|
73
|
-
|
|
74
|
-
// &::after {
|
|
75
|
-
// @include hairline-base($color, $style);
|
|
76
|
-
|
|
77
|
-
// border-bottom-width: $width;
|
|
78
|
-
// }
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@mixin hairline-left(
|
|
82
|
-
$color: $color-border-light,
|
|
83
|
-
$style: solid,
|
|
84
|
-
$width: 1PX
|
|
85
|
-
) {
|
|
86
|
-
border-left-width: $width;
|
|
87
|
-
border-left-color: $color;
|
|
88
|
-
border-style: $style;
|
|
89
|
-
// position: relative;
|
|
90
|
-
|
|
91
|
-
// &::after {
|
|
92
|
-
// @include hairline-base($color, $style);
|
|
93
|
-
|
|
94
|
-
// border-left-width: $width;
|
|
95
|
-
// }
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@mixin hairline-right(
|
|
99
|
-
$color: $color-border-light,
|
|
100
|
-
$style: solid,
|
|
101
|
-
$width: 1PX
|
|
102
|
-
) {
|
|
103
|
-
border-right-width: $width;
|
|
104
|
-
border-right-color: $color;
|
|
105
|
-
border-style: $style;
|
|
106
|
-
// position: relative;
|
|
107
|
-
|
|
108
|
-
// &::after {
|
|
109
|
-
// @include hairline-base($color, $style);
|
|
110
|
-
|
|
111
|
-
// border-right-width: $width;
|
|
112
|
-
// }
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@mixin hairline-top-bottom(
|
|
116
|
-
$color: $color-border-light,
|
|
117
|
-
$style: solid,
|
|
118
|
-
$width: 1PX
|
|
119
|
-
) {
|
|
120
|
-
position: relative;
|
|
121
|
-
border-top-width: $width;
|
|
122
|
-
border-bottom-width: $width;
|
|
123
|
-
border-style: $style;
|
|
124
|
-
border-color: $color;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@mixin hairline-bottom-relative(
|
|
128
|
-
$color: $color-border-light,
|
|
129
|
-
$style: solid,
|
|
130
|
-
$width: 1PX,
|
|
131
|
-
$left: 0
|
|
132
|
-
) {
|
|
133
|
-
border-bottom-width: $width;
|
|
134
|
-
border-bottom-color: $color;
|
|
135
|
-
// position: relative;
|
|
136
|
-
// border-bottom-width: $width;
|
|
137
|
-
// border-style: $style;
|
|
138
|
-
// border-color: $color;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@mixin hairline-top-relative(
|
|
142
|
-
$color: $color-border-light,
|
|
143
|
-
$style: solid,
|
|
144
|
-
$width: 1PX,
|
|
145
|
-
$left: 0
|
|
146
|
-
) {
|
|
147
|
-
|
|
148
|
-
border-top-width: $width;
|
|
149
|
-
border-top-color: $color;
|
|
150
|
-
|
|
151
|
-
// position: relative;
|
|
152
|
-
|
|
153
|
-
// &::before {
|
|
154
|
-
// @include hairline-common();
|
|
155
|
-
|
|
156
|
-
// top: 0;
|
|
157
|
-
// left: $left;
|
|
158
|
-
// right: 0;
|
|
159
|
-
// bottom: auto;
|
|
160
|
-
// // transform: scaleY(0.5);
|
|
161
|
-
// border-top: $width $style $color;
|
|
162
|
-
// }
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@mixin hairline-left-relative(
|
|
166
|
-
$color: $color-border-light,
|
|
167
|
-
$style: solid,
|
|
168
|
-
$width: 1PX,
|
|
169
|
-
$top: 0
|
|
170
|
-
) {
|
|
171
|
-
border-left-width: $width;
|
|
172
|
-
border-left-color: $color;
|
|
173
|
-
|
|
174
|
-
// position: relative;
|
|
175
|
-
// &::after {
|
|
176
|
-
// @include hairline-common();
|
|
177
|
-
|
|
178
|
-
// top: $top;
|
|
179
|
-
// left: 0;
|
|
180
|
-
// right: auto;
|
|
181
|
-
// bottom: 0;
|
|
182
|
-
// // transform: scaleX(0.5);
|
|
183
|
-
// border-left: $width $style $color;
|
|
184
|
-
// }
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@mixin hairline-right-relative(
|
|
188
|
-
$color: $color-border-light,
|
|
189
|
-
$style: solid,
|
|
190
|
-
$width: 1PX,
|
|
191
|
-
$top: 0
|
|
192
|
-
) {
|
|
193
|
-
|
|
194
|
-
border-right-width: $width;
|
|
195
|
-
border-right-color: $color;
|
|
196
|
-
|
|
197
|
-
// position: relative;
|
|
198
|
-
|
|
199
|
-
// &::after {
|
|
200
|
-
// @include hairline-common();
|
|
201
|
-
|
|
202
|
-
// top: $top;
|
|
203
|
-
// left: auto;
|
|
204
|
-
// right: 0;
|
|
205
|
-
// bottom: 0;
|
|
206
|
-
// // transform: scaleX(0.5);
|
|
207
|
-
// border-right: $width $style $color;
|
|
208
|
-
// }
|
|
209
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @mixin line($num: 1) {
|
|
2
|
-
// overflow: hidden;
|
|
3
|
-
// text-overflow: ellipsis;
|
|
4
|
-
|
|
5
|
-
// @if ($num == 1) {
|
|
6
|
-
// // white-space: nowrap;
|
|
7
|
-
// } @else {
|
|
8
|
-
// display: -webkit-box;
|
|
9
|
-
// -webkit-line-clamp: $num;
|
|
10
|
-
|
|
11
|
-
// /* autoprefixer: off */
|
|
12
|
-
// -webkit-box-orient: vertical;
|
|
13
|
-
// }
|
|
14
|
-
// }
|