diff options
Diffstat (limited to 'bootstrap/less/pager.less')
-rwxr-xr-x | bootstrap/less/pager.less | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/bootstrap/less/pager.less b/bootstrap/less/pager.less new file mode 100755 index 0000000..e77ba55 --- /dev/null +++ b/bootstrap/less/pager.less @@ -0,0 +1,54 @@ +// +// Pager pagination +// -------------------------------------------------- + + +.pager { + padding-left: 0; + margin: @line-height-computed 0; + text-align: center; + list-style: none; + &:extend(.clearfix all); + li { + display: inline; + > a, + > span { + display: inline-block; + padding: 5px 14px; + background-color: @pager-bg; + border: 1px solid @pager-border; + border-radius: @pager-border-radius; + } + + > a:hover, + > a:focus { + text-decoration: none; + background-color: @pager-hover-bg; + } + } + + .next { + > a, + > span { + float: right; + } + } + + .previous { + > a, + > span { + float: left; + } + } + + .disabled { + > a, + > a:hover, + > a:focus, + > span { + color: @pager-disabled-color; + cursor: @cursor-disabled; + background-color: @pager-bg; + } + } +} |