.layout-dataconnect { &>.ant-layout-content { &>.ant-card { height: 100%; display: flex; flex-direction: column; &>.ant-card-head { padding: 0 10px; .tools { flex: 1; .search { display: flex; >div { margin-left: 8px; } .btn-refresh { border: none; background: none; box-shadow: none; font-size: 18px; &:after { content: none; } } } } } &>.ant-card-body { flex: 1; overflow: auto; padding: 16px; display: flex; flex-wrap: wrap; justify-content: center; &:before { content: none; } .dataconnect-card { width: 160px; height: 160px; padding: 0; margin: 8px; box-shadow: none; cursor: pointer; &:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .ant-card { height: 100%; display: flex; flex-direction: column; .ant-card-head { min-height: 32px; background: #F5F5F5; padding: 0; .ant-card-head-wrapper { height: 100%; .ant-card-head-title { padding: 0 16px; .ant-row-flex { .label { overflow: hidden; text-overflow: ellipsis } } } } } .ant-card-body { padding: 10px; height: 100%; display: flex; width: 100%; flex-direction: column; justify-content: center; .content { display: flex; flex-direction: column; justify-content: space-between; height: 100%; } } .ant-card-actions { height: 32px; background: #fff; li { margin: 4px 0; } } } } } } } } .popover-group { width: 300px; .grouptree-title { .create-group { cursor: pointer; color: #40a9ff; } } .ant-popover-inner-content { cursor: default; max-height: 60vh; overflow: auto; } .tree-group { li.drag-over { input { background-color: #40a9ff; } } li { .ant-tree-node-content-wrapper { width: 90%; height: 28px; margin: 0 !important; padding: 0; background-color: transparent; :hover { background-color: transparent !important; } .ant-tree-node-selected { background-color: transparent !important; } input { max-width: 180px; border: none; } .anticon-plus-circle-o { margin-left: 5px; } .anticon-minus-circle { margin-left: 5px; } } .drag-over { span[draggable] { opacity: .7; } } } } } .tree-group li.drag-over > span[draggable] { opacity: .5; } .menu-operation { padding: 0; .ant-dropdown-menu-item { .anticon { margin-right: 6px; } } .ant-dropdown-menu-item-divider { margin: 0; } .setgroupmenu { .ant-dropdown-menu-submenu-title { display: flex; } } } .ant-tooltip-inner { background-color: rgba(255, 255, 255, .9); color: #666 }