Bipartisan legislation would grant civilian federal employees up to 12 weeks of paid family and medical leave per year.