diff options
| author | Mark Otto <[email protected]> | 2012-01-14 20:54:37 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-14 20:54:37 -0800 |
| commit | 6d916763f82be8c2d4f87842275170c12bea72ec (patch) | |
| tree | 44b3ad93bce144306f15ff095a3f42bc40f97f5c /bootstrap.css | |
| parent | 1c6048bac2d305085f40324223c32e40bb9ea938 (diff) | |
| download | bootstrap-6d916763f82be8c2d4f87842275170c12bea72ec.tar.xz bootstrap-6d916763f82be8c2d4f87842275170c12bea72ec.zip | |
adding the pager component after rewriting the pagination docs and css
Diffstat (limited to 'bootstrap.css')
| -rw-r--r-- | bootstrap.css | 55 |
1 files changed, 44 insertions, 11 deletions
diff --git a/bootstrap.css b/bootstrap.css index da68a66a8..a93aaaee6 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Sat Jan 14 17:11:53 PST 2012 + * Date: Sat Jan 14 20:53:46 PST 2012 */ html, body { margin: 0; @@ -2082,7 +2082,8 @@ i { /* IE7 inline-block hack */ *zoom: 1; - margin: 0; + margin-left: 0; + margin-bottom: 0; border: 1px solid #ddd; border: 1px solid rgba(0, 0, 0, 0.15); -webkit-border-radius: 3px; @@ -2100,26 +2101,58 @@ i { padding: 0 14px; line-height: 34px; text-decoration: none; - border-right: 1px solid; - border-right-color: #ddd; - border-right-color: rgba(0, 0, 0, 0.15); - *border-right-color: #ddd; - /* IE6-7 */ - + border-right: 1px solid #ddd; + border-right: 1px solid rgba(0, 0, 0, 0.15); } .pagination a:hover, .pagination .active a { - background-color: #c7eefe; + background-color: #f5f5f5; } .pagination .disabled a, .pagination .disabled a:hover { color: #999999; background-color: transparent; cursor: default; } -.pagination .next a { +.pagination li:last-child a { border: 0; } -.pagination.centered { +.pagination-centered { + text-align: center; +} +.pagination-right { + text-align: right; +} +.pager { + margin-left: 0; + margin-bottom: 18px; + list-style: none; text-align: center; + zoom: 1; +} +.pager:before, .pager:after { + display: table; + *display: inline; + content: ""; + zoom: 1; +} +.pager:after { + clear: both; +} +.pager li { + display: inline; +} +.pager a { + display: inline-block; + padding: 6px 15px; + background-color: #f5f5f5; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} +.pager .next a { + float: right; +} +.pager .previous a { + float: left; } .modal-backdrop { position: fixed; |
