Is the civil law a code law or case law?

Yes. Civil law is based on any code or laws passed by the legislature or law creating body for the country or political unit in question. The interpretation and any gaps in that law will be based on prior cases or case law.