style(nodes): put styles into specific node type classes
This commit is contained in:
@@ -136,7 +136,7 @@ nav a.active:before {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
.dark-node {
|
||||
.react-flow__node.dark-node {
|
||||
background: #333;
|
||||
color: #f8f8f8;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user