| 1 |
/* this gets exported as style.css and can be used for the default theming */ |
| 2 |
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */ |
| 3 |
.react-flow { |
| 4 |
direction: ltr; |
| 5 |
|
| 6 |
--xy-edge-stroke-default: #b1b1b7; |
| 7 |
--xy-edge-stroke-width-default: 1; |
| 8 |
--xy-edge-stroke-selected-default: #555; |
| 9 |
|
| 10 |
--xy-connectionline-stroke-default: #b1b1b7; |
| 11 |
--xy-connectionline-stroke-width-default: 1; |
| 12 |
|
| 13 |
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5); |
| 14 |
|
| 15 |
--xy-minimap-background-color-default: #fff; |
| 16 |
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6); |
| 17 |
--xy-minimap-mask-stroke-color-default: transparent; |
| 18 |
--xy-minimap-mask-stroke-width-default: 1; |
| 19 |
--xy-minimap-node-background-color-default: #e2e2e2; |
| 20 |
--xy-minimap-node-stroke-color-default: transparent; |
| 21 |
--xy-minimap-node-stroke-width-default: 2; |
| 22 |
|
| 23 |
--xy-background-color-default: transparent; |
| 24 |
--xy-background-pattern-dots-color-default: #91919a; |
| 25 |
--xy-background-pattern-lines-color-default: #eee; |
| 26 |
--xy-background-pattern-cross-color-default: #e2e2e2; |
| 27 |
background-color: var(--xy-background-color, var(--xy-background-color-default)); |
| 28 |
--xy-node-color-default: inherit; |
| 29 |
--xy-node-border-default: 1px solid #1a192b; |
| 30 |
--xy-node-background-color-default: #fff; |
| 31 |
--xy-node-group-background-color-default: rgba(240, 240, 240, 0.25); |
| 32 |
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08); |
| 33 |
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b; |
| 34 |
--xy-node-border-radius-default: 3px; |
| 35 |
|
| 36 |
--xy-handle-background-color-default: #1a192b; |
| 37 |
--xy-handle-border-color-default: #fff; |
| 38 |
|
| 39 |
--xy-selection-background-color-default: rgba(0, 89, 220, 0.08); |
| 40 |
--xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8); |
| 41 |
|
| 42 |
--xy-controls-button-background-color-default: #fefefe; |
| 43 |
--xy-controls-button-background-color-hover-default: #f4f4f4; |
| 44 |
--xy-controls-button-color-default: inherit; |
| 45 |
--xy-controls-button-color-hover-default: inherit; |
| 46 |
--xy-controls-button-border-color-default: #eee; |
| 47 |
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08); |
| 48 |
|
| 49 |
--xy-edge-label-background-color-default: #ffffff; |
| 50 |
--xy-edge-label-color-default: inherit; |
| 51 |
--xy-resize-background-color-default: #3367d9; |
| 52 |
} |
| 53 |
.react-flow.dark { |
| 54 |
--xy-edge-stroke-default: #3e3e3e; |
| 55 |
--xy-edge-stroke-width-default: 1; |
| 56 |
--xy-edge-stroke-selected-default: #727272; |
| 57 |
|
| 58 |
--xy-connectionline-stroke-default: #b1b1b7; |
| 59 |
--xy-connectionline-stroke-width-default: 1; |
| 60 |
|
| 61 |
--xy-attribution-background-color-default: rgba(150, 150, 150, 0.25); |
| 62 |
|
| 63 |
--xy-minimap-background-color-default: #141414; |
| 64 |
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6); |
| 65 |
--xy-minimap-mask-stroke-color-default: transparent; |
| 66 |
--xy-minimap-mask-stroke-width-default: 1; |
| 67 |
--xy-minimap-node-background-color-default: #2b2b2b; |
| 68 |
--xy-minimap-node-stroke-color-default: transparent; |
| 69 |
--xy-minimap-node-stroke-width-default: 2; |
| 70 |
|
| 71 |
--xy-background-color-default: #141414; |
| 72 |
--xy-background-pattern-dots-color-default: #777; |
| 73 |
--xy-background-pattern-lines-color-default: #777; |
| 74 |
--xy-background-pattern-cross-color-default: #777; |
| 75 |
--xy-node-color-default: #f8f8f8; |
| 76 |
--xy-node-border-default: 1px solid #3c3c3c; |
| 77 |
--xy-node-background-color-default: #1e1e1e; |
| 78 |
--xy-node-group-background-color-default: rgba(240, 240, 240, 0.25); |
| 79 |
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08); |
| 80 |
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #999; |
| 81 |
|
| 82 |
--xy-handle-background-color-default: #bebebe; |
| 83 |
--xy-handle-border-color-default: #1e1e1e; |
| 84 |
|
| 85 |
--xy-selection-background-color-default: rgba(200, 200, 220, 0.08); |
| 86 |
--xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8); |
| 87 |
|
| 88 |
--xy-controls-button-background-color-default: #2b2b2b; |
| 89 |
--xy-controls-button-background-color-hover-default: #3e3e3e; |
| 90 |
--xy-controls-button-color-default: #f8f8f8; |
| 91 |
--xy-controls-button-color-hover-default: #fff; |
| 92 |
--xy-controls-button-border-color-default: #5b5b5b; |
| 93 |
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08); |
| 94 |
|
| 95 |
--xy-edge-label-background-color-default: #141414; |
| 96 |
--xy-edge-label-color-default: #f8f8f8; |
| 97 |
} |
| 98 |
.react-flow__background { |
| 99 |
background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default))); |
| 100 |
pointer-events: none; |
| 101 |
z-index: -1; |
| 102 |
} |
| 103 |
.react-flow__container { |
| 104 |
position: absolute; |
| 105 |
width: 100%; |
| 106 |
height: 100%; |
| 107 |
top: 0; |
| 108 |
left: 0; |
| 109 |
} |
| 110 |
.react-flow__pane { |
| 111 |
z-index: 1; |
| 112 |
} |
| 113 |
.react-flow__pane.draggable { |
| 114 |
cursor: grab; |
| 115 |
} |
| 116 |
.react-flow__pane.dragging { |
| 117 |
cursor: grabbing; |
| 118 |
} |
| 119 |
.react-flow__pane.selection { |
| 120 |
cursor: pointer; |
| 121 |
} |
| 122 |
.react-flow__viewport { |
| 123 |
transform-origin: 0 0; |
| 124 |
z-index: 2; |
| 125 |
pointer-events: none; |
| 126 |
} |
| 127 |
.react-flow__renderer { |
| 128 |
z-index: 4; |
| 129 |
} |
| 130 |
.react-flow__selection { |
| 131 |
z-index: 6; |
| 132 |
} |
| 133 |
.react-flow__nodesselection-rect:focus, |
| 134 |
.react-flow__nodesselection-rect:focus-visible { |
| 135 |
outline: none; |
| 136 |
} |
| 137 |
.react-flow__edge-path { |
| 138 |
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default)); |
| 139 |
stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default)); |
| 140 |
fill: none; |
| 141 |
} |
| 142 |
.react-flow__connection-path { |
| 143 |
stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default)); |
| 144 |
stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default)); |
| 145 |
fill: none; |
| 146 |
} |
| 147 |
.react-flow .react-flow__edges { |
| 148 |
position: absolute; |
| 149 |
} |
| 150 |
.react-flow .react-flow__edges svg { |
| 151 |
overflow: visible; |
| 152 |
position: absolute; |
| 153 |
pointer-events: none; |
| 154 |
} |
| 155 |
.react-flow__edge { |
| 156 |
pointer-events: visibleStroke; |
| 157 |
} |
| 158 |
.react-flow__edge.selectable { |
| 159 |
cursor: pointer; |
| 160 |
} |
| 161 |
.react-flow__edge.animated path { |
| 162 |
stroke-dasharray: 5; |
| 163 |
animation: dashdraw 0.5s linear infinite; |
| 164 |
} |
| 165 |
.react-flow__edge.animated path.react-flow__edge-interaction { |
| 166 |
stroke-dasharray: none; |
| 167 |
animation: none; |
| 168 |
} |
| 169 |
.react-flow__edge.inactive { |
| 170 |
pointer-events: none; |
| 171 |
} |
| 172 |
.react-flow__edge.selected, |
| 173 |
.react-flow__edge:focus, |
| 174 |
.react-flow__edge:focus-visible { |
| 175 |
outline: none; |
| 176 |
} |
| 177 |
.react-flow__edge.selected .react-flow__edge-path, |
| 178 |
.react-flow__edge.selectable:focus .react-flow__edge-path, |
| 179 |
.react-flow__edge.selectable:focus-visible .react-flow__edge-path { |
| 180 |
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default)); |
| 181 |
} |
| 182 |
.react-flow__edge-textwrapper { |
| 183 |
pointer-events: all; |
| 184 |
} |
| 185 |
.react-flow__edge .react-flow__edge-text { |
| 186 |
pointer-events: none; |
| 187 |
-webkit-user-select: none; |
| 188 |
user-select: none; |
| 189 |
} |
| 190 |
/* Arrowhead marker styles - use CSS custom properties as default */ |
| 191 |
.react-flow__arrowhead polyline { |
| 192 |
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default)); |
| 193 |
} |
| 194 |
.react-flow__arrowhead polyline.arrowclosed { |
| 195 |
fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default)); |
| 196 |
} |
| 197 |
.react-flow__connection { |
| 198 |
pointer-events: none; |
| 199 |
} |
| 200 |
.react-flow__connection .animated { |
| 201 |
stroke-dasharray: 5; |
| 202 |
animation: dashdraw 0.5s linear infinite; |
| 203 |
} |
| 204 |
svg.react-flow__connectionline { |
| 205 |
z-index: 1001; |
| 206 |
overflow: visible; |
| 207 |
position: absolute; |
| 208 |
} |
| 209 |
.react-flow__nodes { |
| 210 |
pointer-events: none; |
| 211 |
transform-origin: 0 0; |
| 212 |
} |
| 213 |
.react-flow__node { |
| 214 |
position: absolute; |
| 215 |
-webkit-user-select: none; |
| 216 |
user-select: none; |
| 217 |
pointer-events: all; |
| 218 |
transform-origin: 0 0; |
| 219 |
box-sizing: border-box; |
| 220 |
cursor: default; |
| 221 |
} |
| 222 |
.react-flow__node.selectable { |
| 223 |
cursor: pointer; |
| 224 |
} |
| 225 |
.react-flow__node.draggable { |
| 226 |
cursor: grab; |
| 227 |
pointer-events: all; |
| 228 |
} |
| 229 |
.react-flow__node.draggable.dragging { |
| 230 |
cursor: grabbing; |
| 231 |
} |
| 232 |
.react-flow__nodesselection { |
| 233 |
z-index: 3; |
| 234 |
transform-origin: left top; |
| 235 |
pointer-events: none; |
| 236 |
} |
| 237 |
.react-flow__nodesselection-rect { |
| 238 |
position: absolute; |
| 239 |
pointer-events: all; |
| 240 |
cursor: grab; |
| 241 |
} |
| 242 |
.react-flow__handle { |
| 243 |
position: absolute; |
| 244 |
pointer-events: none; |
| 245 |
min-width: 5px; |
| 246 |
min-height: 5px; |
| 247 |
width: 6px; |
| 248 |
height: 6px; |
| 249 |
background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default)); |
| 250 |
border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default)); |
| 251 |
border-radius: 100%; |
| 252 |
} |
| 253 |
.react-flow__handle.connectingfrom { |
| 254 |
pointer-events: all; |
| 255 |
} |
| 256 |
.react-flow__handle.connectionindicator { |
| 257 |
pointer-events: all; |
| 258 |
cursor: crosshair; |
| 259 |
} |
| 260 |
.react-flow__handle-bottom { |
| 261 |
top: auto; |
| 262 |
left: 50%; |
| 263 |
bottom: 0; |
| 264 |
transform: translate(-50%, 50%); |
| 265 |
} |
| 266 |
.react-flow__handle-top { |
| 267 |
top: 0; |
| 268 |
left: 50%; |
| 269 |
transform: translate(-50%, -50%); |
| 270 |
} |
| 271 |
.react-flow__handle-left { |
| 272 |
top: 50%; |
| 273 |
left: 0; |
| 274 |
transform: translate(-50%, -50%); |
| 275 |
} |
| 276 |
.react-flow__handle-right { |
| 277 |
top: 50%; |
| 278 |
right: 0; |
| 279 |
transform: translate(50%, -50%); |
| 280 |
} |
| 281 |
.react-flow__edgeupdater { |
| 282 |
cursor: move; |
| 283 |
pointer-events: all; |
| 284 |
} |
| 285 |
.react-flow__pane.selection .react-flow__panel { |
| 286 |
pointer-events: none; |
| 287 |
} |
| 288 |
.react-flow__panel { |
| 289 |
position: absolute; |
| 290 |
z-index: 5; |
| 291 |
margin: 15px; |
| 292 |
} |
| 293 |
.react-flow__panel.top { |
| 294 |
top: 0; |
| 295 |
} |
| 296 |
.react-flow__panel.bottom { |
| 297 |
bottom: 0; |
| 298 |
} |
| 299 |
.react-flow__panel.top.center, .react-flow__panel.bottom.center { |
| 300 |
left: 50%; |
| 301 |
transform: translateX(-15px) translateX(-50%); |
| 302 |
} |
| 303 |
.react-flow__panel.left { |
| 304 |
left: 0; |
| 305 |
} |
| 306 |
.react-flow__panel.right { |
| 307 |
right: 0; |
| 308 |
} |
| 309 |
.react-flow__panel.left.center, .react-flow__panel.right.center { |
| 310 |
top: 50%; |
| 311 |
transform: translateY(-15px) translateY(-50%); |
| 312 |
} |
| 313 |
.react-flow__attribution { |
| 314 |
font-size: 10px; |
| 315 |
background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default)); |
| 316 |
padding: 2px 3px; |
| 317 |
margin: 0; |
| 318 |
} |
| 319 |
.react-flow__attribution a { |
| 320 |
text-decoration: none; |
| 321 |
color: #999; |
| 322 |
} |
| 323 |
@keyframes dashdraw { |
| 324 |
from { |
| 325 |
stroke-dashoffset: 10; |
| 326 |
} |
| 327 |
} |
| 328 |
.react-flow__edgelabel-renderer { |
| 329 |
position: absolute; |
| 330 |
width: 100%; |
| 331 |
height: 100%; |
| 332 |
pointer-events: none; |
| 333 |
-webkit-user-select: none; |
| 334 |
user-select: none; |
| 335 |
left: 0; |
| 336 |
top: 0; |
| 337 |
} |
| 338 |
.react-flow__viewport-portal { |
| 339 |
position: absolute; |
| 340 |
width: 100%; |
| 341 |
height: 100%; |
| 342 |
left: 0; |
| 343 |
top: 0; |
| 344 |
-webkit-user-select: none; |
| 345 |
user-select: none; |
| 346 |
} |
| 347 |
.react-flow__minimap { |
| 348 |
background: var( |
| 349 |
--xy-minimap-background-color-props, |
| 350 |
var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) |
| 351 |
); |
| 352 |
} |
| 353 |
.react-flow__minimap-svg { |
| 354 |
display: block; |
| 355 |
} |
| 356 |
.react-flow__minimap-mask { |
| 357 |
fill: var( |
| 358 |
--xy-minimap-mask-background-color-props, |
| 359 |
var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) |
| 360 |
); |
| 361 |
stroke: var( |
| 362 |
--xy-minimap-mask-stroke-color-props, |
| 363 |
var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) |
| 364 |
); |
| 365 |
stroke-width: var( |
| 366 |
--xy-minimap-mask-stroke-width-props, |
| 367 |
var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) |
| 368 |
); |
| 369 |
} |
| 370 |
.react-flow__minimap-node { |
| 371 |
fill: var( |
| 372 |
--xy-minimap-node-background-color-props, |
| 373 |
var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) |
| 374 |
); |
| 375 |
stroke: var( |
| 376 |
--xy-minimap-node-stroke-color-props, |
| 377 |
var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) |
| 378 |
); |
| 379 |
stroke-width: var( |
| 380 |
--xy-minimap-node-stroke-width-props, |
| 381 |
var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) |
| 382 |
); |
| 383 |
} |
| 384 |
.react-flow__background-pattern.dots { |
| 385 |
fill: var( |
| 386 |
--xy-background-pattern-color-props, |
| 387 |
var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) |
| 388 |
); |
| 389 |
} |
| 390 |
.react-flow__background-pattern.lines { |
| 391 |
stroke: var( |
| 392 |
--xy-background-pattern-color-props, |
| 393 |
var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) |
| 394 |
); |
| 395 |
} |
| 396 |
.react-flow__background-pattern.cross { |
| 397 |
stroke: var( |
| 398 |
--xy-background-pattern-color-props, |
| 399 |
var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) |
| 400 |
); |
| 401 |
} |
| 402 |
.react-flow__controls { |
| 403 |
display: flex; |
| 404 |
flex-direction: column; |
| 405 |
box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default)); |
| 406 |
} |
| 407 |
.react-flow__controls.horizontal { |
| 408 |
flex-direction: row; |
| 409 |
} |
| 410 |
.react-flow__controls-button { |
| 411 |
display: flex; |
| 412 |
justify-content: center; |
| 413 |
align-items: center; |
| 414 |
height: 26px; |
| 415 |
width: 26px; |
| 416 |
padding: 4px; |
| 417 |
border: none; |
| 418 |
background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default)); |
| 419 |
border-bottom: 1px solid |
| 420 |
var( |
| 421 |
--xy-controls-button-border-color-props, |
| 422 |
var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) |
| 423 |
); |
| 424 |
color: var( |
| 425 |
--xy-controls-button-color-props, |
| 426 |
var(--xy-controls-button-color, var(--xy-controls-button-color-default)) |
| 427 |
); |
| 428 |
cursor: pointer; |
| 429 |
-webkit-user-select: none; |
| 430 |
user-select: none; |
| 431 |
} |
| 432 |
.react-flow__controls-button svg { |
| 433 |
width: 100%; |
| 434 |
max-width: 12px; |
| 435 |
max-height: 12px; |
| 436 |
fill: currentColor; |
| 437 |
} |
| 438 |
.react-flow__edge.updating .react-flow__edge-path { |
| 439 |
stroke: #777; |
| 440 |
} |
| 441 |
.react-flow__edge-text { |
| 442 |
font-size: 10px; |
| 443 |
} |
| 444 |
.react-flow__node.selectable:focus, |
| 445 |
.react-flow__node.selectable:focus-visible { |
| 446 |
outline: none; |
| 447 |
} |
| 448 |
.react-flow__node-input, |
| 449 |
.react-flow__node-default, |
| 450 |
.react-flow__node-output, |
| 451 |
.react-flow__node-group { |
| 452 |
padding: 10px; |
| 453 |
border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default)); |
| 454 |
width: 150px; |
| 455 |
font-size: 12px; |
| 456 |
color: var(--xy-node-color, var(--xy-node-color-default)); |
| 457 |
text-align: center; |
| 458 |
border: var(--xy-node-border, var(--xy-node-border-default)); |
| 459 |
background-color: var(--xy-node-background-color, var(--xy-node-background-color-default)); |
| 460 |
} |
| 461 |
.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover { |
| 462 |
box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default)); |
| 463 |
} |
| 464 |
.react-flow__node-input.selectable.selected, |
| 465 |
.react-flow__node-input.selectable:focus, |
| 466 |
.react-flow__node-input.selectable:focus-visible, |
| 467 |
.react-flow__node-default.selectable.selected, |
| 468 |
.react-flow__node-default.selectable:focus, |
| 469 |
.react-flow__node-default.selectable:focus-visible, |
| 470 |
.react-flow__node-output.selectable.selected, |
| 471 |
.react-flow__node-output.selectable:focus, |
| 472 |
.react-flow__node-output.selectable:focus-visible, |
| 473 |
.react-flow__node-group.selectable.selected, |
| 474 |
.react-flow__node-group.selectable:focus, |
| 475 |
.react-flow__node-group.selectable:focus-visible { |
| 476 |
box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default)); |
| 477 |
} |
| 478 |
.react-flow__node-group { |
| 479 |
background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default)); |
| 480 |
} |
| 481 |
.react-flow__nodesselection-rect, |
| 482 |
.react-flow__selection { |
| 483 |
background: var(--xy-selection-background-color, var(--xy-selection-background-color-default)); |
| 484 |
border: var(--xy-selection-border, var(--xy-selection-border-default)); |
| 485 |
} |
| 486 |
.react-flow__nodesselection-rect:focus, |
| 487 |
.react-flow__nodesselection-rect:focus-visible, |
| 488 |
.react-flow__selection:focus, |
| 489 |
.react-flow__selection:focus-visible { |
| 490 |
outline: none; |
| 491 |
} |
| 492 |
.react-flow__controls-button:hover { |
| 493 |
background: var( |
| 494 |
--xy-controls-button-background-color-hover-props, |
| 495 |
var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) |
| 496 |
); |
| 497 |
color: var( |
| 498 |
--xy-controls-button-color-hover-props, |
| 499 |
var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) |
| 500 |
); |
| 501 |
} |
| 502 |
.react-flow__controls-button:disabled { |
| 503 |
pointer-events: none; |
| 504 |
} |
| 505 |
.react-flow__controls-button:disabled svg { |
| 506 |
fill-opacity: 0.4; |
| 507 |
} |
| 508 |
.react-flow__controls-button:last-child { |
| 509 |
border-bottom: none; |
| 510 |
} |
| 511 |
.react-flow__controls.horizontal .react-flow__controls-button { |
| 512 |
border-bottom: none; |
| 513 |
border-right: 1px solid |
| 514 |
var( |
| 515 |
--xy-controls-button-border-color-props, |
| 516 |
var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) |
| 517 |
); |
| 518 |
} |
| 519 |
.react-flow__controls.horizontal .react-flow__controls-button:last-child { |
| 520 |
border-right: none; |
| 521 |
} |
| 522 |
.react-flow__resize-control { |
| 523 |
position: absolute; |
| 524 |
} |
| 525 |
.react-flow__resize-control.left, |
| 526 |
.react-flow__resize-control.right { |
| 527 |
cursor: ew-resize; |
| 528 |
} |
| 529 |
.react-flow__resize-control.top, |
| 530 |
.react-flow__resize-control.bottom { |
| 531 |
cursor: ns-resize; |
| 532 |
} |
| 533 |
.react-flow__resize-control.top.left, |
| 534 |
.react-flow__resize-control.bottom.right { |
| 535 |
cursor: nwse-resize; |
| 536 |
} |
| 537 |
.react-flow__resize-control.bottom.left, |
| 538 |
.react-flow__resize-control.top.right { |
| 539 |
cursor: nesw-resize; |
| 540 |
} |
| 541 |
/* handle styles */ |
| 542 |
.react-flow__resize-control.handle { |
| 543 |
width: 5px; |
| 544 |
height: 5px; |
| 545 |
border: 1px solid #fff; |
| 546 |
border-radius: 1px; |
| 547 |
background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default)); |
| 548 |
translate: -50% -50%; |
| 549 |
} |
| 550 |
.react-flow__resize-control.handle.left { |
| 551 |
left: 0; |
| 552 |
top: 50%; |
| 553 |
} |
| 554 |
.react-flow__resize-control.handle.right { |
| 555 |
left: 100%; |
| 556 |
top: 50%; |
| 557 |
} |
| 558 |
.react-flow__resize-control.handle.top { |
| 559 |
left: 50%; |
| 560 |
top: 0; |
| 561 |
} |
| 562 |
.react-flow__resize-control.handle.bottom { |
| 563 |
left: 50%; |
| 564 |
top: 100%; |
| 565 |
} |
| 566 |
.react-flow__resize-control.handle.top.left { |
| 567 |
left: 0; |
| 568 |
} |
| 569 |
.react-flow__resize-control.handle.bottom.left { |
| 570 |
left: 0; |
| 571 |
} |
| 572 |
.react-flow__resize-control.handle.top.right { |
| 573 |
left: 100%; |
| 574 |
} |
| 575 |
.react-flow__resize-control.handle.bottom.right { |
| 576 |
left: 100%; |
| 577 |
} |
| 578 |
/* line styles */ |
| 579 |
.react-flow__resize-control.line { |
| 580 |
border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default)); |
| 581 |
border-width: 0; |
| 582 |
border-style: solid; |
| 583 |
} |
| 584 |
.react-flow__resize-control.line.left, |
| 585 |
.react-flow__resize-control.line.right { |
| 586 |
width: 1px; |
| 587 |
transform: translate(-50%, 0); |
| 588 |
top: 0; |
| 589 |
height: 100%; |
| 590 |
} |
| 591 |
.react-flow__resize-control.line.left { |
| 592 |
left: 0; |
| 593 |
border-left-width: 1px; |
| 594 |
} |
| 595 |
.react-flow__resize-control.line.right { |
| 596 |
left: 100%; |
| 597 |
border-right-width: 1px; |
| 598 |
} |
| 599 |
.react-flow__resize-control.line.top, |
| 600 |
.react-flow__resize-control.line.bottom { |
| 601 |
height: 1px; |
| 602 |
transform: translate(0, -50%); |
| 603 |
left: 0; |
| 604 |
width: 100%; |
| 605 |
} |
| 606 |
.react-flow__resize-control.line.top { |
| 607 |
top: 0; |
| 608 |
border-top-width: 1px; |
| 609 |
} |
| 610 |
.react-flow__resize-control.line.bottom { |
| 611 |
border-bottom-width: 1px; |
| 612 |
top: 100%; |
| 613 |
} |
| 614 |
.react-flow__edge-textbg { |
| 615 |
fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default)); |
| 616 |
} |
| 617 |
.react-flow__edge-text { |
| 618 |
fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default)); |
| 619 |
} |
| 620 |
|
| 621 |
|