// 开始节点与结束节点
|
.baseNodeContent {
|
padding: 2px;
|
.baseNode {
|
width: 101px;
|
height: 33px;
|
border: 1px solid #ccc;
|
border-radius: 5px;
|
font-size: 12px;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
box-shadow: 0 -1px 4px 0 rgba(247, 140, 227, 0.5),
|
1px 1px 4px 0 rgba(230, 174, 220, 0.5);
|
padding: 0 16px;
|
position: relative;
|
.detail {
|
display: none;
|
}
|
&:hover {
|
.detail {
|
display: block;
|
}
|
}
|
.nodeText {
|
width: calc(100% - 20px);
|
margin-left: 10px;
|
}
|
}
|
|
.baseNodeSelected {
|
border-color: #5a84ff !important;
|
box-shadow: 0 0 0 3px #c8d3f2;
|
background-color: #e7ecfd !important;
|
}
|
.detail {
|
position: absolute;
|
right: 3px;
|
top: 3px;
|
cursor: pointer;
|
&:hover {
|
filter: invert(48%) sepia(64%) saturate(2590%) hue-rotate(206deg)
|
brightness(100%) contrast(102%);
|
}
|
}
|
}
|
// 流程节点
|
.flowNodeContent {
|
padding: 2px;
|
.flowNode {
|
width: 200px;
|
height: 130px;
|
border: 1px solid #ccc;
|
background-color: #fff;
|
border-radius: 5px;
|
font-size: 12px;
|
display: flex;
|
justify-content: flex-start;
|
flex-direction: column;
|
align-items: center;
|
box-shadow: 0 -1px 4px 0 rgba(209, 209, 209, 50%),
|
1px 1px 4px 0 rgba(217, 217, 217, 50%);
|
}
|
.flowNodeSelected {
|
border-color: #5a84ff;
|
box-shadow: 0 0 0 3px #c8d3f2;
|
}
|
.flowHeader {
|
width: 100%;
|
height: 36px;
|
border-bottom: 1px solid #ccc;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 0 5px;
|
color: #fff;
|
background: #fff;
|
font-weight: 500;
|
font-size: 14px;
|
border-top-left-radius: 5px;
|
border-top-right-radius: 5px;
|
flex-shrink: 0;
|
}
|
.flowNodeMain {
|
width: 100%;
|
padding: 5px;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
flex-direction: column;
|
.flowInfo {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
width: 100%;
|
margin-bottom: 4px;
|
|
.label {
|
font-size: 12px;
|
}
|
.info {
|
font-size: 12px;
|
}
|
}
|
}
|
}
|