You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
462 B
23 lines
462 B
4 years ago
|
// Pagination
|
||
|
|
||
|
@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
|
||
|
.page-link {
|
||
|
padding: $padding-y $padding-x;
|
||
|
@include font-size($font-size);
|
||
|
line-height: $line-height;
|
||
|
}
|
||
|
|
||
|
.page-item {
|
||
|
&:first-child {
|
||
|
.page-link {
|
||
|
@include border-left-radius($border-radius);
|
||
|
}
|
||
|
}
|
||
|
&:last-child {
|
||
|
.page-link {
|
||
|
@include border-right-radius($border-radius);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|