added mixins for conditionally displaying status icons and colours on inputs