@kdcloudjs/kdesign 1.0.2 → 1.1.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/LICENSE +104 -105
- package/dist/default-theme.js +17 -12
- package/dist/kdesign-complete.less +3334 -1374
- package/dist/kdesign.css +2565 -1931
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +783 -112
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +6 -6
- package/dist/kdesign.min.js.map +1 -1
- package/es/alert/style/index.css +32 -30
- package/es/alert/style/index.less +36 -37
- package/es/alert/style/token.less +29 -0
- package/es/anchor/style/index.css +48 -34
- package/es/anchor/style/index.less +19 -16
- package/es/anchor/style/mixin.less +1 -0
- package/es/anchor/style/token.less +33 -0
- package/es/avatar/style/index.css +18 -18
- package/es/avatar/style/index.less +4 -25
- package/es/avatar/style/mixin.less +21 -4
- package/es/avatar/style/token.less +20 -0
- package/es/badge/style/index.css +38 -29
- package/es/badge/style/index.less +28 -30
- package/es/badge/style/mixin.less +1 -5
- package/es/badge/style/token.less +23 -0
- package/es/base-data/style/index.css +25 -16
- package/es/base-data/style/index.less +17 -17
- package/es/base-data/style/token.less +27 -0
- package/es/button/button.d.ts +1 -3
- package/es/button/button.js +3 -15
- package/es/button/style/index.css +80 -81
- package/es/button/style/index.less +43 -51
- package/es/button/style/mixin.less +6 -4
- package/es/button/style/token.less +88 -0
- package/es/card/card.d.ts +1 -0
- package/es/card/card.js +4 -1
- package/es/card/style/index.css +48 -23
- package/es/card/style/index.less +43 -23
- package/es/card/style/token.less +28 -0
- package/es/carousel/style/index.css +36 -30
- package/es/carousel/style/index.less +14 -6
- package/es/carousel/style/mixin.less +1 -4
- package/es/carousel/style/token.less +20 -0
- package/es/cascader/cascader.js +1 -1
- package/es/cascader/style/index.css +35 -26
- package/es/cascader/style/index.less +24 -23
- package/es/cascader/style/token.less +28 -0
- package/es/checkbox/style/index.css +86 -80
- package/es/checkbox/style/index.less +26 -27
- package/es/checkbox/style/token.less +48 -0
- package/es/city-picker/style/index.css +24 -14
- package/es/city-picker/style/index.less +16 -16
- package/es/city-picker/style/token.less +25 -0
- package/es/collapse/style/index.css +37 -26
- package/es/collapse/style/index.less +7 -5
- package/es/collapse/style/mixin.less +1 -5
- package/es/collapse/style/token.less +26 -0
- package/es/config-provider/compDefaultProps.d.ts +4 -1
- package/es/config-provider/compDefaultProps.js +5 -2
- package/es/date-picker/style/index.css +81 -72
- package/es/date-picker/style/index.less +36 -36
- package/es/date-picker/style/mixin.less +20 -18
- package/es/date-picker/style/token.less +71 -0
- package/es/drawer/drawer.d.ts +0 -1
- package/es/drawer/drawer.js +6 -26
- package/es/drawer/style/index.css +37 -31
- package/es/drawer/style/index.less +24 -39
- package/es/drawer/style/token.less +23 -0
- package/es/dropdown/dropdown.d.ts +1 -0
- package/es/dropdown/dropdown.js +13 -8
- package/es/dropdown/menu.d.ts +1 -1
- package/es/dropdown/menu.js +3 -3
- package/es/dropdown/style/index.css +57 -48
- package/es/dropdown/style/index.less +27 -24
- package/es/dropdown/style/token.less +26 -0
- package/es/empty/defaultEmptyImg.d.ts +2 -0
- package/es/empty/defaultEmptyImg.js +92 -0
- package/es/empty/empty.d.ts +5 -1
- package/es/empty/empty.js +10 -9
- package/es/empty/illustrationEmptyImg.d.ts +2 -0
- package/es/empty/illustrationEmptyImg.js +439 -0
- package/es/empty/style/index.css +12 -3
- package/es/empty/style/index.less +1 -1
- package/es/empty/style/token.less +12 -0
- package/es/filter/style/index.css +44 -32
- package/es/filter/style/index.less +34 -32
- package/es/filter/style/token.less +28 -0
- package/es/form/style/index.css +19 -10
- package/es/form/style/index.less +9 -6
- package/es/form/style/token.less +27 -0
- package/es/grid/style/index.css +9 -0
- package/es/image/style/index.css +32 -23
- package/es/image/style/index.less +23 -22
- package/es/image/style/token.less +45 -0
- package/es/image-cropper/style/index.css +9 -0
- package/es/image-cropper/style/index.less +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/input/style/index.css +97 -88
- package/es/input/style/index.less +34 -31
- package/es/input/style/mixin.less +54 -47
- package/es/input/style/token.less +46 -0
- package/es/input-number/style/css.js +1 -0
- package/es/input-number/style/index.css +25 -16
- package/es/input-number/style/index.d.ts +1 -0
- package/es/input-number/style/index.js +1 -0
- package/es/input-number/style/index.less +12 -12
- package/es/input-number/style/mixin.less +4 -2
- package/es/input-number/style/token.less +20 -0
- package/es/layout/style/index.css +41 -32
- package/es/layout/style/index.less +9 -8
- package/es/layout/style/token.less +30 -0
- package/es/link/index.d.ts +3 -0
- package/es/link/index.js +3 -0
- package/es/link/link.d.ts +18 -0
- package/es/link/link.js +89 -0
- package/es/link/style/css.js +2 -0
- package/es/link/style/index.css +155 -0
- package/es/link/style/index.d.ts +2 -0
- package/es/link/style/index.js +2 -0
- package/es/link/style/index.less +61 -0
- package/es/link/style/mixin.less +7 -0
- package/es/link/style/token.less +24 -0
- package/es/menu/menuItem.js +1 -2
- package/es/menu/style/index.css +89 -80
- package/es/menu/style/index.less +51 -26
- package/es/menu/style/mixin.less +16 -19
- package/es/menu/style/token.less +32 -0
- package/es/message/style/index.css +23 -13
- package/es/message/style/index.less +15 -13
- package/es/message/style/token.less +21 -0
- package/es/modal/style/index.css +37 -28
- package/es/modal/style/index.less +16 -26
- package/es/modal/style/mixin.less +2 -0
- package/es/modal/style/token.less +46 -0
- package/es/notification/content.js +1 -1
- package/es/notification/style/index.css +34 -25
- package/es/notification/style/index.less +21 -20
- package/es/notification/style/token.less +28 -0
- package/es/pagination/pagination.js +2 -2
- package/es/pagination/style/index.css +159 -159
- package/es/pagination/style/index.less +104 -113
- package/es/pagination/style/token.less +28 -0
- package/es/popconfirm/style/index.css +54 -33
- package/es/popconfirm/style/index.less +41 -20
- package/es/popconfirm/style/token.less +28 -0
- package/es/progress/style/index.css +41 -27
- package/es/progress/style/index.less +24 -8
- package/es/progress/style/mixin.less +2 -1
- package/es/progress/style/token.less +40 -0
- package/es/radio/style/index.css +91 -76
- package/es/radio/style/index.less +76 -64
- package/es/radio/style/token.less +47 -0
- package/es/rate/style/index.css +26 -17
- package/es/rate/style/index.less +4 -3
- package/es/rate/style/token.less +18 -0
- package/es/search/style/index.css +103 -82
- package/es/search/style/index.less +49 -35
- package/es/search/style/mixin.less +4 -2
- package/es/search/style/token.less +60 -0
- package/es/select/select.js +3 -14
- package/es/select/style/index.css +46 -37
- package/es/select/style/index.less +10 -10
- package/es/select/style/mixin.less +4 -7
- package/es/select/style/token.less +43 -0
- package/es/slider/slider.js +5 -13
- package/es/slider/sliderTooltip.js +0 -1
- package/es/slider/style/index.css +21 -12
- package/es/slider/style/index.less +10 -10
- package/es/slider/style/mixin.less +3 -1
- package/es/slider/style/token.less +17 -0
- package/es/space/style/index.css +9 -0
- package/es/spin/style/index.css +23 -14
- package/es/spin/style/index.less +3 -2
- package/es/spin/style/mixin.less +1 -0
- package/es/spin/style/token.less +15 -0
- package/es/split-panel/style/index.css +35 -44
- package/es/split-panel/style/index.less +16 -34
- package/es/split-panel/style/token.less +23 -0
- package/es/stepper/style/index.css +50 -25
- package/es/stepper/style/index.less +45 -11
- package/es/stepper/style/mixin.less +7 -5
- package/es/stepper/style/token.less +28 -0
- package/es/steps/Steps.js +4 -1
- package/es/steps/style/index.css +74 -37
- package/es/steps/style/index.less +281 -189
- package/es/steps/style/token.less +31 -0
- package/es/style/mixins/index.less +10 -9
- package/es/style/mixins/overlay.less +2 -2
- package/es/style/themes/default.less +22 -12
- package/es/style/themes/token.less +128 -0
- package/es/switch/style/index.css +38 -29
- package/es/switch/style/index.less +17 -6
- package/es/switch/style/mixin.less +6 -5
- package/es/switch/style/token.less +45 -0
- package/es/tabs/style/index.css +59 -50
- package/es/tabs/style/index.less +3 -3
- package/es/tabs/style/mixin.less +2 -0
- package/es/tabs/style/token.less +32 -0
- package/es/tabs/tabs.js +3 -1
- package/es/tag/style/index.css +122 -113
- package/es/tag/style/index.less +19 -19
- package/es/tag/style/mixin.less +2 -1
- package/es/tag/style/token.less +42 -0
- package/es/timeline/style/index.css +40 -30
- package/es/timeline/style/index.less +33 -30
- package/es/timeline/style/token.less +45 -0
- package/es/tooltip/style/index.css +26 -17
- package/es/tooltip/style/index.less +6 -5
- package/es/tooltip/style/token.less +20 -0
- package/es/transfer/operation.js +2 -2
- package/es/transfer/style/index.css +37 -24
- package/es/transfer/style/index.less +4 -0
- package/es/transfer/style/mixins.less +2 -0
- package/es/transfer/style/token.less +29 -0
- package/es/tree/style/index.css +37 -37
- package/es/tree/style/index.less +8 -20
- package/es/tree/style/mixin.less +1 -5
- package/es/tree/style/token.less +27 -0
- package/es/typography/style/index.css +46 -53
- package/es/typography/style/index.less +15 -15
- package/es/typography/style/mixin.less +9 -11
- package/es/typography/style/token.less +38 -0
- package/es/upload/style/index.css +41 -31
- package/es/upload/style/index.less +27 -25
- package/es/upload/style/token.less +28 -0
- package/lib/alert/style/index.css +32 -30
- package/lib/alert/style/index.less +36 -37
- package/lib/alert/style/token.less +29 -0
- package/lib/anchor/style/index.css +48 -34
- package/lib/anchor/style/index.less +19 -16
- package/lib/anchor/style/mixin.less +1 -0
- package/lib/anchor/style/token.less +33 -0
- package/lib/avatar/style/index.css +18 -18
- package/lib/avatar/style/index.less +4 -25
- package/lib/avatar/style/mixin.less +21 -4
- package/lib/avatar/style/token.less +20 -0
- package/lib/badge/style/index.css +38 -29
- package/lib/badge/style/index.less +28 -30
- package/lib/badge/style/mixin.less +1 -5
- package/lib/badge/style/token.less +23 -0
- package/lib/base-data/style/index.css +25 -16
- package/lib/base-data/style/index.less +17 -17
- package/lib/base-data/style/token.less +27 -0
- package/lib/button/button.d.ts +1 -3
- package/lib/button/button.js +3 -15
- package/lib/button/style/index.css +80 -81
- package/lib/button/style/index.less +43 -51
- package/lib/button/style/mixin.less +6 -4
- package/lib/button/style/token.less +88 -0
- package/lib/card/card.d.ts +1 -0
- package/lib/card/card.js +4 -1
- package/lib/card/style/index.css +48 -23
- package/lib/card/style/index.less +43 -23
- package/lib/card/style/token.less +28 -0
- package/lib/carousel/style/index.css +36 -30
- package/lib/carousel/style/index.less +14 -6
- package/lib/carousel/style/mixin.less +1 -4
- package/lib/carousel/style/token.less +20 -0
- package/lib/cascader/cascader.js +1 -1
- package/lib/cascader/style/index.css +35 -26
- package/lib/cascader/style/index.less +24 -23
- package/lib/cascader/style/token.less +28 -0
- package/lib/checkbox/style/index.css +86 -80
- package/lib/checkbox/style/index.less +26 -27
- package/lib/checkbox/style/token.less +48 -0
- package/lib/city-picker/style/index.css +24 -14
- package/lib/city-picker/style/index.less +16 -16
- package/lib/city-picker/style/token.less +25 -0
- package/lib/collapse/style/index.css +37 -26
- package/lib/collapse/style/index.less +7 -5
- package/lib/collapse/style/mixin.less +1 -5
- package/lib/collapse/style/token.less +26 -0
- package/lib/config-provider/compDefaultProps.d.ts +4 -1
- package/lib/config-provider/compDefaultProps.js +5 -2
- package/lib/date-picker/style/index.css +81 -72
- package/lib/date-picker/style/index.less +36 -36
- package/lib/date-picker/style/mixin.less +20 -18
- package/lib/date-picker/style/token.less +71 -0
- package/lib/drawer/drawer.d.ts +0 -1
- package/lib/drawer/drawer.js +6 -26
- package/lib/drawer/style/index.css +37 -31
- package/lib/drawer/style/index.less +24 -39
- package/lib/drawer/style/token.less +23 -0
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.js +13 -8
- package/lib/dropdown/menu.d.ts +1 -1
- package/lib/dropdown/menu.js +3 -3
- package/lib/dropdown/style/index.css +57 -48
- package/lib/dropdown/style/index.less +27 -24
- package/lib/dropdown/style/token.less +26 -0
- package/lib/empty/defaultEmptyImg.d.ts +2 -0
- package/lib/empty/defaultEmptyImg.js +113 -0
- package/lib/empty/empty.d.ts +5 -1
- package/lib/empty/empty.js +13 -9
- package/lib/empty/illustrationEmptyImg.d.ts +2 -0
- package/lib/empty/illustrationEmptyImg.js +460 -0
- package/lib/empty/style/index.css +12 -3
- package/lib/empty/style/index.less +1 -1
- package/lib/empty/style/token.less +12 -0
- package/lib/filter/style/index.css +44 -32
- package/lib/filter/style/index.less +34 -32
- package/lib/filter/style/token.less +28 -0
- package/lib/form/style/index.css +19 -10
- package/lib/form/style/index.less +9 -6
- package/lib/form/style/token.less +27 -0
- package/lib/grid/style/index.css +9 -0
- package/lib/image/style/index.css +32 -23
- package/lib/image/style/index.less +23 -22
- package/lib/image/style/token.less +45 -0
- package/lib/image-cropper/style/index.css +9 -0
- package/lib/image-cropper/style/index.less +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -0
- package/lib/input/style/index.css +97 -88
- package/lib/input/style/index.less +34 -31
- package/lib/input/style/mixin.less +54 -47
- package/lib/input/style/token.less +46 -0
- package/lib/input-number/style/css.js +2 -0
- package/lib/input-number/style/index.css +25 -16
- package/lib/input-number/style/index.d.ts +1 -0
- package/lib/input-number/style/index.js +2 -0
- package/lib/input-number/style/index.less +12 -12
- package/lib/input-number/style/mixin.less +4 -2
- package/lib/input-number/style/token.less +20 -0
- package/lib/layout/style/index.css +41 -32
- package/lib/layout/style/index.less +9 -8
- package/lib/layout/style/token.less +30 -0
- package/lib/link/index.d.ts +3 -0
- package/lib/link/index.js +36 -0
- package/lib/link/link.d.ts +18 -0
- package/lib/link/link.js +120 -0
- package/lib/link/style/css.js +5 -0
- package/lib/link/style/index.css +155 -0
- package/lib/link/style/index.d.ts +2 -0
- package/lib/link/style/index.js +5 -0
- package/lib/link/style/index.less +61 -0
- package/lib/link/style/mixin.less +7 -0
- package/lib/link/style/token.less +24 -0
- package/lib/menu/menuItem.js +1 -2
- package/lib/menu/style/index.css +89 -80
- package/lib/menu/style/index.less +51 -26
- package/lib/menu/style/mixin.less +16 -19
- package/lib/menu/style/token.less +32 -0
- package/lib/message/style/index.css +23 -13
- package/lib/message/style/index.less +15 -13
- package/lib/message/style/token.less +21 -0
- package/lib/modal/style/index.css +37 -28
- package/lib/modal/style/index.less +16 -26
- package/lib/modal/style/mixin.less +2 -0
- package/lib/modal/style/token.less +46 -0
- package/lib/notification/content.js +1 -1
- package/lib/notification/style/index.css +34 -25
- package/lib/notification/style/index.less +21 -20
- package/lib/notification/style/token.less +28 -0
- package/lib/pagination/pagination.js +2 -2
- package/lib/pagination/style/index.css +159 -159
- package/lib/pagination/style/index.less +104 -113
- package/lib/pagination/style/token.less +28 -0
- package/lib/popconfirm/style/index.css +54 -33
- package/lib/popconfirm/style/index.less +41 -20
- package/lib/popconfirm/style/token.less +28 -0
- package/lib/progress/style/index.css +41 -27
- package/lib/progress/style/index.less +24 -8
- package/lib/progress/style/mixin.less +2 -1
- package/lib/progress/style/token.less +40 -0
- package/lib/radio/style/index.css +91 -76
- package/lib/radio/style/index.less +76 -64
- package/lib/radio/style/token.less +47 -0
- package/lib/rate/style/index.css +26 -17
- package/lib/rate/style/index.less +4 -3
- package/lib/rate/style/token.less +18 -0
- package/lib/search/style/index.css +103 -82
- package/lib/search/style/index.less +49 -35
- package/lib/search/style/mixin.less +4 -2
- package/lib/search/style/token.less +60 -0
- package/lib/select/select.js +3 -14
- package/lib/select/style/index.css +46 -37
- package/lib/select/style/index.less +10 -10
- package/lib/select/style/mixin.less +4 -7
- package/lib/select/style/token.less +43 -0
- package/lib/slider/slider.js +5 -13
- package/lib/slider/sliderTooltip.js +0 -1
- package/lib/slider/style/index.css +21 -12
- package/lib/slider/style/index.less +10 -10
- package/lib/slider/style/mixin.less +3 -1
- package/lib/slider/style/token.less +17 -0
- package/lib/space/style/index.css +9 -0
- package/lib/spin/style/index.css +23 -14
- package/lib/spin/style/index.less +3 -2
- package/lib/spin/style/mixin.less +1 -0
- package/lib/spin/style/token.less +15 -0
- package/lib/split-panel/style/index.css +35 -44
- package/lib/split-panel/style/index.less +16 -34
- package/lib/split-panel/style/token.less +23 -0
- package/lib/stepper/style/index.css +50 -25
- package/lib/stepper/style/index.less +45 -11
- package/lib/stepper/style/mixin.less +7 -5
- package/lib/stepper/style/token.less +28 -0
- package/lib/steps/Steps.js +4 -1
- package/lib/steps/style/index.css +74 -37
- package/lib/steps/style/index.less +281 -189
- package/lib/steps/style/token.less +31 -0
- package/lib/style/components.less +1 -0
- package/lib/style/mixins/index.less +10 -9
- package/lib/style/mixins/overlay.less +2 -2
- package/lib/style/themes/default.less +22 -12
- package/lib/style/themes/token.less +128 -0
- package/lib/switch/style/index.css +38 -29
- package/lib/switch/style/index.less +17 -6
- package/lib/switch/style/mixin.less +6 -5
- package/lib/switch/style/token.less +45 -0
- package/lib/tabs/style/index.css +59 -50
- package/lib/tabs/style/index.less +3 -3
- package/lib/tabs/style/mixin.less +2 -0
- package/lib/tabs/style/token.less +32 -0
- package/lib/tabs/tabs.js +3 -1
- package/lib/tag/style/index.css +122 -113
- package/lib/tag/style/index.less +19 -19
- package/lib/tag/style/mixin.less +2 -1
- package/lib/tag/style/token.less +42 -0
- package/lib/timeline/style/index.css +40 -30
- package/lib/timeline/style/index.less +33 -30
- package/lib/timeline/style/token.less +45 -0
- package/lib/tooltip/style/index.css +26 -17
- package/lib/tooltip/style/index.less +6 -5
- package/lib/tooltip/style/token.less +20 -0
- package/lib/transfer/operation.js +2 -2
- package/lib/transfer/style/index.css +37 -24
- package/lib/transfer/style/index.less +4 -0
- package/lib/transfer/style/mixins.less +2 -0
- package/lib/transfer/style/token.less +29 -0
- package/lib/tree/style/index.css +37 -37
- package/lib/tree/style/index.less +8 -20
- package/lib/tree/style/mixin.less +1 -5
- package/lib/tree/style/token.less +27 -0
- package/lib/typography/style/index.css +46 -53
- package/lib/typography/style/index.less +15 -15
- package/lib/typography/style/mixin.less +9 -11
- package/lib/typography/style/token.less +38 -0
- package/lib/upload/style/index.css +41 -31
- package/lib/upload/style/index.less +27 -25
- package/lib/upload/style/token.less +28 -0
- package/package.json +5 -4
- package/es/base-data/style/mixin.less +0 -5
- package/es/empty/style/mixin.less +0 -5
- package/es/form/style/mixin.less +0 -5
- package/es/steps/style/mixin.less +0 -41
- package/lib/base-data/style/mixin.less +0 -5
- package/lib/empty/style/mixin.less +0 -5
- package/lib/form/style/mixin.less +0 -5
- package/lib/steps/style/mixin.less +0 -41
|
@@ -92,6 +92,15 @@
|
|
|
92
92
|
/* ----------- Avatar ——————---- end */
|
|
93
93
|
/* ----------- AdvancedSelector ——————---- start */
|
|
94
94
|
/* ----------- AdvancedSelector ——————---- end */
|
|
95
|
+
/* ----------- motion ——————---- start */
|
|
96
|
+
/* ----------- motion ——————---- end */
|
|
97
|
+
/* ----------- transition ——————---- start */
|
|
98
|
+
/* ----------- transition ——————---- end */
|
|
99
|
+
/* ----------- zIndex ——————---- start */
|
|
100
|
+
/*
|
|
101
|
+
普通组件内部自身层级应设置在0-100间
|
|
102
|
+
*/
|
|
103
|
+
/* ----------- zIndex ——————---- end */
|
|
95
104
|
.kd-steps {
|
|
96
105
|
display: -webkit-box;
|
|
97
106
|
display: -ms-flexbox;
|
|
@@ -103,9 +112,6 @@
|
|
|
103
112
|
-ms-flex-align: baseline;
|
|
104
113
|
align-items: baseline;
|
|
105
114
|
}
|
|
106
|
-
.kd-steps-iconSize {
|
|
107
|
-
font-size: 12px;
|
|
108
|
-
}
|
|
109
115
|
.kd-steps-item {
|
|
110
116
|
-webkit-box-flex: 1;
|
|
111
117
|
-ms-flex-positive: 1;
|
|
@@ -121,23 +127,29 @@
|
|
|
121
127
|
.kd-steps-item-clickable {
|
|
122
128
|
cursor: pointer;
|
|
123
129
|
}
|
|
130
|
+
.kd-steps-item-clickable .kd-steps-item-iconContainer-icon .kd-steps-icon {
|
|
131
|
+
background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
|
|
132
|
+
}
|
|
124
133
|
.kd-steps-item-clickable.kd-steps-item-wait .kd-steps-icon,
|
|
125
134
|
.kd-steps-item-clickable.kd-steps-item-wait .kd-steps-item-title {
|
|
126
|
-
-webkit-transition: all 0.3s;
|
|
127
|
-
transition: all 0.3s;
|
|
135
|
+
-webkit-transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s));
|
|
136
|
+
transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s));
|
|
128
137
|
}
|
|
129
138
|
.kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-icon {
|
|
130
|
-
background-color: #
|
|
139
|
+
background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
|
|
140
|
+
color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
141
|
+
border: 2px solid var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
131
142
|
}
|
|
132
|
-
.kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-item-title
|
|
133
|
-
|
|
143
|
+
.kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-item-title,
|
|
144
|
+
.kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-item-description {
|
|
145
|
+
color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
134
146
|
}
|
|
135
147
|
.kd-steps-item-clickable.kd-steps-item-finish .kd-steps-item-title {
|
|
136
|
-
-webkit-transition: all 0.3s ease;
|
|
137
|
-
transition: all 0.3s ease;
|
|
148
|
+
-webkit-transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) ease;
|
|
149
|
+
transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) ease;
|
|
138
150
|
}
|
|
139
151
|
.kd-steps-item-clickable.kd-steps-item-finish:hover .kd-steps-item-title {
|
|
140
|
-
color: #5582f3;
|
|
152
|
+
color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
141
153
|
}
|
|
142
154
|
.kd-steps-item-container {
|
|
143
155
|
width: 100%;
|
|
@@ -164,21 +176,21 @@
|
|
|
164
176
|
.kd-steps-item-iconContainer::after {
|
|
165
177
|
content: '';
|
|
166
178
|
width: 100%;
|
|
167
|
-
height: 4px;
|
|
168
|
-
background-color: #
|
|
179
|
+
height: var(--kd-c-steps-line-sizing-height, 4px);
|
|
180
|
+
background-color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
169
181
|
position: absolute;
|
|
170
182
|
left: 50%;
|
|
171
|
-
top: calc(50% -
|
|
172
|
-
-webkit-transition: width 0.3s cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color 0.3s cubic-bezier(0.48, 0.04, 0.52, 0.96);
|
|
173
|
-
transition: width 0.3s cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color 0.3s cubic-bezier(0.48, 0.04, 0.52, 0.96);
|
|
183
|
+
top: calc(50% - var(--kd-c-steps-line-sizing-height, 4px) / 2);
|
|
184
|
+
-webkit-transition: width var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
|
|
185
|
+
transition: width var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
|
|
174
186
|
}
|
|
175
187
|
.kd-steps-item-iconContainer:last-child::after {
|
|
176
188
|
display: none;
|
|
177
189
|
}
|
|
178
190
|
.kd-steps-item-iconContainer-icon {
|
|
179
191
|
z-index: 1;
|
|
180
|
-
width:
|
|
181
|
-
height:
|
|
192
|
+
width: var(--kd-c-steps-icon-sizing-width, 28px);
|
|
193
|
+
height: var(--kd-c-steps-icon-sizing-width, 28px);
|
|
182
194
|
display: -webkit-box;
|
|
183
195
|
display: -ms-flexbox;
|
|
184
196
|
display: flex;
|
|
@@ -188,11 +200,10 @@
|
|
|
188
200
|
-webkit-box-align: center;
|
|
189
201
|
-ms-flex-align: center;
|
|
190
202
|
align-items: center;
|
|
191
|
-
background-color: #fff;
|
|
192
203
|
}
|
|
193
204
|
.kd-steps-item-iconContainer-icon .kd-steps-icon {
|
|
194
|
-
width:
|
|
195
|
-
height:
|
|
205
|
+
width: var(--kd-c-steps-icon-sizing-width, 28px);
|
|
206
|
+
height: var(--kd-c-steps-icon-sizing-width, 28px);
|
|
196
207
|
display: -webkit-box;
|
|
197
208
|
display: -ms-flexbox;
|
|
198
209
|
display: flex;
|
|
@@ -202,46 +213,68 @@
|
|
|
202
213
|
-webkit-box-align: center;
|
|
203
214
|
-ms-flex-align: center;
|
|
204
215
|
align-items: center;
|
|
205
|
-
background-color: #
|
|
206
|
-
color: #
|
|
207
|
-
font-size:
|
|
216
|
+
background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
|
|
217
|
+
color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
218
|
+
font-size: calc(var(--kd-c-steps-icon-sizing-width, 28px) - 13px);
|
|
208
219
|
border-radius: 50%;
|
|
220
|
+
border: 2px solid var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
221
|
+
-webkit-box-sizing: border-box;
|
|
222
|
+
box-sizing: border-box;
|
|
209
223
|
}
|
|
210
224
|
.kd-steps-item-content {
|
|
211
225
|
text-align: center;
|
|
212
226
|
}
|
|
213
|
-
.kd-steps-item-content .kd-steps-item-title
|
|
227
|
+
.kd-steps-item-content .kd-steps-item-title {
|
|
228
|
+
line-height: 20px;
|
|
229
|
+
font-size: var(--kd-c-steps-font-size, var(--kd-g-font-size-small, 12px));
|
|
230
|
+
color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
231
|
+
overflow: hidden;
|
|
232
|
+
text-overflow: ellipsis;
|
|
233
|
+
word-break: break-word;
|
|
234
|
+
display: -webkit-box;
|
|
235
|
+
-webkit-box-orient: vertical;
|
|
236
|
+
}
|
|
214
237
|
.kd-steps-item-content .kd-steps-item-description {
|
|
215
238
|
line-height: 20px;
|
|
216
|
-
font-size: 12px;
|
|
217
|
-
color: #666;
|
|
239
|
+
font-size: var(--kd-c-steps-font-size, var(--kd-g-font-size-small, 12px));
|
|
240
|
+
color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
218
241
|
overflow: hidden;
|
|
219
242
|
text-overflow: ellipsis;
|
|
220
243
|
word-break: break-word;
|
|
221
244
|
display: -webkit-box;
|
|
222
245
|
-webkit-box-orient: vertical;
|
|
246
|
+
width: var(--kd-c-steps-vertical-description-sizing-width, 200px);
|
|
223
247
|
}
|
|
224
248
|
.kd-steps-item-process .kd-steps-icon {
|
|
225
|
-
background-color: #5582f3;
|
|
249
|
+
background-color: var(--kd-c-steps-icon-color-background, var(--kd-g-color-theme, #5582f3));
|
|
226
250
|
}
|
|
227
251
|
.kd-steps-item-process .kd-steps-item-title {
|
|
228
|
-
color: #
|
|
252
|
+
color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
|
|
229
253
|
}
|
|
230
254
|
.kd-steps-item:last-child .kd-steps-item-iconContainer::after {
|
|
231
255
|
display: none;
|
|
232
256
|
}
|
|
233
257
|
.kd-steps-item-finish .kd-steps-icon {
|
|
234
|
-
background-color: #fff;
|
|
235
|
-
color: #5582f3;
|
|
236
|
-
border: 2px solid #5582f3;
|
|
258
|
+
background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
|
|
259
|
+
color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
260
|
+
border: 2px solid var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
237
261
|
-webkit-box-sizing: border-box;
|
|
238
262
|
box-sizing: border-box;
|
|
239
263
|
}
|
|
264
|
+
.kd-steps-item-finish .kd-steps-item-content .kd-steps-item-title,
|
|
265
|
+
.kd-steps-item-finish .kd-steps-item-content .kd-steps-item-description {
|
|
266
|
+
color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
267
|
+
}
|
|
240
268
|
.kd-steps-item-iconContainer-finish::after {
|
|
241
|
-
background-color: #5582f3;
|
|
269
|
+
background-color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
|
|
242
270
|
}
|
|
243
271
|
.kd-steps-item-error .kd-steps-icon {
|
|
244
|
-
|
|
272
|
+
color: var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
|
|
273
|
+
border: 2px solid var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
|
|
274
|
+
}
|
|
275
|
+
.kd-steps-item-error .kd-steps-item-content .kd-steps-item-title,
|
|
276
|
+
.kd-steps-item-error .kd-steps-item-content .kd-steps-item-description {
|
|
277
|
+
color: var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
|
|
245
278
|
}
|
|
246
279
|
.kd-steps-bottomLable .kd-steps-item-iconContainer {
|
|
247
280
|
margin-bottom: 4px;
|
|
@@ -258,6 +291,10 @@
|
|
|
258
291
|
.kd-steps-horizontal .kd-steps-item:last-child {
|
|
259
292
|
padding-right: 0;
|
|
260
293
|
}
|
|
294
|
+
.kd-steps-horizontal .kd-steps-item .kd-steps-item-description {
|
|
295
|
+
height: var(--kd-c-steps-horizontal-description-sizing-height, 60px);
|
|
296
|
+
width: auto;
|
|
297
|
+
}
|
|
261
298
|
.kd-steps-horizontal .kd-steps-item-iconContainer::after {
|
|
262
299
|
width: calc(100% + 44px);
|
|
263
300
|
}
|
|
@@ -294,10 +331,10 @@
|
|
|
294
331
|
margin-right: 4px;
|
|
295
332
|
}
|
|
296
333
|
.kd-steps-vertical .kd-steps-item-iconContainer::after {
|
|
297
|
-
width: 4px;
|
|
334
|
+
width: var(--kd-c-steps-line-sizing-height, 4px);
|
|
298
335
|
height: calc(100% + 44px);
|
|
299
|
-
top:
|
|
300
|
-
left: calc(50% -
|
|
336
|
+
top: 2px;
|
|
337
|
+
left: calc(50% - var(--kd-c-steps-line-sizing-height, 4px) / 2);
|
|
301
338
|
}
|
|
302
339
|
.kd-steps-vertical .kd-steps-item-content {
|
|
303
340
|
text-align: left;
|
|
@@ -1,192 +1,284 @@
|
|
|
1
1
|
@import '../../style/themes/index';
|
|
2
|
-
@import './
|
|
2
|
+
@import './token.less';
|
|
3
|
+
|
|
4
|
+
|
|
3
5
|
@steps-prefix-cls: ~'@{kd-prefix}-steps';
|
|
6
|
+
|
|
4
7
|
.@{steps-prefix-cls} {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: baseline;
|
|
11
|
+
|
|
12
|
+
&-iconSize {
|
|
13
|
+
// font-size: @steps-font-size;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-item {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
width: 0;
|
|
21
|
+
|
|
22
|
+
&-clickable {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
|
|
25
|
+
.@{steps-prefix-cls}-item-iconContainer-icon {
|
|
26
|
+
.@{steps-prefix-cls}-icon {
|
|
27
|
+
background-color: @steps-color-white;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-clickable&-wait {
|
|
34
|
+
|
|
35
|
+
.@{steps-prefix-cls}-icon,
|
|
36
|
+
.@{steps-prefix-cls}-item-title {
|
|
37
|
+
transition: all @steps-duration-promptly;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
.@{steps-prefix-cls}-icon {
|
|
43
|
+
// background-color: @steps-color-background-wait-icon-hover;
|
|
44
|
+
|
|
45
|
+
background-color: @steps-color-white;
|
|
46
|
+
color: @steps-color-completed;
|
|
47
|
+
border: 2px solid @steps-color-completed;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.@{steps-prefix-cls}-item-title,
|
|
51
|
+
.@{steps-prefix-cls}-item-description {
|
|
52
|
+
color: @steps-color-completed;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-clickable&-finish {
|
|
58
|
+
.@{steps-prefix-cls}-item-title {
|
|
59
|
+
transition: all @steps-duration-promptly ease;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:hover {
|
|
63
|
+
.@{steps-prefix-cls}-item-title {
|
|
64
|
+
color: @steps-color-completed
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&-container {
|
|
70
|
+
width: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-iconContainer {
|
|
77
|
+
display: flex;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
position: relative;
|
|
80
|
+
|
|
81
|
+
&::after {
|
|
82
|
+
content: '';
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: @steps-line-sizing-height;
|
|
85
|
+
background-color: @steps-color-wait;
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: 50%;
|
|
88
|
+
top: calc(50% - @steps-line-sizing-height / 2);
|
|
89
|
+
transition: width @steps-duration-promptly @steps-transition-fn, background-color @steps-duration-promptly @steps-transition-fn
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:last-child {
|
|
93
|
+
&::after {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&-icon {
|
|
99
|
+
z-index: 1;
|
|
100
|
+
width: @steps-icon-sizing-width;
|
|
101
|
+
height: @steps-icon-sizing-width;
|
|
102
|
+
display: flex;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
align-items: center;
|
|
105
|
+
|
|
106
|
+
// background-color:@steps-color-white;
|
|
107
|
+
.@{steps-prefix-cls}-icon {
|
|
108
|
+
width: @steps-icon-sizing-width;
|
|
109
|
+
height: @steps-icon-sizing-width;
|
|
110
|
+
display: flex;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
align-items: center;
|
|
113
|
+
background-color: @steps-color-white;
|
|
114
|
+
color: @steps-color-wait;
|
|
115
|
+
font-size: calc(@steps-icon-sizing-width - 13px);
|
|
116
|
+
border-radius: 50%;
|
|
117
|
+
border: 2px solid @steps-color-wait;
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&-content {
|
|
124
|
+
text-align: center;
|
|
125
|
+
|
|
126
|
+
.@{steps-prefix-cls}-item-title {
|
|
127
|
+
line-height: 20px;
|
|
128
|
+
font-size: @steps-font-size;
|
|
129
|
+
color: @steps-color-wait;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
text-overflow: ellipsis;
|
|
132
|
+
word-break: break-word;
|
|
133
|
+
display: -webkit-box;
|
|
134
|
+
-webkit-box-orient: vertical;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.@{steps-prefix-cls}-item-description {
|
|
138
|
+
|
|
139
|
+
line-height: 20px;
|
|
140
|
+
font-size: @steps-font-size;
|
|
141
|
+
color: @steps-color-wait;
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
text-overflow: ellipsis;
|
|
144
|
+
word-break: break-word;
|
|
145
|
+
display: -webkit-box;
|
|
146
|
+
-webkit-box-orient: vertical;
|
|
147
|
+
|
|
148
|
+
width: @steps-vertical-description-sizing-width;
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&-process {
|
|
154
|
+
.@{steps-prefix-cls}-icon {
|
|
155
|
+
background-color: @steps-color-background-process-icon;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.@{steps-prefix-cls}-item-title {
|
|
159
|
+
color: @steps-color-wait;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:last-child {
|
|
164
|
+
.@{steps-prefix-cls}-item-iconContainer {
|
|
165
|
+
&::after {
|
|
166
|
+
display: none;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&-finish {
|
|
172
|
+
.@{steps-prefix-cls}-icon {
|
|
173
|
+
background-color: @steps-color-white;
|
|
174
|
+
color: @steps-color-completed;
|
|
175
|
+
border: 2px solid @steps-color-completed;
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.@{steps-prefix-cls}-item-content {
|
|
180
|
+
|
|
181
|
+
.@{steps-prefix-cls}-item-title,
|
|
182
|
+
.@{steps-prefix-cls}-item-description {
|
|
183
|
+
color: @steps-color-completed;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&-iconContainer-finish {
|
|
189
|
+
&::after {
|
|
190
|
+
background-color: @steps-color-completed;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&-error {
|
|
195
|
+
.@{steps-prefix-cls}-icon {
|
|
196
|
+
color: @steps-color-error;
|
|
197
|
+
border: 2px solid @steps-color-error;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.@{steps-prefix-cls}-item-content {
|
|
201
|
+
|
|
202
|
+
.@{steps-prefix-cls}-item-title,
|
|
203
|
+
.@{steps-prefix-cls}-item-description {
|
|
204
|
+
color: @steps-color-error;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
&-bottomLable {
|
|
214
|
+
.@{steps-prefix-cls}-item-iconContainer {
|
|
215
|
+
margin-bottom: 4px;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&-horizontal {
|
|
220
|
+
.@{steps-prefix-cls}-item {
|
|
221
|
+
min-width: 88px;
|
|
222
|
+
box-sizing: content-box;
|
|
223
|
+
padding: 0 22px;
|
|
224
|
+
|
|
225
|
+
&:first-child {
|
|
226
|
+
padding-left: 0;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&:last-child {
|
|
230
|
+
padding-right: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.@{steps-prefix-cls}-item-description {
|
|
234
|
+
height: @steps-horizontal-description-sizing-height;
|
|
235
|
+
width: auto;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&-iconContainer::after {
|
|
239
|
+
width: ~'calc(100% + 44px)';
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&-vertical {
|
|
245
|
+
flex-direction: column;
|
|
246
|
+
|
|
247
|
+
.@{steps-prefix-cls}-item {
|
|
248
|
+
width: 100%;
|
|
249
|
+
min-height: 68px;
|
|
250
|
+
box-sizing: content-box;
|
|
251
|
+
padding: 22px 0;
|
|
252
|
+
|
|
253
|
+
&:first-child {
|
|
254
|
+
padding-top: 0;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&:last-child {
|
|
258
|
+
padding-bottom: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&-container {
|
|
262
|
+
flex-direction: row;
|
|
263
|
+
justify-content: flex-start;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&-iconContainer {
|
|
267
|
+
margin-bottom: 0;
|
|
268
|
+
margin-right: 4px;
|
|
269
|
+
|
|
270
|
+
&::after {
|
|
271
|
+
width: @steps-line-sizing-height;
|
|
272
|
+
height: calc(100% + 44px);
|
|
273
|
+
top: 2px;
|
|
274
|
+
left: calc(50% - @steps-line-sizing-height / 2);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
&-content {
|
|
279
|
+
text-align: left;
|
|
280
|
+
margin-top: 1px;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|