0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

gray out links for active state on pagination

This commit is contained in:
Mark Otto 2012-01-14 23:33:42 -08:00
parent 16eccc43d9
commit f989c6892f
3 changed files with 8 additions and 1 deletions

5
bootstrap.css vendored
View File

@ -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;

1
bootstrap.min.css vendored
View File

@ -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;}

View File

@ -30,6 +30,9 @@
.pagination .active a {
background-color: #f5f5f5;
}
.pagination .active a {
color: @grayLight;
}
.pagination .disabled a,
.pagination .disabled a:hover {
color: @grayLight;