2014-12-02 23:02:35 +01:00
|
|
|
// Pagination
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start pagination-mixin
|
2019-08-30 09:42:41 +02:00
|
|
|
@mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
--#{$prefix}pagination-padding-x: #{$padding-x};
|
|
|
|
--#{$prefix}pagination-padding-y: #{$padding-y};
|
|
|
|
@include rfs($font-size, --#{$prefix}pagination-font-size);
|
2022-05-23 04:24:08 +02:00
|
|
|
--#{$prefix}pagination-border-radius: #{$border-radius};
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end pagination-mixin
|