updated css for legends
update of legend css