Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cyclops-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"@ant-design/icons": "^5.3.3",
"@microsoft/fetch-event-source": "^2.0.1",
"@rmlio/matey": "^1.0.4",
"@types/dagre": "^0.7.53",
"ace-builds": "^1.4.14",
"antd": "^5.14.0",
"axios": "^1.7.4",
"babel-preset-react": "^6.24.1",
"codeblock": "^0.4.0-pre.3",
"dagre": "^0.8.5",
"date-fns": "^2.30.0",
"draft-js": "^0.11.7",
"fetch-jsonp": "^1.2.1",
Expand All @@ -29,6 +31,7 @@
"react-router-dom": "^6.21.1",
"react-scripts": "^5.0.1",
"react-terminal": "^1.3.1",
"reactflow": "^11.11.4",
"remark-gfm": "^4.0.1",
"runtime-env-cra": "^0.2.4",
"terser-webpack-plugin": "^5.3.10",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.resource-tree-container {
height: 700px;
width: 100%;
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 8px;
}

.resource-tree-empty {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 8px;
color: #8c8c8c;
font-size: 14px;
}

.resource-node {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
word-wrap: break-word;
height: 100%;
}

.resource-node-kind {
font-weight: 600;
color: #262626;
margin-bottom: 4px;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.resource-node-name {
color: #595959;
font-size: 11px;
max-width: 160px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

/* React Flow customization */
.react-flow__node {
transition: all 0.2s ease;
}

.react-flow__node:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.react-flow__edge-path {
stroke-width: 2.5px;
}

.react-flow__controls {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.react-flow__minimap {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
Loading