removing fading

10.3.x-maintenance
skaman82 2015-11-09 21:57:37 +01:00
parent 2cc48a1506
commit add49f7aca
2 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@
width: 100%;
height: 100px;
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background-color: #D4D4D4;
background-color: #E0E0E0;
border-radius: 3px;
border: 1px solid #F5F5F5;

View File

@ -449,7 +449,7 @@ TABS.motors.initialize = function (callback) {
color = parseInt(data * 0.009);
$('.motor-' + i + ' .label', motors_wrapper).text(MOTOR_DATA[i]);
$('.motor-' + i + ' .indicator', motors_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,0.'+ color +')'});
$('.motor-' + i + ' .indicator', motors_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,1.'+ color +')'});
}
// servo indicators are still using old (not flexible block scale), it will be changed in the future accordingly
@ -460,7 +460,7 @@ TABS.motors.initialize = function (callback) {
color = parseInt(data * 0.009);
$('.servo-' + i + ' .label', servos_wrapper).text(SERVO_DATA[i]);
$('.servo-' + i + ' .indicator', servos_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,0.'+ color +')'});
$('.servo-' + i + ' .indicator', servos_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,1'+ color +')'});
}
}