legend and datatable css improved