Rename pagination-related CSS classes

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Refactor pagination styles to use CSS flexboxes

Bug # 15375

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Prohibit text wrapping in pagination

Signed-off-by: Alex Coles <alex@alexbcoles.com>