Skip to content

Instantly share code, notes, and snippets.

@pzaich
Created November 9, 2012 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pzaich/4044308 to your computer and use it in GitHub Desktop.
Save pzaich/4044308 to your computer and use it in GitHub Desktop.
bootstrap overrides for kaminari pagination
.pagination a, .pagination span.current, .pagination span.gap {
float: left;
padding: 0 14px;
line-height: 38px;
text-decoration: none;
background-color: white;
border: 1px solid #DDD;
border-left-width: 0;
}
.pagination {
border-left: 1px solid #ddd;
.first{
padding : 0;
float: none;
border: none;
}
.prev {
padding : 0;
float: none;
border: none;
}
.page{
padding : 0;
float: none;
border: none;
}
.next{
padding : 0;
float: none;
border: none;
}
.last{
padding : 0;
float: none;
border: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment