diff options
Diffstat (limited to 'bootstrap/fonts/less/mixins/pagination.less')
-rwxr-xr-x | bootstrap/fonts/less/mixins/pagination.less | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/pagination.less b/bootstrap/fonts/less/mixins/pagination.less new file mode 100755 index 0000000..618804f --- /dev/null +++ b/bootstrap/fonts/less/mixins/pagination.less @@ -0,0 +1,24 @@ +// Pagination + +.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; + } + &:first-child { + > a, + > span { + .border-left-radius(@border-radius); + } + } + &:last-child { + > a, + > span { + .border-right-radius(@border-radius); + } + } + } +} |