mirror of
https://github.com/langgenius/dify.git
synced 2026-11-25 13:32:43 +08:00
50 lines
1.2 KiB
CSS
50 lines
1.2 KiB
CSS
.workflow-editor-controls {
|
|
display: grid;
|
|
grid-template:
|
|
'toolbar side-panel' minmax(0, 1fr)
|
|
'bottom side-panel' auto / minmax(0, 1fr) max-content;
|
|
}
|
|
|
|
.workflow-panel-animation .react-flow__viewport {
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.workflow-node-animation .react-flow__node {
|
|
transition: transform 0.2s ease-in-out;
|
|
}
|
|
|
|
.react-flow__pane.selection:not(.dragging) {
|
|
cursor: default;
|
|
}
|
|
|
|
#workflow-container .react-flow__node:focus-visible,
|
|
#workflow-container .react-flow__nodesselection-rect:focus-visible {
|
|
outline: 2px solid var(--color-state-accent-solid);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
/* Comment mode cursor override */
|
|
.comment-mode-flow .react-flow__pane,
|
|
.comment-mode-flow .react-flow__viewport {
|
|
cursor: none !important;
|
|
}
|
|
|
|
#workflow-container .react-flow__nodesselection-rect {
|
|
border: 1px solid #528bff;
|
|
background: rgba(21, 94, 239, 0.05);
|
|
cursor: move;
|
|
}
|
|
|
|
#workflow-container .react-flow__selection {
|
|
border: 1px solid #528bff;
|
|
background: rgba(21, 94, 239, 0.05);
|
|
}
|
|
|
|
#workflow-container .react-flow__node-custom-note {
|
|
z-index: -1 !important;
|
|
}
|
|
|
|
#workflow-container .react-flow__attribution {
|
|
background: none !important;
|
|
}
|