.custom-x6-plot-box {
|
position: relative;
|
box-sizing: border-box;
|
background: #ffffff;
|
background-position: center center;
|
background-repeat: no-repeat;
|
background-size: cover;
|
|
.mk-toolbar {
|
position: relative;
|
width: 100%;
|
height: 40px;
|
border-bottom: 1px solid #dfe3e8;
|
|
.left-tool {
|
float: left;
|
line-height: 40px;
|
.anticon {
|
margin: 0 10px;
|
font-size: 16px;
|
cursor: pointer;
|
}
|
}
|
.flow-name {
|
position: absolute;
|
left: 50%;
|
top: 6px;
|
font-size: 16px;
|
color: rgba(0, 0, 0, 0.85);
|
transform: translateX(-50%);
|
}
|
.right-tool {
|
float: right;
|
line-height: 40px;
|
|
.ant-switch {
|
min-width: 60px;
|
height: 28px;
|
line-height: 28px;
|
margin-top: -2px;
|
.ant-switch-inner {
|
font-size: 14px;
|
}
|
}
|
.ant-switch:after {
|
width: 24px;
|
height: 24px;
|
}
|
.save, .save:hover, .save:active, .save:focus {
|
border-color: var(--mk-sys-color);
|
background-color: var(--mk-sys-color);
|
color: #ffffff;
|
margin: 0 15px;
|
height: 30px;
|
}
|
.close {
|
margin-right: 15px;
|
}
|
.close:hover, .close:active, .close:focus {
|
border-color: var(--mk-sys-color);
|
color: var(--mk-sys-color);
|
height: 30px;
|
}
|
}
|
}
|
.x6-graph-scroller::-webkit-scrollbar {
|
display: none;
|
}
|
.x6-cell.x6-edge.x6-edge-selected path:nth-child(2) {
|
stroke: #1890ff;
|
}
|
.x6-cell[data-shape="lane"] {
|
cursor: default;
|
}
|
.x6-node[data-shape="mk-polygon"]:hover {
|
.x6-port {
|
circle {
|
visibility: visible!important;
|
}
|
}
|
}
|
|
.canvas {
|
margin: 0px;
|
letter-spacing: 0px;
|
display: flex;
|
|
.mk-stencil {
|
width: 240px;
|
min-width: 240px;
|
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: 5px;
|
}
|
.x6-widget-stencil-content::-webkit-scrollbar-thumb {
|
border-radius: 5px;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.07);
|
background: rgba(0, 0, 0, 0.07);
|
}
|
.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);
|
}
|
|
.x6-widget-stencil-group[data-name="group3"] {
|
.x6-graph-svg {
|
top: 5px;
|
left: 5px;
|
right: 5px;
|
}
|
.x6-cell {
|
transform: none!important;
|
rect:nth-child(2) {
|
width: 165px!important;
|
}
|
text {
|
transform: matrix(1,0,0,1,85,18)!important;
|
}
|
}
|
}
|
}
|
|
.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;
|
}
|
}
|
|
.mk-container {
|
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;
|
}
|
}
|
.only-show {
|
.x6-port {
|
display: none;
|
}
|
.x6-cell.x6-edge {
|
cursor: default;
|
path {
|
cursor: default;
|
}
|
}
|
}
|
.only-show.switchable {
|
.x6-cell.x6-node:not([data-shape="lane"]):not([data-shape="mk-text"]) {
|
cursor: pointer;
|
}
|
}
|
|
.chart-header {
|
position: relative;
|
height: 45px;
|
border-bottom: 1px solid #e8e8e8;
|
overflow: hidden;
|
padding-right: 35px;
|
|
.chart-title {
|
text-decoration: inherit;
|
font-weight: inherit;
|
font-style: inherit;
|
float: left;
|
line-height: 45px;
|
margin-left: 10px;
|
position: relative;
|
z-index: 1;
|
}
|
}
|
.loading-mask {
|
position: absolute;
|
left: 0px;
|
top: 0;
|
right: 0px;
|
bottom: 0px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
text-align: justify;
|
z-index: 3;
|
|
.ant-spin-blur {
|
position: absolute;
|
width: 100%;
|
height: 100%;
|
opacity: 0.5;
|
background: #ffffff;
|
}
|
}
|
}
|