You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
1.6 KiB
Plaintext

.node-container {
color: white;
min-width: 150px;
font-size: 14px;
border: 2px solid transparent;
&.selected {
border-color: #1890ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.node-header {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
color: #000000;
text-align: center;
}
.node-api-box,
.node-data-box {
//box-shadow: 3px 3px 5px #cccccc;
}
.node-data-box {
margin-top: -1px;
}
.node-split-line {
z-index: 230;
position: relative;
width: 90%;
background-color: #ffffff;
margin: -1px auto; // -1是为了遮住上面盒子的部分边框
color: #000000;
text-align: center;
height: 20px;
line-height: 20px;
font-size: 12px;
border: 1px solid #cccccc;
border-bottom-color: #ffffff;
border-top-color: #ffffff;
}
.node-content,
.node-content-api {
display: flex;
background-color: #ffffff;
color: #000000;
padding: 0 5px;
border: 1px solid #cccccc;
border-radius: 3px;
.node-inputs,
.node-outputs,
.node-outputs-api {
flex: 1;
.node-input-label {
font-size: 12px;
padding: 1px 0;
height: 20px;
line-height: 20px;
}
}
.node-inputs {
margin-bottom: 5px;
margin-right: 30px;
}
.node-outputs,
.node-outputs-api {
text-align: right;
}
}
.node-content-api {
min-height: 30px;
}
.node-content {
min-height: 10px;
}
.node-footer {
background-color: #ffffff;
color: #000000;
padding: 5px 20px;
border: 1px solid #cccccc;
border-top: none;
min-height: 20px;
text-align: center;
}
}