@dt-frames/ui 2.0.23 → 3.0.1
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 +9 -9
- package/es/assets/icons/ui-blank.svg +1 -0
- package/es/assets/icons/ui-docx.svg +1 -0
- package/es/assets/icons/ui-exl.svg +1 -0
- package/es/assets/icons/ui-forder-open.svg +1 -0
- package/es/assets/icons/ui-forder.svg +1 -0
- package/es/assets/icons/ui-jpg.svg +1 -0
- package/es/assets/icons/ui-pdf.svg +1 -0
- package/es/assets/icons/ui-ppt.svg +1 -0
- package/es/assets/icons/ui-rar.svg +1 -0
- package/es/assets/icons/ui-table-empty.svg +1 -0
- package/es/assets/icons/ui-txt.svg +1 -0
- package/es/assets/index.e67ea2f5.css +1 -0
- package/es/assets/locales/en.d.ts +1 -0
- package/es/assets/locales/en.ts +1 -0
- package/es/assets/locales/zh.d.ts +1 -0
- package/es/assets/locales/zh.ts +1 -0
- package/es/assets/test.ts +1 -0
- package/es/components/container/index.d.ts +2 -93
- package/es/components/container/index.js +92 -15
- package/es/components/container/src/components/bar.d.ts +2 -2
- package/es/components/container/{index.less → src/index.scss} +9 -16
- package/es/components/container/src/utils/scroll.d.ts +1 -1
- package/es/components/curd/index.d.ts +3 -1
- package/es/components/curd/index.js +66 -141
- package/es/components/curd/src/components/props.d.ts +53 -0
- package/es/components/curd/src/components/types/curd.type.d.ts +13 -0
- package/es/components/curd/src/hooks/useCurd.d.ts +3 -110
- package/es/components/curd/src/props.d.ts +109 -159
- package/es/components/curd/src/types/curd.type.d.ts +54 -8
- package/es/components/drawer/index.d.ts +3 -7881
- package/es/components/drawer/index.js +209 -307
- package/es/components/drawer/src/components/DrawerFooter.d.ts +19 -21
- package/es/components/drawer/src/hooks/useDrawer.d.ts +2 -2
- package/es/components/drawer/src/index.d.ts +11 -7876
- package/es/components/drawer/src/index.scss +24 -0
- package/es/components/drawer/src/props.d.ts +2 -64
- package/es/components/drawer/src/{types/index.type.d.ts → type/drawer.type.d.ts} +26 -14
- package/es/components/form/index.d.ts +5 -5
- package/es/components/form/index.js +641 -634
- package/es/components/form/src/components/DynanicInput.d.ts +2 -0
- package/es/components/form/src/components/FormButtons.d.ts +13 -3086
- package/es/components/form/src/components/FormInputUseDialog.d.ts +2 -0
- package/es/components/form/src/components/FormItem.d.ts +53 -156
- package/es/components/form/src/components/RadioButton.d.ts +26 -0
- package/es/components/form/src/components/componentMap.d.ts +2 -2
- package/es/components/form/src/components/index.d.ts +2 -4
- package/es/components/form/src/hooks/useForm.d.ts +3 -3
- package/es/components/form/src/hooks/useFormActions.d.ts +38 -5
- package/es/components/form/src/hooks/useFormEvent.d.ts +9 -7
- package/es/components/form/src/hooks/useFormValue.d.ts +2 -2
- package/es/components/form/src/hooks/useFormValues.d.ts +8 -6
- package/es/components/form/src/hooks/useLabelWidth.d.ts +1 -1
- package/es/components/form/src/index.d.ts +358 -0
- package/es/components/form/src/index.scss +162 -0
- package/es/components/form/src/props.d.ts +45 -7
- package/es/components/form/src/types/actions.type.d.ts +1 -1
- package/es/components/form/src/types/form.type.d.ts +59 -26
- package/es/components/form/src/types/items.type.d.ts +33 -33
- package/es/components/form/src/{hooks → utils}/helper.d.ts +7 -0
- package/es/components/icons/index.d.ts +2 -497
- package/es/components/icons/index.js +42 -1911
- package/es/components/icons/src/{svg-icon.d.ts → SvgIcon.d.ts} +7 -14
- package/es/components/icons/src/index.scss +3 -0
- package/es/components/iframe/index.js +40 -29
- package/es/components/iframe/src/index.d.ts +16 -11
- package/es/components/iframe/src/index.scss +20 -0
- package/es/components/modal/index.d.ts +3 -2
- package/es/components/modal/index.js +188 -198
- package/es/components/modal/src/components/CloseIcon.d.ts +4 -20
- package/es/components/modal/src/components/Modal.d.ts +201 -108
- package/es/components/modal/src/components/ModalFooter.d.ts +12 -20
- package/es/components/modal/src/hooks/useDrag.d.ts +2 -3
- package/es/components/modal/src/hooks/useFullScreen.d.ts +1 -1
- package/es/components/modal/src/hooks/useModal.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +32 -359
- package/es/components/modal/{index.less → src/index.scss} +104 -82
- package/es/components/modal/src/props.d.ts +10 -17
- package/es/components/modal/src/types/{modal.type.d.ts → index.type.d.ts} +7 -6
- package/es/components/source/index.d.ts +1 -1
- package/es/components/source/index.js +142 -113
- package/es/components/source/{hooks → src/hooks}/useDownload.d.ts +1 -1
- package/es/components/source/{hooks → src/hooks}/useSource.d.ts +24 -20
- package/es/components/source/{types → src/types}/source.type.d.ts +12 -13
- package/es/components/table/index.d.ts +7 -2
- package/es/components/table/index.js +197 -286
- package/es/components/table/src/components/TableAction.d.ts +16 -24
- package/es/components/table/src/components/TableHeader.d.ts +35 -0
- package/es/components/table/src/components/TableRender.d.ts +10 -14
- package/es/components/table/src/components/editTable/CellComponent.d.ts +4 -4
- package/es/components/table/src/components/editTable/EditTableCell.d.ts +15 -57
- package/es/components/table/src/components/editTable/componentMap.d.ts +1 -1
- package/es/components/table/src/components/editTable/index.d.ts +3 -3
- package/es/components/table/src/components/editTable/props.d.ts +6 -6
- package/es/components/table/src/components/tableSetting/Column.d.ts +3 -68
- package/es/components/table/src/components/tableSetting/Download.d.ts +11 -0
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +2 -22
- package/es/components/table/src/components/tableSetting/Fullscreen.d.ts +2 -22
- package/es/components/table/src/components/tableSetting/index.d.ts +17 -0
- package/es/components/table/src/hooks/useDataSource.d.ts +3 -4
- package/es/components/table/src/hooks/useHeader.d.ts +3 -3
- package/es/components/table/src/hooks/useHeaderCode.d.ts +2 -2
- package/es/components/table/src/hooks/useLoading.d.ts +3 -3
- package/es/components/table/src/hooks/usePagination.d.ts +2 -2
- package/es/components/table/src/hooks/useRowSelection.d.ts +1 -1
- package/es/components/table/src/hooks/useTable.d.ts +1 -1
- package/es/components/table/src/hooks/useTableInstance.d.ts +2 -2
- package/es/components/table/src/hooks/useTableScroll.d.ts +0 -1
- package/es/components/table/src/hooks/useTableStyle.d.ts +5 -0
- package/es/components/table/src/index.d.ts +169 -324
- package/es/components/table/{index.less → src/index.scss} +309 -279
- package/es/components/table/src/props.d.ts +39 -14
- package/es/components/table/src/types/actions.type.d.ts +5 -5
- package/es/components/table/src/types/header.type.d.ts +6 -6
- package/es/components/table/src/types/table.type.d.ts +84 -21
- package/es/components/tree/index.d.ts +2 -1
- package/es/components/tree/index.js +320 -324
- package/es/components/tree/src/basicProps.d.ts +9 -9
- package/es/components/tree/src/components/ContextMenu.d.ts +17 -17
- package/es/components/tree/src/components/TreeHeader.d.ts +13 -33
- package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -2
- package/es/components/tree/src/hooks/useMethod.d.ts +16 -0
- package/es/components/tree/src/hooks/useTree.d.ts +5 -15
- package/es/components/tree/src/index.d.ts +52 -6369
- package/es/components/tree/src/index.scss +178 -0
- package/es/components/tree/src/types/action.type.d.ts +64 -0
- package/es/components/tree/src/{type → types}/menu.d.ts +1 -1
- package/es/components/tree/src/types/tree.d.ts +31 -0
- package/es/components/tree/src/utils/tree.d.ts +1 -1
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/index.js +111 -102
- package/es/components/upload/src/basicProps.d.ts +11 -7
- package/es/components/upload/src/components/PdfView.d.ts +2 -9
- package/es/components/upload/src/components/WordView.d.ts +2 -7
- package/es/components/upload/src/hooks/useFile.d.ts +3 -3
- package/es/components/upload/src/index.d.ts +47 -96
- package/es/components/upload/{index.less → src/index.scss} +19 -13
- package/es/components/upload/src/type/file.d.ts +2 -2
- package/es/components/upload/src/utils/upload.d.ts +1 -1
- package/es/components/vxe_table/index.d.ts +4 -0
- package/es/components/vxe_table/index.js +1162 -0
- package/es/components/vxe_table/src/components/AApiSelect.d.ts +12 -0
- package/es/components/vxe_table/src/components/AAutoComplete.d.ts +2 -0
- package/es/components/vxe_table/src/components/AButton.d.ts +12 -0
- package/es/components/vxe_table/src/components/AButtonGroup.d.ts +2 -0
- package/es/components/vxe_table/src/components/ACascader.d.ts +2 -0
- package/es/components/vxe_table/src/components/ACheckbox.d.ts +2 -0
- package/es/components/vxe_table/src/components/ACheckboxGroup.d.ts +6 -0
- package/es/components/vxe_table/src/components/ADatePicker.d.ts +4 -0
- package/es/components/vxe_table/src/components/AEmpty.d.ts +6 -0
- package/es/components/vxe_table/src/components/AInput.d.ts +2 -0
- package/es/components/vxe_table/src/components/AInputNumber.d.ts +2 -0
- package/es/components/vxe_table/src/components/AInputSearch.d.ts +2 -0
- package/es/components/vxe_table/src/components/AMonthPicker.d.ts +2 -0
- package/es/components/vxe_table/src/components/ARadioGroup.d.ts +6 -0
- package/es/components/vxe_table/src/components/ARangePicker.d.ts +2 -0
- package/es/components/vxe_table/src/components/ARate.d.ts +2 -0
- package/es/components/vxe_table/src/components/ASelect.d.ts +2 -0
- package/es/components/vxe_table/src/components/ASwitch.d.ts +2 -0
- package/es/components/vxe_table/src/components/ATimePicker.d.ts +2 -0
- package/es/components/vxe_table/src/components/ATreeSelect.d.ts +2 -0
- package/es/components/vxe_table/src/components/AWeekPicker.d.ts +2 -0
- package/es/components/vxe_table/src/components/AYearPicker.d.ts +2 -0
- package/es/components/vxe_table/src/components/Select.d.ts +2 -0
- package/es/components/vxe_table/src/components/common.d.ts +52 -0
- package/es/components/vxe_table/src/components/componentMap.d.ts +3 -0
- package/es/components/vxe_table/src/components/index.d.ts +4 -0
- package/es/components/vxe_table/src/hooks/useColumns.d.ts +1 -0
- package/es/components/vxe_table/src/hooks/useComponents.d.ts +2 -0
- package/es/components/vxe_table/src/hooks/useHeader.d.ts +6 -0
- package/es/components/vxe_table/src/hooks/useProps.d.ts +3 -0
- package/es/components/vxe_table/src/hooks/useVxeTable.d.ts +7 -0
- package/es/components/vxe_table/src/index.d.ts +26 -0
- package/es/components/vxe_table/src/index.scss +13 -0
- package/es/components/vxe_table/src/props.d.ts +1 -0
- package/es/components/vxe_table/src/types/componentType.d.ts +1 -0
- package/es/components/vxe_table/src/types/vxeTable.type.d.ts +45 -0
- package/es/components/vxe_table/src/utils/index.d.ts +6 -0
- package/es/directives/index.d.ts +1 -4
- package/es/directives/index.js +6 -1991
- package/es/theme/index.d.ts +9 -9
- package/es/theme/index.js +2112 -2344
- package/es/theme/src/components/content/index.d.ts +2 -31
- package/es/theme/src/components/feature/BackTop.d.ts +2 -0
- package/es/theme/src/components/feature/index.d.ts +2 -7
- package/es/theme/src/components/footer/index.d.ts +2 -31
- package/es/theme/src/components/header/MultipleHeader.d.ts +2 -0
- package/es/theme/src/components/header/components/BreadCrumb.d.ts +2 -0
- package/es/theme/src/components/header/components/FullScreen.d.ts +2 -0
- package/es/theme/src/components/header/components/LangPicker.d.ts +12 -0
- package/es/theme/src/components/header/components/Logo.d.ts +22 -0
- package/es/theme/src/components/header/components/MenuFilter.d.ts +2 -0
- package/es/theme/src/components/header/components/Notice.d.ts +2 -0
- package/es/theme/src/components/header/components/SettintTheme.d.ts +2 -0
- package/es/theme/src/components/header/components/Size.d.ts +2 -0
- package/es/theme/src/components/header/components/Trigger.d.ts +6 -0
- package/es/theme/src/components/header/components/UserInfo.d.ts +2 -0
- package/es/theme/src/components/header/components/lock/Lockscreen.d.ts +2 -85
- package/es/theme/src/components/header/components/lock/Recharge.d.ts +4 -6
- package/es/theme/src/components/header/components/lock/useBattery.d.ts +4 -4
- package/es/theme/src/components/header/components/lock/useTime.d.ts +5 -5
- package/es/theme/src/components/header/components/theme-drawer/Color.d.ts +26 -0
- package/es/theme/src/components/header/components/theme-drawer/ColorPrimary.d.ts +27 -0
- package/es/theme/src/components/header/components/theme-drawer/Feature.d.ts +2 -0
- package/es/theme/src/components/header/components/theme-drawer/InputNumber.d.ts +28 -0
- package/es/theme/src/components/header/components/theme-drawer/MenuType.d.ts +2 -0
- package/es/theme/src/components/header/components/theme-drawer/Select.d.ts +44 -0
- package/es/theme/src/components/header/components/theme-drawer/Switch.d.ts +29 -0
- package/es/theme/src/components/header/components/theme-drawer/Var.d.ts +2 -0
- package/es/theme/src/components/header/components/theme-drawer/styles/GlobalStyle.d.ts +2 -0
- package/es/theme/src/components/header/components/theme-drawer/styles/MenuStyle.d.ts +2 -0
- package/es/theme/src/components/header/helper/changeTheme.d.ts +15 -0
- package/es/theme/src/components/header/helper/{menu-tree.d.ts → menuTree.d.ts} +1 -1
- package/es/theme/src/components/header/index.d.ts +4 -547
- package/es/theme/src/components/sider/components/DragBar.d.ts +2 -0
- package/es/theme/src/components/sider/components/{layout-menu.d.ts → LayoutMenu.d.ts} +5 -5
- package/es/theme/src/components/sider/components/MixSider.d.ts +2 -0
- package/es/theme/src/components/sider/components/SiderTrigger.d.ts +14 -0
- package/es/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +8 -35
- package/es/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +8 -100
- package/es/theme/src/components/sider/components/basic-menu/index.d.ts +64 -0
- package/es/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +6 -10
- package/es/theme/src/components/sider/components/{props.d.ts → basic-menu/props.d.ts} +12 -29
- package/es/theme/src/components/sider/helper/sider.d.ts +3 -3
- package/es/theme/src/components/sider/helper/split-menu.d.ts +2 -2
- package/es/theme/src/components/sider/index.d.ts +2 -235
- package/es/theme/src/components/tabs/components/TabContent.d.ts +4 -21
- package/es/theme/src/components/tabs/components/TabRedo.d.ts +2 -23
- package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +9 -3
- package/es/theme/src/components/tabs/hooks/useTabs.d.ts +1 -1
- package/es/theme/src/components/tabs/index.d.ts +2 -86
- package/es/theme/src/consts/color.d.ts +3 -0
- package/es/theme/src/consts/index.d.ts +14 -0
- package/es/theme/src/enums/index.d.ts +34 -1
- package/es/theme/src/hooks/index.d.ts +6 -6
- package/es/theme/src/hooks/useDragLine.d.ts +1 -1
- package/es/theme/src/hooks/useHeader.d.ts +22 -23
- package/es/theme/src/hooks/useMenu.d.ts +26 -26
- package/es/theme/src/hooks/useMultifyTab.d.ts +6 -6
- package/es/theme/src/hooks/useOpenKeys.d.ts +3 -3
- package/es/theme/src/hooks/useTheme.d.ts +25 -7
- package/es/theme/src/index.d.ts +2 -1630
- package/es/theme/src/index.scss +1134 -0
- package/es/theme/src/stores/index.d.ts +2 -2
- package/es/theme/src/stores/lockscreen.store.d.ts +7 -5
- package/es/theme/src/stores/routeReuse.store.d.ts +18 -20
- package/es/theme/src/stores/theme.store.d.ts +9 -15
- package/es/theme/{transition.less → src/transition.scss} +1 -1
- package/es/theme/src/types/index.d.ts +0 -3
- package/es/theme/src/types/menu.type.d.ts +2 -1
- package/es/theme/src/types/theme.type.d.ts +31 -12
- package/es/theme/src/utils/color.d.ts +14 -0
- package/es/theme/src/utils/index.d.ts +3 -0
- package/es/theme/src/utils.ts/index.d.ts +3 -0
- package/index.d.ts +12 -13
- package/index.js +44 -62
- package/manualContentPath.js +73 -19
- package/package.json +65 -65
- package/tsconfig.json +19 -30
- package/tsconfig.tsbuildinfo +1 -0
- package/vite.config.ts +82 -68
- package/es/assets/data/icons/actions.d.ts +0 -1
- package/es/assets/data/icons/actions.ts +0 -423
- package/es/assets/data/icons/code.d.ts +0 -1
- package/es/assets/data/icons/code.ts +0 -10
- package/es/assets/data/icons/commuticate.d.ts +0 -1
- package/es/assets/data/icons/commuticate.ts +0 -182
- package/es/assets/data/icons/currency.d.ts +0 -1
- package/es/assets/data/icons/currency.ts +0 -44
- package/es/assets/data/icons/devices.d.ts +0 -1
- package/es/assets/data/icons/devices.ts +0 -126
- package/es/assets/data/icons/edit.d.ts +0 -1
- package/es/assets/data/icons/edit.ts +0 -163
- package/es/assets/data/icons/file.d.ts +0 -1
- package/es/assets/data/icons/file.ts +0 -99
- package/es/assets/data/icons/math.d.ts +0 -1
- package/es/assets/data/icons/math.ts +0 -53
- package/es/assets/data/icons/message.d.ts +0 -1
- package/es/assets/data/icons/message.ts +0 -68
- package/es/assets/data/icons/navigate.d.ts +0 -1
- package/es/assets/data/icons/navigate.ts +0 -181
- package/es/assets/data/icons/other.d.ts +0 -1
- package/es/assets/data/icons/other.ts +0 -324
- package/es/assets/data/index.d.ts +0 -4
- package/es/assets/data/index.ts +0 -58
- package/es/assets/imgs/tree/forder-open.svg +0 -1
- package/es/assets/imgs/tree/forder.svg +0 -1
- package/es/components/container/src/components/scroll-bar.d.ts +0 -70
- package/es/components/container/src/scroll-container.d.ts +0 -76
- package/es/components/container/src/slot-container.d.ts +0 -20
- package/es/components/curd/src/components/Curd.d.ts +0 -384
- package/es/components/drawer/index.less +0 -16
- package/es/components/drawer/src/components/DrawerHeader.d.ts +0 -11
- package/es/components/form/index.less +0 -361
- package/es/components/form/src/components/formIcon.d.ts +0 -14
- package/es/components/form/src/components/formInputUseDialog.d.ts +0 -17
- package/es/components/form/src/components/radioButton.d.ts +0 -34
- package/es/components/form/src/enums/index.d.ts +0 -7
- package/es/components/icons/index.less +0 -47
- package/es/components/icons/src/pick-icon.d.ts +0 -455
- package/es/components/iframe/index.less +0 -29
- package/es/components/modal/src/components/ModalWrap.d.ts +0 -79
- package/es/components/source/utils/index.d.ts +0 -8
- package/es/components/table/src/enums/table.enum.d.ts +0 -5
- package/es/components/table/src/hooks/useRow.d.ts +0 -5
- package/es/components/tree/index.less +0 -200
- package/es/components/tree/src/type/tree.d.ts +0 -50
- package/es/directives/icon.d.ts +0 -2
- package/es/global.d.ts +0 -7
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -4
- package/es/theme/index.less +0 -1003
- package/es/theme/src/components/feature/back-top.d.ts +0 -5
- package/es/theme/src/components/header/components/bread-crumb.d.ts +0 -6
- package/es/theme/src/components/header/components/fullscreen.d.ts +0 -5
- package/es/theme/src/components/header/components/index.d.ts +0 -11
- package/es/theme/src/components/header/components/lang-picker.d.ts +0 -23
- package/es/theme/src/components/header/components/lock/index.d.ts +0 -2
- package/es/theme/src/components/header/components/logo.d.ts +0 -55
- package/es/theme/src/components/header/components/menu-filter.d.ts +0 -22
- package/es/theme/src/components/header/components/notify.d.ts +0 -22
- package/es/theme/src/components/header/components/setting-theme.d.ts +0 -223
- package/es/theme/src/components/header/components/size.d.ts +0 -21
- package/es/theme/src/components/header/components/theme-drawer/feature.d.ts +0 -138
- package/es/theme/src/components/header/components/theme-drawer/index.d.ts +0 -3
- package/es/theme/src/components/header/components/theme-drawer/menu-type.d.ts +0 -16
- package/es/theme/src/components/header/components/theme-drawer/select.d.ts +0 -58
- package/es/theme/src/components/header/components/theme-drawer/switch.d.ts +0 -49
- package/es/theme/src/components/header/components/trigger.d.ts +0 -10
- package/es/theme/src/components/header/components/user-info.d.ts +0 -44
- package/es/theme/src/components/header/helper/change-theme.d.ts +0 -13
- package/es/theme/src/components/header/multiple-header.d.ts +0 -660
- package/es/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +0 -207
- package/es/theme/src/components/sider/components/drag-bar.d.ts +0 -14
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -17
- package/es/theme/src/components/sider/mix-sider.d.ts +0 -167
- package/es/theme/src/components/tabs/components/index.d.ts +0 -3
- package/es/theme/src/components/tabs/types/tabs.type.d.ts +0 -7
- package/es/theme/src/enums/theme.enum.d.ts +0 -34
- package/es/theme/src/setting/theme.setting.d.ts +0 -2
- package/es/utils/withInstall.d.ts +0 -4
- package/tailwind.config.cjs +0 -11
- package/tsconfig.node.json +0 -9
- /package/es/assets/{icons → fonts}/iconfont.css +0 -0
- /package/es/assets/{icons → fonts}/iconfont.eot +0 -0
- /package/es/assets/{icons → fonts}/iconfont.svg +0 -0
- /package/es/assets/{icons → fonts}/iconfont.ttf +0 -0
- /package/es/assets/{icons → fonts}/iconfont.woff +0 -0
- /package/es/assets/{icons → fonts}/iconfont.woff2 +0 -0
- /package/es/components/container/src/types/{scroll.type.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,1134 @@
|
|
|
1
|
+
@import '../../components/container/src/index.scss';
|
|
2
|
+
@import './transition.scss';
|
|
3
|
+
|
|
4
|
+
::selection {
|
|
5
|
+
background-color: $colorPrimary;
|
|
6
|
+
color: #fff;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.dt-theme {
|
|
10
|
+
@apply w-full h-full;
|
|
11
|
+
|
|
12
|
+
.dt-logo {
|
|
13
|
+
@apply px-2.5 flex items-center pl-2.5 cursor-pointer text-center transition-all duration-200 ease-in-out;
|
|
14
|
+
|
|
15
|
+
&.light {
|
|
16
|
+
border-bottom: 1px solid $border-color-base;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dt-logo__title {
|
|
20
|
+
@apply text-base font-bold transition-all duration-500 pl-3;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.light .dt-logo__title {
|
|
24
|
+
color: $colorPrimary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.dark .dt-logo__title {
|
|
28
|
+
color: #fff;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dt-sideBar {
|
|
33
|
+
&--fixed {
|
|
34
|
+
position: fixed;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ant-layout-sider-children {
|
|
38
|
+
@apply flex flex-col;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ant-menu-item {
|
|
42
|
+
@apply w-full rounded-none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ant-menu {
|
|
46
|
+
background: $menu-bg-color;
|
|
47
|
+
|
|
48
|
+
.ant-menu-sub {
|
|
49
|
+
background: $menu-sub-bg-color;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ant-menu-item,
|
|
53
|
+
.ant-menu-submenu-title {
|
|
54
|
+
margin: 0;
|
|
55
|
+
height: $menu-item-height !important;
|
|
56
|
+
|
|
57
|
+
&:active {
|
|
58
|
+
background-color: inherit;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&--mix {
|
|
64
|
+
height: calc(100% - 48px);
|
|
65
|
+
top: 48px;
|
|
66
|
+
background: $menu-mix-bg-color;
|
|
67
|
+
border-right: 1px solid #f0f0f0;
|
|
68
|
+
|
|
69
|
+
.ant-menu {
|
|
70
|
+
background: $menu-mix-bg-color !important;
|
|
71
|
+
border-right: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.ant-menu-sub {
|
|
75
|
+
background: #fff;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.dt-menu-item .i {
|
|
79
|
+
color: rgba(0, 0, 0, 0.5);
|
|
80
|
+
font-size: 16px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ant-menu-item-selected {
|
|
84
|
+
background: $menu-mix-select-bg-color;
|
|
85
|
+
|
|
86
|
+
.i {
|
|
87
|
+
color: $colorPrimary;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ant-menu-item:hover .i {
|
|
92
|
+
color: $colorPrimary;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-layout-sider-trigger {
|
|
97
|
+
background: $menu-mix-bg-color;
|
|
98
|
+
border-right: 1px solid #f0f0f0;
|
|
99
|
+
border-top: 1px solid #f0f0f0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.dt-menu-item {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
height: $menu-item-height;
|
|
106
|
+
font-size: 13px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.ant-layout-sider-collapsed {
|
|
110
|
+
.dt-menu-item>span {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.menu-icon {
|
|
115
|
+
font-size: 18px;
|
|
116
|
+
height: 18px;
|
|
117
|
+
line-height: 18px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.dt-darg-bar {
|
|
122
|
+
@apply fixed top-0 z-20 w-2px h-full border-t-0 border-b-0;
|
|
123
|
+
cursor: col-resize;
|
|
124
|
+
|
|
125
|
+
&--hide {
|
|
126
|
+
@apply hidden;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:hover {
|
|
130
|
+
background-color: $colorPrimary;
|
|
131
|
+
box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.dt-mix-sider {
|
|
137
|
+
transition: all 0.2s ease 0s;
|
|
138
|
+
|
|
139
|
+
&>div:first-of-type,
|
|
140
|
+
&>div:nth-of-type(2) {
|
|
141
|
+
background-color: $menu-bg-color;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&.dark .dt-mix-sider__shallow-menu {
|
|
145
|
+
li {
|
|
146
|
+
color: #ffffffa1;
|
|
147
|
+
transition: all .3s ease;
|
|
148
|
+
|
|
149
|
+
i {
|
|
150
|
+
font-size: 20px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
p {
|
|
154
|
+
font-size: 12px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.active-menu {
|
|
158
|
+
background-color: $menu-sub-bg-color;
|
|
159
|
+
color: #fff;
|
|
160
|
+
|
|
161
|
+
&::before {
|
|
162
|
+
position: absolute;
|
|
163
|
+
top: 0;
|
|
164
|
+
left: 0;
|
|
165
|
+
width: 4px;
|
|
166
|
+
height: 100%;
|
|
167
|
+
background-color: $colorPrimary;
|
|
168
|
+
content: "";
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:hover {
|
|
173
|
+
color: #fff;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.dark .sub-menu {
|
|
179
|
+
border-right: 1px solid #eaf0fb;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&__sub-shallow-menu {
|
|
183
|
+
padding: 6px 20px 12px 20px;
|
|
184
|
+
|
|
185
|
+
&>li {
|
|
186
|
+
|
|
187
|
+
li,
|
|
188
|
+
.sub-menu {
|
|
189
|
+
line-height: 40px;
|
|
190
|
+
font-size: 13px;
|
|
191
|
+
align-items: center;
|
|
192
|
+
margin: 4px 0 8px -20px;
|
|
193
|
+
width: calc(100% + 40px);
|
|
194
|
+
padding-left: 24px;
|
|
195
|
+
|
|
196
|
+
i {
|
|
197
|
+
font-size: 18px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&.active-menu,
|
|
201
|
+
&:hover {
|
|
202
|
+
color: $colorPrimary;
|
|
203
|
+
background-color: $menu-mix-select-bg-color;
|
|
204
|
+
|
|
205
|
+
i {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&>div:not(.sub-menu) {
|
|
212
|
+
border-bottom: 1px solid #eaf0fb;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&:last-of-type>div {
|
|
216
|
+
border-bottom: none;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&__animate-enter-active {
|
|
222
|
+
z-index: -1;
|
|
223
|
+
animation: slideLeft 0.2s;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&__animate-leave-active {
|
|
227
|
+
z-index: -1;
|
|
228
|
+
animation: slideLeft 0.2s reverse;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&-main {
|
|
233
|
+
@apply flex w-full h-full duration-200;
|
|
234
|
+
|
|
235
|
+
transition-property: width;
|
|
236
|
+
background-color: $content-bg;
|
|
237
|
+
|
|
238
|
+
.ant-layout-content {
|
|
239
|
+
width: 100%;
|
|
240
|
+
|
|
241
|
+
&.fixed {
|
|
242
|
+
width: 1300px;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.dt-header {
|
|
248
|
+
@apply flex items-center h-12 p-0 leading-48px justify-between;
|
|
249
|
+
|
|
250
|
+
&--light {
|
|
251
|
+
background-color: #fff !important;
|
|
252
|
+
border-bottom: 1px solid #eee;
|
|
253
|
+
color: $text-color-base;
|
|
254
|
+
|
|
255
|
+
.dt_header_icon:hover {
|
|
256
|
+
background-color: rgba(175, 178, 184, 0.25)
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&--dark {
|
|
261
|
+
background-color: $header-bg-dark-color !important;
|
|
262
|
+
|
|
263
|
+
.ant-menu-dark {
|
|
264
|
+
background-color: $header-bg-dark-color;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
i.i,
|
|
268
|
+
span {
|
|
269
|
+
color: #fff;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.i {
|
|
274
|
+
font-size: 1.125rem;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.dt_header {
|
|
279
|
+
&_icon {
|
|
280
|
+
@apply h-12 px-3 text-gray-800 cursor-pointer hover: bg-gray-500 hover:bg-opacity-50 transition-all duration-300 relative;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.dt-menu-filter {
|
|
286
|
+
input {
|
|
287
|
+
border-top-left-radius: 16px;
|
|
288
|
+
border-bottom-left-radius: 16px;
|
|
289
|
+
padding-left: 14px;
|
|
290
|
+
font-size: 13px;
|
|
291
|
+
width: 150px !important;
|
|
292
|
+
border-right: none;
|
|
293
|
+
height: 28px
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.ant-btn {
|
|
297
|
+
border-left: none;
|
|
298
|
+
border-top-right-radius: 16px !important;
|
|
299
|
+
border-bottom-right-radius: 16px !important;
|
|
300
|
+
padding-right: 10px;
|
|
301
|
+
padding-left: 5px;
|
|
302
|
+
width: 30px;
|
|
303
|
+
height: 28px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.ant-input:focus,
|
|
307
|
+
.ant-input:hover,
|
|
308
|
+
.ant-btn:focus,
|
|
309
|
+
.ant-btn:hover {
|
|
310
|
+
border-color: #d9d9d9;
|
|
311
|
+
box-shadow: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.ant-empty-image {
|
|
315
|
+
height: 40px;
|
|
316
|
+
|
|
317
|
+
svg {
|
|
318
|
+
width: 100%;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.ant-input-group-addon {
|
|
323
|
+
background-color: inherit;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&__popover .ant-popover-inner {
|
|
327
|
+
padding: 0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&__popover .ant-popover-inner-content {
|
|
331
|
+
width: 180px;
|
|
332
|
+
max-height: 400px;
|
|
333
|
+
height: 220px;
|
|
334
|
+
padding: 0;
|
|
335
|
+
overflow-y: auto;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&__popover .ant-empty-description {
|
|
339
|
+
font-size: 13px;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.dt-footer {
|
|
344
|
+
@apply text-center w-full block border-t border-gray-200 min-h-12 flex items-center justify-center;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.dt-notify {
|
|
348
|
+
&__popover .ant-popover-inner {
|
|
349
|
+
@apply p-0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&__popover .ant-popover-inner-content {
|
|
353
|
+
width: 350px;
|
|
354
|
+
padding: 10px 0 0 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.dt-size {
|
|
359
|
+
&__popover .ant-popover-inner {
|
|
360
|
+
padding: 0;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
&__popover .ant-popover-inner-content {
|
|
364
|
+
width: 120px;
|
|
365
|
+
padding: 4px 0;
|
|
366
|
+
|
|
367
|
+
.active {
|
|
368
|
+
color: $colorPrimary;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.dt-lang-picker {
|
|
374
|
+
&__popover .ant-popover-inner {
|
|
375
|
+
padding: 0;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&__popover .ant-popover-inner-content {
|
|
379
|
+
width: 120px;
|
|
380
|
+
padding: 4px 0;
|
|
381
|
+
|
|
382
|
+
.active {
|
|
383
|
+
color: $colorPrimary;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
li {
|
|
387
|
+
@apply px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover: bg-gray-100 transition-all duration-300 text-13px;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.dt-user-info {
|
|
393
|
+
&__popover .ant-popover-inner {
|
|
394
|
+
padding: 0;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
&__popover .ant-popover-inner-content {
|
|
398
|
+
width: 120px;
|
|
399
|
+
padding: 4px 0;
|
|
400
|
+
|
|
401
|
+
.active {
|
|
402
|
+
color: $colorPrimary;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.lockscreen {
|
|
408
|
+
@apply text-34px;
|
|
409
|
+
|
|
410
|
+
.lock-box {
|
|
411
|
+
@apply text-14px text-center;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.i {
|
|
415
|
+
@apply text-34px;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
img {
|
|
419
|
+
@apply w-24 h-24 rounded-1/2 mx-auto my-10px border-width-3px border-light-800;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.ant-modal-content {
|
|
423
|
+
@apply p-0;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.ant-modal-header {
|
|
427
|
+
@apply px-6 py-4 border-1 mb-0;
|
|
428
|
+
border-color: #f0f0f0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.ant-modal-body {
|
|
432
|
+
@apply p-6;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.local-time {
|
|
436
|
+
bottom: 60px;
|
|
437
|
+
left: 60px;
|
|
438
|
+
font-family: helvetica;
|
|
439
|
+
|
|
440
|
+
.time {
|
|
441
|
+
font-size: 70px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.date {
|
|
445
|
+
font-size: 40px;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.computer-status {
|
|
450
|
+
bottom: 60px;
|
|
451
|
+
right: 60px;
|
|
452
|
+
font-size: 24px;
|
|
453
|
+
|
|
454
|
+
.network {
|
|
455
|
+
position: relative;
|
|
456
|
+
|
|
457
|
+
&.offline::before {
|
|
458
|
+
content: '';
|
|
459
|
+
position: absolute;
|
|
460
|
+
left: 50%;
|
|
461
|
+
top: 50%;
|
|
462
|
+
width: 2px;
|
|
463
|
+
height: 28px;
|
|
464
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
465
|
+
background-color: red;
|
|
466
|
+
z-index: 10;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.dt-lock-page {
|
|
473
|
+
@apply absolute bottom-1/5 left-1/2 h-500px w-72;
|
|
474
|
+
transform: translateX(-50%);
|
|
475
|
+
|
|
476
|
+
&>div:first-of-type {
|
|
477
|
+
@apply absolute z-10 text-white text-center top-1/5 w-72;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
&>div:nth-of-type(2) {
|
|
481
|
+
@apply w-72 h-400px;
|
|
482
|
+
|
|
483
|
+
filter: contrast(15) hue-rotate(0);
|
|
484
|
+
animation: hueRotate 10s infinite linear;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.circle {
|
|
488
|
+
width: 300px;
|
|
489
|
+
height: 300px;
|
|
490
|
+
filter: blur(8px);
|
|
491
|
+
|
|
492
|
+
&::after {
|
|
493
|
+
position: absolute;
|
|
494
|
+
top: 40%;
|
|
495
|
+
left: 50%;
|
|
496
|
+
width: 200px;
|
|
497
|
+
height: 200px;
|
|
498
|
+
background-color: #00ff6f;
|
|
499
|
+
border-radius: 42% 38% 62% 49% / 45%;
|
|
500
|
+
content: '';
|
|
501
|
+
transform: translate(-50%, -50%) rotate(0);
|
|
502
|
+
animation: circleRotate 10s infinite linear;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
&::before {
|
|
506
|
+
position: absolute;
|
|
507
|
+
top: 40%;
|
|
508
|
+
left: 50%;
|
|
509
|
+
z-index: 10;
|
|
510
|
+
width: 176px;
|
|
511
|
+
height: 176px;
|
|
512
|
+
background-color: #000;
|
|
513
|
+
border-radius: 50%;
|
|
514
|
+
content: '';
|
|
515
|
+
transform: translate(-50%, -50%);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.bubbles {
|
|
520
|
+
width: 100px;
|
|
521
|
+
height: 40px;
|
|
522
|
+
background-color: #00ff6f;
|
|
523
|
+
border-radius: 100px 100px 0 0;
|
|
524
|
+
filter: blur(5px);
|
|
525
|
+
transform: translate(-50%, 0);
|
|
526
|
+
|
|
527
|
+
li {
|
|
528
|
+
position: absolute;
|
|
529
|
+
background: #00ff6f;
|
|
530
|
+
border-radius: 50%;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.charging {
|
|
535
|
+
font-size: 20px;
|
|
536
|
+
text-align: center;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.dt-reuse-tabs {
|
|
541
|
+
@apply leading-8 border-b border-solid border-gray-200;
|
|
542
|
+
|
|
543
|
+
.ant-tabs-small {
|
|
544
|
+
height: 32px;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.ant-tabs-nav {
|
|
548
|
+
@apply pt-2px m-0 bg-white border-none shadow-none;
|
|
549
|
+
height: 32px
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.ant-tabs-nav-container {
|
|
553
|
+
@apply pt-2px;
|
|
554
|
+
height: 30px
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.ant-tabs-card {
|
|
558
|
+
&::before {
|
|
559
|
+
border: none;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.ant-tabs-tab {
|
|
564
|
+
@apply pr-3 bg-white h-7 leading-7;
|
|
565
|
+
|
|
566
|
+
transition: none !important;
|
|
567
|
+
border-radius: 2px !important;
|
|
568
|
+
color: $text-color-base;
|
|
569
|
+
|
|
570
|
+
span {
|
|
571
|
+
@apply text-13px;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
&:hover {
|
|
575
|
+
.ant-tabs-tab-remove {
|
|
576
|
+
opacity: 1;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.ant-tabs-tab-remove {
|
|
582
|
+
@apply w-2 h-10px text-12px opacity-100 transition-none ml-0 -mr-9px items-center;
|
|
583
|
+
|
|
584
|
+
span {
|
|
585
|
+
@apply flex items-center w-3;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
&:hover svg {
|
|
589
|
+
width: 0.8em !important;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
svg {
|
|
593
|
+
fill: $text-color-base;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
|
598
|
+
&:hover {
|
|
599
|
+
color: $colorPrimary;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.ant-tabs-card .ant-tabs-tab-active {
|
|
604
|
+
@apply relative pl-18px border-none transition-none;
|
|
605
|
+
|
|
606
|
+
background: $colorPrimary;
|
|
607
|
+
|
|
608
|
+
span {
|
|
609
|
+
@apply text-white;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.ant-tabs-tab-remove {
|
|
613
|
+
@apply opacity-100;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
svg {
|
|
617
|
+
width: 0.7em;
|
|
618
|
+
fill: #fff !important;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
&::before {
|
|
622
|
+
@apply rounded-1/2 bg-white absolute left-1 top-12px;
|
|
623
|
+
|
|
624
|
+
content: ' ';
|
|
625
|
+
width: 6px;
|
|
626
|
+
height: 6px;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.ant-tabs-nav>div:nth-child(1) {
|
|
631
|
+
padding: 0 6px;
|
|
632
|
+
|
|
633
|
+
.ant-tabs-tab {
|
|
634
|
+
margin-right: 3px !important;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.ant-tabs-nav {
|
|
639
|
+
&::before {
|
|
640
|
+
border-bottom: none !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
&-more {
|
|
644
|
+
display: flex;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
|
649
|
+
border: 1px solid #d9d9d9 !important;
|
|
650
|
+
|
|
651
|
+
.anticon-close {
|
|
652
|
+
@apply flex w-3 items-center;
|
|
653
|
+
|
|
654
|
+
font-size: 12px;
|
|
655
|
+
|
|
656
|
+
svg {
|
|
657
|
+
width: 0.6em;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
&__dropdown .ant-dropdown-menu {
|
|
663
|
+
@apply px-0 py-1 rounded-3px;
|
|
664
|
+
|
|
665
|
+
.ant-dropdown-menu-title-content {
|
|
666
|
+
@apply flex w-24;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.ant-tabs-extra-content {
|
|
671
|
+
margin-top: -1px;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
&--hide-close {
|
|
675
|
+
.ant-tabs-tab-remove {
|
|
676
|
+
opacity: 0 !important;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
&__dropdown .ant-dropdown-content li>span {
|
|
681
|
+
display: flex;
|
|
682
|
+
padding-right: 3px;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.dt-mix-sider {
|
|
687
|
+
transition: all 0.2s ease 0s;
|
|
688
|
+
|
|
689
|
+
&>div:first-of-type,
|
|
690
|
+
&>div:nth-of-type(2) {
|
|
691
|
+
background-color: $menu-bg-color;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
&.dark .dt-mix-sider__shallow-menu {
|
|
695
|
+
li {
|
|
696
|
+
color: #ffffffa1;
|
|
697
|
+
transition: all .3s ease;
|
|
698
|
+
|
|
699
|
+
i {
|
|
700
|
+
font-size: 20px;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
p {
|
|
704
|
+
font-size: 12px;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
&.active-menu {
|
|
708
|
+
background-color: $menu-sub-bg-color;
|
|
709
|
+
color: #fff;
|
|
710
|
+
|
|
711
|
+
&::before {
|
|
712
|
+
position: absolute;
|
|
713
|
+
top: 0;
|
|
714
|
+
left: 0;
|
|
715
|
+
width: 4px;
|
|
716
|
+
height: 100%;
|
|
717
|
+
background-color: $colorPrimary;
|
|
718
|
+
content: "";
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
&:hover {
|
|
723
|
+
color: #fff;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
&.dark .sub-menu {
|
|
729
|
+
border-right: 1px solid #eaf0fb;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
&__sub-shallow-menu {
|
|
733
|
+
padding: 6px 20px 12px 20px;
|
|
734
|
+
|
|
735
|
+
&>li {
|
|
736
|
+
|
|
737
|
+
li,
|
|
738
|
+
.sub-menu {
|
|
739
|
+
line-height: 40px;
|
|
740
|
+
font-size: 13px;
|
|
741
|
+
align-items: center;
|
|
742
|
+
margin: 4px 0 8px -20px;
|
|
743
|
+
width: calc(100% + 40px);
|
|
744
|
+
padding-left: 24px;
|
|
745
|
+
|
|
746
|
+
i {
|
|
747
|
+
font-size: 18px;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
&.active-menu,
|
|
751
|
+
&:hover {
|
|
752
|
+
color: $colorPrimary;
|
|
753
|
+
background-color: $menu-mix-select-bg-color;
|
|
754
|
+
|
|
755
|
+
i {
|
|
756
|
+
opacity: 1;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
&>div:not(.sub-menu) {
|
|
762
|
+
border-bottom: 1px solid #eaf0fb;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
&:last-of-type>div {
|
|
766
|
+
border-bottom: none;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
&__animate-enter-active {
|
|
772
|
+
z-index: -1;
|
|
773
|
+
animation: slideLeft 0.2s;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
&__animate-leave-active {
|
|
777
|
+
z-index: -1;
|
|
778
|
+
animation: slideLeft 0.2s reverse;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.dt-menu-type {
|
|
783
|
+
@apply flex flex-row justify-center;
|
|
784
|
+
|
|
785
|
+
&__list {
|
|
786
|
+
@apply p-3 relative w-14 h-12 mr-4 overflow-hidden cursor-pointer rounded shadow-sm shadow-gray-200 bg-gray-100;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
&__list:hover {
|
|
790
|
+
border: 2px solid $colorPrimary;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
&__item {
|
|
794
|
+
&::before {
|
|
795
|
+
position: absolute;
|
|
796
|
+
content: "";
|
|
797
|
+
top: 0;
|
|
798
|
+
left: 0;
|
|
799
|
+
z-index: 1;
|
|
800
|
+
width: 33%;
|
|
801
|
+
height: 100%;
|
|
802
|
+
background-color: #273352;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
&::after {
|
|
806
|
+
position: absolute;
|
|
807
|
+
content: "";
|
|
808
|
+
top: 0;
|
|
809
|
+
left: 0;
|
|
810
|
+
width: 100%;
|
|
811
|
+
height: 25%;
|
|
812
|
+
background-color: #fff;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
&__item--top-menu &__item {
|
|
817
|
+
&::before {
|
|
818
|
+
width: 0;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
&::after {
|
|
822
|
+
background-color: #273352;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
&__item--mix &__item {
|
|
827
|
+
&::before {
|
|
828
|
+
top: 25%;
|
|
829
|
+
height: 75%;
|
|
830
|
+
background-color: #fff;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
&::after {
|
|
834
|
+
background-color: #273352;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
&__item--mix-sidebar {
|
|
839
|
+
&::before {
|
|
840
|
+
content: '';
|
|
841
|
+
position: absolute;
|
|
842
|
+
left: 15%;
|
|
843
|
+
top: calc(25% + 1px);
|
|
844
|
+
width: 20%;
|
|
845
|
+
height: 75%;
|
|
846
|
+
background-color: #fff;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.dt-menu-type__item::before {
|
|
850
|
+
width: 15%;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
&__item--active {
|
|
855
|
+
border: 2px solid $colorPrimary;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.ant-tabs-dropdown-menu-title-content{
|
|
860
|
+
display: flex;
|
|
861
|
+
justify-content: space-between;
|
|
862
|
+
font-size: 13px;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.dt-setting-theme {
|
|
866
|
+
&__tips {
|
|
867
|
+
@apply p-3 text-12px leading-5 bg-gray-100 rounded;
|
|
868
|
+
|
|
869
|
+
border: 1px solid $colorPrimary;
|
|
870
|
+
color: $colorPrimary;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.theme-drawer .ant-drawer-body {
|
|
875
|
+
padding-top: 6px;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.ant-layout-sider-dark,
|
|
879
|
+
.ant-menu-dark {
|
|
880
|
+
|
|
881
|
+
.ant-menu-item-active>span>span,
|
|
882
|
+
.ant-menu-item-selected>span>span,
|
|
883
|
+
.ant-menu-submenu-active>div>span>span,
|
|
884
|
+
.ant-menu-submenu-selected>div>span>span,
|
|
885
|
+
.ant-menu-submenu-selected>span>span {
|
|
886
|
+
&>.menu-icon {
|
|
887
|
+
color: #fff !important;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.ant-menu-submenu-selected.ant-menu-submenu-horizontal {
|
|
892
|
+
background: none;
|
|
893
|
+
|
|
894
|
+
&::after {
|
|
895
|
+
bottom: 4px;
|
|
896
|
+
border-bottom: 4px solid $colorPrimary;
|
|
897
|
+
border-radius: 1px;
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.dt-menu-item {
|
|
902
|
+
display: flex;
|
|
903
|
+
|
|
904
|
+
span {
|
|
905
|
+
font-size: 13px;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.menu-icon {
|
|
910
|
+
@apply text-light-600 p-0 mr-6px h-10 w-7 text-center;
|
|
911
|
+
font-size: 16px;
|
|
912
|
+
height: 16px;
|
|
913
|
+
line-height: 18px;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
@keyframes slideLeft {
|
|
918
|
+
from {
|
|
919
|
+
transform: translateX(-100%);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
to {
|
|
923
|
+
transform: translateX(0);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
@keyframes circleRotate {
|
|
928
|
+
50% {
|
|
929
|
+
border-radius: 45% / 42% 38% 58% 49%;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
100% {
|
|
933
|
+
transform: translate(-50%, -50%) rotate(720deg);
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
@keyframes hueRotate {
|
|
938
|
+
100% {
|
|
939
|
+
filter: contrast(15) hue-rotate(360deg);
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.dt-color {
|
|
944
|
+
@apply w-56 p-3 rounded-sm;
|
|
945
|
+
|
|
946
|
+
.color-set {
|
|
947
|
+
@apply rounded-lg;
|
|
948
|
+
|
|
949
|
+
&>div:first-of-type canvas {
|
|
950
|
+
border-top-left-radius: 6px;
|
|
951
|
+
border-top-right-radius: 6px
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
&>div:last-of-type canvas {
|
|
955
|
+
border-bottom-left-radius: 6px;
|
|
956
|
+
border-bottom-right-radius: 6px
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.slide {
|
|
960
|
+
@apply absolute w-7 h-7 rounded-full border-width-2px border-white pointer-events-none;
|
|
961
|
+
box-shadow: 0 2px 4px #0003;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.color-footer {
|
|
966
|
+
@apply flex gap-3 justify-end mt-3 pt-3;
|
|
967
|
+
border-top: 1px solid #e7e7e7;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
// .hu-color-picker {
|
|
973
|
+
// background: #242c3e;
|
|
974
|
+
// border-radius: 4px;
|
|
975
|
+
// box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
976
|
+
// z-index: 1;
|
|
977
|
+
|
|
978
|
+
// canvas {
|
|
979
|
+
// vertical-align: top;
|
|
980
|
+
// }
|
|
981
|
+
|
|
982
|
+
// .color-set {
|
|
983
|
+
// display: flex;
|
|
984
|
+
// margin-left: 5px;
|
|
985
|
+
// padding: 8px 0 8px 8px;
|
|
986
|
+
// border-left: 1px solid #323e53;
|
|
987
|
+
// }
|
|
988
|
+
|
|
989
|
+
// .color-show {
|
|
990
|
+
// height: 56px;
|
|
991
|
+
// width: 100px;
|
|
992
|
+
// margin: 8px auto;
|
|
993
|
+
// display: flex;
|
|
994
|
+
// }
|
|
995
|
+
// }
|
|
996
|
+
|
|
997
|
+
// .color-panel {
|
|
998
|
+
// display: flex;
|
|
999
|
+
// padding: 8px 8px 0 8px;
|
|
1000
|
+
|
|
1001
|
+
// .color-box {
|
|
1002
|
+
// width: 100px;
|
|
1003
|
+
// }
|
|
1004
|
+
// }
|
|
1005
|
+
|
|
1006
|
+
// .color-view {
|
|
1007
|
+
// display: flex;
|
|
1008
|
+
// padding: 0 8px;
|
|
1009
|
+
// }
|
|
1010
|
+
|
|
1011
|
+
// .input {
|
|
1012
|
+
// flex: 1;
|
|
1013
|
+
// margin-left: 8px;
|
|
1014
|
+
// }
|
|
1015
|
+
|
|
1016
|
+
// // 颜色面板
|
|
1017
|
+
// .saturation {
|
|
1018
|
+
// position: relative;
|
|
1019
|
+
// height: 124px;
|
|
1020
|
+
// cursor: pointer;
|
|
1021
|
+
|
|
1022
|
+
// .slide {
|
|
1023
|
+
// // position: absolute;
|
|
1024
|
+
// // left: 100px;
|
|
1025
|
+
// // top: 0;
|
|
1026
|
+
// // width: 8px;
|
|
1027
|
+
// // height: 8px;
|
|
1028
|
+
// // border-radius: 50%;
|
|
1029
|
+
// // border: 1px solid #fff;
|
|
1030
|
+
// // box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.3);
|
|
1031
|
+
// // pointer-events: none;
|
|
1032
|
+
// }
|
|
1033
|
+
// }
|
|
1034
|
+
|
|
1035
|
+
// // 颜色调节条
|
|
1036
|
+
// .hue {
|
|
1037
|
+
// position: relative;
|
|
1038
|
+
// cursor: pointer;
|
|
1039
|
+
|
|
1040
|
+
// .slide {
|
|
1041
|
+
// // box-sizing: border-box;
|
|
1042
|
+
// // position: absolute;
|
|
1043
|
+
// // left: 0;
|
|
1044
|
+
// // width: 100%;
|
|
1045
|
+
// // height: 4px;
|
|
1046
|
+
// // background: #fff;
|
|
1047
|
+
// // border: 1px solid #f0f0f0;
|
|
1048
|
+
// // box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
|
|
1049
|
+
// // pointer-events: none;
|
|
1050
|
+
// // border-radius: 1px;
|
|
1051
|
+
// }
|
|
1052
|
+
// }
|
|
1053
|
+
|
|
1054
|
+
// .color-type {
|
|
1055
|
+
// display: flex;
|
|
1056
|
+
// margin: 8px auto;
|
|
1057
|
+
// font-size: 12px;
|
|
1058
|
+
|
|
1059
|
+
// .name {
|
|
1060
|
+
// width: 32px;
|
|
1061
|
+
// height: 24px;
|
|
1062
|
+
// float: left;
|
|
1063
|
+
// display: flex;
|
|
1064
|
+
// justify-content: center;
|
|
1065
|
+
// align-items: center;
|
|
1066
|
+
// color: #a0acc0;
|
|
1067
|
+
// }
|
|
1068
|
+
|
|
1069
|
+
// .value {
|
|
1070
|
+
// display: block;
|
|
1071
|
+
// box-sizing: border-box;
|
|
1072
|
+
// flex: 1;
|
|
1073
|
+
// height: 24px;
|
|
1074
|
+
// padding: 0 8px;
|
|
1075
|
+
// border: 1px solid #42516c;
|
|
1076
|
+
// color: #eff0f4;
|
|
1077
|
+
// background: #2e3850;
|
|
1078
|
+
// box-sizing: border-box;
|
|
1079
|
+
// width: 100px;
|
|
1080
|
+
// caret-color: #49a4ff;
|
|
1081
|
+
|
|
1082
|
+
// &:focus-visible {
|
|
1083
|
+
// outline: 1px solid rgba(18, 107, 190, 0.5);
|
|
1084
|
+
// }
|
|
1085
|
+
// }
|
|
1086
|
+
// }
|
|
1087
|
+
|
|
1088
|
+
// // 默认颜色
|
|
1089
|
+
// .colors {
|
|
1090
|
+
// display: flex;
|
|
1091
|
+
// flex-wrap: wrap;
|
|
1092
|
+
// padding: 0;
|
|
1093
|
+
// margin: 0;
|
|
1094
|
+
|
|
1095
|
+
// .item {
|
|
1096
|
+
// flex-basis: calc(20% - 4px);
|
|
1097
|
+
// margin: 2px;
|
|
1098
|
+
// width: 16px;
|
|
1099
|
+
// height: 16px;
|
|
1100
|
+
// border-radius: 1px;
|
|
1101
|
+
// box-sizing: border-box;
|
|
1102
|
+
// vertical-align: top;
|
|
1103
|
+
// display: inline-block;
|
|
1104
|
+
// transition: all 0.1s;
|
|
1105
|
+
// cursor: pointer;
|
|
1106
|
+
|
|
1107
|
+
// &:hover {
|
|
1108
|
+
// transform: scale(1.2);
|
|
1109
|
+
// }
|
|
1110
|
+
// }
|
|
1111
|
+
// }
|
|
1112
|
+
|
|
1113
|
+
// .btn {
|
|
1114
|
+
// margin-top: 0 8px 8px;
|
|
1115
|
+
// border-top: 1px solid #323e53;
|
|
1116
|
+
// text-align: right;
|
|
1117
|
+
// padding: 8px;
|
|
1118
|
+
|
|
1119
|
+
// button {
|
|
1120
|
+
// margin-left: 8px;
|
|
1121
|
+
// width: 52px;
|
|
1122
|
+
// height: 20px;
|
|
1123
|
+
// font-size: 12px;
|
|
1124
|
+
// font-weight: 400;
|
|
1125
|
+
// color: #fff;
|
|
1126
|
+
// background-color: #49a4ff;
|
|
1127
|
+
// border-radius: 2px;
|
|
1128
|
+
// border: none;
|
|
1129
|
+
|
|
1130
|
+
// &:active {
|
|
1131
|
+
// background-color: #1890ff;
|
|
1132
|
+
// }
|
|
1133
|
+
// }
|
|
1134
|
+
// }
|