format all class name of pagination component