diff options
| author | Artur Kwiatkowski <[email protected]> | 2013-04-17 17:32:48 +0200 |
|---|---|---|
| committer | Artur Kwiatkowski <[email protected]> | 2013-04-17 17:32:48 +0200 |
| commit | 67a5d8ce74ca0c609348f3c77f571c0b3e608c8e (patch) | |
| tree | f00782844e473f082c6cabe942a2171a563878dc | |
| parent | dc97a1967b81e994ebb31ed3cad89f58794b46b9 (diff) | |
| download | bootstrap-67a5d8ce74ca0c609348f3c77f571c0b3e608c8e.tar.xz bootstrap-67a5d8ce74ca0c609348f3c77f571c0b3e608c8e.zip | |
more nested pager.less
| -rw-r--r-- | less/pager.less | 75 |
1 files changed, 43 insertions, 32 deletions
diff --git a/less/pager.less b/less/pager.less index e00a31bd0..0fb694668 100644 --- a/less/pager.less +++ b/less/pager.less @@ -8,36 +8,47 @@ list-style: none; text-align: center; .clearfix(); + li { + display: inline; + > a, + > span { + display: inline-block; + padding: 5px 14px; + background-color: @pagination-bg; + border: 1px solid @pagination-border; + border-radius: 15px; + } + + > a:hover, + > a:focus { + text-decoration: none; + background-color: @pagination-active-bg; + } + } + + .next { + > a, + > span { + float: right; + } + } + + .previous { + > a, + > span { + float: left; + } + } + + .disabled { + > a, + > a:hover, + > a:focus, + > span { + color: @grayLight; + background-color: #fff; + cursor: default; + } + } + } -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: @pagination-bg; - border: 1px solid @pagination-border; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: @pagination-active-bg; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: @grayLight; - background-color: #fff; - cursor: default; -}
\ No newline at end of file |
