mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
24 lines
438 B
Plaintext
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);
|
|
}
|
|
}
|
|
}
|
|
}
|