From fc8c8d714687a22f711d642d192bd4149f3b7e88 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 22 四月 2024 11:15:14 +0800 Subject: [PATCH] 2024-04-22 --- src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss | 105 +++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 90 insertions(+), 15 deletions(-) diff --git a/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss b/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss index 57d1d35..f8b1118 100644 --- a/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss +++ b/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss @@ -110,6 +110,7 @@ } .normal-node-form { + padding: 0 24px; >.ant-row >.ant-col-24 { .ant-form-item-label { width: 16%; @@ -117,6 +118,12 @@ .ant-form-item-control-wrapper { width: 84%; } + } + .mk-split { + color: var(--mk-sys-color); + border-bottom: 1px solid #e8e8e8; + padding-left: 15px; + padding-bottom: 5px; } .member-input { display: inline-block; @@ -130,6 +137,7 @@ background-image: none; border: 1px solid #d9d9d9; border-radius: 4px; + vertical-align: middle; .anticon-form { float: right; @@ -138,6 +146,22 @@ } } .member-transfer { + .mk-tree { + display: inline-block!important; + .circle { + position: relative; + top: 1px; + right: 4px; + display: inline-block!important; + width: 12px; + height: 12px; + background: #1890ff; + border-radius: 50%; + } + .green.circle { + background: #52c41a; + } + } .ant-transfer-list:first-child { width: 60%; } @@ -154,24 +178,18 @@ } } } -} + .ant-transfer-operation { + margin: 0 15px; -.member-modal { - .ant-modal { - top: 50px; - } - .ant-modal-body { - max-height: calc(100vh - 200px); - overflow-y: auto; - padding-top: 15px; - - .ant-input-search { - width: 300px; + .ant-btn:first-child { margin-bottom: 10px; } - .ant-transfer-customize-list .ant-transfer-list { - min-height: 300px; - } + } +} +.mk-x6-modal { + .ant-modal-body { + max-height: calc(100vh - 170px); + overflow-y: auto; } .ant-modal-body::-webkit-scrollbar { width: 7px; @@ -187,4 +205,61 @@ border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } +} +.member-modal { + .ant-modal { + top: 50px; + } + .ant-modal-body { + padding-top: 15px; + + .ant-input-search { + width: 300px; + margin-bottom: 10px; + } + + .ant-tree-checkbox-checked .ant-tree-checkbox-inner { + background-color: var(--mk-sys-color); + border-color: var(--mk-sys-color); + } + .ant-tree-checkbox-checked::after { + border-color: var(--mk-sys-color); + } + .ant-tree-checkbox:hover .ant-tree-checkbox-inner { + border-color: var(--mk-sys-color); + } + .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover { + background-color: var(--mk-sys-color1); + } + .ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after { + border-color: var(--mk-sys-color4); + } + .ant-transfer-operation { + .ant-btn, .ant-btn:hover { + background-color: var(--mk-sys-color); + border-color: var(--mk-sys-color); + } + } + + .ant-transfer-list-body { + max-height: calc(100vh - 320px); + min-height: 300px; + overflow-y: auto; + } + + .ant-transfer-list-body::-webkit-scrollbar { + width: 7px; + } + .ant-transfer-list-body::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + } + .ant-transfer-list-body::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + } + } } \ No newline at end of file -- Gitblit v1.8.0