Too bad international law doesn't agree with you. The military value of a target determines the proportionality.
Israel is not indifferent. If it was, it would just destroy the entire Gaza strip over night and be done with it.
Acceptable losses are determined by international law. The higher the military value of a target the more it is acceptable to hit it, despite the risk to civilians. Remember you can't guarantee 0 civilian casualties in a war.
Israel doesn't attack civilians. It attacks Hamas. Civilians regrettably die in the process because Hamas ignores international laws and keeps them around as human shields.