From 682002c39dbcaeb3e30fc7b111c28365a376d388 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Sun, 14 Dec 2025 14:28:06 +0700 Subject: [PATCH] add styles --- src/components/EditorWindow.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/EditorWindow.vue b/src/components/EditorWindow.vue index 3ccf1a3..581537a 100644 --- a/src/components/EditorWindow.vue +++ b/src/components/EditorWindow.vue @@ -59,7 +59,7 @@ async function loadGraph() { } graph.value.edges.map(function (edge: GraphEdge) { if (edge.type == 'application') { - edge.color = '#cccccc' + edge.color = '#aaaaaa' } }) graph.value.nodes = graph.value.nodes.map(function (it: GraphNode) { @@ -333,12 +333,11 @@ function nodeHeader(node: GraphNode): string { padding: 3px 7px; margin: 5px 5px 5px 0; background-color: #ffffff; - border-radius: 7px; - border: 1px solid #373737; + border: 1px solid #777777; } .editor-button:hover { - background-color: #dddddd; + background-color: #eeeeee; cursor: pointer; } @@ -441,7 +440,7 @@ function nodeHeader(node: GraphNode): string { background: white; line-height: 18px; font-size: 10px; - color: #777; + color: #444444; transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1); } @@ -455,7 +454,7 @@ function nodeHeader(node: GraphNode): string { } .checkbox-green input[type="checkbox"]:checked+.checkbox-green-switch { - background-color: #848484; + background-color: #777777; } .checkbox-green input[type="checkbox"]:checked+.checkbox-green-switch:before { @@ -465,7 +464,7 @@ function nodeHeader(node: GraphNode): string { .checkbox-green input[type="checkbox"]:checked+.checkbox-green-switch:after { content: attr(data-label-on); - color: #848484; + color: #777777; transform: translate3d(44px, 0, 0); }