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

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