1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-28 09:05:22 +00:00
webvirtcloud/dev/scss/bootstrap/mixins/_pagination.scss

23 lines
462 B
SCSS
Raw Normal View History

2020-05-19 16:53:54 +00:00
// 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);
}
}
}
}