vft 0.0.71 → 0.0.72
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/component.js +56 -40
- package/es/components/aside/style/css.js +2 -0
- package/es/components/aside/style/index.js +2 -0
- package/es/components/back-top/back-top.vue2.js +8 -2
- package/es/components/col/col.vue.js +4 -0
- package/es/components/col/col.vue2.js +60 -0
- package/es/components/col/index.js +12 -0
- package/es/components/col/style/css.js +2 -0
- package/es/components/col/style/index.js +2 -0
- package/es/components/col/types.js +1 -0
- package/es/components/color-picker/utils/color.js +41 -51
- package/es/components/container/aside.vue.js +4 -0
- package/es/components/container/aside.vue2.js +37 -0
- package/es/components/container/container.vue.js +4 -0
- package/es/components/container/container.vue2.js +33 -0
- package/es/components/container/footer.vue.js +4 -0
- package/es/components/container/footer.vue2.js +39 -0
- package/es/components/container/header.vue.js +4 -0
- package/es/components/container/header.vue2.js +39 -0
- package/es/components/container/index.js +25 -0
- package/es/components/container/main.vue.js +4 -0
- package/es/components/container/main.vue2.js +26 -0
- package/es/components/container/style/css.js +6 -0
- package/es/components/container/style/index.js +6 -0
- package/es/components/context-menu/context-menu.vue2.js +20 -14
- package/es/components/date-picker/composables/use-month-range-header.js +29 -0
- package/es/components/date-picker/composables/use-range-picker.js +68 -0
- package/es/components/date-picker/composables/use-shortcut.js +24 -0
- package/es/components/date-picker/constants.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +37 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +206 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +131 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +85 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +455 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +383 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +170 -0
- package/es/components/date-picker/date-picker.js +81 -0
- package/es/components/date-picker/date-picker.type.js +1 -0
- package/es/components/date-picker/index.js +14 -0
- package/es/components/date-picker/panel-utils.js +17 -0
- package/es/components/date-picker/props/basic-cell.js +14 -0
- package/es/components/date-picker/props/basic-date-table.js +18 -0
- package/es/components/date-picker/props/basic-month-table.js +14 -0
- package/es/components/date-picker/props/basic-year-table.js +15 -0
- package/es/components/date-picker/props/date-picker.js +18 -0
- package/es/components/date-picker/props/panel-date-pick.js +23 -0
- package/es/components/date-picker/props/panel-date-range.js +14 -0
- package/es/components/date-picker/props/panel-month-range.js +14 -0
- package/es/components/date-picker/props/shared.js +56 -0
- package/es/components/date-picker/style/css.js +2 -0
- package/es/components/date-picker/style/index.js +7 -0
- package/es/components/date-picker/utils.js +49 -0
- package/es/components/date-time-select/date-time-select.vue2.js +70 -62
- package/es/components/date-time-select/style/index.js +6 -0
- package/es/components/footer/style/css.js +2 -0
- package/es/components/footer/style/index.js +2 -0
- package/es/components/footer-layout/footer-layout.vue2.js +105 -35
- package/es/components/header/style/css.js +2 -0
- package/es/components/header/style/index.js +2 -0
- package/es/components/header-layout/header-layout.vue2.js +122 -37
- package/es/components/horizontal-menu/horizontal-menu.vue.js +4 -0
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +115 -0
- package/es/components/horizontal-menu/index.js +12 -0
- package/es/components/horizontal-menu/style/css.js +6 -0
- package/es/components/horizontal-menu/style/index.js +6 -0
- package/es/components/index.js +254 -209
- package/es/components/input/input.vue2.js +184 -178
- package/es/components/link/link.vue2.js +24 -24
- package/es/components/logo/logo.vue2.js +21 -21
- package/es/components/main/style/css.js +2 -0
- package/es/components/main/style/index.js +2 -0
- package/es/components/md-container/md-container.vue2.js +65 -59
- package/es/components/md-container/toc.js +1 -1
- package/es/components/menu/menu-item.vue2.js +89 -62
- package/es/components/menu/menu.vue2.js +100 -106
- package/es/components/menu/sub-menu.vue2.js +83 -76
- package/es/components/menu/utils/menu-item.js +15 -19
- package/es/components/menu/utils/submenu.js +20 -25
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +45 -39
- package/es/components/result/result.vue2.js +8 -2
- package/es/components/row/constants.js +4 -0
- package/es/components/row/index.js +14 -0
- package/es/components/row/row.vue.js +4 -0
- package/es/components/row/row.vue2.js +49 -0
- package/es/components/row/style/css.js +2 -0
- package/es/components/row/style/index.js +2 -0
- package/es/components/row/types.js +1 -0
- package/es/components/search/search.vue2.js +126 -114
- package/es/components/side-menu/side-menu.vue2.js +212 -146
- package/es/components/side-menu/use-drag-line.js +29 -28
- package/es/components/tabs/tab-nav.vue2.js +48 -42
- package/es/components/time-picker/common/picker.vue.js +4 -0
- package/es/components/time-picker/common/picker.vue2.js +438 -0
- package/es/components/time-picker/common/props.js +201 -0
- package/es/components/time-picker/composables/use-time-panel.js +60 -0
- package/es/components/time-picker/composables/use-time-picker.js +40 -0
- package/es/components/time-picker/constants.js +17 -0
- package/es/components/time-picker/index.js +31 -0
- package/es/components/time-picker/props/basic-time-spinner.js +31 -0
- package/es/components/time-picker/props/panel-time-picker.js +17 -0
- package/es/components/time-picker/props/panel-time-range.js +16 -0
- package/es/components/time-picker/props/shared.js +40 -0
- package/es/components/time-picker/style/css.js +2 -0
- package/es/components/time-picker/style/index.js +2 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +227 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +107 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.js +4 -0
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +190 -0
- package/es/components/time-picker/time-picker.js +70 -0
- package/es/components/time-picker/types.js +1 -0
- package/es/components/time-picker/utils.js +35 -0
- package/es/components/time-select/style/css.js +2 -0
- package/es/components/time-select/style/index.js +2 -0
- package/es/components/time-select/time-select.js +54 -0
- package/es/components/time-select/time-select.vue.js +4 -0
- package/es/components/time-select/time-select.vue2.js +104 -0
- package/es/components/time-select/utils.js +40 -0
- package/es/components/tooltip/index.js +5 -3
- package/es/index.js +381 -336
- package/es/package.json.js +1 -1
- package/global.d.ts +73 -2
- package/lib/component.cjs +1 -1
- package/lib/components/aside/style/css.cjs +1 -0
- package/lib/components/aside/style/index.cjs +1 -0
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/col/col.vue.cjs +1 -0
- package/lib/components/col/col.vue2.cjs +1 -0
- package/lib/components/col/index.cjs +1 -0
- package/lib/components/col/style/css.cjs +1 -0
- package/lib/components/col/style/index.cjs +1 -0
- package/lib/components/col/types.cjs +1 -0
- package/lib/components/color-picker/utils/color.cjs +1 -1
- package/lib/components/container/aside.vue.cjs +1 -0
- package/lib/components/container/aside.vue2.cjs +1 -0
- package/lib/components/container/container.vue.cjs +1 -0
- package/lib/components/container/container.vue2.cjs +1 -0
- package/lib/components/container/footer.vue.cjs +1 -0
- package/lib/components/container/footer.vue2.cjs +1 -0
- package/lib/components/container/header.vue.cjs +1 -0
- package/lib/components/container/header.vue2.cjs +1 -0
- package/lib/components/container/index.cjs +1 -0
- package/lib/components/container/main.vue.cjs +1 -0
- package/lib/components/container/main.vue2.cjs +1 -0
- package/lib/components/container/style/css.cjs +1 -0
- package/lib/components/container/style/index.cjs +1 -0
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -0
- package/lib/components/date-picker/composables/use-range-picker.cjs +1 -0
- package/lib/components/date-picker/composables/use-shortcut.cjs +1 -0
- package/lib/components/date-picker/constants.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker.cjs +1 -0
- package/lib/components/date-picker/date-picker.type.cjs +1 -0
- package/lib/components/date-picker/index.cjs +1 -0
- package/lib/components/date-picker/panel-utils.cjs +1 -0
- package/lib/components/date-picker/props/basic-cell.cjs +1 -0
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-month-table.cjs +1 -0
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -0
- package/lib/components/date-picker/props/date-picker.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-pick.cjs +1 -0
- package/lib/components/date-picker/props/panel-date-range.cjs +1 -0
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -0
- package/lib/components/date-picker/props/shared.cjs +1 -0
- package/lib/components/date-picker/style/css.cjs +1 -0
- package/lib/components/date-picker/style/index.cjs +1 -0
- package/lib/components/date-picker/utils.cjs +1 -0
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/style/index.cjs +1 -1
- package/lib/components/footer/style/css.cjs +1 -0
- package/lib/components/footer/style/index.cjs +1 -0
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/header/style/css.cjs +1 -0
- package/lib/components/header/style/index.cjs +1 -0
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue.cjs +1 -0
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -0
- package/lib/components/horizontal-menu/index.cjs +1 -0
- package/lib/components/horizontal-menu/style/css.cjs +1 -0
- package/lib/components/horizontal-menu/style/index.cjs +1 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/main/style/css.cjs +1 -0
- package/lib/components/main/style/index.cjs +1 -0
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/menu/utils/menu-item.cjs +1 -1
- package/lib/components/menu/utils/submenu.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/row/constants.cjs +1 -0
- package/lib/components/row/index.cjs +1 -0
- package/lib/components/row/row.vue.cjs +1 -0
- package/lib/components/row/row.vue2.cjs +1 -0
- package/lib/components/row/style/css.cjs +1 -0
- package/lib/components/row/style/index.cjs +1 -0
- package/lib/components/row/types.cjs +1 -0
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.cjs +1 -0
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -0
- package/lib/components/time-picker/common/props.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-panel.cjs +1 -0
- package/lib/components/time-picker/composables/use-time-picker.cjs +1 -0
- package/lib/components/time-picker/constants.cjs +1 -0
- package/lib/components/time-picker/index.cjs +1 -0
- package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-picker.cjs +1 -0
- package/lib/components/time-picker/props/panel-time-range.cjs +1 -0
- package/lib/components/time-picker/props/shared.cjs +1 -0
- package/lib/components/time-picker/style/css.cjs +1 -0
- package/lib/components/time-picker/style/index.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.cjs +1 -0
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -0
- package/lib/components/time-picker/time-picker.cjs +1 -0
- package/lib/components/time-picker/types.cjs +1 -0
- package/lib/components/time-picker/utils.cjs +1 -0
- package/lib/components/time-select/style/css.cjs +1 -0
- package/lib/components/time-select/style/index.cjs +1 -0
- package/lib/components/time-select/time-select.cjs +1 -0
- package/lib/components/time-select/time-select.vue.cjs +1 -0
- package/lib/components/time-select/time-select.vue2.cjs +1 -0
- package/lib/components/time-select/utils.cjs +1 -0
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +7 -7
- package/tags.json +1 -1
- package/theme-style/base.css +1 -1
- package/theme-style/display.css +1 -0
- package/theme-style/index.css +1 -1
- package/theme-style/src/affix.scss +7 -0
- package/theme-style/src/aside.scss +8 -0
- package/theme-style/src/autocomplete.scss +83 -0
- package/theme-style/src/back-top.scss +7 -6
- package/theme-style/src/badge.scss +57 -0
- package/theme-style/src/breadcrumb-item.scss +0 -0
- package/theme-style/src/breadcrumb.scss +61 -0
- package/theme-style/src/calendar.scss +80 -0
- package/theme-style/src/card.scss +38 -0
- package/theme-style/src/carousel-item.scss +50 -0
- package/theme-style/src/carousel.scss +174 -0
- package/theme-style/src/cascader-panel.scss +138 -0
- package/theme-style/src/cascader.scss +216 -0
- package/theme-style/src/check-tag.scss +29 -0
- package/theme-style/src/col.scss +52 -0
- package/theme-style/src/collapse-item.scss +0 -0
- package/theme-style/src/collapse.scss +67 -0
- package/theme-style/src/color-picker.scss +2 -2
- package/theme-style/src/common/popup.scss +47 -0
- package/theme-style/src/common/var.scss +381 -6
- package/theme-style/src/container.scss +14 -0
- package/theme-style/src/date-picker/date-picker.scss +110 -0
- package/theme-style/src/date-picker/date-range-picker.scss +113 -0
- package/theme-style/src/date-picker/date-table.scss +162 -0
- package/theme-style/src/date-picker/month-table.scss +90 -0
- package/theme-style/src/date-picker/picker-panel.scss +131 -0
- package/theme-style/src/date-picker/picker.scss +210 -0
- package/theme-style/src/date-picker/time-picker.scss +90 -0
- package/theme-style/src/date-picker/time-range-picker.scss +33 -0
- package/theme-style/src/date-picker/time-spinner.scss +111 -0
- package/theme-style/src/date-picker/year-table.scss +60 -0
- package/theme-style/src/date-picker.scss +9 -0
- package/theme-style/src/date-time-select.scss +1 -1
- package/theme-style/src/display.scss +12 -0
- package/theme-style/src/drawer.scss +160 -0
- package/theme-style/src/footer-layout.scss +4 -9
- package/theme-style/src/footer.scss +11 -0
- package/theme-style/src/header-layout.scss +26 -15
- package/theme-style/src/header.scss +11 -0
- package/theme-style/src/horizontal-menu.scss +90 -0
- package/theme-style/src/icon.scss +6 -6
- package/theme-style/src/index.scss +123 -76
- package/theme-style/src/infinite-scroll.scss +0 -0
- package/theme-style/src/input-number.scss +175 -0
- package/theme-style/src/input.scss +2 -4
- package/theme-style/src/list-cell.scss +3 -3
- package/theme-style/src/loading.scss +1 -1
- package/theme-style/src/main.scss +10 -0
- package/theme-style/src/md/code.scss +3 -3
- package/theme-style/src/md/demo-block.scss +2 -2
- package/theme-style/src/md/pswp.scss +4 -4
- package/theme-style/src/md/scroll-bar.scss +1 -1
- package/theme-style/src/md/table.scss +3 -3
- package/theme-style/src/md/toc.scss +3 -3
- package/theme-style/src/md-container.scss +6 -8
- package/theme-style/src/menu.scss +43 -17
- package/theme-style/src/message-box.scss +258 -0
- package/theme-style/src/mixins/_col.scss +38 -0
- package/theme-style/src/mixins/mixins.scss +25 -0
- package/theme-style/src/notification.scss +105 -0
- package/theme-style/src/option.scss +36 -0
- package/theme-style/src/pagination.scss +0 -2
- package/theme-style/src/progress.scss +169 -0
- package/theme-style/src/rate.scss +101 -0
- package/theme-style/src/reset.scss +92 -0
- package/theme-style/src/row.scss +31 -0
- package/theme-style/src/search.scss +6 -5
- package/theme-style/src/select-dropdown.scss +2 -2
- package/theme-style/src/side-menu.scss +9 -3
- package/theme-style/src/slider.scss +211 -0
- package/theme-style/src/space.scss +20 -0
- package/theme-style/src/spinner.scss +43 -0
- package/theme-style/src/statistic.scss +35 -0
- package/theme-style/src/step.scss +316 -0
- package/theme-style/src/steps.scss +21 -0
- package/theme-style/src/tabs.scss +2 -2
- package/theme-style/src/time-picker.scss +5 -0
- package/theme-style/src/time-select.scss +37 -0
- package/theme-style/src/timeline-item.scss +85 -0
- package/theme-style/src/timeline.scss +46 -0
- package/theme-style/src/transfer.scss +206 -0
- package/theme-style/src/tree-select.scss +36 -0
- package/theme-style/src/tree.scss +131 -0
- package/theme-style/src/upload.scss +621 -0
- package/theme-style/vft-affix.css +1 -0
- package/theme-style/vft-aside.css +1 -0
- package/theme-style/vft-autocomplete.css +1 -0
- package/theme-style/vft-back-top.css +1 -1
- package/theme-style/vft-badge.css +1 -0
- package/theme-style/vft-breadcrumb-item.css +0 -0
- package/theme-style/vft-breadcrumb.css +1 -0
- package/theme-style/vft-calendar.css +1 -0
- package/theme-style/vft-card.css +1 -0
- package/theme-style/vft-carousel-item.css +1 -0
- package/theme-style/vft-carousel.css +1 -0
- package/theme-style/vft-cascader-panel.css +1 -0
- package/theme-style/vft-cascader.css +1 -0
- package/theme-style/vft-check-tag.css +1 -0
- package/theme-style/vft-col.css +1 -0
- package/theme-style/vft-collapse-item.css +0 -0
- package/theme-style/vft-collapse.css +1 -0
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-container.css +1 -0
- package/theme-style/vft-date-picker.css +1 -0
- package/theme-style/vft-drawer.css +1 -0
- package/theme-style/vft-footer-layout.css +1 -1
- package/theme-style/vft-footer.css +1 -0
- package/theme-style/vft-header-layout.css +1 -1
- package/theme-style/vft-header.css +1 -0
- package/theme-style/vft-horizontal-menu.css +1 -0
- package/theme-style/vft-infinite-scroll.css +0 -0
- package/theme-style/vft-input-number.css +1 -0
- package/theme-style/vft-main.css +1 -0
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-message-box.css +1 -0
- package/theme-style/vft-notification.css +1 -0
- package/theme-style/vft-option.css +1 -0
- package/theme-style/vft-pagination.css +1 -1
- package/theme-style/vft-progress.css +1 -0
- package/theme-style/vft-rate.css +1 -0
- package/theme-style/vft-reset.css +1 -0
- package/theme-style/vft-row.css +1 -0
- package/theme-style/vft-search.css +1 -1
- package/theme-style/vft-select-dropdown.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-slider.css +1 -0
- package/theme-style/vft-space.css +1 -0
- package/theme-style/vft-spinner.css +1 -0
- package/theme-style/vft-statistic.css +1 -0
- package/theme-style/vft-step.css +1 -0
- package/theme-style/vft-steps.css +1 -0
- package/theme-style/vft-time-picker.css +1 -0
- package/theme-style/vft-time-select.css +1 -0
- package/theme-style/vft-timeline-item.css +1 -0
- package/theme-style/vft-timeline.css +1 -0
- package/theme-style/vft-transfer.css +1 -0
- package/theme-style/vft-tree-select.css +1 -0
- package/theme-style/vft-tree.css +1 -0
- package/theme-style/vft-upload.css +1 -0
- package/theme-style/vft-var.css +1 -1
- package/web-types.json +1 -1
- package/theme-style/src/md/list.scss +0 -21
|
@@ -34,7 +34,7 @@ $name: menu;
|
|
|
34
34
|
|
|
35
35
|
i {
|
|
36
36
|
flex-shrink: 0;
|
|
37
|
-
margin-right: getCompCssVar('icon-mr')
|
|
37
|
+
margin-right: getCompCssVar('icon-mr');
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&:hover,
|
|
@@ -67,6 +67,8 @@ $name: menu;
|
|
|
67
67
|
padding-left: 0;
|
|
68
68
|
background-color: getCompCssVar('bg-color');
|
|
69
69
|
box-sizing: border-box;
|
|
70
|
+
scroll-behavior: smooth;
|
|
71
|
+
|
|
70
72
|
@include m(vertical) {
|
|
71
73
|
&:not(.#{$namespace}-menu--collapse):not(.#{$namespace}-menu--popup-container) {
|
|
72
74
|
& .#{$namespace}-menu-item,
|
|
@@ -79,11 +81,17 @@ $name: menu;
|
|
|
79
81
|
);
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
|
|
85
|
+
&:not(.vft-menu--collapse) {
|
|
86
|
+
.#{$namespace}-sub-menu__text {
|
|
87
|
+
white-space: break-spaces;
|
|
88
|
+
}
|
|
84
89
|
}
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
|
|
91
|
+
& > .#{$namespace}-sub-menu {
|
|
92
|
+
@include e(title) {
|
|
93
|
+
padding-right: calc(#{getCssVar('menu-base-level-padding')} + #{getCssVar('menu-icon-width')});
|
|
94
|
+
}
|
|
87
95
|
}
|
|
88
96
|
}
|
|
89
97
|
|
|
@@ -204,7 +212,7 @@ $name: menu;
|
|
|
204
212
|
display: none;
|
|
205
213
|
}
|
|
206
214
|
|
|
207
|
-
> .#{$namespace}-sub-menu__text {
|
|
215
|
+
> .#{$namespace}-sub-menu__text span {
|
|
208
216
|
height: 0;
|
|
209
217
|
width: 0;
|
|
210
218
|
overflow: hidden;
|
|
@@ -220,6 +228,10 @@ $name: menu;
|
|
|
220
228
|
.#{$namespace}-menu .#{$namespace}-sub-menu {
|
|
221
229
|
min-width: 200px;
|
|
222
230
|
}
|
|
231
|
+
|
|
232
|
+
.#{$namespace}-sub-menu__text {
|
|
233
|
+
padding-right: 0px;
|
|
234
|
+
}
|
|
223
235
|
}
|
|
224
236
|
@include m(popup) {
|
|
225
237
|
z-index: 100;
|
|
@@ -230,7 +242,6 @@ $name: menu;
|
|
|
230
242
|
|
|
231
243
|
// Todo radius
|
|
232
244
|
border-radius: getCompCssVar('popup-border-radius');
|
|
233
|
-
|
|
234
245
|
}
|
|
235
246
|
|
|
236
247
|
.#{$namespace}-icon {
|
|
@@ -242,10 +253,9 @@ $name: menu;
|
|
|
242
253
|
@include menu-item;
|
|
243
254
|
|
|
244
255
|
& [class^='#{$namespace}-icon'] {
|
|
245
|
-
margin-right:
|
|
256
|
+
margin-right: getCompCssVar('icon-mr');
|
|
246
257
|
width: getCompCssVar('icon-width');
|
|
247
258
|
text-align: center;
|
|
248
|
-
font-size: 18px;
|
|
249
259
|
vertical-align: middle;
|
|
250
260
|
}
|
|
251
261
|
@include when(active) {
|
|
@@ -265,23 +275,32 @@ $name: menu;
|
|
|
265
275
|
box-sizing: border-box;
|
|
266
276
|
padding: 0 getCompCssVar('base-level-padding');
|
|
267
277
|
}
|
|
278
|
+
span {
|
|
279
|
+
@include line-clamp();
|
|
280
|
+
word-break: break-all;
|
|
281
|
+
white-space: break-spaces;
|
|
282
|
+
}
|
|
268
283
|
}
|
|
269
284
|
|
|
270
285
|
@include b(sub-menu) {
|
|
271
286
|
list-style: none;
|
|
272
287
|
margin: 0;
|
|
273
288
|
padding-left: 0;
|
|
274
|
-
background: getCompCssVar('sub-menu-bg-color')
|
|
289
|
+
background: getCompCssVar('sub-menu-bg-color');
|
|
275
290
|
|
|
276
291
|
@include e(title) {
|
|
277
292
|
@include menu-item;
|
|
278
|
-
|
|
279
293
|
&:hover {
|
|
280
294
|
background-color: getCompCssVar('hover-bg-color');
|
|
281
295
|
}
|
|
282
296
|
|
|
297
|
+
//&:not(.vft-menu--collapse) {
|
|
298
|
+
// .#{$namespace}-sub-menu__text {
|
|
299
|
+
// white-space: break-spaces;
|
|
300
|
+
// }
|
|
301
|
+
//}
|
|
283
302
|
@include e(text) {
|
|
284
|
-
padding-right:
|
|
303
|
+
padding-right: getCompCssVar('base-level-padding');
|
|
285
304
|
}
|
|
286
305
|
|
|
287
306
|
}
|
|
@@ -302,6 +321,12 @@ $name: menu;
|
|
|
302
321
|
.#{$namespace}-sub-menu__title {
|
|
303
322
|
border-bottom-color: getCompCssVar('active-color');
|
|
304
323
|
}
|
|
324
|
+
&.is-opened {
|
|
325
|
+
|
|
326
|
+
> .#{$namespace}-sub-menu__title {
|
|
327
|
+
color: getCompCssVar('active-color');
|
|
328
|
+
}
|
|
329
|
+
}
|
|
305
330
|
}
|
|
306
331
|
@include when(disabled) {
|
|
307
332
|
.#{$namespace}-sub-menu__title,
|
|
@@ -313,7 +338,7 @@ $name: menu;
|
|
|
313
338
|
}
|
|
314
339
|
.#{$namespace}-icon {
|
|
315
340
|
vertical-align: middle;
|
|
316
|
-
margin-right: getCompCssVar('icon-mr')
|
|
341
|
+
margin-right: getCompCssVar('icon-mr');
|
|
317
342
|
text-align: center;
|
|
318
343
|
|
|
319
344
|
&.#{$namespace}-sub-menu__icon-more {
|
|
@@ -333,10 +358,12 @@ $name: menu;
|
|
|
333
358
|
padding: 0;
|
|
334
359
|
}
|
|
335
360
|
@include e(title) {
|
|
336
|
-
padding:
|
|
337
|
-
line-height:
|
|
361
|
+
padding: 0px getCompCssVar('base-level-padding');
|
|
362
|
+
line-height: getCompCssVar(sub-item-height);
|
|
363
|
+
height: getCompCssVar(sub-item-height);
|
|
338
364
|
font-size: 12px;
|
|
339
|
-
color: getCssVar('text-color'
|
|
365
|
+
color: getCssVar('text-secondary-color');
|
|
366
|
+
@include line-clamp()
|
|
340
367
|
}
|
|
341
368
|
}
|
|
342
369
|
|
|
@@ -344,4 +371,3 @@ $name: menu;
|
|
|
344
371
|
transition: getCssVar('transition-duration-fast');
|
|
345
372
|
opacity: 0;
|
|
346
373
|
}
|
|
347
|
-
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
@use 'mixins/var' as *;
|
|
5
|
+
@use 'common/var' as *;
|
|
6
|
+
@use 'common/popup' as *;
|
|
7
|
+
|
|
8
|
+
@include b(message-box) {
|
|
9
|
+
@include set-component-css-var('messagebox', $messagebox);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include b(message-box) {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
max-width: getCssVar('messagebox-width');
|
|
15
|
+
width: 100%;
|
|
16
|
+
padding-bottom: 10px;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
background-color: getCssVar('bg-color');
|
|
19
|
+
border-radius: getCssVar('messagebox-border-radius');
|
|
20
|
+
border: 1px solid getCssVar('border-color-lighter');
|
|
21
|
+
font-size: getCssVar('messagebox-font-size');
|
|
22
|
+
box-shadow: getCssVar('box-shadow-light');
|
|
23
|
+
text-align: left;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
backface-visibility: hidden;
|
|
26
|
+
// To avoid small screen overflowing, see #11919
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
|
|
29
|
+
&:focus {
|
|
30
|
+
outline: none !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@at-root .#{$namespace}-overlay.is-message-box {
|
|
34
|
+
.#{$namespace}-overlay-message-box {
|
|
35
|
+
text-align: center;
|
|
36
|
+
position: fixed;
|
|
37
|
+
top: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
padding: 16px;
|
|
42
|
+
overflow: auto;
|
|
43
|
+
|
|
44
|
+
&::after {
|
|
45
|
+
content: '';
|
|
46
|
+
display: inline-block;
|
|
47
|
+
height: 100%;
|
|
48
|
+
width: 0;
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include when(draggable) {
|
|
55
|
+
@include e(header) {
|
|
56
|
+
cursor: move;
|
|
57
|
+
user-select: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@include e(header) {
|
|
62
|
+
position: relative;
|
|
63
|
+
padding: getCssVar('messagebox-padding-primary');
|
|
64
|
+
padding-bottom: 10px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include e(title) {
|
|
68
|
+
padding-left: 0;
|
|
69
|
+
margin-bottom: 0;
|
|
70
|
+
font-size: getCssVar('messagebox-font-size');
|
|
71
|
+
line-height: 1;
|
|
72
|
+
color: getCssVar('messagebox-title-color');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include e(headerbtn) {
|
|
76
|
+
position: absolute;
|
|
77
|
+
top: getCssVar('messagebox-padding-primary');
|
|
78
|
+
right: getCssVar('messagebox-padding-primary');
|
|
79
|
+
padding: 0;
|
|
80
|
+
border: none;
|
|
81
|
+
outline: none;
|
|
82
|
+
background: transparent;
|
|
83
|
+
font-size: var(
|
|
84
|
+
#{getCssVarName('message-close-size')},
|
|
85
|
+
map.get($message, 'close-size')
|
|
86
|
+
);
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
|
|
89
|
+
.#{$namespace}-message-box__close {
|
|
90
|
+
color: getCssVar('info-color');
|
|
91
|
+
font-size: inherit;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:focus,
|
|
95
|
+
&:hover {
|
|
96
|
+
.#{$namespace}-message-box__close {
|
|
97
|
+
color: getCssVar('primary-color');
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@include e(content) {
|
|
103
|
+
padding: 10px getCssVar('messagebox-padding-primary');
|
|
104
|
+
color: getCssVar('messagebox-content-color');
|
|
105
|
+
font-size: getCssVar('messagebox-content-font-size');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include e(container) {
|
|
109
|
+
position: relative;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@include e(input) {
|
|
113
|
+
padding-top: 15px;
|
|
114
|
+
|
|
115
|
+
& div.invalid > input {
|
|
116
|
+
border-color: getCssVar('error-color');
|
|
117
|
+
|
|
118
|
+
&:focus {
|
|
119
|
+
border-color: getCssVar('error-color');
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@include e(status) {
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 50%;
|
|
127
|
+
transform: translateY(-50%);
|
|
128
|
+
font-size: 24px !important;
|
|
129
|
+
|
|
130
|
+
&::before {
|
|
131
|
+
// 防止图标切割
|
|
132
|
+
padding-left: 1px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.#{$namespace}-icon {
|
|
136
|
+
// 防止 el-icon 的position样式覆盖
|
|
137
|
+
position: absolute;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
+ .#{$namespace}-message-box__message {
|
|
141
|
+
padding-left: 36px;
|
|
142
|
+
padding-right: 12px;
|
|
143
|
+
word-break: break-word;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@each $type in (success, info, warning, error) {
|
|
147
|
+
&.#{$namespace}-message-box-icon--#{$type} {
|
|
148
|
+
@include css-var-from-global(('messagebox', 'color'), ('color', $type));
|
|
149
|
+
color: getCssVar('messagebox-color');
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@include e(message) {
|
|
155
|
+
margin: 0;
|
|
156
|
+
|
|
157
|
+
& p {
|
|
158
|
+
margin: 0;
|
|
159
|
+
line-height: 24px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@include e(errormsg) {
|
|
164
|
+
color: getCssVar('error-color');
|
|
165
|
+
font-size: getCssVar('messagebox-error-font-size');
|
|
166
|
+
min-height: 18px;
|
|
167
|
+
margin-top: 2px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@include e(btns) {
|
|
171
|
+
padding: 5px 15px 0;
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-wrap: wrap;
|
|
174
|
+
justify-content: flex-end;
|
|
175
|
+
align-items: center;
|
|
176
|
+
|
|
177
|
+
& button:nth-child(2) {
|
|
178
|
+
margin-left: 10px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@include e(btns-reverse) {
|
|
183
|
+
flex-direction: row-reverse;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// centerAlign 布局
|
|
187
|
+
@include m(center) {
|
|
188
|
+
@include e(title) {
|
|
189
|
+
position: relative;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@include e(status) {
|
|
196
|
+
position: relative;
|
|
197
|
+
top: auto;
|
|
198
|
+
padding-right: 5px;
|
|
199
|
+
text-align: center;
|
|
200
|
+
transform: translateY(-1px);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@include e(message) {
|
|
204
|
+
margin-left: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@include e(btns) {
|
|
208
|
+
justify-content: center;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@include e(content) {
|
|
212
|
+
$padding-horizontal: calc(
|
|
213
|
+
#{getCssVar('messagebox', 'padding-primary')} + 12px
|
|
214
|
+
);
|
|
215
|
+
|
|
216
|
+
padding-left: $padding-horizontal;
|
|
217
|
+
padding-right: $padding-horizontal;
|
|
218
|
+
|
|
219
|
+
text-align: center;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.fade-in-linear-enter-active {
|
|
225
|
+
.#{$namespace}-overlay-message-box {
|
|
226
|
+
animation: msgbox-fade-in getCssVar('transition-duration');
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.fade-in-linear-leave-active {
|
|
231
|
+
.#{$namespace}-overlay-message-box {
|
|
232
|
+
animation: msgbox-fade-in getCssVar('transition-duration') reverse;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@keyframes msgbox-fade-in {
|
|
237
|
+
0% {
|
|
238
|
+
transform: translate3d(0, -20px, 0);
|
|
239
|
+
opacity: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
100% {
|
|
243
|
+
transform: translate3d(0, 0, 0);
|
|
244
|
+
opacity: 1;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
@keyframes msgbox-fade-out {
|
|
249
|
+
0% {
|
|
250
|
+
transform: translate3d(0, 0, 0);
|
|
251
|
+
opacity: 1;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
100% {
|
|
255
|
+
transform: translate3d(0, -20px, 0);
|
|
256
|
+
opacity: 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
@use '../common/var' as *;
|
|
4
|
+
@use './mixins' as *;
|
|
5
|
+
|
|
6
|
+
@mixin col-size($size) {
|
|
7
|
+
@include res($size) {
|
|
8
|
+
.#{$namespace}-col-#{$size}-0 {
|
|
9
|
+
display: none;
|
|
10
|
+
@include when(guttered) {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@for $i from 0 through 24 {
|
|
15
|
+
.#{$namespace}-col-#{$size}-#{$i} {
|
|
16
|
+
@if $i != 0 {
|
|
17
|
+
display: block;
|
|
18
|
+
}
|
|
19
|
+
max-width: (math.div(1, 24) * $i * 100) * 1%;
|
|
20
|
+
flex: 0 0 (math.div(1, 24) * $i * 100) * 1%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.#{$namespace}-col-#{$size}-offset-#{$i} {
|
|
24
|
+
margin-left: (math.div(1, 24) * $i * 100) * 1%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.#{$namespace}-col-#{$size}-pull-#{$i} {
|
|
28
|
+
position: relative;
|
|
29
|
+
right: (math.div(1, 24) * $i * 100) * 1%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.#{$namespace}-col-#{$size}-push-#{$i} {
|
|
33
|
+
position: relative;
|
|
34
|
+
left: (math.div(1, 24) * $i * 100) * 1%;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -59,6 +59,18 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
// Break-points
|
|
63
|
+
@mixin res($key, $map: $breakpoints) {
|
|
64
|
+
// loop breakpoint Map, return if present
|
|
65
|
+
@if map-has-key($map, $key) {
|
|
66
|
+
@media only screen and #{unquote(map-get($map, $key))} {
|
|
67
|
+
@content;
|
|
68
|
+
}
|
|
69
|
+
} @else {
|
|
70
|
+
@warn "Undefined points: `#{$map}`";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
62
74
|
|
|
63
75
|
//@include e(header) {} ==> .vft-tabs__header {}
|
|
64
76
|
//@include @include e((nav-next, nav-prev)) {} ==> ,vft-tabs__nav-prev .vft-tabs__nav-next {}
|
|
@@ -286,3 +298,16 @@
|
|
|
286
298
|
}
|
|
287
299
|
}
|
|
288
300
|
}
|
|
301
|
+
|
|
302
|
+
@mixin utils-vertical-center {
|
|
303
|
+
$selector: &;
|
|
304
|
+
|
|
305
|
+
@at-root {
|
|
306
|
+
#{$selector}::after {
|
|
307
|
+
display: inline-block;
|
|
308
|
+
content: '';
|
|
309
|
+
height: 100%;
|
|
310
|
+
vertical-align: middle;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
@use 'mixins/var' as *;
|
|
3
|
+
@use 'common/var' as *;
|
|
4
|
+
|
|
5
|
+
@include b(notification) {
|
|
6
|
+
@include set-component-css-var('notification', $notification);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@include b(notification) {
|
|
10
|
+
display: flex;
|
|
11
|
+
width: getCssVar('notification-width');
|
|
12
|
+
padding: getCssVar('notification-padding');
|
|
13
|
+
border-radius: getCssVar('notification-radius');
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
border: 1px solid getCssVar('notification-border-color');
|
|
16
|
+
position: fixed;
|
|
17
|
+
background-color: getCssVar('bg-color', 'overlay');
|
|
18
|
+
box-shadow: getCssVar('notification-shadow');
|
|
19
|
+
transition: opacity getCssVar('transition-duration'),
|
|
20
|
+
transform getCssVar('transition-duration'),
|
|
21
|
+
left getCssVar('transition-duration'),
|
|
22
|
+
right getCssVar('transition-duration'), top 0.4s,
|
|
23
|
+
bottom getCssVar('transition-duration');
|
|
24
|
+
overflow-wrap: anywhere;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
z-index: 9999;
|
|
27
|
+
|
|
28
|
+
&.right {
|
|
29
|
+
right: 16px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.left {
|
|
33
|
+
left: 16px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@include e(group) {
|
|
37
|
+
margin-left: getCssVar('notification-group-margin-left');
|
|
38
|
+
margin-right: getCssVar('notification-group-margin-right');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@include e(title) {
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
font-size: getCssVar('notification-title-font-size');
|
|
44
|
+
line-height: getCssVar('notification-icon-size');
|
|
45
|
+
color: getCssVar('notification-title-color');
|
|
46
|
+
margin: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@include e(content) {
|
|
50
|
+
font-size: getCssVar('notification-content-font-size');
|
|
51
|
+
line-height: 24px;
|
|
52
|
+
margin: 6px 0 0;
|
|
53
|
+
color: getCssVar('notification-content-color');
|
|
54
|
+
text-align: justify;
|
|
55
|
+
|
|
56
|
+
p {
|
|
57
|
+
margin: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .#{$namespace}-notification__icon {
|
|
62
|
+
height: getCssVar('notification-icon-size');
|
|
63
|
+
width: getCssVar('notification-icon-size');
|
|
64
|
+
font-size: getCssVar('notification-icon-size');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& .#{$namespace}-notification__closeBtn {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 18px;
|
|
70
|
+
right: 15px;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
color: getCssVar('notification-close-color');
|
|
73
|
+
font-size: getCssVar('notification-close-font-size');
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
color: getCssVar('notification-close-hover-color');
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@each $type in (success, info, warning, error) {
|
|
81
|
+
& .#{$namespace}-notification--#{$type} {
|
|
82
|
+
@include css-var-from-global(
|
|
83
|
+
('notification', 'icon-color'),
|
|
84
|
+
('color', $type)
|
|
85
|
+
);
|
|
86
|
+
color: getCssVar('notification-icon-color');
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.#{$namespace}-notification-fade-enter-from {
|
|
92
|
+
&.right {
|
|
93
|
+
right: 0;
|
|
94
|
+
transform: translateX(100%);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.left {
|
|
98
|
+
left: 0;
|
|
99
|
+
transform: translateX(-100%);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.#{$namespace}-notification-fade-leave-to {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
@use 'common/var' as *;
|
|
5
|
+
|
|
6
|
+
@include b(select-dropdown) {
|
|
7
|
+
@include e(item) {
|
|
8
|
+
font-size: map.get($select, 'font-size');
|
|
9
|
+
// 20 as the padding of option item, 12 as the size of ✓ icon size
|
|
10
|
+
padding: 0 #{20 + 12}px 0 20px;
|
|
11
|
+
position: relative;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
color: map.get($select-option, 'text-color');
|
|
16
|
+
height: map.get($select-option, 'height');
|
|
17
|
+
line-height: map.get($select-option, 'height');
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
|
|
21
|
+
@include when(disabled) {
|
|
22
|
+
color: map.get($select-option, 'disabled-color');
|
|
23
|
+
cursor: not-allowed;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.hover,
|
|
27
|
+
&:hover {
|
|
28
|
+
background-color: map.get($select-option, 'hover-background');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.selected {
|
|
32
|
+
color: map.get($select-option, 'selected-text-color');
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|