add "noPip" option to fader & knob (hide pip scale and frees some space)

This commit is contained in:
jean-emmanuel 2016-03-29 08:45:35 +02:00
parent bf0173c251
commit d657ec7ef6
6 changed files with 32 additions and 1 deletions

View file

@ -183,6 +183,15 @@
}
}
}
&.no-pip {
.pips {
display: none!important;
}
.fader {
margin:0 auto;
}
}
}
}
@ -203,6 +212,9 @@
display: block;
flex:0;
flex-shrink: 0;
&.no-pip {
padding: 20rem;
}
}
.fader {
width:100%;

View file

@ -37,6 +37,13 @@
cursor: -webkit-grabbing;
}
&.no-pip {
margin-bottom: 0;
.pips {
display: none;
}
}
.knob-mask {
width:58%;
padding-bottom:58%;