widgets: add encoder

This commit is contained in:
jean-emmanuel 2017-04-26 19:02:27 +02:00
parent 2e7444ae32
commit b978d4b9fe
3 changed files with 31 additions and 3 deletions

View file

@ -1,4 +1,4 @@
.knob-container {
.knob-container, .encoder-container {
--color-pips: var(--color-text-fade);
--color-gauge: var(--color-custom);
--color-knob: var(--color-custom);
@ -8,6 +8,7 @@
height: 120rem;
align-items: center;
flex-shrink: 0;
}
.knob {
@ -53,3 +54,28 @@
}
}
}
.encoder {
--color-gauge: transparent;
height:100%;
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
.wrapper {
overflow: hidden;
flex:1;
max-height: 100%;
width: 100%;
position: relative;
display: flex;
}
.input {
// display: none;
}
}