A California court ruled that a bakery violated a same-sex couple's civil rights after refusing them a wedding cake.