From f989c6892f690cf46b0e67158ebb621c3fe690fe Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 14 Jan 2012 23:33:42 -0800 Subject: [PATCH] gray out links for active state on pagination --- bootstrap.css | 5 ++++- bootstrap.min.css | 1 + lib/pagination.less | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bootstrap.css b/bootstrap.css index 9a4e6e1111..37241baf0f 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 23:28:07 PST 2012 + * Date: Sat Jan 14 23:33:26 PST 2012 */ html, body { margin: 0; @@ -2107,6 +2107,9 @@ i { .pagination a:hover, .pagination .active a { background-color: #f5f5f5; } +.pagination .active a { + color: #999999; +} .pagination .disabled a, .pagination .disabled a:hover { color: #999999; background-color: transparent; diff --git a/bootstrap.min.css b/bootstrap.min.css index 1832263f0b..6cc8946a5c 100644 --- a/bootstrap.min.css +++ b/bootstrap.min.css @@ -406,6 +406,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou .pagination li{display:inline;} .pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border-right:1px solid #ddd;border-right:1px solid rgba(0, 0, 0, 0.15);} .pagination a:hover,.pagination .active a{background-color:#f5f5f5;} +.pagination .active a{color:#999999;} .pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default;} .pagination li:last-child a{border:0;} .pagination-centered{text-align:center;} diff --git a/lib/pagination.less b/lib/pagination.less index 655abe5a38..064362b7bc 100644 --- a/lib/pagination.less +++ b/lib/pagination.less @@ -30,6 +30,9 @@ .pagination .active a { background-color: #f5f5f5; } +.pagination .active a { + color: @grayLight; +} .pagination .disabled a, .pagination .disabled a:hover { color: @grayLight;