Waterproof solar hazard light