Add and change some styles related to the porting of the scorecard module

Change some existing styles and class-names and move some styles from
scorecard module to global style module.