diff options
| author | Max | 2017-05-18 14:03:27 +0200 |
|---|---|---|
| committer | Max | 2017-05-18 14:03:27 +0200 |
| commit | f597e2fe949a1e18eb778b9a5bd102de88570555 (patch) | |
| tree | 7e42e6f91dd3e764cd2cf0c4f61f48501c2ed98f /src/sass/bootstrap4/mixins/_pagination.scss | |
| download | docs.maxmail.xyz-master.tar.gz | |
Diffstat (limited to 'src/sass/bootstrap4/mixins/_pagination.scss')
| -rw-r--r-- | src/sass/bootstrap4/mixins/_pagination.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sass/bootstrap4/mixins/_pagination.scss b/src/sass/bootstrap4/mixins/_pagination.scss new file mode 100644 index 0000000..eaebe89 --- /dev/null +++ b/src/sass/bootstrap4/mixins/_pagination.scss @@ -0,0 +1,22 @@ +// Pagination + +@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { + .page-link { + padding: $padding-vertical $padding-horizontal; + font-size: $font-size; + line-height: $line-height; + } + + .page-item { + &:first-child { + .page-link { + @include border-left-radius($border-radius); + } + } + &:last-child { + .page-link { + @include border-right-radius($border-radius); + } + } + } +} |
