mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
48a7160cf4
* Convert pagination component to CSS variables * Use RFS mixin * Remove the useless fallback
11 lines
483 B
SCSS
11 lines
483 B
SCSS
// Pagination
|
|
|
|
// scss-docs-start pagination-mixin
|
|
@mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
|
|
--#{$variable-prefix}pagination-padding-x: #{$padding-x};
|
|
--#{$variable-prefix}pagination-padding-y: #{$padding-y};
|
|
@include rfs($font-size, --#{$variable-prefix}pagination-font-size);
|
|
--#{$variable-prefix}pagination-border-radius: #{$border-radius}; // stylelint-disable-line custom-property-empty-line-before
|
|
}
|
|
// scss-docs-end pagination-mixin
|