NexusDash-izebra/app/static/bootstrap-4.2.1/scss/mixins/_pagination.scss

23 lines
453 B
SCSS
Raw Normal View History

2022-01-16 18:22:00 +00:00
// Pagination
@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
.page-link {
padding: $padding-y $padding-x;
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);
}
}
}
}