snipe-it/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss

25 lines
507 B
SCSS
Raw Normal View History

2017-01-11 03:05:06 -08:00
// Pagination
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
> li {
> a,
> span {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
}
&:first-child {
> a,
> span {
@include border-left-radius($border-radius);
}
}
&:last-child {
> a,
> span {
@include border-right-radius($border-radius);
}
}
}
}