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