@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
package/es/tag/style/index.css
CHANGED
|
@@ -92,13 +92,22 @@
|
|
|
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-tag {
|
|
96
|
-
-webkit-transition: all 0.3s;
|
|
97
|
-
transition: all 0.3s;
|
|
105
|
+
-webkit-transition: all var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
|
|
106
|
+
transition: all var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
|
|
98
107
|
}
|
|
99
108
|
.kd-tag-size-small {
|
|
100
|
-
font-size: 12px;
|
|
101
|
-
height: 20px;
|
|
109
|
+
font-size: var(--kd-c-tag-font-size-small, var(--kd-g-font-size-small, 12px));
|
|
110
|
+
height: var(--kd-c-tag-sizing-height-small, 20px);
|
|
102
111
|
-webkit-box-sizing: border-box;
|
|
103
112
|
box-sizing: border-box;
|
|
104
113
|
display: -webkit-inline-box;
|
|
@@ -108,12 +117,12 @@
|
|
|
108
117
|
-ms-flex-align: center;
|
|
109
118
|
align-items: center;
|
|
110
119
|
vertical-align: middle;
|
|
111
|
-
padding: 0 6px;
|
|
112
|
-
border-radius:
|
|
120
|
+
padding: 0 var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
121
|
+
border-radius: calc(var(--kd-c-tag-sizing-height-small, 20px) / 2);
|
|
113
122
|
}
|
|
114
123
|
.kd-tag-size-middle {
|
|
115
|
-
font-size: 12px;
|
|
116
|
-
height: 20px;
|
|
124
|
+
font-size: var(--kd-c-tag-font-size-middle, var(--kd-g-font-size-small, 12px));
|
|
125
|
+
height: var(--kd-c-tag-sizing-height-middle, 20px);
|
|
117
126
|
-webkit-box-sizing: border-box;
|
|
118
127
|
box-sizing: border-box;
|
|
119
128
|
display: -webkit-inline-box;
|
|
@@ -123,12 +132,12 @@
|
|
|
123
132
|
-ms-flex-align: center;
|
|
124
133
|
align-items: center;
|
|
125
134
|
vertical-align: middle;
|
|
126
|
-
padding: 0 7px;
|
|
127
|
-
border-radius:
|
|
135
|
+
padding: 0 var(--kd-c-tag-spacing-padding-horizontal-middle, 7px);
|
|
136
|
+
border-radius: calc(var(--kd-c-tag-sizing-height-middle, 20px) / 2);
|
|
128
137
|
}
|
|
129
138
|
.kd-tag-size-large {
|
|
130
|
-
font-size: 14px;
|
|
131
|
-
height: 24px;
|
|
139
|
+
font-size: var(--kd-c-tag-font-size-large, var(--kd-g-font-size-middle, 14px));
|
|
140
|
+
height: var(--kd-c-tag-sizing-height-large, 24px);
|
|
132
141
|
-webkit-box-sizing: border-box;
|
|
133
142
|
box-sizing: border-box;
|
|
134
143
|
display: -webkit-inline-box;
|
|
@@ -138,95 +147,95 @@
|
|
|
138
147
|
-ms-flex-align: center;
|
|
139
148
|
align-items: center;
|
|
140
149
|
vertical-align: middle;
|
|
141
|
-
padding: 0 8px;
|
|
142
|
-
border-radius:
|
|
150
|
+
padding: 0 var(--kd-c-tag-spacing-padding-horizontal-large, 8px);
|
|
151
|
+
border-radius: calc(var(--kd-c-tag-sizing-height-large, 24px) / 2);
|
|
143
152
|
}
|
|
144
153
|
.kd-tag-shape-status {
|
|
145
|
-
border: 1px solid #276ff5;
|
|
146
|
-
color: #276ff5;
|
|
154
|
+
border: 1px solid var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
155
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
147
156
|
}
|
|
148
157
|
.kd-tag-shape-status:hover {
|
|
149
|
-
background-color: #276ff5;
|
|
158
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
150
159
|
color: #fff;
|
|
151
160
|
}
|
|
152
161
|
.kd-tag-shape-status.kd-tag-process {
|
|
153
|
-
border: 1px solid #276ff5;
|
|
154
|
-
color: #276ff5;
|
|
162
|
+
border: 1px solid var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
163
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
155
164
|
}
|
|
156
165
|
.kd-tag-shape-status.kd-tag-process:hover {
|
|
157
|
-
background-color: #276ff5;
|
|
166
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
158
167
|
color: #fff;
|
|
159
168
|
}
|
|
160
169
|
.kd-tag-shape-status.kd-tag-success {
|
|
161
|
-
border: 1px solid #1ba854;
|
|
162
|
-
color: #1ba854;
|
|
170
|
+
border: 1px solid var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
171
|
+
color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
163
172
|
}
|
|
164
173
|
.kd-tag-shape-status.kd-tag-success:hover {
|
|
165
|
-
background-color: #1ba854;
|
|
174
|
+
background-color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
166
175
|
color: #fff;
|
|
167
176
|
}
|
|
168
177
|
.kd-tag-shape-status.kd-tag-warning {
|
|
169
|
-
border: 1px solid #ff991c;
|
|
170
|
-
color: #ff991c;
|
|
178
|
+
border: 1px solid var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
179
|
+
color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
171
180
|
}
|
|
172
181
|
.kd-tag-shape-status.kd-tag-warning:hover {
|
|
173
|
-
background-color: #ff991c;
|
|
182
|
+
background-color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
174
183
|
color: #fff;
|
|
175
184
|
}
|
|
176
185
|
.kd-tag-shape-status.kd-tag-error {
|
|
177
|
-
border: 1px solid #fb2323;
|
|
178
|
-
color: #fb2323;
|
|
186
|
+
border: 1px solid var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
187
|
+
color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
179
188
|
}
|
|
180
189
|
.kd-tag-shape-status.kd-tag-error:hover {
|
|
181
|
-
background-color: #fb2323;
|
|
190
|
+
background-color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
182
191
|
color: #fff;
|
|
183
192
|
}
|
|
184
193
|
.kd-tag-shape-status.kd-tag-end {
|
|
185
|
-
border: 1px solid #666;
|
|
186
|
-
color: #666;
|
|
194
|
+
border: 1px solid var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
195
|
+
color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
187
196
|
}
|
|
188
197
|
.kd-tag-shape-status.kd-tag-end:hover {
|
|
189
|
-
background-color: #666;
|
|
198
|
+
background-color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
190
199
|
color: #fff;
|
|
191
200
|
}
|
|
192
201
|
.kd-tag-shape-status.kd-tag-expired {
|
|
193
|
-
border: 1px solid #b2b2b2;
|
|
194
|
-
color: #b2b2b2;
|
|
202
|
+
border: 1px solid var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
203
|
+
color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
195
204
|
}
|
|
196
205
|
.kd-tag-shape-status.kd-tag-expired:hover {
|
|
197
|
-
background-color: #b2b2b2;
|
|
206
|
+
background-color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
198
207
|
color: #fff;
|
|
199
208
|
}
|
|
200
209
|
.kd-tag-shape-attribute {
|
|
201
210
|
color: #fff;
|
|
202
|
-
background-color: #276ff5;
|
|
211
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
203
212
|
}
|
|
204
213
|
.kd-tag-shape-attribute.kd-tag-process {
|
|
205
214
|
color: #fff;
|
|
206
|
-
background-color: #276ff5;
|
|
215
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
207
216
|
}
|
|
208
217
|
.kd-tag-shape-attribute.kd-tag-success {
|
|
209
218
|
color: #fff;
|
|
210
|
-
background-color: #1ba854;
|
|
219
|
+
background-color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
211
220
|
}
|
|
212
221
|
.kd-tag-shape-attribute.kd-tag-warning {
|
|
213
222
|
color: #fff;
|
|
214
|
-
background-color: #ff991c;
|
|
223
|
+
background-color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
215
224
|
}
|
|
216
225
|
.kd-tag-shape-attribute.kd-tag-error {
|
|
217
226
|
color: #fff;
|
|
218
|
-
background-color: #fb2323;
|
|
227
|
+
background-color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
219
228
|
}
|
|
220
229
|
.kd-tag-shape-attribute.kd-tag-end {
|
|
221
230
|
color: #fff;
|
|
222
|
-
background-color: #666;
|
|
231
|
+
background-color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
223
232
|
}
|
|
224
233
|
.kd-tag-shape-attribute.kd-tag-expired {
|
|
225
234
|
color: #fff;
|
|
226
|
-
background-color: #b2b2b2;
|
|
235
|
+
background-color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
227
236
|
}
|
|
228
237
|
.kd-tag-shape-text {
|
|
229
|
-
color: #276ff5;
|
|
238
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
230
239
|
display: -webkit-inline-box;
|
|
231
240
|
display: -ms-inline-flexbox;
|
|
232
241
|
display: inline-flex;
|
|
@@ -239,31 +248,31 @@
|
|
|
239
248
|
.kd-tag-shape-text::before {
|
|
240
249
|
content: '';
|
|
241
250
|
display: block;
|
|
242
|
-
background-color: #276ff5;
|
|
251
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
243
252
|
border-radius: 50%;
|
|
244
253
|
}
|
|
245
254
|
.kd-tag-shape-text::before {
|
|
246
|
-
width: 6px;
|
|
247
|
-
height: 6px;
|
|
248
|
-
margin-right: 6px;
|
|
255
|
+
width: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
256
|
+
height: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
257
|
+
margin-right: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
249
258
|
}
|
|
250
259
|
.kd-tag-shape-text.kd-tag-size-small::before {
|
|
251
|
-
width: 6px;
|
|
252
|
-
height: 6px;
|
|
253
|
-
margin-right: 6px;
|
|
260
|
+
width: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
261
|
+
height: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
262
|
+
margin-right: var(--kd-c-tag-spacing-padding-horizontal-small, 6px);
|
|
254
263
|
}
|
|
255
264
|
.kd-tag-shape-text.kd-tag-size-middle::before {
|
|
256
|
-
width: 7px;
|
|
257
|
-
height: 7px;
|
|
258
|
-
margin-right: 7px;
|
|
265
|
+
width: var(--kd-c-tag-spacing-padding-horizontal-middle, 7px);
|
|
266
|
+
height: var(--kd-c-tag-spacing-padding-horizontal-middle, 7px);
|
|
267
|
+
margin-right: var(--kd-c-tag-spacing-padding-horizontal-middle, 7px);
|
|
259
268
|
}
|
|
260
269
|
.kd-tag-shape-text.kd-tag-size-large::before {
|
|
261
|
-
width: 8px;
|
|
262
|
-
height: 8px;
|
|
263
|
-
margin-right: 8px;
|
|
270
|
+
width: var(--kd-c-tag-spacing-padding-horizontal-large, 8px);
|
|
271
|
+
height: var(--kd-c-tag-spacing-padding-horizontal-large, 8px);
|
|
272
|
+
margin-right: var(--kd-c-tag-spacing-padding-horizontal-large, 8px);
|
|
264
273
|
}
|
|
265
274
|
.kd-tag-shape-text.kd-tag-process {
|
|
266
|
-
color: #276ff5;
|
|
275
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
267
276
|
display: -webkit-inline-box;
|
|
268
277
|
display: -ms-inline-flexbox;
|
|
269
278
|
display: inline-flex;
|
|
@@ -276,11 +285,11 @@
|
|
|
276
285
|
.kd-tag-shape-text.kd-tag-process::before {
|
|
277
286
|
content: '';
|
|
278
287
|
display: block;
|
|
279
|
-
background-color: #276ff5;
|
|
288
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
280
289
|
border-radius: 50%;
|
|
281
290
|
}
|
|
282
291
|
.kd-tag-shape-text.kd-tag-process.kd-tag-size-middle {
|
|
283
|
-
color: #276ff5;
|
|
292
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
284
293
|
display: -webkit-inline-box;
|
|
285
294
|
display: -ms-inline-flexbox;
|
|
286
295
|
display: inline-flex;
|
|
@@ -293,11 +302,11 @@
|
|
|
293
302
|
.kd-tag-shape-text.kd-tag-process.kd-tag-size-middle::before {
|
|
294
303
|
content: '';
|
|
295
304
|
display: block;
|
|
296
|
-
background-color: #276ff5;
|
|
305
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
297
306
|
border-radius: 50%;
|
|
298
307
|
}
|
|
299
308
|
.kd-tag-shape-text.kd-tag-process.kd-tag-size-large {
|
|
300
|
-
color: #276ff5;
|
|
309
|
+
color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
301
310
|
display: -webkit-inline-box;
|
|
302
311
|
display: -ms-inline-flexbox;
|
|
303
312
|
display: inline-flex;
|
|
@@ -310,11 +319,11 @@
|
|
|
310
319
|
.kd-tag-shape-text.kd-tag-process.kd-tag-size-large::before {
|
|
311
320
|
content: '';
|
|
312
321
|
display: block;
|
|
313
|
-
background-color: #276ff5;
|
|
322
|
+
background-color: var(--kd-c-tag-color-process, var(--kd-g-color-ongoing, #276ff5));
|
|
314
323
|
border-radius: 50%;
|
|
315
324
|
}
|
|
316
325
|
.kd-tag-shape-text.kd-tag-success {
|
|
317
|
-
color: #1ba854;
|
|
326
|
+
color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
318
327
|
display: -webkit-inline-box;
|
|
319
328
|
display: -ms-inline-flexbox;
|
|
320
329
|
display: inline-flex;
|
|
@@ -327,11 +336,11 @@
|
|
|
327
336
|
.kd-tag-shape-text.kd-tag-success::before {
|
|
328
337
|
content: '';
|
|
329
338
|
display: block;
|
|
330
|
-
background-color: #1ba854;
|
|
339
|
+
background-color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
331
340
|
border-radius: 50%;
|
|
332
341
|
}
|
|
333
342
|
.kd-tag-shape-text.kd-tag-success.kd-tag-size-middle {
|
|
334
|
-
color: #1ba854;
|
|
343
|
+
color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
335
344
|
display: -webkit-inline-box;
|
|
336
345
|
display: -ms-inline-flexbox;
|
|
337
346
|
display: inline-flex;
|
|
@@ -344,11 +353,11 @@
|
|
|
344
353
|
.kd-tag-shape-text.kd-tag-success.kd-tag-size-middle::before {
|
|
345
354
|
content: '';
|
|
346
355
|
display: block;
|
|
347
|
-
background-color: #1ba854;
|
|
356
|
+
background-color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
348
357
|
border-radius: 50%;
|
|
349
358
|
}
|
|
350
359
|
.kd-tag-shape-text.kd-tag-success.kd-tag-size-large {
|
|
351
|
-
color: #1ba854;
|
|
360
|
+
color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
352
361
|
display: -webkit-inline-box;
|
|
353
362
|
display: -ms-inline-flexbox;
|
|
354
363
|
display: inline-flex;
|
|
@@ -361,11 +370,11 @@
|
|
|
361
370
|
.kd-tag-shape-text.kd-tag-success.kd-tag-size-large::before {
|
|
362
371
|
content: '';
|
|
363
372
|
display: block;
|
|
364
|
-
background-color: #1ba854;
|
|
373
|
+
background-color: var(--kd-c-tag-color-success, var(--kd-g-color-success, #1ba854));
|
|
365
374
|
border-radius: 50%;
|
|
366
375
|
}
|
|
367
376
|
.kd-tag-shape-text.kd-tag-warning {
|
|
368
|
-
color: #ff991c;
|
|
377
|
+
color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
369
378
|
display: -webkit-inline-box;
|
|
370
379
|
display: -ms-inline-flexbox;
|
|
371
380
|
display: inline-flex;
|
|
@@ -378,11 +387,11 @@
|
|
|
378
387
|
.kd-tag-shape-text.kd-tag-warning::before {
|
|
379
388
|
content: '';
|
|
380
389
|
display: block;
|
|
381
|
-
background-color: #ff991c;
|
|
390
|
+
background-color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
382
391
|
border-radius: 50%;
|
|
383
392
|
}
|
|
384
393
|
.kd-tag-shape-text.kd-tag-warning.kd-tag-size-middle {
|
|
385
|
-
color: #ff991c;
|
|
394
|
+
color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
386
395
|
display: -webkit-inline-box;
|
|
387
396
|
display: -ms-inline-flexbox;
|
|
388
397
|
display: inline-flex;
|
|
@@ -395,11 +404,11 @@
|
|
|
395
404
|
.kd-tag-shape-text.kd-tag-warning.kd-tag-size-middle::before {
|
|
396
405
|
content: '';
|
|
397
406
|
display: block;
|
|
398
|
-
background-color: #ff991c;
|
|
407
|
+
background-color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
399
408
|
border-radius: 50%;
|
|
400
409
|
}
|
|
401
410
|
.kd-tag-shape-text.kd-tag-warning.kd-tag-size-large {
|
|
402
|
-
color: #ff991c;
|
|
411
|
+
color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
403
412
|
display: -webkit-inline-box;
|
|
404
413
|
display: -ms-inline-flexbox;
|
|
405
414
|
display: inline-flex;
|
|
@@ -412,11 +421,11 @@
|
|
|
412
421
|
.kd-tag-shape-text.kd-tag-warning.kd-tag-size-large::before {
|
|
413
422
|
content: '';
|
|
414
423
|
display: block;
|
|
415
|
-
background-color: #ff991c;
|
|
424
|
+
background-color: var(--kd-c-tag-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
416
425
|
border-radius: 50%;
|
|
417
426
|
}
|
|
418
427
|
.kd-tag-shape-text.kd-tag-error {
|
|
419
|
-
color: #fb2323;
|
|
428
|
+
color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
420
429
|
display: -webkit-inline-box;
|
|
421
430
|
display: -ms-inline-flexbox;
|
|
422
431
|
display: inline-flex;
|
|
@@ -429,11 +438,11 @@
|
|
|
429
438
|
.kd-tag-shape-text.kd-tag-error::before {
|
|
430
439
|
content: '';
|
|
431
440
|
display: block;
|
|
432
|
-
background-color: #fb2323;
|
|
441
|
+
background-color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
433
442
|
border-radius: 50%;
|
|
434
443
|
}
|
|
435
444
|
.kd-tag-shape-text.kd-tag-error.kd-tag-size-middle {
|
|
436
|
-
color: #fb2323;
|
|
445
|
+
color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
437
446
|
display: -webkit-inline-box;
|
|
438
447
|
display: -ms-inline-flexbox;
|
|
439
448
|
display: inline-flex;
|
|
@@ -446,11 +455,11 @@
|
|
|
446
455
|
.kd-tag-shape-text.kd-tag-error.kd-tag-size-middle::before {
|
|
447
456
|
content: '';
|
|
448
457
|
display: block;
|
|
449
|
-
background-color: #fb2323;
|
|
458
|
+
background-color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
450
459
|
border-radius: 50%;
|
|
451
460
|
}
|
|
452
461
|
.kd-tag-shape-text.kd-tag-error.kd-tag-size-large {
|
|
453
|
-
color: #fb2323;
|
|
462
|
+
color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
454
463
|
display: -webkit-inline-box;
|
|
455
464
|
display: -ms-inline-flexbox;
|
|
456
465
|
display: inline-flex;
|
|
@@ -463,11 +472,11 @@
|
|
|
463
472
|
.kd-tag-shape-text.kd-tag-error.kd-tag-size-large::before {
|
|
464
473
|
content: '';
|
|
465
474
|
display: block;
|
|
466
|
-
background-color: #fb2323;
|
|
475
|
+
background-color: var(--kd-c-tag-color-error, var(--kd-g-color-error, #fb2323));
|
|
467
476
|
border-radius: 50%;
|
|
468
477
|
}
|
|
469
478
|
.kd-tag-shape-text.kd-tag-end {
|
|
470
|
-
color: #666;
|
|
479
|
+
color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
471
480
|
display: -webkit-inline-box;
|
|
472
481
|
display: -ms-inline-flexbox;
|
|
473
482
|
display: inline-flex;
|
|
@@ -480,11 +489,11 @@
|
|
|
480
489
|
.kd-tag-shape-text.kd-tag-end::before {
|
|
481
490
|
content: '';
|
|
482
491
|
display: block;
|
|
483
|
-
background-color: #666;
|
|
492
|
+
background-color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
484
493
|
border-radius: 50%;
|
|
485
494
|
}
|
|
486
495
|
.kd-tag-shape-text.kd-tag-end.kd-tag-size-middle {
|
|
487
|
-
color: #666;
|
|
496
|
+
color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
488
497
|
display: -webkit-inline-box;
|
|
489
498
|
display: -ms-inline-flexbox;
|
|
490
499
|
display: inline-flex;
|
|
@@ -497,11 +506,11 @@
|
|
|
497
506
|
.kd-tag-shape-text.kd-tag-end.kd-tag-size-middle::before {
|
|
498
507
|
content: '';
|
|
499
508
|
display: block;
|
|
500
|
-
background-color: #666;
|
|
509
|
+
background-color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
501
510
|
border-radius: 50%;
|
|
502
511
|
}
|
|
503
512
|
.kd-tag-shape-text.kd-tag-end.kd-tag-size-large {
|
|
504
|
-
color: #666;
|
|
513
|
+
color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
505
514
|
display: -webkit-inline-box;
|
|
506
515
|
display: -ms-inline-flexbox;
|
|
507
516
|
display: inline-flex;
|
|
@@ -514,11 +523,11 @@
|
|
|
514
523
|
.kd-tag-shape-text.kd-tag-end.kd-tag-size-large::before {
|
|
515
524
|
content: '';
|
|
516
525
|
display: block;
|
|
517
|
-
background-color: #666;
|
|
526
|
+
background-color: var(--kd-c-tag-color-end, var(--kd-g-color-end, #666));
|
|
518
527
|
border-radius: 50%;
|
|
519
528
|
}
|
|
520
529
|
.kd-tag-shape-text.kd-tag-expired {
|
|
521
|
-
color: #b2b2b2;
|
|
530
|
+
color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
522
531
|
display: -webkit-inline-box;
|
|
523
532
|
display: -ms-inline-flexbox;
|
|
524
533
|
display: inline-flex;
|
|
@@ -531,11 +540,11 @@
|
|
|
531
540
|
.kd-tag-shape-text.kd-tag-expired::before {
|
|
532
541
|
content: '';
|
|
533
542
|
display: block;
|
|
534
|
-
background-color: #b2b2b2;
|
|
543
|
+
background-color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
535
544
|
border-radius: 50%;
|
|
536
545
|
}
|
|
537
546
|
.kd-tag-shape-text.kd-tag-expired.kd-tag-size-middle {
|
|
538
|
-
color: #b2b2b2;
|
|
547
|
+
color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
539
548
|
display: -webkit-inline-box;
|
|
540
549
|
display: -ms-inline-flexbox;
|
|
541
550
|
display: inline-flex;
|
|
@@ -548,11 +557,11 @@
|
|
|
548
557
|
.kd-tag-shape-text.kd-tag-expired.kd-tag-size-middle::before {
|
|
549
558
|
content: '';
|
|
550
559
|
display: block;
|
|
551
|
-
background-color: #b2b2b2;
|
|
560
|
+
background-color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
552
561
|
border-radius: 50%;
|
|
553
562
|
}
|
|
554
563
|
.kd-tag-shape-text.kd-tag-expired.kd-tag-size-large {
|
|
555
|
-
color: #b2b2b2;
|
|
564
|
+
color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
556
565
|
display: -webkit-inline-box;
|
|
557
566
|
display: -ms-inline-flexbox;
|
|
558
567
|
display: inline-flex;
|
|
@@ -565,23 +574,23 @@
|
|
|
565
574
|
.kd-tag-shape-text.kd-tag-expired.kd-tag-size-large::before {
|
|
566
575
|
content: '';
|
|
567
576
|
display: block;
|
|
568
|
-
background-color: #b2b2b2;
|
|
577
|
+
background-color: var(--kd-c-tag-color-expired, var(--kd-g-color-disabled, #b2b2b2));
|
|
569
578
|
border-radius: 50%;
|
|
570
579
|
}
|
|
571
580
|
.kd-tag-shape-edit {
|
|
572
|
-
border: 1px solid #ccc;
|
|
581
|
+
border: 1px solid var(--kd-c-tag-edit-color-border, var(--kd-g-color-text-placeholder, #ccc));
|
|
573
582
|
border-radius: 2px;
|
|
574
|
-
line-height: 20px;
|
|
583
|
+
line-height: var(--kd-c-tag-sizing-height-middle, 20px);
|
|
575
584
|
padding-left: 6px;
|
|
576
585
|
padding-right: 6px;
|
|
577
|
-
color: #212121;
|
|
586
|
+
color: var(--kd-c-tag-edit-color-text, var(--kd-g-color-text-primary, #212121));
|
|
578
587
|
}
|
|
579
588
|
.kd-tag-shape-edit:not(.kd-tag-closable-disabled):hover {
|
|
580
|
-
border-color: #5582f3;
|
|
589
|
+
border-color: var(--kd-c-tag-edit-color-border-hover, var(--kd-g-color-theme, #5582f3));
|
|
581
590
|
}
|
|
582
591
|
.kd-tag-shape-edit:not(.kd-tag-closable-disabled):hover .kd-tag-closeWrapper {
|
|
583
|
-
background-color: #5582f3;
|
|
584
|
-
color: #fff;
|
|
592
|
+
background-color: var(--kd-c-tag-edit-cloesWrapper-color-background-hover, var(--kd-g-color-theme, #5582f3));
|
|
593
|
+
color: var(--kd-c-tag-edit-cloesWrapper-color-text-hover, var(--kd-g-color-white, #fff));
|
|
585
594
|
}
|
|
586
595
|
.kd-tag-shape-edit.kd-tag-closable {
|
|
587
596
|
padding-right: 0;
|
|
@@ -590,38 +599,38 @@
|
|
|
590
599
|
cursor: pointer;
|
|
591
600
|
}
|
|
592
601
|
.kd-tag-has-color {
|
|
593
|
-
color: #fff;
|
|
602
|
+
color: var(--kd-c-tag-attribute-color-text, var(--kd-g-color-white, #fff));
|
|
594
603
|
}
|
|
595
604
|
.kd-tag-text {
|
|
596
605
|
margin-left: 6px;
|
|
597
606
|
}
|
|
598
607
|
.kd-tag-closable-disabled {
|
|
599
|
-
background-color: #f5f5f5;
|
|
600
|
-
border-color: #d9d9d9;
|
|
601
|
-
color: #d9d9d9;
|
|
608
|
+
background-color: var(--kd-c-tag-edit-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
|
|
609
|
+
border-color: var(--kd-c-tag-edit-color-background-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
610
|
+
color: var(--kd-c-tag-edit-color-text-disabled, var(--kd-g-color-border-strong, #d9d9d9));
|
|
602
611
|
cursor: not-allowed;
|
|
603
612
|
}
|
|
604
613
|
.kd-tag-closable.kd-tag-size-middle {
|
|
605
|
-
line-height: 20px;
|
|
614
|
+
line-height: var(--kd-c-tag-sizing-height-middle, 20px);
|
|
606
615
|
}
|
|
607
616
|
.kd-tag-closable.kd-tag-size-middle .kd-tag-closeWrapper {
|
|
608
|
-
width:
|
|
609
|
-
height:
|
|
617
|
+
width: calc(var(--kd-c-tag-sizing-height-middle, 20px) - 2px);
|
|
618
|
+
height: calc(var(--kd-c-tag-sizing-height-middle, 20px) - 2px);
|
|
610
619
|
}
|
|
611
620
|
.kd-tag-closable.kd-tag-size-large {
|
|
612
|
-
line-height: 24px;
|
|
613
|
-
padding-left: 8px;
|
|
621
|
+
line-height: var(--kd-c-tag-sizing-height-large, 24px);
|
|
622
|
+
padding-left: var(--kd-c-tag-spacing-padding-horizontal-large, 8px);
|
|
614
623
|
}
|
|
615
624
|
.kd-tag-closable.kd-tag-size-large .kd-tag-closeWrapper {
|
|
616
|
-
width:
|
|
617
|
-
height:
|
|
625
|
+
width: calc(var(--kd-c-tag-sizing-height-large, 24px) - 2px);
|
|
626
|
+
height: calc(var(--kd-c-tag-sizing-height-large, 24px) - 2px);
|
|
618
627
|
}
|
|
619
628
|
.kd-tag-closable.kd-tag-size-large .kd-tag-closeWrapper .kd-tag-close-icon {
|
|
620
629
|
font-size: 14px;
|
|
621
630
|
}
|
|
622
631
|
.kd-tag-closeWrapper {
|
|
623
|
-
width:
|
|
624
|
-
height:
|
|
632
|
+
width: calc(var(--kd-c-tag-sizing-height-middle, 20px) - 2px);
|
|
633
|
+
height: calc(var(--kd-c-tag-sizing-height-middle, 20px) - 2px);
|
|
625
634
|
margin-left: 4px;
|
|
626
635
|
display: -webkit-inline-box;
|
|
627
636
|
display: -ms-inline-flexbox;
|
|
@@ -632,8 +641,8 @@
|
|
|
632
641
|
-webkit-box-align: center;
|
|
633
642
|
-ms-flex-align: center;
|
|
634
643
|
align-items: center;
|
|
635
|
-
-webkit-transition: color 0.3s, background-color 0.3s;
|
|
636
|
-
transition: color 0.3s, background-color 0.3s;
|
|
644
|
+
-webkit-transition: color var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
|
|
645
|
+
transition: color var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
|
|
637
646
|
}
|
|
638
647
|
.kd-tag-close-icon {
|
|
639
648
|
cursor: pointer;
|
package/es/tag/style/index.less
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.@{tag-prefix-cls} {
|
|
10
10
|
&-size-small {
|
|
11
|
-
.tag-size(@tag-small-font-size, @tag-height, @tag-small-padding-horizontal);
|
|
11
|
+
.tag-size(@tag-small-font-size, @tag-small-height, @tag-small-padding-horizontal);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&-size-middle {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.tag-size(@tag-large-font-size, @tag-large-height, @tag-large-padding-horizontal);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
transition: all @
|
|
22
|
+
transition: all @tag-g-motion-duration;
|
|
23
23
|
// 状态标签
|
|
24
24
|
&-shape-status {
|
|
25
25
|
.tag-status(@tag-process-color)
|
|
@@ -67,17 +67,17 @@
|
|
|
67
67
|
|
|
68
68
|
// 可关闭的标签
|
|
69
69
|
&-shape-edit {
|
|
70
|
-
border: 1px solid @
|
|
70
|
+
border: 1px solid @tag-edit-g-color-border;
|
|
71
71
|
border-radius: 2px;
|
|
72
|
-
line-height: @tag-height;
|
|
72
|
+
line-height: @tag-middle-height;
|
|
73
73
|
padding-left: 6px;
|
|
74
74
|
padding-right: 6px;
|
|
75
|
-
color: @
|
|
75
|
+
color: @tag-edit-g-text-color;
|
|
76
76
|
&:not(.@{tag-prefix-cls}-closable-disabled):hover {
|
|
77
|
-
border-color: @
|
|
77
|
+
border-color: @tag-edit-g-color-border-hover;
|
|
78
78
|
.@{tag-prefix-cls}-closeWrapper {
|
|
79
|
-
background-color: @
|
|
80
|
-
color: @
|
|
79
|
+
background-color: @tag-edit-cloesWrapper-g-color-background-hover;
|
|
80
|
+
color: @tag-edit-cloesWrapper-g-text-color-hover;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
// 自定义标签颜色
|
|
95
95
|
&-has-color {
|
|
96
|
-
color: @
|
|
96
|
+
color: @tag-attribute-g-text-color;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// 图标设置外边距
|
|
@@ -102,17 +102,17 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&-closable-disabled {
|
|
105
|
-
background-color: @
|
|
106
|
-
border-color: @
|
|
107
|
-
color: @
|
|
105
|
+
background-color: @tag-edit-g-color-background-disabled;
|
|
106
|
+
border-color: @tag-edit-g-color-border-disabled;
|
|
107
|
+
color: @tag-edit-g-text-color-disabled;
|
|
108
108
|
cursor: not-allowed;
|
|
109
109
|
}
|
|
110
110
|
&-closable.@{tag-prefix-cls}-size-middle {
|
|
111
111
|
line-height: @tag-middle-height;
|
|
112
112
|
|
|
113
113
|
.@{tag-prefix-cls}-closeWrapper {
|
|
114
|
-
width: @tag-middle-height -
|
|
115
|
-
height: @tag-middle-height -
|
|
114
|
+
width: calc(@tag-middle-height - 2px);
|
|
115
|
+
height: calc(@tag-middle-height - 2px);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
&-closable.@{tag-prefix-cls}-size-large {
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
padding-left: @tag-large-padding-horizontal;
|
|
121
121
|
|
|
122
122
|
.@{tag-prefix-cls}-closeWrapper {
|
|
123
|
-
width: @tag-large-height -
|
|
124
|
-
height: @tag-large-height -
|
|
123
|
+
width: calc(@tag-large-height - 2px);
|
|
124
|
+
height: calc(@tag-large-height - 2px);
|
|
125
125
|
|
|
126
126
|
.@{tag-prefix-cls}-close-icon {
|
|
127
127
|
font-size: 14px;
|
|
@@ -129,13 +129,13 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
&-closeWrapper {
|
|
132
|
-
width: @tag-height -
|
|
133
|
-
height: @tag-height -
|
|
132
|
+
width: calc(@tag-middle-height - 2px);
|
|
133
|
+
height: calc(@tag-middle-height - 2px);
|
|
134
134
|
margin-left: 4px;
|
|
135
135
|
display: inline-flex;
|
|
136
136
|
justify-content: center;
|
|
137
137
|
align-items: center;
|
|
138
|
-
transition: color @
|
|
138
|
+
transition: color @tag-g-motion-duration, background-color @tag-g-motion-duration;
|
|
139
139
|
}
|
|
140
140
|
&-close-icon {
|
|
141
141
|
cursor: pointer;
|
package/es/tag/style/mixin.less
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@import './token.less';
|
|
1
2
|
|
|
2
3
|
// code component mixin here
|
|
3
4
|
.tag-size(@size, @height, @padding) {
|
|
@@ -8,7 +9,7 @@
|
|
|
8
9
|
align-items: center;
|
|
9
10
|
vertical-align: middle;
|
|
10
11
|
padding: 0 @padding;
|
|
11
|
-
border-radius: @height / 2;
|
|
12
|
+
border-radius: calc(@height / 2);
|
|
12
13
|
}
|
|
13
14
|
.tag-status(@color) {
|
|
14
15
|
border: 1px solid @color;
|