apply index style