style(nodes): put styles into specific node type classes

This commit is contained in:
moklick
2020-05-30 21:19:08 +02:00
parent 35d0a462e8
commit 384769f4f7
2 changed files with 4 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ nav a.active:before {
color: #111;
}
.dark-node {
.react-flow__node.dark-node {
background: #333;
color: #f8f8f8;
}

View File

@@ -103,8 +103,6 @@
.react-flow__node {
position: absolute;
color: #222;
font-family: sans-serif;
font-size: 12px;
text-align: center;
user-select: none;
pointer-events: all;
@@ -131,6 +129,7 @@
border-radius: 5px;
width: 150px;
background: #ff6060;
font-size: 12px;
}
.react-flow__node-input {
@@ -138,6 +137,7 @@
border-radius: 5px;
width: 150px;
background: #9999ff;
font-size: 12px;
}
.react-flow__node-output {
@@ -145,6 +145,7 @@
border-radius: 5px;
width: 150px;
background: #55dd99;
font-size: 12px;
}
.react-flow__handle {