added style for measurement period and reduced the fonts size of the measure ribbon