DAVIS — Cities across California are now scrambling to comply with a new state law designed to improve pedestrian and bike safety, but that means there will be fewer places to park cars.