Fork-Awesome/assets/less/bootstrap-3.3.5/mixins/pagination.less

25 lines
485 B
Plaintext
Raw Normal View History

2014-08-27 00:51:53 +08:00
// Pagination
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
2014-08-27 00:51:53 +08:00
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
2014-08-27 00:51:53 +08:00
}
&:first-child {
> a,
> span {
.border-left-radius(@border-radius);
}
}
&:last-child {
> a,
> span {
.border-right-radius(@border-radius);
}
}
}
}