Refactor grid inline styles to proper less