pads: wip pads rewriting: add base class, fake slider (to handle user inputs) and xy

This commit is contained in:
jean-emmanuel 2016-10-20 00:39:52 +02:00
parent 2fe2ed790f
commit 92fc881cbe
5 changed files with 166 additions and 1 deletions

View file

@ -1,3 +1,30 @@
.pad {
height:100%;
width: 100%;
overflow: hidden;
display: flex;
> .wrapper {
position: relative;
height: 100%;
width: 100%;
.fader {
--color-gauge:transparent;
--color-pips: var(--color-text-fade);
--color-knob: var(--color-custom);
pointer-events: none;
position: absolute;
width:100%;
height:100%;
.wrapper canvas {
background:transparent;
}
.input {
display: none;
}
}
}
}
.xy-container, .rgb-container {
width:200rem;
height:250rem;