158 lines
2.5 KiB
CSS
158 lines
2.5 KiB
CSS
.react-flow__selection {
|
|
background: rgba(0, 89, 220, 0.08);
|
|
border: 1px dotted rgba(0, 89, 220, 0.8);
|
|
}
|
|
|
|
.react-flow__edge {
|
|
&.selected {
|
|
.react-flow__edge-path {
|
|
stroke: #555;
|
|
}
|
|
}
|
|
|
|
&.animated path {
|
|
stroke-dasharray: 5;
|
|
animation: dashdraw 0.5s linear infinite;
|
|
}
|
|
|
|
&.updating {
|
|
.react-flow__edge-path {
|
|
stroke: #777;
|
|
}
|
|
}
|
|
}
|
|
|
|
.react-flow__edge-path {
|
|
stroke: #b1b1b7;
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.react-flow__edge-text {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.react-flow__edge-textbg {
|
|
fill: white;
|
|
}
|
|
|
|
.react-flow__connection-path {
|
|
stroke: #b1b1b7;
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.react-flow__node {
|
|
cursor: grab;
|
|
}
|
|
|
|
.react-flow__node-default,
|
|
.react-flow__node-input,
|
|
.react-flow__node-output {
|
|
padding: 10px;
|
|
border-radius: 3px;
|
|
width: 150px;
|
|
font-size: 12px;
|
|
color: #222;
|
|
text-align: center;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
}
|
|
|
|
.react-flow__node-default.selectable,
|
|
.react-flow__node-input.selectable,
|
|
.react-flow__node-output.selectable {
|
|
&:hover {
|
|
box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
|
|
}
|
|
}
|
|
|
|
.react-flow__node-input {
|
|
background: #fff;
|
|
border-color: #0041d0;
|
|
|
|
&.selected,
|
|
&.selected:hover {
|
|
box-shadow: 0 0 0 0.5px #0041d0;
|
|
}
|
|
|
|
.react-flow__handle {
|
|
background: #0041d0;
|
|
}
|
|
}
|
|
|
|
.react-flow__node-default {
|
|
background: #fff;
|
|
border-color: #1a192b;
|
|
|
|
&.selected,
|
|
&.selected:hover {
|
|
box-shadow: 0 0 0 0.5px #1a192b;
|
|
}
|
|
|
|
.react-flow__handle {
|
|
background: #1a192b;
|
|
}
|
|
}
|
|
|
|
.react-flow__node-output {
|
|
background: #fff;
|
|
border-color: #ff0072;
|
|
|
|
&.selected,
|
|
&.selected:hover {
|
|
box-shadow: 0 0 0 0.5px #ff0072;
|
|
}
|
|
|
|
.react-flow__handle {
|
|
background: #ff0072;
|
|
}
|
|
}
|
|
|
|
.react-flow__nodesselection-rect {
|
|
background: rgba(0, 89, 220, 0.08);
|
|
border: 1px dotted rgba(0, 89, 220, 0.8);
|
|
}
|
|
|
|
.react-flow__handle {
|
|
position: absolute;
|
|
width: 6px;
|
|
height: 6px;
|
|
background: #555;
|
|
border: 1px solid white;
|
|
border-radius: 100%;
|
|
|
|
&.connectable {
|
|
cursor: crosshair;
|
|
}
|
|
}
|
|
|
|
.react-flow__minimap {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.react-flow__controls {
|
|
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.08);
|
|
|
|
&-button {
|
|
background: #fefefe;
|
|
border-bottom: 1px solid #eee;
|
|
box-sizing: content-box;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
padding: 5px;
|
|
|
|
svg {
|
|
max-width: 12px;
|
|
max-height: 12px;
|
|
}
|
|
|
|
&:hover {
|
|
background: #f4f4f4;
|
|
}
|
|
}
|
|
}
|