@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/menu/style/index.css
CHANGED
|
@@ -92,28 +92,37 @@
|
|
|
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
|
/* 多行显示省略号 */
|
|
96
105
|
/* 单行显示省略号 */
|
|
97
106
|
/** 浮层箭头样式 **/
|
|
98
107
|
.hover {
|
|
99
|
-
background-color: #21242d;
|
|
100
|
-
color: #fff;
|
|
108
|
+
background-color: var(--kd-c-menu-sub-color-background, #21242d);
|
|
109
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
101
110
|
}
|
|
102
111
|
.light-hover {
|
|
103
|
-
background-color: #f2f9ff;
|
|
104
|
-
color: #276ff5;
|
|
105
|
-
border-right: 2px solid #5582f3;
|
|
112
|
+
background-color: var(--kd-c-menu-light-color-background, var(--kd-g-color-background-ongoing, #f2f9ff));
|
|
113
|
+
color: var(--kd-c-menu-light-color-hover, var(--kd-g-color-ongoing, #276ff5));
|
|
114
|
+
border-right: 2px solid var(--kd-c-menu-light-color-active, var(--kd-g-color-theme, #5582f3));
|
|
106
115
|
}
|
|
107
116
|
.light-default {
|
|
108
|
-
color: #212121;
|
|
117
|
+
color: var(--kd-c-menu-light-color, var(--kd-g-color-text-primary, #212121));
|
|
109
118
|
background: #ffffff;
|
|
110
119
|
}
|
|
111
120
|
.kd-menu {
|
|
112
121
|
position: relative;
|
|
113
122
|
width: 100%;
|
|
114
123
|
height: 100%;
|
|
115
|
-
background-color: #343848;
|
|
116
|
-
color: rgba(255, 255, 255, 0.65);
|
|
124
|
+
background-color: var(--kd-c-menu-color-background, #343848);
|
|
125
|
+
color: var(--kd-c-menu-sub-color, rgba(255, 255, 255, 0.65));
|
|
117
126
|
}
|
|
118
127
|
.kd-menu-inline .kd-menu-item {
|
|
119
128
|
white-space: nowrap;
|
|
@@ -121,51 +130,51 @@
|
|
|
121
130
|
text-overflow: ellipsis;
|
|
122
131
|
}
|
|
123
132
|
.kd-menu-inline .kd-menu-item-active {
|
|
124
|
-
color: #fff;
|
|
133
|
+
color: var(--kd-c-menu-inline-color-active, var(--kd-g-color-white, #fff));
|
|
125
134
|
}
|
|
126
135
|
.kd-menu-inline .kd-menu-submenu {
|
|
127
136
|
padding-right: 0;
|
|
128
137
|
}
|
|
129
138
|
.kd-menu-inline .kd-menu-submenu:not(.kd-menu-submenu-disabled):hover {
|
|
130
|
-
color: #fff;
|
|
139
|
+
color: var(--kd-c-menu-inline-color-active, var(--kd-g-color-white, #fff));
|
|
131
140
|
}
|
|
132
141
|
.kd-menu-vertical .kd-menu-submenu:not(.kd-menu-submenu-disabled):hover,
|
|
133
142
|
.kd-menu-vertical .kd-menu-submenu-hover {
|
|
134
|
-
background-color: #21242d;
|
|
135
|
-
color: #fff;
|
|
143
|
+
background-color: var(--kd-c-menu-sub-color-background, #21242d);
|
|
144
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
136
145
|
}
|
|
137
146
|
.kd-menu-vertical .kd-menu-submenu {
|
|
138
147
|
padding-right: 0;
|
|
139
148
|
}
|
|
140
149
|
.kd-menu-vertical .kd-menu-submenu-sub {
|
|
141
|
-
background: #21242d;
|
|
150
|
+
background: var(--kd-c-menu-sub-color-background, #21242d);
|
|
142
151
|
}
|
|
143
152
|
.kd-menu-vertical .kd-menu-submenu-sub .kd-menu-item:hover,
|
|
144
153
|
.kd-menu-vertical .kd-menu-submenu-sub .kd-menu-item-active {
|
|
145
|
-
color: #5582f3;
|
|
154
|
+
color: var(--kd-c-menu-sub-color-active, var(--kd-g-color-theme, #5582f3));
|
|
146
155
|
}
|
|
147
156
|
.kd-menu-vertical .kd-menu-submenu-sub-second,
|
|
148
157
|
.kd-menu-vertical .kd-menu-submenu-sub-third {
|
|
149
|
-
-webkit-animation: kdZoomTopLeftIn calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
150
|
-
animation: kdZoomTopLeftIn calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
158
|
+
-webkit-animation: kdZoomTopLeftIn calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
159
|
+
animation: kdZoomTopLeftIn calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
151
160
|
opacity: 1;
|
|
152
161
|
visibility: visible;
|
|
153
162
|
-webkit-transition: opacity, visibility;
|
|
154
163
|
transition: opacity, visibility;
|
|
155
|
-
-webkit-transition-duration: calc(0.3s - 0.1s);
|
|
156
|
-
transition-duration: calc(0.3s - 0.1s);
|
|
164
|
+
-webkit-transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
165
|
+
transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
157
166
|
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
158
167
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
159
168
|
}
|
|
160
169
|
.kd-menu-vertical .kd-menu-submenu-sub-hide {
|
|
161
170
|
opacity: 0;
|
|
162
171
|
visibility: hidden;
|
|
163
|
-
-webkit-animation: kdZoomTopLeftOut calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
164
|
-
animation: kdZoomTopLeftOut calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
172
|
+
-webkit-animation: kdZoomTopLeftOut calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
173
|
+
animation: kdZoomTopLeftOut calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
|
|
165
174
|
-webkit-transition: opacity, visibility;
|
|
166
175
|
transition: opacity, visibility;
|
|
167
|
-
-webkit-transition-duration: calc(0.3s - 0.1s);
|
|
168
|
-
transition-duration: calc(0.3s - 0.1s);
|
|
176
|
+
-webkit-transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
177
|
+
transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
169
178
|
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
170
179
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
171
180
|
}
|
|
@@ -173,43 +182,43 @@
|
|
|
173
182
|
width: 50px;
|
|
174
183
|
}
|
|
175
184
|
.kd-menu-light {
|
|
176
|
-
color: #212121;
|
|
185
|
+
color: var(--kd-c-menu-light-color, var(--kd-g-color-text-primary, #212121));
|
|
177
186
|
background: #ffffff;
|
|
178
187
|
}
|
|
179
188
|
.kd-menu-light .kd-menu-submenu-hover,
|
|
180
189
|
.kd-menu-light .kd-menu-submenu-sub {
|
|
181
|
-
color: #212121;
|
|
190
|
+
color: var(--kd-c-menu-light-color, var(--kd-g-color-text-primary, #212121));
|
|
182
191
|
background: #ffffff;
|
|
183
192
|
}
|
|
184
193
|
.kd-menu-light .kd-menu-submenu-title:hover {
|
|
185
|
-
color: #276ff5;
|
|
194
|
+
color: var(--kd-c-menu-light-color-hover, var(--kd-g-color-ongoing, #276ff5));
|
|
186
195
|
}
|
|
187
196
|
.kd-menu-light .kd-menu-submenu:not(.kd-menu-submenu-disabled):hover {
|
|
188
|
-
color: #212121;
|
|
197
|
+
color: var(--kd-c-menu-light-color, var(--kd-g-color-text-primary, #212121));
|
|
189
198
|
background: #ffffff;
|
|
190
199
|
}
|
|
191
200
|
.kd-menu-light .kd-menu-item-active {
|
|
192
|
-
background-color: #f2f9ff;
|
|
193
|
-
color: #276ff5;
|
|
194
|
-
border-right: 2px solid #5582f3;
|
|
201
|
+
background-color: var(--kd-c-menu-light-color-background, var(--kd-g-color-background-ongoing, #f2f9ff));
|
|
202
|
+
color: var(--kd-c-menu-light-color-hover, var(--kd-g-color-ongoing, #276ff5));
|
|
203
|
+
border-right: 2px solid var(--kd-c-menu-light-color-active, var(--kd-g-color-theme, #5582f3));
|
|
195
204
|
}
|
|
196
205
|
.kd-menu-light .kd-menu-item:not(.kd-menu-item-disabled):hover {
|
|
197
|
-
background-color: #f2f9ff;
|
|
198
|
-
color: #276ff5;
|
|
199
|
-
border-right: 2px solid #5582f3;
|
|
206
|
+
background-color: var(--kd-c-menu-light-color-background, var(--kd-g-color-background-ongoing, #f2f9ff));
|
|
207
|
+
color: var(--kd-c-menu-light-color-hover, var(--kd-g-color-ongoing, #276ff5));
|
|
208
|
+
border-right: 2px solid var(--kd-c-menu-light-color-active, var(--kd-g-color-theme, #5582f3));
|
|
200
209
|
}
|
|
201
210
|
.kd-menu-light.kd-menu-vertical .kd-menu-submenu-sub {
|
|
202
211
|
-webkit-box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
203
212
|
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
204
213
|
}
|
|
205
214
|
.kd-menu-light.kd-menu-vertical .kd-menu-item:not(.kd-menu-item-disabled):not(.kd-menu-item-active):hover {
|
|
206
|
-
color: #276ff5;
|
|
215
|
+
color: var(--kd-c-menu-light-color-hover, var(--kd-g-color-ongoing, #276ff5));
|
|
207
216
|
background: #fff;
|
|
208
217
|
border: none;
|
|
209
218
|
}
|
|
210
219
|
.kd-menu-light.kd-menu-vertical .kd-menu-item-active {
|
|
211
|
-
color: #5582f3;
|
|
212
|
-
background-color: #f2f9ff;
|
|
220
|
+
color: var(--kd-c-menu-light-color-active, var(--kd-g-color-theme, #5582f3));
|
|
221
|
+
background-color: var(--kd-c-menu-light-color-background, var(--kd-g-color-background-ongoing, #f2f9ff));
|
|
213
222
|
border: none !important;
|
|
214
223
|
}
|
|
215
224
|
.kd-menu-item {
|
|
@@ -217,8 +226,8 @@
|
|
|
217
226
|
cursor: pointer;
|
|
218
227
|
-webkit-transition: color, background-color;
|
|
219
228
|
transition: color, background-color;
|
|
220
|
-
-webkit-transition-duration: calc(0.3s - 0.1s);
|
|
221
|
-
transition-duration: calc(0.3s - 0.1s);
|
|
229
|
+
-webkit-transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
230
|
+
transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
222
231
|
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
223
232
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
224
233
|
}
|
|
@@ -241,8 +250,8 @@
|
|
|
241
250
|
}
|
|
242
251
|
.kd-menu-item-title > span {
|
|
243
252
|
opacity: 1;
|
|
244
|
-
-webkit-transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
245
|
-
transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
253
|
+
-webkit-transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
254
|
+
transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
246
255
|
}
|
|
247
256
|
.kd-menu-item-collapsed {
|
|
248
257
|
padding: 0;
|
|
@@ -256,20 +265,20 @@
|
|
|
256
265
|
.kd-menu-item-collapsed .kd-menu-item-title > span,
|
|
257
266
|
.kd-menu-item-collapsed .kd-menu-submenu-title > span {
|
|
258
267
|
opacity: 0;
|
|
259
|
-
-webkit-transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
260
|
-
transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
268
|
+
-webkit-transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
269
|
+
transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
261
270
|
}
|
|
262
271
|
.kd-menu-item-icon {
|
|
263
272
|
margin: 0 15px;
|
|
264
|
-
font-size: 20px;
|
|
273
|
+
font-size: var(--kd-c-menu-icon-font-size, var(--kd-g-font-size-xx-large, 20px));
|
|
265
274
|
}
|
|
266
275
|
.kd-menu-item-disabled {
|
|
267
276
|
cursor: not-allowed;
|
|
268
|
-
color: #b2b2b2;
|
|
277
|
+
color: var(--kd-c-menu-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
269
278
|
}
|
|
270
279
|
.kd-menu-item-active {
|
|
271
|
-
background-color: #21242d;
|
|
272
|
-
color: #fff;
|
|
280
|
+
background-color: var(--kd-c-menu-sub-color-background, #21242d);
|
|
281
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
273
282
|
}
|
|
274
283
|
.kd-menu-item-arrow {
|
|
275
284
|
margin-left: auto;
|
|
@@ -278,30 +287,30 @@
|
|
|
278
287
|
.kd-menu-item-arrow-up {
|
|
279
288
|
-webkit-transform: rotate(180deg);
|
|
280
289
|
transform: rotate(180deg);
|
|
281
|
-
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
282
|
-
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
283
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
284
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
290
|
+
-webkit-transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
291
|
+
transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
292
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
293
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1), -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
285
294
|
}
|
|
286
295
|
.kd-menu-item-arrow-down {
|
|
287
296
|
-webkit-transform: rotate(0deg);
|
|
288
297
|
transform: rotate(0deg);
|
|
289
|
-
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
290
|
-
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
291
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
292
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
298
|
+
-webkit-transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
299
|
+
transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
300
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
301
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
293
302
|
}
|
|
294
303
|
.kd-menu-item:not(.kd-menu-item-disabled):hover {
|
|
295
|
-
background-color: #21242d;
|
|
296
|
-
color: #fff;
|
|
304
|
+
background-color: var(--kd-c-menu-sub-color-background, #21242d);
|
|
305
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
297
306
|
}
|
|
298
307
|
.kd-menu-submenu {
|
|
299
308
|
position: static;
|
|
300
309
|
cursor: pointer;
|
|
301
310
|
-webkit-transition: color, background-color;
|
|
302
311
|
transition: color, background-color;
|
|
303
|
-
-webkit-transition-duration: calc(0.3s - 0.1s);
|
|
304
|
-
transition-duration: calc(0.3s - 0.1s);
|
|
312
|
+
-webkit-transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
313
|
+
transition-duration: calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s);
|
|
305
314
|
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
306
315
|
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
307
316
|
}
|
|
@@ -324,8 +333,8 @@
|
|
|
324
333
|
}
|
|
325
334
|
.kd-menu-submenu-title > span {
|
|
326
335
|
opacity: 1;
|
|
327
|
-
-webkit-transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
328
|
-
transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
336
|
+
-webkit-transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
337
|
+
transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
329
338
|
}
|
|
330
339
|
.kd-menu-submenu-collapsed {
|
|
331
340
|
padding: 0;
|
|
@@ -339,20 +348,20 @@
|
|
|
339
348
|
.kd-menu-submenu-collapsed .kd-menu-item-title > span,
|
|
340
349
|
.kd-menu-submenu-collapsed .kd-menu-submenu-title > span {
|
|
341
350
|
opacity: 0;
|
|
342
|
-
-webkit-transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
343
|
-
transition: opacity calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
351
|
+
-webkit-transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
352
|
+
transition: opacity calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
344
353
|
}
|
|
345
354
|
.kd-menu-submenu-icon {
|
|
346
355
|
margin: 0 15px;
|
|
347
|
-
font-size: 20px;
|
|
356
|
+
font-size: var(--kd-c-menu-icon-font-size, var(--kd-g-font-size-xx-large, 20px));
|
|
348
357
|
}
|
|
349
358
|
.kd-menu-submenu-disabled {
|
|
350
359
|
cursor: not-allowed;
|
|
351
|
-
color: #b2b2b2;
|
|
360
|
+
color: var(--kd-c-menu-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
352
361
|
}
|
|
353
362
|
.kd-menu-submenu-active {
|
|
354
|
-
background-color: #21242d;
|
|
355
|
-
color: #fff;
|
|
363
|
+
background-color: var(--kd-c-menu-sub-color-background, #21242d);
|
|
364
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
356
365
|
}
|
|
357
366
|
.kd-menu-submenu-arrow {
|
|
358
367
|
margin-left: auto;
|
|
@@ -361,25 +370,25 @@
|
|
|
361
370
|
.kd-menu-submenu-arrow-up {
|
|
362
371
|
-webkit-transform: rotate(180deg);
|
|
363
372
|
transform: rotate(180deg);
|
|
364
|
-
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
365
|
-
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
366
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
367
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0
|
|
373
|
+
-webkit-transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
374
|
+
transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
375
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
376
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1), -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
368
377
|
}
|
|
369
378
|
.kd-menu-submenu-arrow-down {
|
|
370
379
|
-webkit-transform: rotate(0deg);
|
|
371
380
|
transform: rotate(0deg);
|
|
372
|
-
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
373
|
-
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
374
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
375
|
-
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
381
|
+
-webkit-transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
382
|
+
transition: -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
383
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
384
|
+
transition: transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(var(--kd-c-menu-motion-duration, var(--kd-g-duration, 0.3s)) - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
376
385
|
}
|
|
377
386
|
.kd-menu-submenu-hover {
|
|
378
|
-
color: #fff;
|
|
387
|
+
color: var(--kd-c-menu-sub-color-hover, var(--kd-g-color-white, #fff));
|
|
379
388
|
}
|
|
380
389
|
.kd-menu-submenu-sub {
|
|
381
|
-
line-height: 50px;
|
|
382
|
-
color: rgba(255, 255, 255, 0.65);
|
|
390
|
+
line-height: var(--kd-c-menu-item-sizing-height, 50px);
|
|
391
|
+
color: var(--kd-c-menu-sub-color, rgba(255, 255, 255, 0.65));
|
|
383
392
|
}
|
|
384
393
|
.kd-menu-submenu-thrid {
|
|
385
394
|
display: -webkit-box;
|
|
@@ -388,12 +397,12 @@
|
|
|
388
397
|
max-width: 810px;
|
|
389
398
|
max-height: 492px;
|
|
390
399
|
padding-left: 24px;
|
|
391
|
-
background: #21242d;
|
|
400
|
+
background: var(--kd-c-menu-sub-color-background, #21242d);
|
|
392
401
|
-ms-flex-wrap: wrap;
|
|
393
402
|
flex-wrap: wrap;
|
|
394
403
|
overflow-y: auto;
|
|
395
404
|
cursor: default;
|
|
396
|
-
z-index: 1050;
|
|
405
|
+
z-index: var(--kd-c-menu-z-index, var(--kd-g-z-index-dialog, 1050));
|
|
397
406
|
}
|
|
398
407
|
.kd-menu-submenu-thrid-item {
|
|
399
408
|
margin-right: 40px;
|
|
@@ -460,7 +469,7 @@
|
|
|
460
469
|
text-overflow: ellipsis;
|
|
461
470
|
}
|
|
462
471
|
.kd-menu-submenu-thrid-list > li:hover {
|
|
463
|
-
color: #5582f3;
|
|
472
|
+
color: var(--kd-c-menu-sub-color-active, var(--kd-g-color-theme, #5582f3));
|
|
464
473
|
}
|
|
465
474
|
.kd-menu-submenu-thrid-list > li > span {
|
|
466
475
|
white-space: nowrap;
|
|
@@ -471,5 +480,5 @@
|
|
|
471
480
|
height: auto;
|
|
472
481
|
}
|
|
473
482
|
.kd-menu-submenu-thrid-list > .kd-menu-item-active {
|
|
474
|
-
color: #5582f3;
|
|
483
|
+
color: var(--kd-c-menu-sub-color-active, var(--kd-g-color-theme, #5582f3));
|
|
475
484
|
}
|
package/es/menu/style/index.less
CHANGED
|
@@ -14,14 +14,16 @@
|
|
|
14
14
|
.ellipsis();
|
|
15
15
|
|
|
16
16
|
&-active {
|
|
17
|
-
color: @
|
|
17
|
+
color: @menu-inline-color-active;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
|
|
20
21
|
.@{submenu-prefix-cls} {
|
|
21
22
|
padding-right: 0;
|
|
22
23
|
}
|
|
24
|
+
|
|
23
25
|
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
24
|
-
color: @
|
|
26
|
+
color: @menu-inline-color-active;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
|
|
@@ -30,32 +32,37 @@
|
|
|
30
32
|
.@{submenu-prefix-cls}-hover {
|
|
31
33
|
.hover();
|
|
32
34
|
}
|
|
35
|
+
|
|
33
36
|
.@{submenu-prefix-cls} {
|
|
34
37
|
padding-right: 0;
|
|
38
|
+
|
|
35
39
|
&-sub {
|
|
36
|
-
background: @menu-
|
|
40
|
+
background: @menu-sub-color-background;
|
|
41
|
+
|
|
37
42
|
.@{menuitem-prefix-cls} {
|
|
38
43
|
&:hover,
|
|
39
44
|
&-active {
|
|
40
|
-
color: @
|
|
45
|
+
color: @menu-sub-color-active;
|
|
41
46
|
}
|
|
42
47
|
}
|
|
48
|
+
|
|
43
49
|
&-second,
|
|
44
50
|
&-third {
|
|
45
|
-
animation: kdZoomTopLeftIn calc(@
|
|
51
|
+
animation: kdZoomTopLeftIn calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1) forwards;
|
|
46
52
|
opacity: 1;
|
|
47
53
|
visibility: visible;
|
|
48
54
|
transition: opacity, visibility;
|
|
49
|
-
transition-duration: calc(@
|
|
50
|
-
transition-timing-function:
|
|
55
|
+
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
56
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
51
57
|
}
|
|
58
|
+
|
|
52
59
|
&-hide {
|
|
53
60
|
opacity: 0;
|
|
54
61
|
visibility: hidden;
|
|
55
|
-
animation: kdZoomTopLeftOut calc(@
|
|
62
|
+
animation: kdZoomTopLeftOut calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1) forwards;
|
|
56
63
|
transition: opacity, visibility;
|
|
57
|
-
transition-duration: calc(@
|
|
58
|
-
transition-timing-function:
|
|
64
|
+
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
65
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
68
|
}
|
|
@@ -67,39 +74,47 @@
|
|
|
67
74
|
|
|
68
75
|
&-light {
|
|
69
76
|
.light-default;
|
|
77
|
+
|
|
70
78
|
.@{submenu-prefix-cls}-hover,
|
|
71
79
|
.@{submenu-prefix-cls}-sub {
|
|
72
80
|
.light-default;
|
|
73
81
|
}
|
|
82
|
+
|
|
74
83
|
.@{submenu-prefix-cls}-title:hover {
|
|
75
|
-
color: @
|
|
84
|
+
color: @menu-light-color-hover;
|
|
76
85
|
}
|
|
86
|
+
|
|
77
87
|
.@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):hover {
|
|
78
88
|
.light-default;
|
|
79
89
|
}
|
|
90
|
+
|
|
80
91
|
.@{menuitem-prefix-cls} {
|
|
81
92
|
&-active {
|
|
82
93
|
.light-hover();
|
|
83
94
|
}
|
|
84
95
|
}
|
|
96
|
+
|
|
85
97
|
.@{menuitem-prefix-cls}:not(.@{menuitem-prefix-cls}-disabled):hover {
|
|
86
98
|
.light-hover();
|
|
87
99
|
}
|
|
88
100
|
}
|
|
101
|
+
|
|
89
102
|
&-light&-vertical {
|
|
90
103
|
.@{submenu-prefix-cls}-sub {
|
|
91
104
|
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
92
|
-
|
|
105
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
93
106
|
}
|
|
107
|
+
|
|
94
108
|
.@{menuitem-prefix-cls} {
|
|
95
109
|
&:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover {
|
|
96
|
-
color: @
|
|
110
|
+
color: @menu-light-color-hover;
|
|
97
111
|
background: #fff;
|
|
98
112
|
border: none;
|
|
99
113
|
}
|
|
114
|
+
|
|
100
115
|
&-active {
|
|
101
|
-
color: @
|
|
102
|
-
background-color: @
|
|
116
|
+
color: @menu-light-color-active;
|
|
117
|
+
background-color: @menu-light-color-background;
|
|
103
118
|
border: none !important;
|
|
104
119
|
}
|
|
105
120
|
}
|
|
@@ -110,8 +125,9 @@
|
|
|
110
125
|
.menuItem(relative);
|
|
111
126
|
|
|
112
127
|
transition: color, background-color;
|
|
113
|
-
transition-duration: calc(@
|
|
114
|
-
transition-timing-function:
|
|
128
|
+
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
129
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
130
|
+
|
|
115
131
|
&:not(&-disabled):hover {
|
|
116
132
|
.hover();
|
|
117
133
|
}
|
|
@@ -121,15 +137,16 @@
|
|
|
121
137
|
.menuItem();
|
|
122
138
|
|
|
123
139
|
transition: color, background-color;
|
|
124
|
-
transition-duration: calc(@
|
|
125
|
-
transition-timing-function:
|
|
140
|
+
transition-duration: calc(@menu-motion-duration - 0.1s);
|
|
141
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
142
|
+
|
|
126
143
|
&-hover {
|
|
127
|
-
color: @
|
|
144
|
+
color: @menu-sub-color-hover;
|
|
128
145
|
}
|
|
129
146
|
|
|
130
147
|
&-sub {
|
|
131
|
-
line-height: @menu-item-
|
|
132
|
-
color: @menu-
|
|
148
|
+
line-height: @menu-item-height;
|
|
149
|
+
color: @menu-sub-color;
|
|
133
150
|
}
|
|
134
151
|
|
|
135
152
|
&-thrid {
|
|
@@ -137,14 +154,16 @@
|
|
|
137
154
|
max-width: 810px;
|
|
138
155
|
max-height: 492px;
|
|
139
156
|
padding-left: 24px;
|
|
140
|
-
background: @menu-
|
|
157
|
+
background: @menu-sub-color-background;
|
|
141
158
|
flex-wrap: wrap;
|
|
142
159
|
overflow-y: auto;
|
|
143
160
|
cursor: default;
|
|
144
|
-
z-index: @
|
|
161
|
+
z-index: @menu-z-index;
|
|
162
|
+
|
|
145
163
|
&-item {
|
|
146
164
|
margin-right: 40px;
|
|
147
165
|
}
|
|
166
|
+
|
|
148
167
|
&-title {
|
|
149
168
|
line-height: 50px;
|
|
150
169
|
font-size: 12px;
|
|
@@ -155,10 +174,12 @@
|
|
|
155
174
|
align-items: center;
|
|
156
175
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
157
176
|
.ellipsis();
|
|
177
|
+
|
|
158
178
|
& > span {
|
|
159
179
|
.ellipsis();
|
|
160
180
|
}
|
|
161
181
|
}
|
|
182
|
+
|
|
162
183
|
&-list {
|
|
163
184
|
list-style-type: none;
|
|
164
185
|
padding: 0;
|
|
@@ -168,6 +189,7 @@
|
|
|
168
189
|
margin-bottom: 20px;
|
|
169
190
|
margin-top: 10px;
|
|
170
191
|
height: 180px;
|
|
192
|
+
|
|
171
193
|
& > li {
|
|
172
194
|
width: 160px;
|
|
173
195
|
margin: 8px 0;
|
|
@@ -179,19 +201,22 @@
|
|
|
179
201
|
justify-content: space-between;
|
|
180
202
|
cursor: pointer;
|
|
181
203
|
.ellipsis();
|
|
204
|
+
|
|
182
205
|
&:hover {
|
|
183
|
-
color: @
|
|
206
|
+
color: @menu-sub-color-active;
|
|
184
207
|
}
|
|
208
|
+
|
|
185
209
|
& > span {
|
|
186
210
|
.ellipsis();
|
|
187
211
|
}
|
|
212
|
+
|
|
188
213
|
.@{menuitem-prefix-cls}-title {
|
|
189
214
|
height: auto;
|
|
190
215
|
}
|
|
191
216
|
}
|
|
192
217
|
|
|
193
218
|
& > .@{menuitem-prefix-cls}-active {
|
|
194
|
-
color: @
|
|
219
|
+
color: @menu-sub-color-active;
|
|
195
220
|
}
|
|
196
221
|
}
|
|
197
222
|
}
|
package/es/menu/style/mixin.less
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
@import './token.less';
|
|
2
|
+
|
|
1
3
|
// 菜单默认样式
|
|
2
4
|
.menu() {
|
|
3
5
|
position: relative;
|
|
4
6
|
width: 100%;
|
|
5
7
|
height: 100%;
|
|
6
|
-
background-color: @menu-
|
|
7
|
-
color: @menu-
|
|
8
|
+
background-color: @menu-color-background;
|
|
9
|
+
color: @menu-sub-color;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
.menuItem(@positionStyle: static) {
|
|
@@ -17,7 +19,7 @@
|
|
|
17
19
|
|
|
18
20
|
&-title > span {
|
|
19
21
|
opacity: 1;
|
|
20
|
-
transition: opacity calc(@
|
|
22
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0,.4,.4,1);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
&-collapsed {
|
|
@@ -34,19 +36,19 @@
|
|
|
34
36
|
|
|
35
37
|
& > span {
|
|
36
38
|
opacity: 0;
|
|
37
|
-
transition: opacity calc(@
|
|
39
|
+
transition: opacity calc(@menu-motion-duration - 0.1s) cubic-bezier(0,.4,.4,1);
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
&-icon {
|
|
43
45
|
margin: 0 15px;
|
|
44
|
-
font-size: @menu-icon-size;
|
|
46
|
+
font-size: @menu-icon-font-size;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
&-disabled {
|
|
48
50
|
cursor: not-allowed;
|
|
49
|
-
color: @
|
|
51
|
+
color: @menu-color-disabled;
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
&-active {
|
|
@@ -58,34 +60,29 @@
|
|
|
58
60
|
font-size: 16px;
|
|
59
61
|
&-up {
|
|
60
62
|
transform: rotate(180deg);
|
|
61
|
-
transition: transform calc(@
|
|
63
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0,.4,.4,1);
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
&-down {
|
|
65
67
|
transform: rotate(0deg);
|
|
66
|
-
transition: transform calc(@
|
|
68
|
+
transition: transform calc(@menu-motion-duration - 0.1s) cubic-bezier(0.4,0,0.6,1);
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
.hover {
|
|
72
|
-
background-color: @menu-
|
|
73
|
-
color: @
|
|
74
|
+
background-color: @menu-sub-color-background;
|
|
75
|
+
color: @menu-sub-color-hover;
|
|
74
76
|
}
|
|
75
77
|
|
|
76
|
-
@lightColor: #212121;
|
|
77
|
-
@lightHoverColor: #276ff5;
|
|
78
|
-
@lightActiveColor: #5582f3;
|
|
79
|
-
@lightBgColor: #f2f9ff;
|
|
80
|
-
|
|
81
78
|
.light-hover {
|
|
82
|
-
background-color: @
|
|
83
|
-
color: @
|
|
84
|
-
border-right: 2px solid @
|
|
79
|
+
background-color: @menu-light-color-background;
|
|
80
|
+
color: @menu-light-color-hover;
|
|
81
|
+
border-right: 2px solid @menu-light-color-active;
|
|
85
82
|
}
|
|
86
83
|
|
|
87
84
|
.light-default {
|
|
88
|
-
color: @
|
|
85
|
+
color: @menu-light-color;
|
|
89
86
|
background: #ffffff;
|
|
90
87
|
}
|
|
91
88
|
|