Refactored dashboard panels SCSS code using mixins.