mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
ba37c37615
- Rename -height to -height-base to match other vars - Drop use of -height across the board and rely on it to be inherited - Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
22 lines
422 B
SCSS
22 lines
422 B
SCSS
// 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;
|
|
}
|
|
|
|
.page-item {
|
|
&:first-child {
|
|
.page-link {
|
|
@include border-left-radius($border-radius);
|
|
}
|
|
}
|
|
&:last-child {
|
|
.page-link {
|
|
@include border-right-radius($border-radius);
|
|
}
|
|
}
|
|
}
|
|
}
|