1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

use nesting more in pagination.less

This commit is contained in:
Chris Rebert
2013-07-07 14:52:00 -07:00
committed by Chris Rebert
parent 084291aac7
commit 6bda16f6be
2 changed files with 63 additions and 53 deletions

View File

@@ -3323,6 +3323,19 @@ button.close {
border-left-width: 0;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
border-left-width: 1px;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
@@ -3345,19 +3358,6 @@ button.close {
background-color: #ffffff;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
border-left-width: 1px;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.pagination-large > li > a,
.pagination-large > li > span {
padding: 14px 16px;