mirror of
https://github.com/supanadit/todo.git
synced 2024-11-14 04:12:18 +00:00
25 lines
485 B
Plaintext
Executable File
25 lines
485 B
Plaintext
Executable File
// Pagination
|
|
|
|
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
|
> li {
|
|
> a,
|
|
> span {
|
|
padding: @padding-vertical @padding-horizontal;
|
|
font-size: @font-size;
|
|
line-height: @line-height;
|
|
}
|
|
&:first-child {
|
|
> a,
|
|
> span {
|
|
.border-left-radius(@border-radius);
|
|
}
|
|
}
|
|
&:last-child {
|
|
> a,
|
|
> span {
|
|
.border-right-radius(@border-radius);
|
|
}
|
|
}
|
|
}
|
|
}
|