diff options
| author | ggam <[email protected]> | 2013-08-13 13:27:45 +0200 |
|---|---|---|
| committer | ggam <[email protected]> | 2013-08-13 13:27:45 +0200 |
| commit | ea04fa538e7e08db6284d4aeccec3e617909af8e (patch) | |
| tree | ac0cef2595becbf9b857a93c017ae80f8915e195 /less/mixins.less | |
| parent | 36c4223b1d316c391e62741d10ad16bcf58ee36a (diff) | |
| download | bootstrap-ea04fa538e7e08db6284d4aeccec3e617909af8e.tar.xz bootstrap-ea04fa538e7e08db6284d4aeccec3e617909af8e.zip | |
Added pagination-size mixin
Diffstat (limited to 'less/mixins.less')
| -rw-r--r-- | less/mixins.less | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less index 24bce6bbf..57f1ff24c 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -393,6 +393,30 @@ border-radius: @border-radius; } +// Pagination +// ------------------------- +.pagination-size(@padding-large-vertical; @padding-large-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); + } + } + } +} + // Labels // ------------------------- .label-variant(@color) { |
