_sass/bootstrap/mixins/_pagination.scss in apx-docs-theme-0.1.7 vs _sass/bootstrap/mixins/_pagination.scss in apx-docs-theme-0.1.15

- old
+ new

@@ -1,23 +1,21 @@ // Pagination -@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { - > li { - > a, - > span { - padding: $padding-vertical $padding-horizontal; - font-size: $font-size; - line-height: $line-height; - } +@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) { + .page-link { + padding: $padding-y $padding-x; + font-size: $font-size; + line-height: $line-height; + } + + .page-item { &:first-child { - > a, - > span { + .page-link { @include border-left-radius($border-radius); } } &:last-child { - > a, - > span { + .page-link { @include border-right-radius($border-radius); } } } }