align option for fader

This commit is contained in:
jean-emmanuel 2016-03-22 22:28:57 +01:00
parent 14868f3b78
commit b06bad1596
4 changed files with 36 additions and 2 deletions

View file

@ -3,6 +3,33 @@
min-height: 200rem;
height:100%;
&.align-right .fader-wrapper {
.fader {
margin-left:calc(50% + 15rem);
&:before {
box-shadow: 20rem 0 0 35rem;
}
}
.meter-container {
-webkit-mask:none;
right:auto!important;
width:1rem;
}
}
&.align-left .fader-wrapper {
.fader {
margin-right:calc(50% + 15rem);
&:before {
box-shadow: -20rem 0 0 35rem;
}
}
.meter-container {
-webkit-mask:none;
left:auto!important;
width:1rem;
}
}
.input {
margin-top:-5rem;
}