Refactored styles for page edit

- moved common styles to sass mixins