Simplify sass function with list, loop & shared css rule

- Use list and loop to generate the css file.
- Apply shared css rules (outlines width/style) to all selector.