0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

refined pager styles to give a border on the links and improved hover state

This commit is contained in:
Mark Otto 2012-01-29 13:12:13 -08:00
parent 8c763589a2
commit 4e5b0e185e
2 changed files with 14 additions and 4 deletions

View File

@ -2707,12 +2707,17 @@ button.btn.small, input[type="submit"].btn.small {
} }
.pager a { .pager a {
display: inline-block; display: inline-block;
padding: 6px 15px; padding: 5px 14px;
background-color: #f5f5f5; background-color: #fff;
border: 1px solid #ddd;
-webkit-border-radius: 15px; -webkit-border-radius: 15px;
-moz-border-radius: 15px; -moz-border-radius: 15px;
border-radius: 15px; border-radius: 15px;
} }
.pager a:hover {
text-decoration: none;
background-color: #f5f5f5;
}
.pager .next a { .pager .next a {
float: right; float: right;
} }

View File

@ -13,10 +13,15 @@
} }
.pager a { .pager a {
display: inline-block; display: inline-block;
padding: 6px 15px; padding: 5px 14px;
background-color: #f5f5f5; background-color: #fff;
border: 1px solid #ddd;
.border-radius(15px); .border-radius(15px);
} }
.pager a:hover {
text-decoration: none;
background-color: #f5f5f5;
}
.pager .next a { .pager .next a {
float: right; float: right;
} }