widgets: add patchbay

This commit is contained in:
jean-emmanuel 2019-01-04 17:37:45 +01:00
parent bc25cfbb24
commit 74b88d58eb
5 changed files with 298 additions and 1 deletions

View file

@ -0,0 +1,39 @@
.patchbay-container {
width: 200rem;
height: 200rem;
.patchbay {
display: flex;
flex-direction: row;
padding:1rem 2rem 1rem 1rem;
// @extend .glass-effect;
height: 100%;
canvas {
flex: 1;
width: 0;
background: var(--color-track);
border-top:1rem solid var(--color-bg);
border-bottom:1rem solid var(--color-bg)
}
.nodes {
display: flex;
flex-direction: column;
align-items:stretch;
margin-bottom: 1rem;
min-width: 50rem;
max-width: 25%;
> div {
width: 100%;
height: 100%;
flex:1;
flex-shrink: 0;
@extend .toggle-container;
div {
pointer-events: none;
}
}
}
}
}