2014-12-02 23:02:35 +01:00
|
|
|
// Pagination
|
|
|
|
|
2016-01-14 00:28:23 +01:00
|
|
|
@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
|
2015-10-30 06:24:25 +01:00
|
|
|
.page-link {
|
2016-01-14 00:28:23 +01:00
|
|
|
padding: $padding-y $padding-x;
|
2015-10-30 06:24:25 +01:00
|
|
|
font-size: $font-size;
|
|
|
|
line-height: $line-height;
|
|
|
|
}
|
|
|
|
|
2015-12-08 07:24:50 +01:00
|
|
|
.page-item {
|
2014-12-02 23:02:35 +01:00
|
|
|
&:first-child {
|
2015-10-30 06:03:06 +01:00
|
|
|
.page-link {
|
2014-12-02 23:02:35 +01:00
|
|
|
@include border-left-radius($border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
2015-10-30 06:03:06 +01:00
|
|
|
.page-link {
|
2014-12-02 23:02:35 +01:00
|
|
|
@include border-right-radius($border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|