Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | // Pagination |
2 | |||||
3 | @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { | ||||
4 | > li { | ||||
5 | > a, | ||||
6 | > span { | ||||
7 | padding: $padding-vertical $padding-horizontal; | ||||
8 | font-size: $font-size; | ||||
9 | line-height: $line-height; | ||||
10 | } | ||||
11 | &:first-child { | ||||
12 | > a, | ||||
13 | > span { | ||||
14 | @include border-left-radius($border-radius); | ||||
15 | } | ||||
16 | } | ||||
17 | &:last-child { | ||||
18 | > a, | ||||
19 | > span { | ||||
20 | @include border-right-radius($border-radius); | ||||
21 | } | ||||
22 | } | ||||
23 | } | ||||
24 | } |