@wangxinowo/vue-datepicker-next 1.0.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/README.md +104 -0
- package/dist/vue-datepicker-next.min.css +3560 -0
- package/dist/vue-datepicker-next.min.js +11 -0
- package/package.json +84 -0
- package/src/components/_util/BaseMixin.js +40 -0
- package/src/components/_util/ContainerRender.jsx +98 -0
- package/src/components/_util/FormDecoratorDirective.js +10 -0
- package/src/components/_util/KeyCode.js +521 -0
- package/src/components/_util/Portal.js +51 -0
- package/src/components/_util/PortalWrapper.js +156 -0
- package/src/components/_util/StateMixin.js +10 -0
- package/src/components/_util/__tests__/easings.test.js +13 -0
- package/src/components/_util/__tests__/scrollTo.test.js +56 -0
- package/src/components/_util/antDirective.js +13 -0
- package/src/components/_util/antInputDirective.js +73 -0
- package/src/components/_util/callMoment.js +4 -0
- package/src/components/_util/colors.js +17 -0
- package/src/components/_util/createChainedFunction.js +22 -0
- package/src/components/_util/css-animation/Event.js +130 -0
- package/src/components/_util/css-animation/index.js +184 -0
- package/src/components/_util/easings.js +8 -0
- package/src/components/_util/env.js +14 -0
- package/src/components/_util/getLocale.js +30 -0
- package/src/components/_util/getRequestAnimationFrame.js +46 -0
- package/src/components/_util/getScroll.js +17 -0
- package/src/components/_util/getScrollBarSize.js +38 -0
- package/src/components/_util/getTransitionProps.js +34 -0
- package/src/components/_util/interopDefault.js +4 -0
- package/src/components/_util/isCssAnimationSupported.js +24 -0
- package/src/components/_util/isFlexSupported.js +12 -0
- package/src/components/_util/isNumeric.js +4 -0
- package/src/components/_util/isValid.js +4 -0
- package/src/components/_util/moment-util.js +75 -0
- package/src/components/_util/openAnimation.js +67 -0
- package/src/components/_util/portalDirective.js +24 -0
- package/src/components/_util/props-util.js +335 -0
- package/src/components/_util/proxyComponent.jsx +58 -0
- package/src/components/_util/raf.js +32 -0
- package/src/components/_util/requestAnimationTimeout.js +23 -0
- package/src/components/_util/responsiveObserve.js +94 -0
- package/src/components/_util/scrollTo.js +37 -0
- package/src/components/_util/setStyle.js +25 -0
- package/src/components/_util/store/PropTypes.js +7 -0
- package/src/components/_util/store/Provider.jsx +15 -0
- package/src/components/_util/store/connect.jsx +106 -0
- package/src/components/_util/store/create.js +30 -0
- package/src/components/_util/store/index.js +5 -0
- package/src/components/_util/styleChecker.js +13 -0
- package/src/components/_util/switchScrollingEffect.js +20 -0
- package/src/components/_util/throttleByAnimationFrame.js +45 -0
- package/src/components/_util/transButton.jsx +81 -0
- package/src/components/_util/triggerEvent.js +8 -0
- package/src/components/_util/type.js +4 -0
- package/src/components/_util/vnode.js +147 -0
- package/src/components/_util/vue-types/index.js +263 -0
- package/src/components/_util/vue-types/utils.js +200 -0
- package/src/components/_util/warning.js +7 -0
- package/src/components/_util/wave.jsx +169 -0
- package/src/components/base/index.js +9 -0
- package/src/components/base/style/index.js +2 -0
- package/src/components/button/__tests__/__snapshots__/demo.test.js.snap +103 -0
- package/src/components/button/__tests__/__snapshots__/index.test.js.snap +43 -0
- package/src/components/button/__tests__/demo.test.js +3 -0
- package/src/components/button/__tests__/index.test.js +239 -0
- package/src/components/button/button-group.jsx +52 -0
- package/src/components/button/button.jsx +186 -0
- package/src/components/button/buttonTypes.js +13 -0
- package/src/components/button/index.js +14 -0
- package/src/components/button/style/index.js +2 -0
- package/src/components/button/style/index.less +224 -0
- package/src/components/button/style/mixin.less +357 -0
- package/src/components/calendar/locale/en_US.js +2 -0
- package/src/components/config-provider/__tests__/index.test.js +44 -0
- package/src/components/config-provider/configConsumerProps.jsx +9 -0
- package/src/components/config-provider/index.jsx +91 -0
- package/src/components/config-provider/renderEmpty.jsx +42 -0
- package/src/components/config-provider/style/index.js +1 -0
- package/src/components/config-provider/style/index.less +2 -0
- package/src/components/date-picker/InputIcon.js +20 -0
- package/src/components/date-picker/PresetPanel.jsx +102 -0
- package/src/components/date-picker/RangePicker.jsx +1010 -0
- package/src/components/date-picker/WeekPicker.jsx +235 -0
- package/src/components/date-picker/__tests__/DatePicker.test.js +189 -0
- package/src/components/date-picker/__tests__/MonthPicker.test.js +29 -0
- package/src/components/date-picker/__tests__/RangePicker.test.js +417 -0
- package/src/components/date-picker/__tests__/WeekPicker.test.js +24 -0
- package/src/components/date-picker/__tests__/__snapshots__/DatePicker.test.js.snap +3 -0
- package/src/components/date-picker/__tests__/__snapshots__/RangePicker.test.js.snap +695 -0
- package/src/components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap +3 -0
- package/src/components/date-picker/__tests__/__snapshots__/demo.test.js.snap +49 -0
- package/src/components/date-picker/__tests__/__snapshots__/other.test.js.snap +240 -0
- package/src/components/date-picker/__tests__/demo.test.js +3 -0
- package/src/components/date-picker/__tests__/mount.test.js +11 -0
- package/src/components/date-picker/__tests__/other.test.js +88 -0
- package/src/components/date-picker/__tests__/showTime.test.js +234 -0
- package/src/components/date-picker/__tests__/utils.js +34 -0
- package/src/components/date-picker/createPicker.js +273 -0
- package/src/components/date-picker/generate/dayjs.js +438 -0
- package/src/components/date-picker/generate/index.js +125 -0
- package/src/components/date-picker/generate/moment.js +357 -0
- package/src/components/date-picker/index.js +37 -0
- package/src/components/date-picker/interface.js +172 -0
- package/src/components/date-picker/locale/ar_EG.js +23 -0
- package/src/components/date-picker/locale/bg_BG.js +19 -0
- package/src/components/date-picker/locale/ca_ES.js +19 -0
- package/src/components/date-picker/locale/cs_CZ.js +19 -0
- package/src/components/date-picker/locale/da_DK.js +19 -0
- package/src/components/date-picker/locale/de_DE.js +19 -0
- package/src/components/date-picker/locale/el_GR.js +19 -0
- package/src/components/date-picker/locale/en_GB.js +19 -0
- package/src/components/date-picker/locale/en_US.js +19 -0
- package/src/components/date-picker/locale/es_ES.js +19 -0
- package/src/components/date-picker/locale/et_EE.js +19 -0
- package/src/components/date-picker/locale/example.json +39 -0
- package/src/components/date-picker/locale/fa_IR.js +19 -0
- package/src/components/date-picker/locale/fi_FI.js +19 -0
- package/src/components/date-picker/locale/fr_BE.js +19 -0
- package/src/components/date-picker/locale/fr_FR.js +19 -0
- package/src/components/date-picker/locale/ga_IE.js +19 -0
- package/src/components/date-picker/locale/he_IL.js +19 -0
- package/src/components/date-picker/locale/hi_IN.js +19 -0
- package/src/components/date-picker/locale/hr_HR.js +19 -0
- package/src/components/date-picker/locale/hu_HU.js +19 -0
- package/src/components/date-picker/locale/id_ID.js +19 -0
- package/src/components/date-picker/locale/is_IS.js +19 -0
- package/src/components/date-picker/locale/it_IT.js +19 -0
- package/src/components/date-picker/locale/ja_JP.js +18 -0
- package/src/components/date-picker/locale/kn_IN.js +19 -0
- package/src/components/date-picker/locale/ko_KR.js +19 -0
- package/src/components/date-picker/locale/ku_IQ.js +18 -0
- package/src/components/date-picker/locale/lv_LV.js +19 -0
- package/src/components/date-picker/locale/mk_MK.js +19 -0
- package/src/components/date-picker/locale/mn_MN.js +19 -0
- package/src/components/date-picker/locale/ms_MY.js +19 -0
- package/src/components/date-picker/locale/nb_NO.js +19 -0
- package/src/components/date-picker/locale/nl_BE.js +19 -0
- package/src/components/date-picker/locale/nl_NL.js +19 -0
- package/src/components/date-picker/locale/pl_PL.js +19 -0
- package/src/components/date-picker/locale/pt_BR.js +19 -0
- package/src/components/date-picker/locale/pt_PT.js +46 -0
- package/src/components/date-picker/locale/ro_RO.js +19 -0
- package/src/components/date-picker/locale/ru_RU.js +22 -0
- package/src/components/date-picker/locale/sk_SK.js +19 -0
- package/src/components/date-picker/locale/sl_SI.js +43 -0
- package/src/components/date-picker/locale/sr_RS.js +19 -0
- package/src/components/date-picker/locale/sv_SE.js +18 -0
- package/src/components/date-picker/locale/ta_IN.js +20 -0
- package/src/components/date-picker/locale/th_TH.js +19 -0
- package/src/components/date-picker/locale/tr_TR.js +19 -0
- package/src/components/date-picker/locale/uk_UA.js +18 -0
- package/src/components/date-picker/locale/vi_VN.js +19 -0
- package/src/components/date-picker/locale/zh_CN.js +21 -0
- package/src/components/date-picker/locale/zh_TW.js +20 -0
- package/src/components/date-picker/statusUtils.js +53 -0
- package/src/components/date-picker/style/Calendar.less +402 -0
- package/src/components/date-picker/style/DecadePanel.less +81 -0
- package/src/components/date-picker/style/MonthPanel.less +86 -0
- package/src/components/date-picker/style/MonthPicker.less +11 -0
- package/src/components/date-picker/style/Picker.less +113 -0
- package/src/components/date-picker/style/RangePicker.less +327 -0
- package/src/components/date-picker/style/TimePicker.less +151 -0
- package/src/components/date-picker/style/WeekPicker.less +21 -0
- package/src/components/date-picker/style/YearPanel.less +93 -0
- package/src/components/date-picker/style/index.js +8 -0
- package/src/components/date-picker/style/index.less +20 -0
- package/src/components/date-picker/style/presets.less +69 -0
- package/src/components/date-picker/style/status.less +94 -0
- package/src/components/date-picker/style/transitions.less +176 -0
- package/src/components/date-picker/utils.js +209 -0
- package/src/components/date-picker/wrapPicker.js +258 -0
- package/src/components/empty/__tests__/__snapshots__/demo.test.js.snap +195 -0
- package/src/components/empty/__tests__/demo.test.js +3 -0
- package/src/components/empty/__tests__/index.test.js +25 -0
- package/src/components/empty/empty.jsx +47 -0
- package/src/components/empty/index.jsx +78 -0
- package/src/components/empty/simple.jsx +20 -0
- package/src/components/empty/style/index.js +2 -0
- package/src/components/empty/style/index.less +52 -0
- package/src/components/icon/IconFont.jsx +52 -0
- package/src/components/icon/__tests__/__snapshots__/demo.test.js.snap +671 -0
- package/src/components/icon/__tests__/__snapshots__/index.test.js.snap +77 -0
- package/src/components/icon/__tests__/demo.test.js +3 -0
- package/src/components/icon/__tests__/index.test.js +236 -0
- package/src/components/icon/index.js +185 -0
- package/src/components/icon/style/index.js +2 -0
- package/src/components/icon/style/index.less +4 -0
- package/src/components/icon/twoTonePrimaryColor.js +12 -0
- package/src/components/icon/utils.js +77 -0
- package/src/components/input/ClearableLabeledInput.jsx +182 -0
- package/src/components/input/Group.jsx +41 -0
- package/src/components/input/Input.jsx +240 -0
- package/src/components/input/Password.jsx +117 -0
- package/src/components/input/ResizableTextArea.jsx +158 -0
- package/src/components/input/Search.jsx +185 -0
- package/src/components/input/TextArea.jsx +131 -0
- package/src/components/input/__tests__/Search.test.js +134 -0
- package/src/components/input/__tests__/__snapshots__/Search.test.js.snap +5 -0
- package/src/components/input/__tests__/__snapshots__/demo.test.js.snap +86 -0
- package/src/components/input/__tests__/__snapshots__/index.test.js.snap +9 -0
- package/src/components/input/__tests__/demo.test.js +3 -0
- package/src/components/input/__tests__/index.test.js +124 -0
- package/src/components/input/calculateNodeHeight.js +151 -0
- package/src/components/input/index.js +27 -0
- package/src/components/input/inputProps.js +36 -0
- package/src/components/input/style/index.js +5 -0
- package/src/components/input/style/index.less +52 -0
- package/src/components/input/style/mixin.less +453 -0
- package/src/components/input/style/search-input.less +34 -0
- package/src/components/locale/ar_EG.js +43 -0
- package/src/components/locale/bg_BG.js +43 -0
- package/src/components/locale/ca_ES.js +41 -0
- package/src/components/locale/cs_CZ.js +41 -0
- package/src/components/locale/da_DK.js +43 -0
- package/src/components/locale/de_DE.js +43 -0
- package/src/components/locale/default.js +62 -0
- package/src/components/locale/el_GR.js +43 -0
- package/src/components/locale/en_GB.js +43 -0
- package/src/components/locale/en_US.js +3 -0
- package/src/components/locale/es_ES.js +59 -0
- package/src/components/locale/et_EE.js +43 -0
- package/src/components/locale/fa_IR.js +43 -0
- package/src/components/locale/fi_FI.js +44 -0
- package/src/components/locale/fr_BE.js +47 -0
- package/src/components/locale/fr_FR.js +47 -0
- package/src/components/locale/ga_IE.js +43 -0
- package/src/components/locale/he_IL.js +43 -0
- package/src/components/locale/hi_IN.js +51 -0
- package/src/components/locale/hr_HR.js +57 -0
- package/src/components/locale/hu_HU.js +44 -0
- package/src/components/locale/hy_AM.js +109 -0
- package/src/components/locale/id_ID.js +45 -0
- package/src/components/locale/is_IS.js +43 -0
- package/src/components/locale/it_IT.js +56 -0
- package/src/components/locale/ja_JP.js +43 -0
- package/src/components/locale/kn_IN.js +51 -0
- package/src/components/locale/ko_KR.js +43 -0
- package/src/components/locale/ku_IQ.js +43 -0
- package/src/components/locale/lv_LV.js +43 -0
- package/src/components/locale/mk_MK.js +58 -0
- package/src/components/locale/mn_MN.js +43 -0
- package/src/components/locale/ms_MY.js +63 -0
- package/src/components/locale/nb_NO.js +43 -0
- package/src/components/locale/ne_NP.js +44 -0
- package/src/components/locale/nl_BE.js +43 -0
- package/src/components/locale/nl_NL.js +62 -0
- package/src/components/locale/pl_PL.js +43 -0
- package/src/components/locale/pt_BR.js +49 -0
- package/src/components/locale/pt_PT.js +44 -0
- package/src/components/locale/ro_RO.js +62 -0
- package/src/components/locale/ru_RU.js +53 -0
- package/src/components/locale/sk_SK.js +62 -0
- package/src/components/locale/sl_SI.js +43 -0
- package/src/components/locale/sr_RS.js +43 -0
- package/src/components/locale/sv_SE.js +47 -0
- package/src/components/locale/ta_IN.js +63 -0
- package/src/components/locale/th_TH.js +62 -0
- package/src/components/locale/tr_TR.js +57 -0
- package/src/components/locale/uk_UA.js +43 -0
- package/src/components/locale/vi_VN.js +43 -0
- package/src/components/locale/zh_CN.js +62 -0
- package/src/components/locale/zh_TW.js +49 -0
- package/src/components/locale-provider/LocaleReceiver.jsx +43 -0
- package/src/components/locale-provider/__tests__/__snapshots__/demo.test.js.snap +434 -0
- package/src/components/locale-provider/__tests__/__snapshots__/index.test.js.snap +22618 -0
- package/src/components/locale-provider/__tests__/demo.test.js +3 -0
- package/src/components/locale-provider/__tests__/index.test.js +271 -0
- package/src/components/locale-provider/ar_EG.js +3 -0
- package/src/components/locale-provider/bg_BG.js +3 -0
- package/src/components/locale-provider/ca_ES.js +3 -0
- package/src/components/locale-provider/cs_CZ.js +3 -0
- package/src/components/locale-provider/da_DK.js +3 -0
- package/src/components/locale-provider/de_DE.js +3 -0
- package/src/components/locale-provider/default.js +3 -0
- package/src/components/locale-provider/el_GR.js +3 -0
- package/src/components/locale-provider/en_GB.js +3 -0
- package/src/components/locale-provider/en_US.js +3 -0
- package/src/components/locale-provider/es_ES.js +3 -0
- package/src/components/locale-provider/et_EE.js +3 -0
- package/src/components/locale-provider/fa_IR.js +3 -0
- package/src/components/locale-provider/fi_FI.js +3 -0
- package/src/components/locale-provider/fr_BE.js +3 -0
- package/src/components/locale-provider/fr_FR.js +3 -0
- package/src/components/locale-provider/ga_IE.js +3 -0
- package/src/components/locale-provider/he_IL.js +3 -0
- package/src/components/locale-provider/hi_IN.js +3 -0
- package/src/components/locale-provider/hr_HR.js +3 -0
- package/src/components/locale-provider/hu_HU.js +3 -0
- package/src/components/locale-provider/hy_AM.js +3 -0
- package/src/components/locale-provider/id_ID.js +3 -0
- package/src/components/locale-provider/index.jsx +82 -0
- package/src/components/locale-provider/is_IS.js +3 -0
- package/src/components/locale-provider/it_IT.js +3 -0
- package/src/components/locale-provider/ja_JP.js +3 -0
- package/src/components/locale-provider/kn_IN.js +3 -0
- package/src/components/locale-provider/ko_KR.js +3 -0
- package/src/components/locale-provider/ku_IQ.js +3 -0
- package/src/components/locale-provider/lv_LV.js +3 -0
- package/src/components/locale-provider/mk_MK.js +3 -0
- package/src/components/locale-provider/mn_MN.js +3 -0
- package/src/components/locale-provider/ms_MY.js +3 -0
- package/src/components/locale-provider/nb_NO.js +3 -0
- package/src/components/locale-provider/ne-NP.js +3 -0
- package/src/components/locale-provider/ne_NP.js +3 -0
- package/src/components/locale-provider/nl_BE.js +3 -0
- package/src/components/locale-provider/nl_NL.js +3 -0
- package/src/components/locale-provider/pl_PL.js +3 -0
- package/src/components/locale-provider/pt_BR.js +3 -0
- package/src/components/locale-provider/pt_PT.js +3 -0
- package/src/components/locale-provider/ro_RO.js +3 -0
- package/src/components/locale-provider/ru_RU.js +3 -0
- package/src/components/locale-provider/sk_SK.js +3 -0
- package/src/components/locale-provider/sl_SI.js +3 -0
- package/src/components/locale-provider/sr_RS.js +3 -0
- package/src/components/locale-provider/style/index.js +1 -0
- package/src/components/locale-provider/style/index.less +2 -0
- package/src/components/locale-provider/sv_SE.js +3 -0
- package/src/components/locale-provider/ta_IN.js +62 -0
- package/src/components/locale-provider/th_TH.js +3 -0
- package/src/components/locale-provider/tr_TR.js +3 -0
- package/src/components/locale-provider/uk_UA.js +3 -0
- package/src/components/locale-provider/vi_VN.js +3 -0
- package/src/components/locale-provider/zh_CN.js +3 -0
- package/src/components/locale-provider/zh_TW.js +3 -0
- package/src/components/style/color/bezierEasing.less +110 -0
- package/src/components/style/color/colorPalette.less +75 -0
- package/src/components/style/color/colors.less +149 -0
- package/src/components/style/color/tinyColor.less +1184 -0
- package/src/components/style/core/base.less +510 -0
- package/src/components/style/core/iconfont.less +19 -0
- package/src/components/style/core/index.less +4 -0
- package/src/components/style/core/motion/fade.less +31 -0
- package/src/components/style/core/motion/move.less +120 -0
- package/src/components/style/core/motion/other.less +45 -0
- package/src/components/style/core/motion/slide.less +120 -0
- package/src/components/style/core/motion/swing.less +34 -0
- package/src/components/style/core/motion/zoom.less +162 -0
- package/src/components/style/core/motion.less +20 -0
- package/src/components/style/index.js +1 -0
- package/src/components/style/index.less +2 -0
- package/src/components/style/index.tsx +1 -0
- package/src/components/style/mixins/clearfix.less +13 -0
- package/src/components/style/mixins/compatibility.less +22 -0
- package/src/components/style/mixins/iconfont.less +43 -0
- package/src/components/style/mixins/index.less +10 -0
- package/src/components/style/mixins/motion.less +35 -0
- package/src/components/style/mixins/operation-unit.less +18 -0
- package/src/components/style/mixins/reset.less +13 -0
- package/src/components/style/mixins/size.less +10 -0
- package/src/components/style/mixins/typography.less +49 -0
- package/src/components/style/themes/default.less +701 -0
- package/src/components/style/themes/index.less +1 -0
- package/src/components/style/v2-compatible-reset.js +1 -0
- package/src/components/style/v2-compatible-reset.less +51 -0
- package/src/components/style/v2-compatible-reset.tsx +1 -0
- package/src/components/tag/CheckableTag.jsx +43 -0
- package/src/components/tag/Tag.jsx +145 -0
- package/src/components/tag/__tests__/__snapshots__/demo.test.js.snap +92 -0
- package/src/components/tag/__tests__/__snapshots__/index.test.js.snap +13 -0
- package/src/components/tag/__tests__/demo.test.js +3 -0
- package/src/components/tag/__tests__/index.test.js +82 -0
- package/src/components/tag/index.js +14 -0
- package/src/components/tag/style/index.js +2 -0
- package/src/components/tag/style/index.less +106 -0
- package/src/components/time-picker/__tests__/__snapshots__/demo.test.js.snap +39 -0
- package/src/components/time-picker/__tests__/__snapshots__/index.test.js.snap +5 -0
- package/src/components/time-picker/__tests__/demo.test.js +3 -0
- package/src/components/time-picker/__tests__/index.test.js +55 -0
- package/src/components/time-picker/index.jsx +267 -0
- package/src/components/time-picker/locale/ar_EG.js +5 -0
- package/src/components/time-picker/locale/bg_BG.js +5 -0
- package/src/components/time-picker/locale/ca_ES.js +5 -0
- package/src/components/time-picker/locale/cs_CZ.js +5 -0
- package/src/components/time-picker/locale/da_DK.js +5 -0
- package/src/components/time-picker/locale/de_DE.js +5 -0
- package/src/components/time-picker/locale/el_GR.js +5 -0
- package/src/components/time-picker/locale/en_GB.js +5 -0
- package/src/components/time-picker/locale/en_US.js +5 -0
- package/src/components/time-picker/locale/es_ES.js +5 -0
- package/src/components/time-picker/locale/et_EE.js +5 -0
- package/src/components/time-picker/locale/fa_IR.js +5 -0
- package/src/components/time-picker/locale/fi_FI.js +5 -0
- package/src/components/time-picker/locale/fr_BE.js +5 -0
- package/src/components/time-picker/locale/fr_FR.js +5 -0
- package/src/components/time-picker/locale/ga_IE.js +5 -0
- package/src/components/time-picker/locale/he_IL.js +5 -0
- package/src/components/time-picker/locale/hi_IN.js +5 -0
- package/src/components/time-picker/locale/hr_HR.js +5 -0
- package/src/components/time-picker/locale/hu_HU.js +5 -0
- package/src/components/time-picker/locale/id_ID.js +5 -0
- package/src/components/time-picker/locale/is_IS.js +5 -0
- package/src/components/time-picker/locale/it_IT.js +5 -0
- package/src/components/time-picker/locale/ja_JP.js +5 -0
- package/src/components/time-picker/locale/kn_IN.js +5 -0
- package/src/components/time-picker/locale/ko_KR.js +5 -0
- package/src/components/time-picker/locale/ku_IQ.js +5 -0
- package/src/components/time-picker/locale/lv_LV.js +5 -0
- package/src/components/time-picker/locale/mk_MK.js +5 -0
- package/src/components/time-picker/locale/mn_MN.js +5 -0
- package/src/components/time-picker/locale/ms_MY.js +5 -0
- package/src/components/time-picker/locale/nb_NO.js +5 -0
- package/src/components/time-picker/locale/nl_BE.js +5 -0
- package/src/components/time-picker/locale/nl_NL.js +5 -0
- package/src/components/time-picker/locale/pl_PL.js +5 -0
- package/src/components/time-picker/locale/pt_BR.js +5 -0
- package/src/components/time-picker/locale/pt_PT.js +5 -0
- package/src/components/time-picker/locale/ro_RO.js +5 -0
- package/src/components/time-picker/locale/ru_RU.js +8 -0
- package/src/components/time-picker/locale/sk_SK.js +5 -0
- package/src/components/time-picker/locale/sl_SI.js +5 -0
- package/src/components/time-picker/locale/sr_RS.js +5 -0
- package/src/components/time-picker/locale/sv_SE.js +5 -0
- package/src/components/time-picker/locale/ta_IN.js +5 -0
- package/src/components/time-picker/locale/th_TH.js +5 -0
- package/src/components/time-picker/locale/tr_TR.js +5 -0
- package/src/components/time-picker/locale/uk_UA.js +5 -0
- package/src/components/time-picker/locale/vi_VN.js +5 -0
- package/src/components/time-picker/locale/zh_CN.js +5 -0
- package/src/components/time-picker/locale/zh_TW.js +5 -0
- package/src/components/time-picker/style/index.js +2 -0
- package/src/components/time-picker/style/index.less +246 -0
- package/src/components/tooltip/Tooltip.jsx +219 -0
- package/src/components/tooltip/__tests__/__snapshots__/demo.test.js.snap +20 -0
- package/src/components/tooltip/__tests__/demo.test.js +3 -0
- package/src/components/tooltip/__tests__/tooltip.test.js +204 -0
- package/src/components/tooltip/abstractTooltipProps.js +34 -0
- package/src/components/tooltip/index.js +10 -0
- package/src/components/tooltip/placements.js +96 -0
- package/src/components/tooltip/style/index.js +2 -0
- package/src/components/tooltip/style/index.less +187 -0
- package/src/components/vc-align/Align.jsx +149 -0
- package/src/components/vc-align/index.js +3 -0
- package/src/components/vc-align/util.js +52 -0
- package/src/components/vc-calendar/assets/common/Calendar.less +106 -0
- package/src/components/vc-calendar/assets/common/FullCalendar.less +91 -0
- package/src/components/vc-calendar/assets/common/Picker.less +10 -0
- package/src/components/vc-calendar/assets/common/RangeCalendar.less +131 -0
- package/src/components/vc-calendar/assets/common/index.less +16 -0
- package/src/components/vc-calendar/assets/index/Calendar.less +301 -0
- package/src/components/vc-calendar/assets/index/DecadePanel.less +122 -0
- package/src/components/vc-calendar/assets/index/Input.less +23 -0
- package/src/components/vc-calendar/assets/index/MonthPanel.less +143 -0
- package/src/components/vc-calendar/assets/index/Picker.less +110 -0
- package/src/components/vc-calendar/assets/index/Time.less +6 -0
- package/src/components/vc-calendar/assets/index/TimePanel.less +72 -0
- package/src/components/vc-calendar/assets/index/YearPanel.less +136 -0
- package/src/components/vc-calendar/assets/index.less +10 -0
- package/src/components/vc-calendar/index.js +8 -0
- package/src/components/vc-calendar/src/Calendar.jsx +390 -0
- package/src/components/vc-calendar/src/FullCalendar.jsx +166 -0
- package/src/components/vc-calendar/src/MonthCalendar.jsx +125 -0
- package/src/components/vc-calendar/src/Picker.jsx +244 -0
- package/src/components/vc-calendar/src/RangeCalendar.jsx +1031 -0
- package/src/components/vc-calendar/src/calendar/CalendarFooter.jsx +86 -0
- package/src/components/vc-calendar/src/calendar/CalendarHeader.jsx +264 -0
- package/src/components/vc-calendar/src/calendar/OkButton.jsx +18 -0
- package/src/components/vc-calendar/src/calendar/TimePickerButton.jsx +22 -0
- package/src/components/vc-calendar/src/calendar/TodayButton.jsx +33 -0
- package/src/components/vc-calendar/src/date/DateConstants.js +4 -0
- package/src/components/vc-calendar/src/date/DateInput.jsx +226 -0
- package/src/components/vc-calendar/src/date/DateTBody.jsx +261 -0
- package/src/components/vc-calendar/src/date/DateTHead.jsx +49 -0
- package/src/components/vc-calendar/src/date/DateTable.jsx +20 -0
- package/src/components/vc-calendar/src/decade/DecadePanel.jsx +131 -0
- package/src/components/vc-calendar/src/full-calendar/CalendarHeader.jsx +134 -0
- package/src/components/vc-calendar/src/index.js +3 -0
- package/src/components/vc-calendar/src/locale/ar_EG.js +27 -0
- package/src/components/vc-calendar/src/locale/bg_BG.js +27 -0
- package/src/components/vc-calendar/src/locale/ca_ES.js +27 -0
- package/src/components/vc-calendar/src/locale/cs_CZ.js +27 -0
- package/src/components/vc-calendar/src/locale/da_DK.js +27 -0
- package/src/components/vc-calendar/src/locale/de_DE.js +27 -0
- package/src/components/vc-calendar/src/locale/el_GR.js +27 -0
- package/src/components/vc-calendar/src/locale/en_GB.js +27 -0
- package/src/components/vc-calendar/src/locale/en_US.js +28 -0
- package/src/components/vc-calendar/src/locale/es_ES.js +27 -0
- package/src/components/vc-calendar/src/locale/et_EE.js +27 -0
- package/src/components/vc-calendar/src/locale/fa_IR.js +27 -0
- package/src/components/vc-calendar/src/locale/fi_FI.js +27 -0
- package/src/components/vc-calendar/src/locale/fr_BE.js +27 -0
- package/src/components/vc-calendar/src/locale/fr_FR.js +27 -0
- package/src/components/vc-calendar/src/locale/ga_IE.js +28 -0
- package/src/components/vc-calendar/src/locale/he_IL.js +28 -0
- package/src/components/vc-calendar/src/locale/hi_IN.js +28 -0
- package/src/components/vc-calendar/src/locale/hr_HR.js +28 -0
- package/src/components/vc-calendar/src/locale/hu_HU.js +27 -0
- package/src/components/vc-calendar/src/locale/id_ID.js +28 -0
- package/src/components/vc-calendar/src/locale/is_IS.js +27 -0
- package/src/components/vc-calendar/src/locale/it_IT.js +27 -0
- package/src/components/vc-calendar/src/locale/ja_JP.js +26 -0
- package/src/components/vc-calendar/src/locale/kn_IN.js +28 -0
- package/src/components/vc-calendar/src/locale/ko_KR.js +27 -0
- package/src/components/vc-calendar/src/locale/ku_IQ.js +27 -0
- package/src/components/vc-calendar/src/locale/lv_LV.js +27 -0
- package/src/components/vc-calendar/src/locale/mk_MK.js +27 -0
- package/src/components/vc-calendar/src/locale/mm_MM.js +28 -0
- package/src/components/vc-calendar/src/locale/mn_MN.js +28 -0
- package/src/components/vc-calendar/src/locale/ms_MY.js +27 -0
- package/src/components/vc-calendar/src/locale/nb_NO.js +27 -0
- package/src/components/vc-calendar/src/locale/nl_BE.js +27 -0
- package/src/components/vc-calendar/src/locale/nl_NL.js +27 -0
- package/src/components/vc-calendar/src/locale/pl_PL.js +27 -0
- package/src/components/vc-calendar/src/locale/pt_BR.js +27 -0
- package/src/components/vc-calendar/src/locale/pt_PT.js +27 -0
- package/src/components/vc-calendar/src/locale/ro_RO.js +28 -0
- package/src/components/vc-calendar/src/locale/ru_RU.js +27 -0
- package/src/components/vc-calendar/src/locale/sk_SK.js +28 -0
- package/src/components/vc-calendar/src/locale/sl_SI.js +27 -0
- package/src/components/vc-calendar/src/locale/sr_RS.js +27 -0
- package/src/components/vc-calendar/src/locale/sv_SE.js +27 -0
- package/src/components/vc-calendar/src/locale/ta_IN.js +28 -0
- package/src/components/vc-calendar/src/locale/th_TH.js +27 -0
- package/src/components/vc-calendar/src/locale/tr_TR.js +27 -0
- package/src/components/vc-calendar/src/locale/ug_CN.js +26 -0
- package/src/components/vc-calendar/src/locale/uk_UA.js +27 -0
- package/src/components/vc-calendar/src/locale/vi_VN.js +28 -0
- package/src/components/vc-calendar/src/locale/zh_CN.js +27 -0
- package/src/components/vc-calendar/src/locale/zh_TW.js +26 -0
- package/src/components/vc-calendar/src/mixin/CalendarMixin.js +122 -0
- package/src/components/vc-calendar/src/mixin/CommonMixin.js +26 -0
- package/src/components/vc-calendar/src/month/MonthPanel.jsx +123 -0
- package/src/components/vc-calendar/src/month/MonthTable.jsx +138 -0
- package/src/components/vc-calendar/src/picker/placements.js +35 -0
- package/src/components/vc-calendar/src/range-calendar/CalendarPart.jsx +171 -0
- package/src/components/vc-calendar/src/util/index.js +113 -0
- package/src/components/vc-calendar/src/util/toTime.js +15 -0
- package/src/components/vc-calendar/src/year/YearPanel.jsx +167 -0
- package/src/components/vc-pagination/locale/en_US.js +15 -0
- package/src/components/vc-select/DropdownMenu.jsx +216 -0
- package/src/components/vc-select/OptGroup.jsx +8 -0
- package/src/components/vc-select/Option.jsx +11 -0
- package/src/components/vc-select/PropTypes.js +59 -0
- package/src/components/vc-select/Select.jsx +1716 -0
- package/src/components/vc-select/SelectTrigger.jsx +259 -0
- package/src/components/vc-select/assets/index.less +541 -0
- package/src/components/vc-select/index.js +11 -0
- package/src/components/vc-select/util.js +223 -0
- package/src/components/vc-time-picker/Combobox.jsx +214 -0
- package/src/components/vc-time-picker/Header.jsx +187 -0
- package/src/components/vc-time-picker/Panel.jsx +225 -0
- package/src/components/vc-time-picker/Select.jsx +140 -0
- package/src/components/vc-time-picker/TimePicker.jsx +386 -0
- package/src/components/vc-time-picker/assets/index/Header.less +22 -0
- package/src/components/vc-time-picker/assets/index/Panel.less +29 -0
- package/src/components/vc-time-picker/assets/index/Picker.less +25 -0
- package/src/components/vc-time-picker/assets/index/Select.less +62 -0
- package/src/components/vc-time-picker/assets/index.less +44 -0
- package/src/components/vc-time-picker/index.js +2 -0
- package/src/components/vc-time-picker/placements.js +35 -0
- package/src/components/vc-tooltip/Content.jsx +23 -0
- package/src/components/vc-tooltip/Tooltip.jsx +106 -0
- package/src/components/vc-tooltip/assets/boostrap/anim.less +61 -0
- package/src/components/vc-tooltip/assets/bootstrap.less +171 -0
- package/src/components/vc-tooltip/assets/bootstrap_white.less +190 -0
- package/src/components/vc-tooltip/index.js +4 -0
- package/src/components/vc-tooltip/placements.js +83 -0
- package/src/components/vc-trigger/LazyRenderBox.jsx +22 -0
- package/src/components/vc-trigger/Popup.jsx +336 -0
- package/src/components/vc-trigger/PopupInner.jsx +25 -0
- package/src/components/vc-trigger/Trigger.jsx +663 -0
- package/src/components/vc-trigger/assets/index.less +72 -0
- package/src/components/vc-trigger/assets/mask.less +65 -0
- package/src/components/vc-trigger/index.js +3 -0
- package/src/components/vc-trigger/index.md +160 -0
- package/src/components/vc-trigger/t.js +665 -0
- package/src/components/vc-trigger/utils.js +27 -0
- package/src/components/vc-util/Dom/addEventListener.js +5 -0
- package/src/components/vc-util/Dom/class.js +28 -0
- package/src/components/vc-util/Dom/contains.js +11 -0
- package/src/components/vc-util/warning.js +38 -0
- package/src/index.js +44 -0
- package/types/index.d.ts +112 -0
|
@@ -0,0 +1,701 @@
|
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
@import '../color/colors';
|
|
3
|
+
|
|
4
|
+
// The prefix to use on all css classes from ant.
|
|
5
|
+
@ant-prefix: ant;
|
|
6
|
+
|
|
7
|
+
// An override for the html selector for theme prefixes
|
|
8
|
+
@html-selector: html;
|
|
9
|
+
|
|
10
|
+
// -------- Colors -----------
|
|
11
|
+
@primary-color: @blue-6;
|
|
12
|
+
@info-color: @blue-6;
|
|
13
|
+
@success-color: @green-6;
|
|
14
|
+
@processing-color: @blue-6;
|
|
15
|
+
@error-color: @red-6;
|
|
16
|
+
@highlight-color: @red-6;
|
|
17
|
+
@warning-color: @gold-6;
|
|
18
|
+
@normal-color: #d9d9d9;
|
|
19
|
+
@white: #fff;
|
|
20
|
+
@black: #000;
|
|
21
|
+
|
|
22
|
+
// Color used by default to control hover and active backgrounds and for
|
|
23
|
+
// alert info backgrounds.
|
|
24
|
+
@primary-1: color(~`colorPalette('@{primary-color}', 1) `); // replace tint(@primary-color, 90%)
|
|
25
|
+
@primary-2: color(~`colorPalette('@{primary-color}', 2) `); // replace tint(@primary-color, 80%)
|
|
26
|
+
@primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
|
|
27
|
+
@primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
|
|
28
|
+
@primary-5: color(
|
|
29
|
+
~`colorPalette('@{primary-color}', 5) `
|
|
30
|
+
); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
|
|
31
|
+
@primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
|
|
32
|
+
@primary-7: color(~`colorPalette('@{primary-color}', 7) `); // replace shade(@primary-color, 5%)
|
|
33
|
+
@primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
|
|
34
|
+
@primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
|
|
35
|
+
@primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
|
|
36
|
+
|
|
37
|
+
// Base Scaffolding Variables
|
|
38
|
+
// ---
|
|
39
|
+
|
|
40
|
+
// Background color for `<body>`
|
|
41
|
+
@body-background: #fff;
|
|
42
|
+
// Base background color for most components
|
|
43
|
+
@component-background: #fff;
|
|
44
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
|
|
45
|
+
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
46
|
+
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
47
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
48
|
+
@text-color: fade(@black, 65%);
|
|
49
|
+
@text-color-secondary: fade(@black, 45%);
|
|
50
|
+
@text-color-inverse: @white;
|
|
51
|
+
@icon-color: inherit;
|
|
52
|
+
@icon-color-hover: fade(@black, 75%);
|
|
53
|
+
@heading-color: fade(#000, 85%);
|
|
54
|
+
@heading-color-dark: fade(@white, 100%);
|
|
55
|
+
@text-color-dark: fade(@white, 85%);
|
|
56
|
+
@text-color-secondary-dark: fade(@white, 65%);
|
|
57
|
+
@text-selection-bg: @primary-color;
|
|
58
|
+
@font-variant-base: tabular-nums;
|
|
59
|
+
@font-feature-settings-base: 'tnum';
|
|
60
|
+
@font-size-base: 14px;
|
|
61
|
+
@font-size-lg: @font-size-base + 2px;
|
|
62
|
+
@font-size-sm: 12px;
|
|
63
|
+
@heading-1-size: ceil(@font-size-base * 2.71);
|
|
64
|
+
@heading-2-size: ceil(@font-size-base * 2.14);
|
|
65
|
+
@heading-3-size: ceil(@font-size-base * 1.71);
|
|
66
|
+
@heading-4-size: ceil(@font-size-base * 1.42);
|
|
67
|
+
@line-height-base: 1.5;
|
|
68
|
+
@border-radius-base: 4px;
|
|
69
|
+
@border-radius-sm: 2px;
|
|
70
|
+
|
|
71
|
+
// vertical paddings
|
|
72
|
+
@padding-lg: 24px; // containers
|
|
73
|
+
@padding-md: 16px; // small containers and buttons
|
|
74
|
+
@padding-sm: 12px; // Form controls and items
|
|
75
|
+
@padding-xs: 8px; // small items
|
|
76
|
+
|
|
77
|
+
// vertical padding for all form controls
|
|
78
|
+
@control-padding-horizontal: @padding-sm;
|
|
79
|
+
@control-padding-horizontal-sm: @padding-xs;
|
|
80
|
+
|
|
81
|
+
// The background colors for active and hover states for things like
|
|
82
|
+
// list items or table cells.
|
|
83
|
+
@item-active-bg: @primary-1;
|
|
84
|
+
@item-hover-bg: @primary-1;
|
|
85
|
+
|
|
86
|
+
// ICONFONT
|
|
87
|
+
@iconfont-css-prefix: anticon;
|
|
88
|
+
|
|
89
|
+
// LINK
|
|
90
|
+
@link-color: @primary-color;
|
|
91
|
+
@link-hover-color: color(~`colorPalette('@{link-color}', 5) `);
|
|
92
|
+
@link-active-color: color(~`colorPalette('@{link-color}', 7) `);
|
|
93
|
+
@link-decoration: none;
|
|
94
|
+
@link-hover-decoration: none;
|
|
95
|
+
|
|
96
|
+
// Animation
|
|
97
|
+
@ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
98
|
+
@ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
|
|
99
|
+
@ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
100
|
+
@ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
101
|
+
@ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
102
|
+
@ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
103
|
+
@ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
104
|
+
@ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
|
|
105
|
+
@ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
106
|
+
@ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
107
|
+
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
108
|
+
@ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
109
|
+
@ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
110
|
+
@ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
111
|
+
|
|
112
|
+
// Border color
|
|
113
|
+
@border-color-base: hsv(0, 0, 85%); // base border outline a component
|
|
114
|
+
@border-color-split: hsv(0, 0, 91%); // split border inside a component
|
|
115
|
+
@border-color-inverse: @white;
|
|
116
|
+
@border-width-base: 1px; // width of the border for a component
|
|
117
|
+
@border-style-base: solid; // style of a components border
|
|
118
|
+
|
|
119
|
+
// Outline
|
|
120
|
+
@outline-blur-size: 0;
|
|
121
|
+
@outline-width: 2px;
|
|
122
|
+
@outline-color: @primary-color;
|
|
123
|
+
|
|
124
|
+
@background-color-light: hsv(0, 0, 98%); // background of header and selected item
|
|
125
|
+
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
|
126
|
+
|
|
127
|
+
// Disabled states
|
|
128
|
+
@disabled-color: fade(#000, 25%);
|
|
129
|
+
@disabled-bg: @background-color-base;
|
|
130
|
+
@disabled-color-dark: fade(#fff, 35%);
|
|
131
|
+
|
|
132
|
+
// Shadow
|
|
133
|
+
@shadow-color: rgba(0, 0, 0, 0.15);
|
|
134
|
+
@shadow-color-inverse: @component-background;
|
|
135
|
+
@box-shadow-base: @shadow-1-down;
|
|
136
|
+
@shadow-1-up: 0 -2px 8px @shadow-color;
|
|
137
|
+
@shadow-1-down: 0 2px 8px @shadow-color;
|
|
138
|
+
@shadow-1-left: -2px 0 8px @shadow-color;
|
|
139
|
+
@shadow-1-right: 2px 0 8px @shadow-color;
|
|
140
|
+
@shadow-2: 0 4px 12px @shadow-color;
|
|
141
|
+
|
|
142
|
+
// Buttons
|
|
143
|
+
@btn-font-weight: 400;
|
|
144
|
+
@btn-border-radius-base: @border-radius-base;
|
|
145
|
+
@btn-border-radius-sm: @border-radius-base;
|
|
146
|
+
@btn-border-width: @border-width-base;
|
|
147
|
+
@btn-border-style: @border-style-base;
|
|
148
|
+
@btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
|
149
|
+
@btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
150
|
+
@btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
151
|
+
|
|
152
|
+
@btn-primary-color: #fff;
|
|
153
|
+
@btn-primary-bg: @primary-color;
|
|
154
|
+
|
|
155
|
+
@btn-default-color: @text-color;
|
|
156
|
+
@btn-default-bg: @component-background;
|
|
157
|
+
@btn-default-border: @border-color-base;
|
|
158
|
+
|
|
159
|
+
@btn-danger-color: #fff;
|
|
160
|
+
@btn-danger-bg: color(~`colorPalette('@{error-color}', 5) `);
|
|
161
|
+
@btn-danger-border: color(~`colorPalette('@{error-color}', 5) `);
|
|
162
|
+
|
|
163
|
+
@btn-disable-color: @disabled-color;
|
|
164
|
+
@btn-disable-bg: @disabled-bg;
|
|
165
|
+
@btn-disable-border: @border-color-base;
|
|
166
|
+
|
|
167
|
+
@btn-padding-base: 0 @padding-md - 1px;
|
|
168
|
+
@btn-font-size-lg: @font-size-lg;
|
|
169
|
+
@btn-font-size-sm: @font-size-base;
|
|
170
|
+
@btn-padding-lg: @btn-padding-base;
|
|
171
|
+
@btn-padding-sm: 0 @padding-xs - 1px;
|
|
172
|
+
|
|
173
|
+
@btn-height-base: 32px;
|
|
174
|
+
@btn-height-lg: 40px;
|
|
175
|
+
@btn-height-sm: 24px;
|
|
176
|
+
|
|
177
|
+
@btn-circle-size: @btn-height-base;
|
|
178
|
+
@btn-circle-size-lg: @btn-height-lg;
|
|
179
|
+
@btn-circle-size-sm: @btn-height-sm;
|
|
180
|
+
|
|
181
|
+
@btn-square-size: @btn-height-base;
|
|
182
|
+
@btn-square-size-lg: @btn-height-lg;
|
|
183
|
+
@btn-square-size-sm: @btn-height-sm;
|
|
184
|
+
|
|
185
|
+
@btn-group-border: @primary-5;
|
|
186
|
+
|
|
187
|
+
// Checkbox
|
|
188
|
+
@checkbox-size: 16px;
|
|
189
|
+
@checkbox-color: @primary-color;
|
|
190
|
+
@checkbox-check-color: #fff;
|
|
191
|
+
@checkbox-border-width: @border-width-base;
|
|
192
|
+
|
|
193
|
+
// Descriptions
|
|
194
|
+
@descriptions-bg: #fafafa;
|
|
195
|
+
|
|
196
|
+
// Dropdown
|
|
197
|
+
@dropdown-selected-color: @primary-color;
|
|
198
|
+
|
|
199
|
+
// Empty
|
|
200
|
+
@empty-font-size: @font-size-base;
|
|
201
|
+
|
|
202
|
+
// Radio
|
|
203
|
+
@radio-size: 16px;
|
|
204
|
+
@radio-dot-color: @primary-color;
|
|
205
|
+
|
|
206
|
+
// Radio buttons
|
|
207
|
+
@radio-button-bg: @btn-default-bg;
|
|
208
|
+
@radio-button-checked-bg: @btn-default-bg;
|
|
209
|
+
@radio-button-color: @btn-default-color;
|
|
210
|
+
@radio-button-hover-color: @primary-5;
|
|
211
|
+
@radio-button-active-color: @primary-7;
|
|
212
|
+
|
|
213
|
+
// Media queries breakpoints
|
|
214
|
+
// Extra small screen / phone
|
|
215
|
+
@screen-xs: 480px;
|
|
216
|
+
@screen-xs-min: @screen-xs;
|
|
217
|
+
|
|
218
|
+
// Small screen / tablet
|
|
219
|
+
@screen-sm: 576px;
|
|
220
|
+
@screen-sm-min: @screen-sm;
|
|
221
|
+
|
|
222
|
+
// Medium screen / desktop
|
|
223
|
+
@screen-md: 768px;
|
|
224
|
+
@screen-md-min: @screen-md;
|
|
225
|
+
|
|
226
|
+
// Large screen / wide desktop
|
|
227
|
+
@screen-lg: 992px;
|
|
228
|
+
@screen-lg-min: @screen-lg;
|
|
229
|
+
|
|
230
|
+
// Extra large screen / full hd
|
|
231
|
+
@screen-xl: 1200px;
|
|
232
|
+
@screen-xl-min: @screen-xl;
|
|
233
|
+
|
|
234
|
+
// Extra extra large screen / large desktop
|
|
235
|
+
@screen-xxl: 1600px;
|
|
236
|
+
@screen-xxl-min: @screen-xxl;
|
|
237
|
+
|
|
238
|
+
// provide a maximum
|
|
239
|
+
@screen-xs-max: (@screen-sm-min - 1px);
|
|
240
|
+
@screen-sm-max: (@screen-md-min - 1px);
|
|
241
|
+
@screen-md-max: (@screen-lg-min - 1px);
|
|
242
|
+
@screen-lg-max: (@screen-xl-min - 1px);
|
|
243
|
+
@screen-xl-max: (@screen-xxl-min - 1px);
|
|
244
|
+
|
|
245
|
+
// Grid system
|
|
246
|
+
@grid-columns: 24;
|
|
247
|
+
@grid-gutter-width: 0;
|
|
248
|
+
|
|
249
|
+
// Layout
|
|
250
|
+
@layout-body-background: #f0f2f5;
|
|
251
|
+
@layout-header-background: #001529;
|
|
252
|
+
@layout-footer-background: @layout-body-background;
|
|
253
|
+
@layout-header-height: 64px;
|
|
254
|
+
@layout-header-padding: 0 50px;
|
|
255
|
+
@layout-footer-padding: 24px 50px;
|
|
256
|
+
@layout-sider-background: @layout-header-background;
|
|
257
|
+
@layout-trigger-height: 48px;
|
|
258
|
+
@layout-trigger-background: #002140;
|
|
259
|
+
@layout-trigger-color: #fff;
|
|
260
|
+
@layout-zero-trigger-width: 36px;
|
|
261
|
+
@layout-zero-trigger-height: 42px;
|
|
262
|
+
// Layout light theme
|
|
263
|
+
@layout-sider-background-light: #fff;
|
|
264
|
+
@layout-trigger-background-light: #fff;
|
|
265
|
+
@layout-trigger-color-light: @text-color;
|
|
266
|
+
|
|
267
|
+
// z-index list, order by `z-index`
|
|
268
|
+
@zindex-badge: 1;
|
|
269
|
+
@zindex-table-fixed: 1;
|
|
270
|
+
@zindex-affix: 10;
|
|
271
|
+
@zindex-back-top: 10;
|
|
272
|
+
@zindex-picker-panel: 10;
|
|
273
|
+
@zindex-popup-close: 10;
|
|
274
|
+
@zindex-modal: 1000;
|
|
275
|
+
@zindex-modal-mask: 1000;
|
|
276
|
+
@zindex-message: 1010;
|
|
277
|
+
@zindex-notification: 1010;
|
|
278
|
+
@zindex-popover: 1030;
|
|
279
|
+
@zindex-dropdown: 1050;
|
|
280
|
+
@zindex-picker: 1050;
|
|
281
|
+
@zindex-tooltip: 1060;
|
|
282
|
+
|
|
283
|
+
// Animation
|
|
284
|
+
@animation-duration-slow: 0.3s; // Modal
|
|
285
|
+
@animation-duration-base: 0.2s;
|
|
286
|
+
@animation-duration-fast: 0.1s; // Tooltip
|
|
287
|
+
|
|
288
|
+
//CollapsePanel
|
|
289
|
+
@collapse-panel-border-radius: @border-radius-base;
|
|
290
|
+
|
|
291
|
+
//Dropdown
|
|
292
|
+
@dropdown-vertical-padding: 5px;
|
|
293
|
+
@dropdown-edge-child-vertical-padding: 4px;
|
|
294
|
+
@dropdown-font-size: @font-size-base;
|
|
295
|
+
@dropdown-line-height: 22px;
|
|
296
|
+
|
|
297
|
+
// Form
|
|
298
|
+
// ---
|
|
299
|
+
@label-required-color: @highlight-color;
|
|
300
|
+
@label-color: @heading-color;
|
|
301
|
+
@form-warning-input-bg: @input-bg;
|
|
302
|
+
@form-item-margin-bottom: 24px;
|
|
303
|
+
@form-item-trailing-colon: true;
|
|
304
|
+
@form-vertical-label-padding: 0 0 8px;
|
|
305
|
+
@form-vertical-label-margin: 0;
|
|
306
|
+
@form-item-label-colon-margin-right: 8px;
|
|
307
|
+
@form-item-label-colon-margin-left: 2px;
|
|
308
|
+
@form-error-input-bg: @input-bg;
|
|
309
|
+
|
|
310
|
+
// Input
|
|
311
|
+
// ---
|
|
312
|
+
@input-height-base: 32px;
|
|
313
|
+
@input-height-lg: 40px;
|
|
314
|
+
@input-height-sm: 24px;
|
|
315
|
+
@input-padding-horizontal: @control-padding-horizontal - 1px;
|
|
316
|
+
@input-padding-horizontal-base: @input-padding-horizontal;
|
|
317
|
+
@input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
|
|
318
|
+
@input-padding-horizontal-lg: @input-padding-horizontal;
|
|
319
|
+
@input-padding-vertical-base: 4px;
|
|
320
|
+
@input-padding-vertical-sm: 1px;
|
|
321
|
+
@input-padding-vertical-lg: 6px;
|
|
322
|
+
@input-placeholder-color: hsv(0, 0, 75%);
|
|
323
|
+
@input-color: @text-color;
|
|
324
|
+
@input-border-color: @border-color-base;
|
|
325
|
+
@input-bg: @component-background;
|
|
326
|
+
@input-number-hover-border-color: @input-hover-border-color;
|
|
327
|
+
@input-number-handler-active-bg: #f4f4f4;
|
|
328
|
+
@input-number-handler-hover-bg: @primary-5;
|
|
329
|
+
@input-number-handler-bg: @component-background;
|
|
330
|
+
@input-number-handler-border-color: @border-color-base;
|
|
331
|
+
@input-addon-bg: @background-color-light;
|
|
332
|
+
@input-hover-border-color: @primary-5;
|
|
333
|
+
@input-disabled-bg: @disabled-bg;
|
|
334
|
+
@input-outline-offset: 0 0;
|
|
335
|
+
|
|
336
|
+
// Select
|
|
337
|
+
// ---
|
|
338
|
+
@select-border-color: @border-color-base;
|
|
339
|
+
@select-item-selected-color: @text-color;
|
|
340
|
+
@select-item-selected-font-weight: 600;
|
|
341
|
+
@select-dropdown-bg: @component-background;
|
|
342
|
+
@select-dropdown-vertical-padding: @dropdown-vertical-padding;
|
|
343
|
+
@select-dropdown-edge-child-vertical-padding: @dropdown-edge-child-vertical-padding;
|
|
344
|
+
@select-dropdown-font-size: @dropdown-font-size;
|
|
345
|
+
@select-dropdown-line-height: @dropdown-line-height;
|
|
346
|
+
@select-item-selected-bg: @background-color-light;
|
|
347
|
+
@select-item-active-bg: @item-active-bg;
|
|
348
|
+
@select-background: @component-background;
|
|
349
|
+
|
|
350
|
+
// Cascader
|
|
351
|
+
// ----
|
|
352
|
+
@cascader-dropdown-vertical-padding: @dropdown-vertical-padding;
|
|
353
|
+
@cascader-dropdown-edge-child-vertical-padding: @dropdown-edge-child-vertical-padding;
|
|
354
|
+
@cascader-dropdown-font-size: @dropdown-font-size;
|
|
355
|
+
@cascader-dropdown-line-height: @dropdown-line-height;
|
|
356
|
+
|
|
357
|
+
// Anchor
|
|
358
|
+
// ---
|
|
359
|
+
@anchor-border-color: @border-color-split;
|
|
360
|
+
|
|
361
|
+
// Tooltip
|
|
362
|
+
// ---
|
|
363
|
+
// Tooltip max width
|
|
364
|
+
@tooltip-max-width: 250px;
|
|
365
|
+
// Tooltip text color
|
|
366
|
+
@tooltip-color: #fff;
|
|
367
|
+
// Tooltip background color
|
|
368
|
+
@tooltip-bg: rgba(0, 0, 0, 0.75);
|
|
369
|
+
// Tooltip arrow width
|
|
370
|
+
@tooltip-arrow-width: 5px;
|
|
371
|
+
// Tooltip distance with trigger
|
|
372
|
+
@tooltip-distance: @tooltip-arrow-width - 1px + 4px;
|
|
373
|
+
// Tooltip arrow color
|
|
374
|
+
@tooltip-arrow-color: @tooltip-bg;
|
|
375
|
+
|
|
376
|
+
// Popover
|
|
377
|
+
// ---
|
|
378
|
+
// Popover body background color
|
|
379
|
+
@popover-bg: @component-background;
|
|
380
|
+
// Popover text color
|
|
381
|
+
@popover-color: @text-color;
|
|
382
|
+
// Popover maximum width
|
|
383
|
+
@popover-min-width: 177px;
|
|
384
|
+
// Popover arrow width
|
|
385
|
+
@popover-arrow-width: 6px;
|
|
386
|
+
// Popover arrow color
|
|
387
|
+
@popover-arrow-color: @popover-bg;
|
|
388
|
+
// Popover outer arrow width
|
|
389
|
+
// Popover outer arrow color
|
|
390
|
+
@popover-arrow-outer-color: @popover-bg;
|
|
391
|
+
// Popover distance with trigger
|
|
392
|
+
@popover-distance: @popover-arrow-width + 4px;
|
|
393
|
+
|
|
394
|
+
// Modal
|
|
395
|
+
// --
|
|
396
|
+
@modal-body-padding: 24px;
|
|
397
|
+
@modal-header-bg: @component-background;
|
|
398
|
+
@modal-header-border-color-split: @border-color-split;
|
|
399
|
+
@modal-heading-color: @heading-color;
|
|
400
|
+
@modal-footer-bg: transparent;
|
|
401
|
+
@modal-footer-border-color-split: @border-color-split;
|
|
402
|
+
@modal-mask-bg: fade(@black, 45%);
|
|
403
|
+
|
|
404
|
+
// Progress
|
|
405
|
+
// --
|
|
406
|
+
@progress-default-color: @processing-color;
|
|
407
|
+
@progress-remaining-color: @background-color-base;
|
|
408
|
+
@progress-text-color: @text-color;
|
|
409
|
+
@progress-radius: 100px;
|
|
410
|
+
|
|
411
|
+
// Menu
|
|
412
|
+
// ---
|
|
413
|
+
@menu-inline-toplevel-item-height: 40px;
|
|
414
|
+
@menu-item-height: 40px;
|
|
415
|
+
@menu-collapsed-width: 80px;
|
|
416
|
+
@menu-bg: @component-background;
|
|
417
|
+
@menu-popup-bg: @component-background;
|
|
418
|
+
@menu-item-color: @text-color;
|
|
419
|
+
@menu-highlight-color: @primary-color;
|
|
420
|
+
@menu-item-active-bg: @item-active-bg;
|
|
421
|
+
@menu-item-active-border-width: 3px;
|
|
422
|
+
@menu-item-group-title-color: @text-color-secondary;
|
|
423
|
+
@menu-icon-size: @font-size-base;
|
|
424
|
+
@menu-icon-size-lg: @font-size-lg;
|
|
425
|
+
|
|
426
|
+
@menu-item-vertical-margin: 4px;
|
|
427
|
+
@menu-item-font-size: @font-size-base;
|
|
428
|
+
@menu-item-boundary-margin: 8px;
|
|
429
|
+
|
|
430
|
+
// dark theme
|
|
431
|
+
@menu-dark-color: @text-color-secondary-dark;
|
|
432
|
+
@menu-dark-bg: @layout-header-background;
|
|
433
|
+
@menu-dark-arrow-color: #fff;
|
|
434
|
+
@menu-dark-submenu-bg: #000c17;
|
|
435
|
+
@menu-dark-highlight-color: #fff;
|
|
436
|
+
@menu-dark-item-active-bg: @primary-color;
|
|
437
|
+
@menu-dark-selected-item-icon-color: @white;
|
|
438
|
+
@menu-dark-selected-item-text-color: @white;
|
|
439
|
+
@menu-dark-item-hover-bg: transparent;
|
|
440
|
+
// Spin
|
|
441
|
+
// ---
|
|
442
|
+
@spin-dot-size-sm: 14px;
|
|
443
|
+
@spin-dot-size: 20px;
|
|
444
|
+
@spin-dot-size-lg: 32px;
|
|
445
|
+
|
|
446
|
+
// Table
|
|
447
|
+
// --
|
|
448
|
+
@table-header-bg: @background-color-light;
|
|
449
|
+
@table-header-color: @heading-color;
|
|
450
|
+
@table-header-sort-bg: @background-color-base;
|
|
451
|
+
@table-body-sort-bg: rgba(0, 0, 0, 0.01);
|
|
452
|
+
@table-row-hover-bg: @primary-1;
|
|
453
|
+
@table-selected-row-color: inherit;
|
|
454
|
+
@table-selected-row-bg: #fafafa;
|
|
455
|
+
@table-body-selected-sort-bg: @table-selected-row-bg;
|
|
456
|
+
@table-selected-row-hover-bg: @table-selected-row-bg;
|
|
457
|
+
@table-expanded-row-bg: #fbfbfb;
|
|
458
|
+
@table-padding-vertical: 16px;
|
|
459
|
+
@table-padding-horizontal: 16px;
|
|
460
|
+
@table-border-radius-base: @border-radius-base;
|
|
461
|
+
@table-footer-bg: @background-color-light;
|
|
462
|
+
@table-footer-color: @heading-color;
|
|
463
|
+
@table-header-bg-sm: transparent;
|
|
464
|
+
|
|
465
|
+
// Tag
|
|
466
|
+
// --
|
|
467
|
+
@tag-default-bg: @background-color-light;
|
|
468
|
+
@tag-default-color: @text-color;
|
|
469
|
+
@tag-font-size: @font-size-sm;
|
|
470
|
+
|
|
471
|
+
// TimePicker
|
|
472
|
+
// ---
|
|
473
|
+
@time-picker-panel-column-width: 56px;
|
|
474
|
+
@time-picker-panel-width: @time-picker-panel-column-width * 3;
|
|
475
|
+
@time-picker-selected-bg: @background-color-base;
|
|
476
|
+
|
|
477
|
+
// Carousel
|
|
478
|
+
// ---
|
|
479
|
+
@carousel-dot-width: 16px;
|
|
480
|
+
@carousel-dot-height: 3px;
|
|
481
|
+
@carousel-dot-active-width: 24px;
|
|
482
|
+
|
|
483
|
+
// Badge
|
|
484
|
+
// ---
|
|
485
|
+
@badge-height: 20px;
|
|
486
|
+
@badge-dot-size: 6px;
|
|
487
|
+
@badge-font-size: @font-size-sm;
|
|
488
|
+
@badge-font-weight: normal;
|
|
489
|
+
@badge-status-size: 6px;
|
|
490
|
+
@badge-text-color: @component-background;
|
|
491
|
+
|
|
492
|
+
// Rate
|
|
493
|
+
// ---
|
|
494
|
+
@rate-star-color: @yellow-6;
|
|
495
|
+
@rate-star-bg: @border-color-split;
|
|
496
|
+
|
|
497
|
+
// Card
|
|
498
|
+
// ---
|
|
499
|
+
@card-head-color: @heading-color;
|
|
500
|
+
@card-head-background: transparent;
|
|
501
|
+
@card-head-padding: 16px;
|
|
502
|
+
@card-inner-head-padding: 12px;
|
|
503
|
+
@card-padding-base: 24px;
|
|
504
|
+
@card-actions-background: @background-color-light;
|
|
505
|
+
@card-skeleton-bg: #cfd8dc;
|
|
506
|
+
@card-background: @component-background;
|
|
507
|
+
@card-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
|
|
508
|
+
@card-radius: @border-radius-sm;
|
|
509
|
+
|
|
510
|
+
// Comment
|
|
511
|
+
// ---
|
|
512
|
+
@comment-padding-base: 16px 0;
|
|
513
|
+
@comment-nest-indent: 44px;
|
|
514
|
+
@comment-font-size-base: @font-size-base;
|
|
515
|
+
@comment-font-size-sm: @font-size-sm;
|
|
516
|
+
@comment-author-name-color: @text-color-secondary;
|
|
517
|
+
@comment-author-time-color: #ccc;
|
|
518
|
+
@comment-action-color: @text-color-secondary;
|
|
519
|
+
@comment-action-hover-color: #595959;
|
|
520
|
+
|
|
521
|
+
// Tabs
|
|
522
|
+
// ---
|
|
523
|
+
@tabs-card-head-background: @background-color-light;
|
|
524
|
+
@tabs-card-height: 40px;
|
|
525
|
+
@tabs-card-active-color: @primary-color;
|
|
526
|
+
@tabs-title-font-size: @font-size-base;
|
|
527
|
+
@tabs-title-font-size-lg: @font-size-lg;
|
|
528
|
+
@tabs-title-font-size-sm: @font-size-base;
|
|
529
|
+
@tabs-ink-bar-color: @primary-color;
|
|
530
|
+
@tabs-bar-margin: 0 0 16px 0;
|
|
531
|
+
@tabs-horizontal-margin: 0 32px 0 0;
|
|
532
|
+
@tabs-horizontal-padding: 12px 16px;
|
|
533
|
+
@tabs-horizontal-padding-lg: 16px;
|
|
534
|
+
@tabs-horizontal-padding-sm: 8px 16px;
|
|
535
|
+
@tabs-vertical-padding: 8px 24px;
|
|
536
|
+
@tabs-vertical-margin: 0 0 16px 0;
|
|
537
|
+
@tabs-scrolling-size: 32px;
|
|
538
|
+
@tabs-highlight-color: @primary-color;
|
|
539
|
+
@tabs-hover-color: @primary-5;
|
|
540
|
+
@tabs-active-color: @primary-7;
|
|
541
|
+
@tabs-card-gutter: 2px;
|
|
542
|
+
@tabs-card-tab-active-border-top: 2px solid transparent;
|
|
543
|
+
|
|
544
|
+
// BackTop
|
|
545
|
+
// ---
|
|
546
|
+
@back-top-color: #fff;
|
|
547
|
+
@back-top-bg: @text-color-secondary;
|
|
548
|
+
@back-top-hover-bg: @text-color;
|
|
549
|
+
|
|
550
|
+
// Avatar
|
|
551
|
+
// ---
|
|
552
|
+
@avatar-size-base: 32px;
|
|
553
|
+
@avatar-size-lg: 40px;
|
|
554
|
+
@avatar-size-sm: 24px;
|
|
555
|
+
@avatar-font-size-base: 18px;
|
|
556
|
+
@avatar-font-size-lg: 24px;
|
|
557
|
+
@avatar-font-size-sm: 14px;
|
|
558
|
+
@avatar-bg: #ccc;
|
|
559
|
+
@avatar-color: #fff;
|
|
560
|
+
@avatar-border-radius: @border-radius-base;
|
|
561
|
+
|
|
562
|
+
// Switch
|
|
563
|
+
// ---
|
|
564
|
+
@switch-height: 22px;
|
|
565
|
+
@switch-sm-height: 16px;
|
|
566
|
+
@switch-sm-checked-margin-left: -(@switch-sm-height - 3px);
|
|
567
|
+
@switch-disabled-opacity: 0.4;
|
|
568
|
+
@switch-color: @primary-color;
|
|
569
|
+
@switch-shadow-color: fade(#00230b, 20%);
|
|
570
|
+
|
|
571
|
+
// Pagination
|
|
572
|
+
// ---
|
|
573
|
+
@pagination-item-size: 32px;
|
|
574
|
+
@pagination-item-size-sm: 24px;
|
|
575
|
+
@pagination-font-family: Arial;
|
|
576
|
+
@pagination-font-weight-active: 500;
|
|
577
|
+
@pagination-item-bg-active: @component-background;
|
|
578
|
+
|
|
579
|
+
// PageHeader
|
|
580
|
+
// ---
|
|
581
|
+
@page-header-padding: 24px;
|
|
582
|
+
@page-header-padding-vertical: 16px;
|
|
583
|
+
@page-header-padding-breadcrumb: 12px;
|
|
584
|
+
@page-header-back-color: #000;
|
|
585
|
+
|
|
586
|
+
// Breadcrumb
|
|
587
|
+
// ---
|
|
588
|
+
@breadcrumb-base-color: @text-color-secondary;
|
|
589
|
+
@breadcrumb-last-item-color: @text-color;
|
|
590
|
+
@breadcrumb-font-size: @font-size-base;
|
|
591
|
+
@breadcrumb-icon-font-size: @font-size-base;
|
|
592
|
+
@breadcrumb-link-color: @text-color-secondary;
|
|
593
|
+
@breadcrumb-link-color-hover: @primary-5;
|
|
594
|
+
@breadcrumb-separator-color: @text-color-secondary;
|
|
595
|
+
@breadcrumb-separator-margin: 0 @padding-xs;
|
|
596
|
+
|
|
597
|
+
// Slider
|
|
598
|
+
// ---
|
|
599
|
+
@slider-margin: 14px 6px 10px;
|
|
600
|
+
@slider-rail-background-color: @background-color-base;
|
|
601
|
+
@slider-rail-background-color-hover: #e1e1e1;
|
|
602
|
+
@slider-track-background-color: @primary-3;
|
|
603
|
+
@slider-track-background-color-hover: @primary-4;
|
|
604
|
+
@slider-handle-border-width: 2px;
|
|
605
|
+
@slider-handle-background-color: @component-background;
|
|
606
|
+
@slider-handle-color: @primary-3;
|
|
607
|
+
@slider-handle-color-hover: @primary-4;
|
|
608
|
+
@slider-handle-color-focus: tint(@primary-color, 20%);
|
|
609
|
+
@slider-handle-color-focus-shadow: fade(@primary-color, 20%);
|
|
610
|
+
@slider-handle-color-tooltip-open: @primary-color;
|
|
611
|
+
@slider-handle-shadow: 0;
|
|
612
|
+
@slider-dot-border-color: @border-color-split;
|
|
613
|
+
@slider-dot-border-color-active: tint(@primary-color, 50%);
|
|
614
|
+
@slider-disabled-color: @disabled-color;
|
|
615
|
+
@slider-disabled-background-color: @component-background;
|
|
616
|
+
|
|
617
|
+
// Tree
|
|
618
|
+
// ---
|
|
619
|
+
@tree-title-height: 24px;
|
|
620
|
+
@tree-child-padding: 18px;
|
|
621
|
+
@tree-directory-selected-color: #fff;
|
|
622
|
+
@tree-directory-selected-bg: @primary-color;
|
|
623
|
+
@tree-node-hover-bg: @item-hover-bg;
|
|
624
|
+
@tree-node-selected-bg: @primary-2;
|
|
625
|
+
|
|
626
|
+
// Collapse
|
|
627
|
+
// ---
|
|
628
|
+
@collapse-header-padding: 12px 16px;
|
|
629
|
+
@collapse-header-padding-extra: 40px;
|
|
630
|
+
@collapse-header-bg: @background-color-light;
|
|
631
|
+
@collapse-content-padding: @padding-md;
|
|
632
|
+
@collapse-content-bg: @component-background;
|
|
633
|
+
|
|
634
|
+
// Skeleton
|
|
635
|
+
// ---
|
|
636
|
+
@skeleton-color: #f2f2f2;
|
|
637
|
+
|
|
638
|
+
// Transfer
|
|
639
|
+
// ---
|
|
640
|
+
@transfer-header-height: 40px;
|
|
641
|
+
@transfer-disabled-bg: @disabled-bg;
|
|
642
|
+
@transfer-list-height: 200px;
|
|
643
|
+
|
|
644
|
+
// Message
|
|
645
|
+
// ---
|
|
646
|
+
@message-notice-content-padding: 10px 16px;
|
|
647
|
+
|
|
648
|
+
// Motion
|
|
649
|
+
// ---
|
|
650
|
+
@wave-animation-width: 6px;
|
|
651
|
+
|
|
652
|
+
// Alert
|
|
653
|
+
// ---
|
|
654
|
+
@alert-success-border-color: ~`colorPalette('@{success-color}', 3) `;
|
|
655
|
+
@alert-success-bg-color: ~`colorPalette('@{success-color}', 1) `;
|
|
656
|
+
@alert-success-icon-color: @success-color;
|
|
657
|
+
@alert-info-border-color: ~`colorPalette('@{info-color}', 3) `;
|
|
658
|
+
@alert-info-bg-color: ~`colorPalette('@{info-color}', 1) `;
|
|
659
|
+
@alert-info-icon-color: @info-color;
|
|
660
|
+
@alert-warning-border-color: ~`colorPalette('@{warning-color}', 3) `;
|
|
661
|
+
@alert-warning-bg-color: ~`colorPalette('@{warning-color}', 1) `;
|
|
662
|
+
@alert-warning-icon-color: @warning-color;
|
|
663
|
+
@alert-error-border-color: ~`colorPalette('@{error-color}', 3) `;
|
|
664
|
+
@alert-error-bg-color: ~`colorPalette('@{error-color}', 1) `;
|
|
665
|
+
@alert-error-icon-color: @error-color;
|
|
666
|
+
|
|
667
|
+
// List
|
|
668
|
+
// ---
|
|
669
|
+
@list-header-background: transparent;
|
|
670
|
+
@list-footer-background: transparent;
|
|
671
|
+
@list-empty-text-padding: @padding-md;
|
|
672
|
+
@list-item-padding: @padding-sm 0;
|
|
673
|
+
@list-item-meta-margin-bottom: @padding-md;
|
|
674
|
+
@list-item-meta-avatar-margin-right: @padding-md;
|
|
675
|
+
@list-item-meta-title-margin-bottom: @padding-sm;
|
|
676
|
+
|
|
677
|
+
// Statistic
|
|
678
|
+
// ---
|
|
679
|
+
@statistic-title-font-size: @font-size-base;
|
|
680
|
+
@statistic-content-font-size: 24px;
|
|
681
|
+
@statistic-unit-font-size: 16px;
|
|
682
|
+
@statistic-font-family: @font-family;
|
|
683
|
+
|
|
684
|
+
// Drawer
|
|
685
|
+
// ---
|
|
686
|
+
@drawer-header-padding: 16px 24px;
|
|
687
|
+
@drawer-body-padding: 24px;
|
|
688
|
+
|
|
689
|
+
// Timeline
|
|
690
|
+
// ---
|
|
691
|
+
@timeline-width: 2px;
|
|
692
|
+
@timeline-color: @border-color-split;
|
|
693
|
+
@timeline-dot-border-width: 2px;
|
|
694
|
+
@timeline-dot-color: @primary-color;
|
|
695
|
+
@timeline-dot-bg: @component-background;
|
|
696
|
+
|
|
697
|
+
// Typography
|
|
698
|
+
// ---
|
|
699
|
+
@typography-title-font-weight: 600;
|
|
700
|
+
@typography-title-margin-top: 1.2em;
|
|
701
|
+
@typography-title-margin-bottom: 0.5em;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './default.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './v2-compatible-reset.less';
|