diff options
Diffstat (limited to '')
-rw-r--r-- | src/fmt/doc/bootstrap/mixins/pagination.less | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/fmt/doc/bootstrap/mixins/pagination.less b/src/fmt/doc/bootstrap/mixins/pagination.less new file mode 100644 index 000000000..7deb505d2 --- /dev/null +++ b/src/fmt/doc/bootstrap/mixins/pagination.less @@ -0,0 +1,23 @@ +// Pagination + +.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) { + > li { + > a, + > span { + padding: @padding-vertical @padding-horizontal; + font-size: @font-size; + } + &:first-child { + > a, + > span { + .border-left-radius(@border-radius); + } + } + &:last-child { + > a, + > span { + .border-right-radius(@border-radius); + } + } + } +} |