24 lines
789 B
CSS
24 lines
789 B
CSS
/* FlowEditor background container */
|
|
.flow-editor-container {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Blue Gradient Overlay */
|
|
.flow-editor-container::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none; /* Ensures grid and nodes remain fully interactive */
|
|
background: linear-gradient( to bottom, rgba(9, 44, 68, 0.9) 0%, /* Deep blue at the top */
|
|
rgba(30, 30, 30, 0) 45%, /* Fade out towards center */
|
|
rgba(30, 30, 30, 0) 75%, /* No gradient in the middle */
|
|
rgba(9, 44, 68, 0.7) 100% /* Deep blue at the bottom */
|
|
);
|
|
z-index: -1; /* Ensures it stays behind the React Flow elements */
|
|
}
|