mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
23 lines
460 B
SCSS
23 lines
460 B
SCSS
// Pagination
|
|
|
|
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $border-radius) {
|
|
> li {
|
|
> a,
|
|
> span {
|
|
padding: $padding-vertical $padding-horizontal;
|
|
font-size: $font-size;
|
|
}
|
|
&:first-child {
|
|
> a,
|
|
> span {
|
|
@include border-left-radius($border-radius);
|
|
}
|
|
}
|
|
&:last-child {
|
|
> a,
|
|
> span {
|
|
@include border-right-radius($border-radius);
|
|
}
|
|
}
|
|
}
|
|
}
|