fader: reduce inner margin

This commit is contained in:
jean-emmanuel 2017-01-10 14:12:15 +01:00
parent 8ea83fd96c
commit b089f8e5cf
2 changed files with 10 additions and 10 deletions

View file

@ -51,7 +51,7 @@ module.exports = class Fader extends _sliders_base {
super(...arguments)
this.widget.addClass('fader')
this.margin = 20
this.margin = 15
if (widgetData.horizontal) {

View file

@ -3,7 +3,7 @@
--color-gauge: var(--color-custom);
--color-knob: var(--color-custom);
--color-track: var(--color-bg);
width:100rem;
height:100%;
&.horizontal {
@ -35,8 +35,8 @@
pointer-events: none;
position: absolute;
top:20rem;
bottom:19rem;
top:15rem;
bottom:14rem;
left:50%;
height: auto;
width:3rem;
@ -61,8 +61,8 @@
pointer-events: none;
position: absolute;
top:20rem;
bottom:20rem;
top:15rem;
bottom:15rem;
left:50%;
z-index: 0;
width: 4rem;
@ -135,8 +135,8 @@
}
.wrapper .meter-container {
left:20rem;
right:20rem;
left:15rem;
right:15rem;
height: 3rem;
min-height: 3rem;
width: auto;
@ -146,8 +146,8 @@
.pips {
top:50%;
left:20rem;
right:20rem;
left:15rem;
right:15rem;
font-size: 0;
height:4rem;
width:auto;