cycat-project-website/_sass/bootstrap/mixins/_pagination.scss

23 lines
462 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
// Pagination
@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
.page-link {
padding: $padding-y $padding-x;
2020-08-23 12:01:06 +02:00
@include font-size($font-size);
2018-12-09 08:21:01 +01:00
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);
}
}
}
}