* docs: Animations * docs: add confetti gun * docs: update basic example on home page * docs(deps): Add stackblitz sdk to deps * chore: update yarn.lock * docs: use vue repl * docs: remove stackblitz sdk * docs: basic repl example * docs: use repl for examples/index.md (basic example) * docs: pass ext to repl * docs: add copy plugin * docs: use import map instead of dynamic imports * docs: use repl for custom node example * docs: hide repl errors * docs: use repl for custom connectionline example * docs: use repl for edges example * docs: exclude repl from ssr * docs: use repl for nested example * docs: use repl for stress example * docs: rename customNode to custom-node * docs: use repl for update-edge example * docs: use repl for update-node example * docs: use repl for validation example * docs: use repl for save-restore example * docs: scale down minimap in repl examples * docs: use repl for dnd example * docs: use repl for empty example * docs: use repl for hidden example * docs: use repl for interaction example * docs: use repl for multi example * docs: add pinia example with stackblitz * docs: update basic example * docs: update examples * docs: remove transition from intro * docs: update features * update: README.md * docs: scope css
52 lines
919 B
CSS
52 lines
919 B
CSS
.dndflow {
|
|
flex-direction: column;
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
|
|
.dndflow aside {
|
|
color: white;
|
|
font-weight: 700;
|
|
border-right: 1px solid #eee;
|
|
padding: 15px 10px;
|
|
font-size: 12px;
|
|
background: rgba(16, 185, 129, 0.75);
|
|
-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
|
|
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.dndflow aside .nodes > * {
|
|
margin-bottom: 10px;
|
|
cursor: grab;
|
|
font-weight: 500;
|
|
-webkit-box-shadow: 5px 5px 10px 2px rgba(0,0,0,0.25);
|
|
box-shadow: 5px 5px 10px 2px rgba(0,0,0,0.25);
|
|
}
|
|
|
|
.dndflow aside .description {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.dndflow .vue-flow-wrapper {
|
|
flex-grow: 1;
|
|
height: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: 640px) {
|
|
.dndflow {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.dndflow aside {
|
|
min-width: 25%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 639px) {
|
|
.dndflow aside .nodes {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 5px;
|
|
}
|
|
}
|