There is a classical textbook "Electrodynamics of continuous media" by Landau-Lifschitz. To my taste, this book does not give enough details on general material, but rather focuses on concrete applications.
Could you please recommend other books on the same topic.