feat(deps): remove emotion

This commit is contained in:
moklick
2019-07-15 18:45:33 +02:00
parent f903f91941
commit 5b9abd8c9e
13 changed files with 124 additions and 245 deletions
+48
View File
@@ -17,4 +17,52 @@
position: absolute;
top: 0;
left: 0;
}
.react-graph__edges {
pointer-events: none;
}
.react-graph__edge {
fill: none;
stroke: #333;
stroke-width: 2;
}
.react-graph__nodes {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
pointer-events: none;
transform-origin: 0 0;
}
.react-graph__nodewrap {
position: absolute;
width: 150px;
color: #222;
font-family: sans-serif;
font-size: 12px;
text-align: center;
cursor: grab;
border: 1px solid #ddd;
border-radius: 2px;
user-select: none;
pointer-events: all;
transform-origin: 0 0;
}
.react-graph__nodewrap:hover {
box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.08);
}
.react-graph__handle {
position: absolute;
width: 12px;
height: 12px;
transform: translate(-50%, -50%);
background: #222;
left: 50%;
border-radius: 50%;
}