Create index.css
Browse files- src/index.css +57 -0
src/index.css
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.dndflow {
|
| 2 |
+
flex-direction: column;
|
| 3 |
+
display: flex;
|
| 4 |
+
flex-grow: 1;
|
| 5 |
+
height: 100%;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
.dndflow aside {
|
| 9 |
+
border-right: 1px solid #eee;
|
| 10 |
+
padding: 15px 10px;
|
| 11 |
+
font-size: 12px;
|
| 12 |
+
background: #fcfcfc;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.dndflow aside .description {
|
| 16 |
+
margin-bottom: 10px;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.dndflow .dndnode {
|
| 20 |
+
height: 20px;
|
| 21 |
+
padding: 4px;
|
| 22 |
+
border: 1px solid #1a192b;
|
| 23 |
+
border-radius: 2px;
|
| 24 |
+
margin-bottom: 10px;
|
| 25 |
+
display: flex;
|
| 26 |
+
justify-content: center;
|
| 27 |
+
align-items: center;
|
| 28 |
+
cursor: grab;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.dndflow .dndnode.input {
|
| 32 |
+
border-color: #0041d0;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.dndflow .dndnode.output {
|
| 36 |
+
border-color: #ff0072;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.dndflow .reactflow-wrapper {
|
| 40 |
+
flex-grow: 1;
|
| 41 |
+
height: 100%;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.dndflow .selectall {
|
| 45 |
+
margin-top: 10px;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
@media screen and (min-width: 768px) {
|
| 49 |
+
.dndflow {
|
| 50 |
+
flex-direction: row;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.dndflow aside {
|
| 54 |
+
width: 20%;
|
| 55 |
+
max-width: 250px;
|
| 56 |
+
}
|
| 57 |
+
}
|