Refactored HTML5 input add-on: avoids upcoming SASS variable rescoping issues and repetitive code