From b69b5f6329ca5f87932436b7a6c1ddfc3377e10f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 五月 2024 10:56:41 +0800 Subject: [PATCH] 2024-05-16 --- src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 101 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..1c59391 100644 --- a/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss +++ b/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss @@ -7,6 +7,16 @@ margin: 5px 12px 10px; padding-bottom: 2px; font-size: 13px; + + >.anticon-delete { + padding: 0 5px; + float: right; + color: #f5222d; + line-height: 22px; + } + >.anticon-form { + padding: 0 5px; + } } .mk-data { font-size: 13px; @@ -110,6 +120,7 @@ } .normal-node-form { + padding: 0 24px; >.ant-row >.ant-col-24 { .ant-form-item-label { width: 16%; @@ -118,8 +129,15 @@ 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; + cursor: pointer; width: 100%; height: 32px; padding: 4px 11px; @@ -130,6 +148,7 @@ background-image: none; border: 1px solid #d9d9d9; border-radius: 4px; + vertical-align: middle; .anticon-form { float: right; @@ -138,6 +157,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 +189,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 +216,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