mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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)
21 lines
422 B
SCSS
21 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);
|
|
}
|
|
}
|
|
}
|
|
}
|