@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
|
textarea {
|
|
96
105
|
margin: 0;
|
|
97
106
|
padding: 0;
|
|
@@ -106,29 +115,29 @@ textarea {
|
|
|
106
115
|
.kd-input {
|
|
107
116
|
width: 100%;
|
|
108
117
|
min-width: 0;
|
|
109
|
-
border: 1px solid #d9d9d9;
|
|
110
|
-
border-radius: 2px;
|
|
111
|
-
color: #666;
|
|
118
|
+
border: var(--kd-c-input-sizing-border, 1px) solid var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
119
|
+
border-radius: var(--kd-c-input-radius-border, var(--kd-g-radius-border, 2px));
|
|
120
|
+
color: var(--kd-c-input-color, var(--kd-g-color-text-secondary, #666));
|
|
112
121
|
-webkit-box-sizing: border-box;
|
|
113
122
|
box-sizing: border-box;
|
|
114
|
-
background-color: #fff;
|
|
123
|
+
background-color: var(--kd-c-input-color-background, var(--kd-g-color-white, #fff));
|
|
115
124
|
display: inline-block;
|
|
116
125
|
font-variant: tabular-nums;
|
|
117
126
|
list-style: none;
|
|
118
127
|
background-image: none;
|
|
119
128
|
-webkit-font-feature-settings: "tnum";
|
|
120
129
|
font-feature-settings: "tnum";
|
|
121
|
-
-webkit-transition: border-color 0.3s;
|
|
122
|
-
transition: border-color 0.3s;
|
|
130
|
+
-webkit-transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
131
|
+
transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
123
132
|
}
|
|
124
133
|
.kd-input::-webkit-input-placeholder {
|
|
125
|
-
color: #999 !important;
|
|
134
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
126
135
|
}
|
|
127
136
|
.kd-input::-moz-input-placeholder {
|
|
128
|
-
color: #999 !important;
|
|
137
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
129
138
|
}
|
|
130
139
|
.kd-input::-ms-input-placeholder {
|
|
131
|
-
color: #999 !important;
|
|
140
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
132
141
|
}
|
|
133
142
|
.kd-input:focus {
|
|
134
143
|
-webkit-box-shadow: none;
|
|
@@ -136,11 +145,11 @@ textarea {
|
|
|
136
145
|
outline: none;
|
|
137
146
|
}
|
|
138
147
|
.kd-input:not(.kd-input-disabled):hover {
|
|
139
|
-
border-color: #5582f3;
|
|
148
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
140
149
|
}
|
|
141
150
|
.kd-input:not(.kd-input-disabled):focus {
|
|
142
151
|
color: #212121;
|
|
143
|
-
border-color: #5582f3;
|
|
152
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
144
153
|
}
|
|
145
154
|
.kd-input-countWrapper {
|
|
146
155
|
position: relative;
|
|
@@ -150,32 +159,32 @@ textarea {
|
|
|
150
159
|
.kd-input-textarea {
|
|
151
160
|
width: 100%;
|
|
152
161
|
min-width: 0;
|
|
153
|
-
border: 1px solid #d9d9d9;
|
|
154
|
-
border-radius: 2px;
|
|
155
|
-
color: #666;
|
|
162
|
+
border: var(--kd-c-input-sizing-border, 1px) solid var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
163
|
+
border-radius: var(--kd-c-input-radius-border, var(--kd-g-radius-border, 2px));
|
|
164
|
+
color: var(--kd-c-input-color, var(--kd-g-color-text-secondary, #666));
|
|
156
165
|
-webkit-box-sizing: border-box;
|
|
157
166
|
box-sizing: border-box;
|
|
158
|
-
background-color: #fff;
|
|
167
|
+
background-color: var(--kd-c-input-color-background, var(--kd-g-color-white, #fff));
|
|
159
168
|
display: inline-block;
|
|
160
169
|
font-variant: tabular-nums;
|
|
161
170
|
list-style: none;
|
|
162
171
|
background-image: none;
|
|
163
172
|
-webkit-font-feature-settings: "tnum";
|
|
164
173
|
font-feature-settings: "tnum";
|
|
165
|
-
-webkit-transition: border-color 0.3s;
|
|
166
|
-
transition: border-color 0.3s;
|
|
174
|
+
-webkit-transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
175
|
+
transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
167
176
|
max-width: 100%;
|
|
168
177
|
height: auto;
|
|
169
178
|
vertical-align: bottom;
|
|
170
179
|
}
|
|
171
180
|
.kd-input-textarea::-webkit-input-placeholder {
|
|
172
|
-
color: #999 !important;
|
|
181
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
173
182
|
}
|
|
174
183
|
.kd-input-textarea::-moz-input-placeholder {
|
|
175
|
-
color: #999 !important;
|
|
184
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
176
185
|
}
|
|
177
186
|
.kd-input-textarea::-ms-input-placeholder {
|
|
178
|
-
color: #999 !important;
|
|
187
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
179
188
|
}
|
|
180
189
|
.kd-input-textarea:focus {
|
|
181
190
|
-webkit-box-shadow: none;
|
|
@@ -183,19 +192,19 @@ textarea {
|
|
|
183
192
|
outline: none;
|
|
184
193
|
}
|
|
185
194
|
.kd-input-textarea:not(.kd-input-disabled):hover {
|
|
186
|
-
border-color: #5582f3;
|
|
195
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
187
196
|
}
|
|
188
197
|
.kd-input-textarea:not(.kd-input-disabled):focus {
|
|
189
198
|
color: #212121;
|
|
190
|
-
border-color: #5582f3;
|
|
199
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
191
200
|
}
|
|
192
201
|
.kd-input-textarea-mark {
|
|
193
202
|
position: absolute;
|
|
194
203
|
right: 0;
|
|
195
204
|
top: calc(100% + 1px);
|
|
196
205
|
z-index: 1;
|
|
197
|
-
color: #999;
|
|
198
|
-
font-size: 12px;
|
|
206
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999));
|
|
207
|
+
font-size: var(--kd-c-input-small-font-size, var(--kd-g-font-size-small, 12px));
|
|
199
208
|
}
|
|
200
209
|
.kd-input-no-resize {
|
|
201
210
|
resize: none;
|
|
@@ -209,55 +218,55 @@ textarea {
|
|
|
209
218
|
}
|
|
210
219
|
.kd-input-underline {
|
|
211
220
|
border: none;
|
|
212
|
-
border-bottom: 1px solid #999;
|
|
221
|
+
border-bottom: 1px solid var(--kd-c-input-color-border, #999);
|
|
213
222
|
border-radius: 0;
|
|
214
223
|
padding-left: 0 !important;
|
|
215
224
|
}
|
|
216
225
|
.kd-input-disabled {
|
|
217
|
-
background-color: #f5f5f5;
|
|
218
|
-
border-color: #d9d9d9;
|
|
219
|
-
color: #b2b2b2;
|
|
226
|
+
background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
|
|
227
|
+
border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
228
|
+
color: var(--kd-c-input-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
220
229
|
cursor: not-allowed;
|
|
221
230
|
}
|
|
222
231
|
.kd-input-underline.kd-input-disabled {
|
|
223
|
-
background-color: #fff;
|
|
224
|
-
border-color: #d9d9d9;
|
|
232
|
+
background-color: var(--kd-c-input-color-background, var(--kd-g-color-white, #fff));
|
|
233
|
+
border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
225
234
|
}
|
|
226
235
|
.kd-input-size-small {
|
|
227
|
-
height: 20px;
|
|
228
|
-
line-height:
|
|
229
|
-
font-size: 12px;
|
|
230
|
-
padding: 3px 9px;
|
|
236
|
+
height: var(--kd-c-input-small-sizing-height, 20px);
|
|
237
|
+
line-height: calc(var(--kd-c-input-small-sizing-height, 20px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
238
|
+
font-size: var(--kd-c-input-small-font-size, var(--kd-g-font-size-small, 12px));
|
|
239
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-small-spacing-padding-horizontal, 9px);
|
|
231
240
|
}
|
|
232
241
|
.kd-input-size-middle {
|
|
233
|
-
height: 30px;
|
|
234
|
-
line-height:
|
|
235
|
-
font-size: 14px;
|
|
236
|
-
padding: 3px 9px;
|
|
242
|
+
height: var(--kd-c-input-middle-sizing-height, 30px);
|
|
243
|
+
line-height: calc(var(--kd-c-input-middle-sizing-height, 30px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
244
|
+
font-size: var(--kd-c-input-middle-font-size, var(--kd-g-font-size-middle, 14px));
|
|
245
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-small-spacing-padding-horizontal, 9px);
|
|
237
246
|
}
|
|
238
247
|
.kd-input-size-large {
|
|
239
|
-
height: 36px;
|
|
240
|
-
line-height:
|
|
241
|
-
font-size: 16px;
|
|
242
|
-
padding: 3px 9px;
|
|
248
|
+
height: var(--kd-c-input-large-sizing-height, 36px);
|
|
249
|
+
line-height: calc(var(--kd-c-input-large-sizing-height, 36px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
250
|
+
font-size: var(--kd-c-input-large-font-size, var(--kd-g-font-size-large, 16px));
|
|
251
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-small-spacing-padding-horizontal, 9px);
|
|
243
252
|
}
|
|
244
253
|
.kd-input-wrapper {
|
|
245
254
|
width: 100%;
|
|
246
255
|
min-width: 0;
|
|
247
|
-
border: 1px solid #d9d9d9;
|
|
248
|
-
border-radius: 2px;
|
|
249
|
-
color: #666;
|
|
256
|
+
border: var(--kd-c-input-sizing-border, 1px) solid var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
257
|
+
border-radius: var(--kd-c-input-radius-border, var(--kd-g-radius-border, 2px));
|
|
258
|
+
color: var(--kd-c-input-color, var(--kd-g-color-text-secondary, #666));
|
|
250
259
|
-webkit-box-sizing: border-box;
|
|
251
260
|
box-sizing: border-box;
|
|
252
|
-
background-color: #fff;
|
|
261
|
+
background-color: var(--kd-c-input-color-background, var(--kd-g-color-white, #fff));
|
|
253
262
|
display: inline-block;
|
|
254
263
|
font-variant: tabular-nums;
|
|
255
264
|
list-style: none;
|
|
256
265
|
background-image: none;
|
|
257
266
|
-webkit-font-feature-settings: "tnum";
|
|
258
267
|
font-feature-settings: "tnum";
|
|
259
|
-
-webkit-transition: border-color 0.3s;
|
|
260
|
-
transition: border-color 0.3s;
|
|
268
|
+
-webkit-transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
269
|
+
transition: border-color var(--kd-c-input-motion-duration, var(--kd-g-duration, 0.3s));
|
|
261
270
|
display: -webkit-inline-box;
|
|
262
271
|
display: -ms-inline-flexbox;
|
|
263
272
|
display: inline-flex;
|
|
@@ -267,13 +276,13 @@ textarea {
|
|
|
267
276
|
overflow: hidden;
|
|
268
277
|
}
|
|
269
278
|
.kd-input-wrapper::-webkit-input-placeholder {
|
|
270
|
-
color: #999 !important;
|
|
279
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
271
280
|
}
|
|
272
281
|
.kd-input-wrapper::-moz-input-placeholder {
|
|
273
|
-
color: #999 !important;
|
|
282
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
274
283
|
}
|
|
275
284
|
.kd-input-wrapper::-ms-input-placeholder {
|
|
276
|
-
color: #999 !important;
|
|
285
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
277
286
|
}
|
|
278
287
|
.kd-input-wrapper:focus {
|
|
279
288
|
-webkit-box-shadow: none;
|
|
@@ -281,11 +290,11 @@ textarea {
|
|
|
281
290
|
outline: none;
|
|
282
291
|
}
|
|
283
292
|
.kd-input-wrapper:not(.kd-input-wrapper-disabled):hover {
|
|
284
|
-
border-color: #5582f3;
|
|
293
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
285
294
|
}
|
|
286
295
|
.kd-input-wrapper:not(.kd-input-wrapper-disabled):focus {
|
|
287
296
|
color: #212121;
|
|
288
|
-
border-color: #5582f3;
|
|
297
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
289
298
|
}
|
|
290
299
|
.kd-input-wrapper .kd-input {
|
|
291
300
|
border: none;
|
|
@@ -316,43 +325,43 @@ textarea {
|
|
|
316
325
|
margin-right: 4px;
|
|
317
326
|
}
|
|
318
327
|
.kd-input-wrapper-size-small {
|
|
319
|
-
height: 20px;
|
|
320
|
-
line-height:
|
|
321
|
-
font-size: 12px;
|
|
322
|
-
padding: 3px 9px;
|
|
328
|
+
height: var(--kd-c-input-small-sizing-height, 20px);
|
|
329
|
+
line-height: calc(var(--kd-c-input-small-sizing-height, 20px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
330
|
+
font-size: var(--kd-c-input-small-font-size, var(--kd-g-font-size-small, 12px));
|
|
331
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-small-spacing-padding-horizontal, 9px);
|
|
323
332
|
}
|
|
324
333
|
.kd-input-wrapper-size-middle {
|
|
325
|
-
height: 30px;
|
|
326
|
-
line-height:
|
|
327
|
-
font-size: 14px;
|
|
328
|
-
padding: 3px 9px;
|
|
334
|
+
height: var(--kd-c-input-middle-sizing-height, 30px);
|
|
335
|
+
line-height: calc(var(--kd-c-input-middle-sizing-height, 30px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
336
|
+
font-size: var(--kd-c-input-middle-font-size, var(--kd-g-font-size-middle, 14px));
|
|
337
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-middle-spacing-padding-horizontal, 9px);
|
|
329
338
|
}
|
|
330
339
|
.kd-input-wrapper-size-large {
|
|
331
|
-
height: 36px;
|
|
332
|
-
line-height:
|
|
333
|
-
font-size: 16px;
|
|
334
|
-
padding: 3px 9px;
|
|
340
|
+
height: var(--kd-c-input-large-sizing-height, 36px);
|
|
341
|
+
line-height: calc(var(--kd-c-input-large-sizing-height, 36px) - (var(--kd-c-input-small-spacing-padding-vertical, 3px) * 2) - (1px * 2));
|
|
342
|
+
font-size: var(--kd-c-input-large-font-size, var(--kd-g-font-size-large, 16px));
|
|
343
|
+
padding: var(--kd-c-input-small-spacing-padding-vertical, 3px) var(--kd-c-input-large-spacing-padding-horizontal, 9px);
|
|
335
344
|
}
|
|
336
345
|
.kd-input-wrapper-borderless {
|
|
337
346
|
border: none !important;
|
|
338
347
|
}
|
|
339
348
|
.kd-input-wrapper-underline {
|
|
340
349
|
border: none;
|
|
341
|
-
border-bottom: 1px solid #999;
|
|
350
|
+
border-bottom: 1px solid var(--kd-c-input-color-border, #999);
|
|
342
351
|
border-radius: 0 !important;
|
|
343
352
|
}
|
|
344
353
|
.kd-input-wrapper-focused {
|
|
345
|
-
border-color: #5582f3;
|
|
354
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
346
355
|
}
|
|
347
356
|
.kd-input-wrapper-textarea {
|
|
348
357
|
width: 100%;
|
|
349
358
|
min-width: 0;
|
|
350
|
-
border: 1px solid #d9d9d9;
|
|
351
|
-
border-radius: 2px;
|
|
352
|
-
color: #666;
|
|
359
|
+
border: var(--kd-c-input-sizing-border, 1px) solid var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
360
|
+
border-radius: var(--kd-c-input-radius-border, var(--kd-g-radius-border, 2px));
|
|
361
|
+
color: var(--kd-c-input-color, var(--kd-g-color-text-secondary, #666));
|
|
353
362
|
-webkit-box-sizing: border-box;
|
|
354
363
|
box-sizing: border-box;
|
|
355
|
-
background-color: #fff;
|
|
364
|
+
background-color: var(--kd-c-input-color-background, var(--kd-g-color-white, #fff));
|
|
356
365
|
font-variant: tabular-nums;
|
|
357
366
|
list-style: none;
|
|
358
367
|
background-image: none;
|
|
@@ -364,13 +373,13 @@ textarea {
|
|
|
364
373
|
display: inline-block;
|
|
365
374
|
}
|
|
366
375
|
.kd-input-wrapper-textarea::-webkit-input-placeholder {
|
|
367
|
-
color: #999 !important;
|
|
376
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
368
377
|
}
|
|
369
378
|
.kd-input-wrapper-textarea::-moz-input-placeholder {
|
|
370
|
-
color: #999 !important;
|
|
379
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
371
380
|
}
|
|
372
381
|
.kd-input-wrapper-textarea::-ms-input-placeholder {
|
|
373
|
-
color: #999 !important;
|
|
382
|
+
color: var(--kd-c-input-color-placeholder, var(--kd-g-color-text-third, #999)) !important;
|
|
374
383
|
}
|
|
375
384
|
.kd-input-wrapper-textarea:focus {
|
|
376
385
|
-webkit-box-shadow: none;
|
|
@@ -378,11 +387,11 @@ textarea {
|
|
|
378
387
|
outline: none;
|
|
379
388
|
}
|
|
380
389
|
.kd-input-wrapper-textarea:not(.kd-input-disabled):hover {
|
|
381
|
-
border-color: #5582f3;
|
|
390
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
382
391
|
}
|
|
383
392
|
.kd-input-wrapper-textarea:not(.kd-input-disabled):focus {
|
|
384
393
|
color: #212121;
|
|
385
|
-
border-color: #5582f3;
|
|
394
|
+
border-color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
386
395
|
}
|
|
387
396
|
.kd-input-wrapper-textarea .kd-input-textarea-clear-icon {
|
|
388
397
|
position: absolute;
|
|
@@ -392,7 +401,7 @@ textarea {
|
|
|
392
401
|
.kd-input-clear-icon,
|
|
393
402
|
.kd-input-textarea-clear-icon {
|
|
394
403
|
cursor: pointer;
|
|
395
|
-
color: #5582f3;
|
|
404
|
+
color: var(--kd-c-input-color-border-focused, var(--kd-g-color-theme, #5582f3));
|
|
396
405
|
}
|
|
397
406
|
.kd-input-clear-icon i,
|
|
398
407
|
.kd-input-textarea-clear-icon i {
|
|
@@ -443,13 +452,13 @@ textarea {
|
|
|
443
452
|
}
|
|
444
453
|
.kd-input-group-wrapper .kd-input-group .kd-input-group-addon {
|
|
445
454
|
position: relative;
|
|
446
|
-
color: #666;
|
|
455
|
+
color: var(--kd-c-input-color, var(--kd-g-color-text-secondary, #666));
|
|
447
456
|
padding: 0 9px;
|
|
448
457
|
font-weight: 400;
|
|
449
458
|
font-size: 14px;
|
|
450
459
|
text-align: center;
|
|
451
|
-
border: 1px solid #d9d9d9;
|
|
452
|
-
border-radius: 2px;
|
|
460
|
+
border: 1px solid var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
461
|
+
border-radius: var(--kd-c-input-radius-border, var(--kd-g-radius-border, 2px));
|
|
453
462
|
white-space: nowrap;
|
|
454
463
|
-webkit-box-sizing: border-box;
|
|
455
464
|
box-sizing: border-box;
|
|
@@ -459,7 +468,7 @@ textarea {
|
|
|
459
468
|
-webkit-box-align: center;
|
|
460
469
|
-ms-flex-align: center;
|
|
461
470
|
align-items: center;
|
|
462
|
-
height: 30px;
|
|
471
|
+
height: var(--kd-c-input-middle-sizing-height, 30px);
|
|
463
472
|
}
|
|
464
473
|
.kd-input-group-wrapper .kd-input-group .kd-input-group-addon:first-child {
|
|
465
474
|
border-top-right-radius: 0;
|
|
@@ -476,23 +485,23 @@ textarea {
|
|
|
476
485
|
}
|
|
477
486
|
.kd-input-group-wrapper .kd-input-group .kd-input-group-addon-underline {
|
|
478
487
|
border: none;
|
|
479
|
-
border-bottom: 1px solid #999;
|
|
488
|
+
border-bottom: 1px solid var(--kd-c-input-color-border, #999);
|
|
480
489
|
border-radius: 0 !important;
|
|
481
490
|
}
|
|
482
491
|
.kd-input-group-wrapper .kd-input-group .kd-input-group-addon-disabled {
|
|
483
|
-
background-color: #f5f5f5;
|
|
484
|
-
border-color: #d9d9d9;
|
|
485
|
-
color: #b2b2b2;
|
|
492
|
+
background-color: var(--kd-c-input-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
|
|
493
|
+
border-color: var(--kd-c-input-color-border-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
494
|
+
color: var(--kd-c-input-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
486
495
|
cursor: not-allowed;
|
|
487
496
|
}
|
|
488
497
|
.kd-input-group-wrapper .kd-input-group-size-small .kd-input-group-addon {
|
|
489
|
-
height: 20px;
|
|
498
|
+
height: var(--kd-c-input-small-sizing-height, 20px);
|
|
490
499
|
}
|
|
491
500
|
.kd-input-group-wrapper .kd-input-group-middle-small .kd-input-group-addon {
|
|
492
|
-
height: 30px;
|
|
501
|
+
height: var(--kd-c-input-middle-sizing-height, 30px);
|
|
493
502
|
}
|
|
494
503
|
.kd-input-group-wrapper .kd-input-group-large-small .kd-input-group-addon {
|
|
495
|
-
height: 36px;
|
|
504
|
+
height: var(--kd-c-input-large-sizing-height, 36px);
|
|
496
505
|
}
|
|
497
506
|
.kd-input-allowClear-spacing {
|
|
498
507
|
padding-right: 20px;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
@import '../../style/themes/index';
|
|
2
2
|
@import './mixin.less';
|
|
3
|
+
|
|
3
4
|
@input-prefix-cls: ~'@{kd-prefix}-input';
|
|
4
5
|
@wrapper-prefix-cls: ~'@{input-prefix-cls}-wrapper';
|
|
6
|
+
|
|
7
|
+
|
|
5
8
|
textarea {
|
|
6
9
|
margin: 0;
|
|
7
10
|
padding: 0;
|
|
@@ -15,7 +18,7 @@ textarea {
|
|
|
15
18
|
}
|
|
16
19
|
.@{input-prefix-cls} {
|
|
17
20
|
.input(@input-prefix-cls);
|
|
18
|
-
transition: border-color @transition-duration;
|
|
21
|
+
transition: border-color @transition-duration-inner;
|
|
19
22
|
&-countWrapper {
|
|
20
23
|
position: relative;
|
|
21
24
|
display: inline-block;
|
|
@@ -23,7 +26,7 @@ textarea {
|
|
|
23
26
|
}
|
|
24
27
|
&-textarea {
|
|
25
28
|
.input(@input-prefix-cls);
|
|
26
|
-
transition: border-color @transition-duration;
|
|
29
|
+
transition: border-color @transition-duration-inner;
|
|
27
30
|
max-width: 100%;
|
|
28
31
|
height: auto;
|
|
29
32
|
vertical-align: bottom;
|
|
@@ -32,8 +35,8 @@ textarea {
|
|
|
32
35
|
right: 0;
|
|
33
36
|
top: ~'calc(100% + 1px)';
|
|
34
37
|
z-index: 1;
|
|
35
|
-
color: @
|
|
36
|
-
font-size: @small-font-size;
|
|
38
|
+
color: @input-placeholder-color-inner;
|
|
39
|
+
font-size: @input-small-font-size-inner;
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
&-no-resize {
|
|
@@ -48,32 +51,32 @@ textarea {
|
|
|
48
51
|
}
|
|
49
52
|
&-underline {
|
|
50
53
|
border: none;
|
|
51
|
-
border-bottom: 1px solid @input-color;
|
|
54
|
+
border-bottom: 1px solid @input-color-border;
|
|
52
55
|
border-radius: 0;
|
|
53
56
|
padding-left: 0 !important;
|
|
54
57
|
}
|
|
55
58
|
&-disabled {
|
|
56
|
-
background-color: @disabled-
|
|
57
|
-
border-color: @
|
|
58
|
-
color: @disabled-
|
|
59
|
+
background-color: @input-background-color-disabled-inner;
|
|
60
|
+
border-color: @input-border-color-disabled-inner;
|
|
61
|
+
color: @input-color-disabled-inner;
|
|
59
62
|
cursor: not-allowed;
|
|
60
63
|
}
|
|
61
64
|
&-underline&-disabled {
|
|
62
|
-
background-color: @input-background-color;
|
|
63
|
-
border-color: @
|
|
65
|
+
background-color: @input-background-color-inner;
|
|
66
|
+
border-color: @input-border-color-disabled-inner;
|
|
64
67
|
}
|
|
65
68
|
&-size-small {
|
|
66
|
-
.input-size(@input-small-height, @input-small-font-size, @input-small-padding-vertical, @input-small-padding-horizontal);
|
|
69
|
+
.input-size(@input-small-height-inner, @input-small-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
67
70
|
}
|
|
68
71
|
&-size-middle {
|
|
69
|
-
.input-size(@input-middle-height, @input-middle-font-size, @input-small-padding-vertical, @input-small-padding-horizontal);
|
|
72
|
+
.input-size(@input-middle-height-inner, @input-middle-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
70
73
|
}
|
|
71
74
|
&-size-large {
|
|
72
|
-
.input-size(@input-large-height, @input-large-font-size, @input-small-padding-vertical, @input-small-padding-horizontal);
|
|
75
|
+
.input-size(@input-large-height-inner, @input-large-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
73
76
|
}
|
|
74
77
|
&-wrapper {
|
|
75
78
|
.input(@wrapper-prefix-cls);
|
|
76
|
-
transition: border-color @transition-duration;
|
|
79
|
+
transition: border-color @transition-duration-inner;
|
|
77
80
|
display: inline-flex;
|
|
78
81
|
position: relative;
|
|
79
82
|
padding-top: 0 !important;
|
|
@@ -99,13 +102,13 @@ textarea {
|
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
&-size-small {
|
|
102
|
-
.input-size(@input-small-height, @input-small-font-size, @input-small-padding-vertical, @input-small-padding-horizontal);
|
|
105
|
+
.input-size(@input-small-height-inner, @input-small-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
103
106
|
}
|
|
104
107
|
&-size-middle {
|
|
105
|
-
.input-size(@input-middle-height, @input-middle-font-size, @input-small-padding-vertical, @input-
|
|
108
|
+
.input-size(@input-middle-height-inner, @input-middle-font-size-inner, @input-small-padding-vertical-inner, @input-middle-padding-horizontal-inner);
|
|
106
109
|
}
|
|
107
110
|
&-size-large {
|
|
108
|
-
.input-size(@input-large-height, @input-large-font-size, @input-small-padding-vertical, @input-
|
|
111
|
+
.input-size(@input-large-height-inner, @input-large-font-size-inner, @input-small-padding-vertical-inner, @input-large-padding-horizontal-inner);
|
|
109
112
|
}
|
|
110
113
|
&-borderless {
|
|
111
114
|
.border-less;
|
|
@@ -113,9 +116,9 @@ textarea {
|
|
|
113
116
|
&-underline {
|
|
114
117
|
.underline;
|
|
115
118
|
}
|
|
116
|
-
|
|
119
|
+
|
|
117
120
|
&-focused {
|
|
118
|
-
border-color: @
|
|
121
|
+
border-color: @input-border-color-focused;
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
&-wrapper-textarea {
|
|
@@ -178,18 +181,18 @@ textarea {
|
|
|
178
181
|
}
|
|
179
182
|
.@{input-prefix-cls}-group-addon {
|
|
180
183
|
position: relative;
|
|
181
|
-
color: @input-font-color;
|
|
184
|
+
color: @input-font-color-inner;
|
|
182
185
|
padding: 0 9px;
|
|
183
186
|
font-weight: 400;
|
|
184
187
|
font-size: 14px;
|
|
185
188
|
text-align: center;
|
|
186
|
-
border: 1px solid @
|
|
187
|
-
border-radius: @radius-
|
|
189
|
+
border: 1px solid @input-border-color-disabled-inner;
|
|
190
|
+
border-radius: @input-border-radius-inner;
|
|
188
191
|
white-space: nowrap;
|
|
189
192
|
box-sizing: border-box;
|
|
190
193
|
display: flex;
|
|
191
194
|
align-items: center;
|
|
192
|
-
height: @input-middle-height;
|
|
195
|
+
height: @input-middle-height-inner;
|
|
193
196
|
&:first-child {
|
|
194
197
|
border-top-right-radius: 0;
|
|
195
198
|
border-bottom-right-radius: 0;
|
|
@@ -200,7 +203,7 @@ textarea {
|
|
|
200
203
|
border-bottom-left-radius: 0;
|
|
201
204
|
border-left: none;
|
|
202
205
|
}
|
|
203
|
-
|
|
206
|
+
|
|
204
207
|
&-borderless {
|
|
205
208
|
.border-less;
|
|
206
209
|
}
|
|
@@ -208,26 +211,26 @@ textarea {
|
|
|
208
211
|
.underline;
|
|
209
212
|
}
|
|
210
213
|
&-disabled {
|
|
211
|
-
background-color: @disabled-
|
|
212
|
-
border-color: @
|
|
213
|
-
color: @disabled-
|
|
214
|
+
background-color: @input-background-color-disabled-inner;
|
|
215
|
+
border-color: @input-border-color-disabled-inner;
|
|
216
|
+
color: @input-color-disabled-inner;
|
|
214
217
|
cursor: not-allowed;
|
|
215
218
|
}
|
|
216
219
|
}
|
|
217
220
|
}
|
|
218
221
|
&-group-size-small {
|
|
219
222
|
.@{input-prefix-cls}-group-addon {
|
|
220
|
-
height: @input-small-height;
|
|
223
|
+
height: @input-small-height-inner;
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
226
|
&-group-middle-small {
|
|
224
227
|
.@{input-prefix-cls}-group-addon {
|
|
225
|
-
height: @input-middle-height;
|
|
228
|
+
height: @input-middle-height-inner;
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
231
|
&-group-large-small {
|
|
229
232
|
.@{input-prefix-cls}-group-addon {
|
|
230
|
-
height: @input-large-height;
|
|
233
|
+
height: @input-large-height-inner;
|
|
231
234
|
}
|
|
232
235
|
}
|
|
233
236
|
}
|
|
@@ -235,4 +238,4 @@ textarea {
|
|
|
235
238
|
&-allowClear-spacing {
|
|
236
239
|
padding-right: 20px;
|
|
237
240
|
}
|
|
238
|
-
}
|
|
241
|
+
}
|