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
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
@use 'common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(progress) {
|
|
5
|
+
position: relative;
|
|
6
|
+
line-height: 1;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
|
|
10
|
+
@include e(text) {
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
color: getCssVar('text-color', 'regular');
|
|
13
|
+
margin-left: 5px;
|
|
14
|
+
min-width: 50px;
|
|
15
|
+
line-height: 1;
|
|
16
|
+
|
|
17
|
+
i {
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include m((circle, dashboard)) {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
|
|
26
|
+
.#{$namespace}-progress__text {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 50%;
|
|
29
|
+
left: 0;
|
|
30
|
+
width: 100%;
|
|
31
|
+
text-align: center;
|
|
32
|
+
margin: 0;
|
|
33
|
+
transform: translate(0, -50%);
|
|
34
|
+
|
|
35
|
+
i {
|
|
36
|
+
vertical-align: middle;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include m(without-text) {
|
|
43
|
+
.#{$namespace}-progress__text {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.#{$namespace}-progress-bar {
|
|
48
|
+
padding-right: 0;
|
|
49
|
+
margin-right: 0;
|
|
50
|
+
display: block;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include m(text-inside) {
|
|
55
|
+
.#{$namespace}-progress-bar {
|
|
56
|
+
padding-right: 0;
|
|
57
|
+
margin-right: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@include when(success) {
|
|
62
|
+
.#{$namespace}-progress-bar__inner {
|
|
63
|
+
background-color: getCssVar('success-color');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.#{$namespace}-progress__text {
|
|
67
|
+
color: getCssVar('success-color');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include when(warning) {
|
|
72
|
+
.#{$namespace}-progress-bar__inner {
|
|
73
|
+
background-color: getCssVar('warning-color');
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.#{$namespace}-progress__text {
|
|
77
|
+
color: getCssVar('warning-color');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@include when(exception) {
|
|
82
|
+
.#{$namespace}-progress-bar__inner {
|
|
83
|
+
background-color: getCssVar('danger-color');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.#{$namespace}-progress__text {
|
|
87
|
+
color: getCssVar('danger-color');
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@include b(progress-bar) {
|
|
93
|
+
flex-grow: 1;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
|
|
96
|
+
@include e(outer) {
|
|
97
|
+
height: 6px;
|
|
98
|
+
border-radius: 100px;
|
|
99
|
+
background-color: getCssVar('border-color-lighter');
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
position: relative;
|
|
102
|
+
vertical-align: middle;
|
|
103
|
+
}
|
|
104
|
+
@include e(inner) {
|
|
105
|
+
position: absolute;
|
|
106
|
+
left: 0;
|
|
107
|
+
top: 0;
|
|
108
|
+
height: 100%;
|
|
109
|
+
background-color: getCssVar('primary-color');
|
|
110
|
+
text-align: right;
|
|
111
|
+
border-radius: 100px;
|
|
112
|
+
line-height: 1;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
transition: width 0.6s ease;
|
|
115
|
+
|
|
116
|
+
@include utils-vertical-center;
|
|
117
|
+
|
|
118
|
+
@include m(indeterminate) {
|
|
119
|
+
transform: translateZ(0);
|
|
120
|
+
animation: indeterminate 3s infinite;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@include m(striped) {
|
|
124
|
+
background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
|
|
125
|
+
background-size: 1.25em 1.25em;
|
|
126
|
+
&.#{$namespace}-progress-bar__inner--striped-flow {
|
|
127
|
+
animation: striped-flow 3s linear infinite;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@include e(innerText) {
|
|
133
|
+
display: inline-block;
|
|
134
|
+
vertical-align: middle;
|
|
135
|
+
color: $color-white;
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
margin: 0 5px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@keyframes progress {
|
|
142
|
+
0% {
|
|
143
|
+
background-position: 0 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
100% {
|
|
147
|
+
background-position: 32px 0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@keyframes indeterminate {
|
|
152
|
+
0% {
|
|
153
|
+
left: -100%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
100% {
|
|
157
|
+
left: 100%;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@keyframes striped-flow {
|
|
162
|
+
0% {
|
|
163
|
+
background-position: -100%;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
100% {
|
|
167
|
+
background-position: 100%;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
@use 'mixins/var' as *;
|
|
5
|
+
@use 'common/var' as *;
|
|
6
|
+
|
|
7
|
+
$rate-height: () !default;
|
|
8
|
+
$rate-height: map.merge(
|
|
9
|
+
(
|
|
10
|
+
'large': 40px,
|
|
11
|
+
'default': 32px,
|
|
12
|
+
'small': 24px,
|
|
13
|
+
),
|
|
14
|
+
$rate-height
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
$rate-size: () !default;
|
|
18
|
+
$rate-size: map.merge(
|
|
19
|
+
(
|
|
20
|
+
'small': 14px,
|
|
21
|
+
),
|
|
22
|
+
$rate-size
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
@include b(rate) {
|
|
26
|
+
@include set-component-css-var('rate', $rate);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include b(rate) {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
height: map.get($rate-height, 'default');
|
|
33
|
+
|
|
34
|
+
&:focus,
|
|
35
|
+
&:active {
|
|
36
|
+
outline: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include e(item) {
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
position: relative;
|
|
43
|
+
font-size: 0;
|
|
44
|
+
vertical-align: middle;
|
|
45
|
+
color: getCssVar('rate-void-color');
|
|
46
|
+
line-height: normal;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .#{bem('rate', 'icon')} {
|
|
50
|
+
position: relative;
|
|
51
|
+
display: inline-block;
|
|
52
|
+
font-size: getCssVar('rate-icon-size');
|
|
53
|
+
margin-right: getCssVar('rate-icon-margin');
|
|
54
|
+
transition: getCssVar('transition-duration');
|
|
55
|
+
|
|
56
|
+
&.hover {
|
|
57
|
+
transform: scale(1.15);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.path2 {
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 0;
|
|
63
|
+
top: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include when(active) {
|
|
67
|
+
color: getCssVar('rate', 'fill-color');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include e(decimal) {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 0;
|
|
75
|
+
display: inline-block;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
color: getCssVar('rate', 'fill-color');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include e(text) {
|
|
81
|
+
font-size: getCssVar('rate-font-size');
|
|
82
|
+
vertical-align: middle;
|
|
83
|
+
color: getCssVar('rate', 'text-color');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@each $size in (large, small) {
|
|
87
|
+
@include m($size) {
|
|
88
|
+
height: map.get($rate-height, $size);
|
|
89
|
+
& .#{bem('rate', 'icon')} {
|
|
90
|
+
font-size: map.get($rate-size, $size);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@include when(disabled) {
|
|
96
|
+
@include e(item) {
|
|
97
|
+
cursor: auto;
|
|
98
|
+
color: getCssVar('rate', 'disabled-void-color');
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
|
|
6
|
+
'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
font-size: getCssVar('font-size', 'base');
|
|
9
|
+
color: getCssVar('text-color', 'primary');
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
-moz-osx-font-smoothing: grayscale;
|
|
12
|
+
-webkit-tap-highlight-color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
a {
|
|
16
|
+
color: getCssVar('color', 'primary');
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
|
|
19
|
+
&:hover,
|
|
20
|
+
&:focus {
|
|
21
|
+
color: getCssVar('primary-color', 'light-3');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:active {
|
|
25
|
+
color: getCssVar('primary-color', 'dark-2');
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
h1,
|
|
30
|
+
h2,
|
|
31
|
+
h3,
|
|
32
|
+
h4,
|
|
33
|
+
h5,
|
|
34
|
+
h6 {
|
|
35
|
+
color: getCssVar('text-color', 'regular');
|
|
36
|
+
font-weight: inherit;
|
|
37
|
+
|
|
38
|
+
&:first-child {
|
|
39
|
+
margin-top: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:last-child {
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h1 {
|
|
48
|
+
font-size: calc(getCssVar('font-size', 'base') + 6px);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
h2 {
|
|
52
|
+
font-size: calc(getCssVar('font-size', 'base') + 4px);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h3 {
|
|
56
|
+
font-size: calc(getCssVar('font-size', 'base') + 2px);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h4,
|
|
60
|
+
h5,
|
|
61
|
+
h6,
|
|
62
|
+
p {
|
|
63
|
+
font-size: inherit;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
p {
|
|
67
|
+
line-height: 1.8;
|
|
68
|
+
|
|
69
|
+
&:first-child {
|
|
70
|
+
margin-top: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:last-child {
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
sup,
|
|
79
|
+
sub {
|
|
80
|
+
font-size: calc(getCssVar('font-size', 'base') - 1px);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
small {
|
|
84
|
+
font-size: calc(getCssVar('font-size', 'base') - 2px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
hr {
|
|
88
|
+
margin-top: 20px;
|
|
89
|
+
margin-bottom: 20px;
|
|
90
|
+
border: 0;
|
|
91
|
+
border-top: 1px solid getCssVar('border-color', 'lighter');
|
|
92
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(row) {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
position: relative;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
@include when(justify-center) {
|
|
11
|
+
justify-content: center;
|
|
12
|
+
}
|
|
13
|
+
@include when(justify-end) {
|
|
14
|
+
justify-content: flex-end;
|
|
15
|
+
}
|
|
16
|
+
@include when(justify-space-between) {
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
19
|
+
@include when(justify-space-around) {
|
|
20
|
+
justify-content: space-around;
|
|
21
|
+
}
|
|
22
|
+
@include when(justify-space-evenly) {
|
|
23
|
+
justify-content: space-evenly;
|
|
24
|
+
}
|
|
25
|
+
@include when(align-middle) {
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
@include when(align-bottom) {
|
|
29
|
+
align-items: flex-end;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -14,7 +14,7 @@ $name: search;
|
|
|
14
14
|
|
|
15
15
|
@include when(active) {
|
|
16
16
|
.vft-input__wrapper {
|
|
17
|
-
background-color:
|
|
17
|
+
background-color: getCompCssVar('active-bg-color');
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -24,15 +24,16 @@ $name: search;
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.vft-input__wrapper {
|
|
27
|
-
border: 1px solid
|
|
28
|
-
border-radius:
|
|
27
|
+
border: 1px solid getCompCssVar('border-color');
|
|
28
|
+
border-radius: getCompCssVar('border-radius');
|
|
29
29
|
|
|
30
30
|
&:hover {
|
|
31
|
-
background-color:
|
|
31
|
+
background-color: getCompCssVar('hover-bg-color');
|
|
32
|
+
border: 1px solid getCompCssVar('hover-border-color');
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
@include when(focus) {
|
|
35
|
-
background-color:
|
|
36
|
+
background-color: getCompCssVar('active-bg-color');
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
}
|
|
@@ -44,7 +44,7 @@ $checked-icon: "data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='
|
|
|
44
44
|
|
|
45
45
|
&.is-disabled {
|
|
46
46
|
&::after {
|
|
47
|
-
background-color: getCssVar('text-color
|
|
47
|
+
background-color: getCssVar('text-disabled-color');
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -66,7 +66,7 @@ $checked-icon: "data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.selected {
|
|
69
|
-
color: getCssVar('text-color
|
|
69
|
+
color: getCssVar('text-disabled-color');
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -11,10 +11,12 @@ $name: side-menu;
|
|
|
11
11
|
@include b($name) {
|
|
12
12
|
@include set-component-css-var($name, $side-menu);
|
|
13
13
|
|
|
14
|
-
transition: width 0.2s;
|
|
14
|
+
transition: width 0.2s ease;
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
border-right: getCssVar('menu-border-right');
|
|
18
|
+
position: relative;
|
|
19
|
+
overflow-x: hidden;
|
|
18
20
|
|
|
19
21
|
@include m(fixed) {
|
|
20
22
|
position: fixed;
|
|
@@ -24,7 +26,6 @@ $name: side-menu;
|
|
|
24
26
|
|
|
25
27
|
@include e(top) {
|
|
26
28
|
border-bottom: getCompCssVar('border');
|
|
27
|
-
z-index: 1;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
@include e(bottom) {
|
|
@@ -34,6 +35,12 @@ $name: side-menu;
|
|
|
34
35
|
width: 100%;
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
@include e(right) {
|
|
39
|
+
position: absolute;
|
|
40
|
+
right: -10px;
|
|
41
|
+
top: 50%;
|
|
42
|
+
}
|
|
43
|
+
|
|
37
44
|
@include e(collapse) {
|
|
38
45
|
cursor: pointer;
|
|
39
46
|
height: 40px;
|
|
@@ -41,7 +48,6 @@ $name: side-menu;
|
|
|
41
48
|
display: flex;
|
|
42
49
|
align-items: center;
|
|
43
50
|
border-right: none;
|
|
44
|
-
z-index: 999;
|
|
45
51
|
background-color: getCssVar('menu-bg-color');
|
|
46
52
|
.#{$namespace}-icon {
|
|
47
53
|
position: absolute;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
@use 'mixins/var' as *;
|
|
5
|
+
@use 'common/var' as *;
|
|
6
|
+
|
|
7
|
+
$slider-height: () !default;
|
|
8
|
+
$slider-height: map.merge(
|
|
9
|
+
(
|
|
10
|
+
'large': 40px,
|
|
11
|
+
'default': 32px,
|
|
12
|
+
'small': 24px,
|
|
13
|
+
),
|
|
14
|
+
$slider-height
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
@include b(slider) {
|
|
18
|
+
@include set-component-css-var('slider', $slider);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include b(slider) {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: map.get($slider-height, 'default');
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
|
|
27
|
+
@include e(runway) {
|
|
28
|
+
flex: 1;
|
|
29
|
+
height: getCssVar('slider-height');
|
|
30
|
+
background-color: getCssVar('slider-runway-bg-color');
|
|
31
|
+
border-radius: getCssVar('slider-border-radius');
|
|
32
|
+
position: relative;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
|
|
35
|
+
&.show-input {
|
|
36
|
+
margin-right: 30px;
|
|
37
|
+
width: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.is-disabled {
|
|
41
|
+
cursor: default;
|
|
42
|
+
|
|
43
|
+
.#{$namespace}-slider__bar {
|
|
44
|
+
background-color: getCssVar('slider-disabled-color');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.#{$namespace}-slider__button {
|
|
48
|
+
border-color: getCssVar('slider-disabled-color');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.#{$namespace}-slider__button-wrapper {
|
|
52
|
+
&:hover,
|
|
53
|
+
&.hover {
|
|
54
|
+
cursor: not-allowed;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.dragging {
|
|
58
|
+
cursor: not-allowed;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.#{$namespace}-slider__button {
|
|
63
|
+
&:hover,
|
|
64
|
+
&.hover,
|
|
65
|
+
&.dragging {
|
|
66
|
+
transform: scale(1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:hover,
|
|
70
|
+
&.hover {
|
|
71
|
+
cursor: not-allowed;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.dragging {
|
|
75
|
+
cursor: not-allowed;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@include e(input) {
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
width: 130px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include e(bar) {
|
|
87
|
+
height: getCssVar('slider-height');
|
|
88
|
+
background-color: getCssVar('slider-main-bg-color');
|
|
89
|
+
border-top-left-radius: getCssVar('slider-border-radius');
|
|
90
|
+
border-bottom-left-radius: getCssVar('slider-border-radius');
|
|
91
|
+
position: absolute;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@include e(button-wrapper) {
|
|
95
|
+
height: getCssVar('slider-button-wrapper-size');
|
|
96
|
+
width: getCssVar('slider-button-wrapper-size');
|
|
97
|
+
position: absolute;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
top: getCssVar('slider-button-wrapper-offset');
|
|
100
|
+
transform: translateX(-50%);
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
text-align: center;
|
|
103
|
+
user-select: none;
|
|
104
|
+
line-height: normal;
|
|
105
|
+
outline: none;
|
|
106
|
+
@include utils-vertical-center;
|
|
107
|
+
|
|
108
|
+
&:hover,
|
|
109
|
+
&.hover {
|
|
110
|
+
cursor: grab;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.dragging {
|
|
114
|
+
cursor: grabbing;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include e(button) {
|
|
119
|
+
display: inline-block;
|
|
120
|
+
width: getCssVar('slider-button-size');
|
|
121
|
+
height: getCssVar('slider-button-size');
|
|
122
|
+
vertical-align: middle;
|
|
123
|
+
border: solid 2px getCssVar('slider-main-bg-color');
|
|
124
|
+
background-color: getCssVar('color-white');
|
|
125
|
+
border-radius: 50%;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
transition: getCssVar('transition-duration-fast');
|
|
128
|
+
user-select: none;
|
|
129
|
+
|
|
130
|
+
&:hover,
|
|
131
|
+
&.hover,
|
|
132
|
+
&.dragging {
|
|
133
|
+
transform: scale(1.2);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:hover,
|
|
137
|
+
&.hover {
|
|
138
|
+
cursor: grab;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.dragging {
|
|
142
|
+
cursor: grabbing;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@include e(stop) {
|
|
147
|
+
position: absolute;
|
|
148
|
+
height: getCssVar('slider-height');
|
|
149
|
+
width: getCssVar('slider-height');
|
|
150
|
+
border-radius: getCssVar('border-radius-circle');
|
|
151
|
+
background-color: getCssVar('slider-stop-bg-color');
|
|
152
|
+
transform: translateX(-50%);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@include e(marks) {
|
|
156
|
+
top: 0;
|
|
157
|
+
left: 12px;
|
|
158
|
+
width: 18px;
|
|
159
|
+
height: 100%;
|
|
160
|
+
|
|
161
|
+
@include e(marks-text) {
|
|
162
|
+
position: absolute;
|
|
163
|
+
transform: translateX(-50%);
|
|
164
|
+
font-size: 14px;
|
|
165
|
+
color: getCssVar('info-color');
|
|
166
|
+
margin-top: 15px;
|
|
167
|
+
white-space: pre;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@include when(vertical) {
|
|
172
|
+
position: relative;
|
|
173
|
+
display: inline-flex;
|
|
174
|
+
width: auto;
|
|
175
|
+
height: 100%;
|
|
176
|
+
flex: 0;
|
|
177
|
+
|
|
178
|
+
.#{$namespace}-slider__runway {
|
|
179
|
+
width: getCssVar('slider-height');
|
|
180
|
+
height: 100%;
|
|
181
|
+
margin: 0 16px;
|
|
182
|
+
}
|
|
183
|
+
.#{$namespace}-slider__bar {
|
|
184
|
+
width: getCssVar('slider-height');
|
|
185
|
+
height: auto;
|
|
186
|
+
border-radius: 0 0 3px 3px;
|
|
187
|
+
}
|
|
188
|
+
.#{$namespace}-slider__button-wrapper {
|
|
189
|
+
top: auto;
|
|
190
|
+
left: getCssVar('slider-button-wrapper-offset');
|
|
191
|
+
transform: translateY(50%);
|
|
192
|
+
}
|
|
193
|
+
.#{$namespace}-slider__stop {
|
|
194
|
+
transform: translateY(50%);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@include e(marks-text) {
|
|
198
|
+
margin-top: 0;
|
|
199
|
+
left: 15px;
|
|
200
|
+
transform: translateY(50%);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@each $size in (large, small) {
|
|
205
|
+
@include m($size) {
|
|
206
|
+
height: map.get($slider-height, $size);
|
|
207
|
+
@include e(runway) {
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
@use 'common/var' as *;
|
|
3
|
+
|
|
4
|
+
@include b(space) {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
vertical-align: top;
|
|
7
|
+
|
|
8
|
+
@include e(item) {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
|
|
12
|
+
& > * {
|
|
13
|
+
flex: 1;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@include m(vertical) {
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
}
|
|
20
|
+
}
|