twbs--bootstrap/scss/mixins/_pagination.scss

23 lines
453 B
SCSS
Raw Normal View History

2014-12-02 17:02:35 -05: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;
}
2015-12-08 01:24:50 -05:00
.page-item {
2014-12-02 17:02:35 -05:00
&:first-child {
2015-10-30 01:03:06 -04:00
.page-link {
2014-12-02 17:02:35 -05:00
@include border-left-radius($border-radius);
}
}
&:last-child {
2015-10-30 01:03:06 -04:00
.page-link {
2014-12-02 17:02:35 -05:00
@include border-right-radius($border-radius);
}
}
}
}