From 656ea3139db54b8dc9a29b8cb239d0f0df9a6c05 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 27 六月 2023 18:19:42 +0800 Subject: [PATCH] 2023-06-27 --- src/menu/components/chart/antv-X6/index.scss | 155 +-------------------------------------------------- 1 files changed, 4 insertions(+), 151 deletions(-) diff --git a/src/menu/components/chart/antv-X6/index.scss b/src/menu/components/chart/antv-X6/index.scss index 2819d31..e7b09a2 100644 --- a/src/menu/components/chart/antv-X6/index.scss +++ b/src/menu/components/chart/antv-X6/index.scss @@ -36,164 +36,17 @@ .x6-cell.x6-edge.x6-edge-selected path:nth-child(2) { stroke: #1890ff; } + .x6-cell[data-shape="lane"] { + cursor: default; + } .canvas { margin: 0px; letter-spacing: 0px; - display: flex; - - .mk-stencil { - width: 180px; - min-width: 180px; - height: 100%; - position: relative; - z-index: 2; - border-right: 1px solid #dfe3e8; - transition: all 0.2s; - - .x6-widget-stencil-title { - display: none; - } - .x6-widget-stencil-content { - overflow-y: auto; - } - .x6-widget-stencil-content::-webkit-scrollbar { - width: 7px; - } - .x6-widget-stencil-content::-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); - } - .x6-widget-stencil-content::-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); - } - .tool-control { - position: absolute; - right: -13px; - top: 5px; - z-index: 3; - background: #ffffff; - width: 25px; - height: 25px; - border: 1px solid #d8d8d8; - border-radius: 30px; - text-align: center; - line-height: 25px; - cursor: pointer; - } - } - .mk-stencil.merge { - width: 0px; - min-width: 0px; - - .tool-control { - right: -25px; - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; - .anticon-double-left { - transform: rotate(180deg); - } - } - } - - .mk-node-edit { - width: 180px; - min-width: 180px; - height: 100%; - position: relative; - z-index: 2; - border-left: 1px solid #dfe3e8; - background: #ffffff; - transition: all 0.2s; - - .header { - width: 100%; - height: 32px; - text-align: center; - line-height: 32px; - background-color: #f5f5f5!important; - overflow-x: hidden; - white-space: nowrap; - } - .empty { - width: 100%; - text-align: center; - padding-top: 20px; - overflow-x: hidden; - white-space: nowrap; - } - - .tool-control { - position: absolute; - left: -13px; - top: 5px; - z-index: 3; - background: #ffffff; - width: 25px; - height: 25px; - border: 1px solid #d8d8d8; - border-radius: 30px; - text-align: center; - line-height: 25px; - cursor: pointer; - .anticon-double-left { - transform: rotate(180deg); - } - } - } - .mk-node-edit.merge { - width: 0px; - min-width: 0px; - - .tool-control { - left: -25px; - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; - .anticon-double-left { - transform: rotate(0deg); - } - } - } .mk-container { - width: calc(100% - 180px); + // width: calc(100% - 180px); height: 100%; - } - .x6-widget-stencil { - background-color: #fff; - } - .x6-widget-stencil-title { - background-color: #fff; - } - .x6-widget-stencil-group-title { - background-color: #f5f5f5!important; - } - .x6-widget-transform { - margin: -1px 0 0 -1px; - padding: 0px; - border: 1px solid #239edd; - } - .x6-widget-transform > div { - border: 1px solid #239edd; - } - .x6-widget-transform > div:hover { - background-color: #3dafe4; - } - .x6-widget-transform-active-handle { - background-color: #3dafe4; - } - .x6-widget-transform-resize { - border-radius: 0; - } - .x6-widget-selection-inner { - border: 1px solid #239edd; - } - .x6-widget-selection-box { - opacity: 0; } } -- Gitblit v1.8.0