From eef9b690ea419bcfca786e7e0cf75e9509f38023 Mon Sep 17 00:00:00 2001 From: moklick Date: Sat, 30 May 2020 20:47:17 +0200 Subject: [PATCH] style(nodes): put styles into specific node type classes --- src/style.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/style.css b/src/style.css index c23938f1..f9f41504 100644 --- a/src/style.css +++ b/src/style.css @@ -110,9 +110,6 @@ pointer-events: all; transform-origin: 0 0; cursor: grab; - padding: 10px; - border-radius: 5px; - width: 150px; background: #eee; &.selected, @@ -130,14 +127,23 @@ } .react-flow__node-default { + padding: 10px; + border-radius: 5px; + width: 150px; background: #ff6060; } .react-flow__node-input { + padding: 10px; + border-radius: 5px; + width: 150px; background: #9999ff; } .react-flow__node-output { + padding: 10px; + border-radius: 5px; + width: 150px; background: #55dd99; }