mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
25 lines
508 B
SCSS
25 lines
508 B
SCSS
// Pagination
|
|
|
|
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
|
.page {
|
|
> 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);
|
|
}
|
|
}
|
|
}
|
|
}
|