updated styles in navbar and legend