daux.io/less/import/bootstrap/mixins/pagination.less
Gautham Warrier 04a68f3cdd Code rewrite to OOPs base
Update Bootstrap to v3.2 and skim built-in themes to bare essentials
2014-07-31 08:08:22 +05:30

24 lines
438 B
Plaintext

// Pagination
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
}
&:first-child {
> a,
> span {
.border-left-radius(@border-radius);
}
}
&:last-child {
> a,
> span {
.border-right-radius(@border-radius);
}
}
}
}