1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

.pagination>{li => .page}

This commit is contained in:
Chris Rebert
2015-10-29 21:51:31 -07:00
parent 7eadfbc9b2
commit a878c4f0c6
3 changed files with 33 additions and 33 deletions

View File

@@ -5,7 +5,7 @@
margin-bottom: $spacer-y;
@include border-radius();
> li {
.page {
display: inline; // Remove list-style and block-level defaults
> a,
@@ -35,8 +35,8 @@
}
}
> li > a,
> li > span {
.page > a,
.page > span {
@include hover-focus {
color: $pagination-hover-color;
background-color: $pagination-hover-bg;
@@ -44,8 +44,8 @@
}
}
> .active > a,
> .active > span {
.page.active > a,
.page.active > span {
@include plain-hover-focus {
z-index: 2;
color: $pagination-active-color;
@@ -55,7 +55,7 @@
}
}
> .disabled {
.page.disabled {
> span,
> a {
@include plain-hover-focus {

View File

@@ -1,7 +1,7 @@
// Pagination
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
> li {
.page {
> a,
> span {
padding: $padding-vertical $padding-horizontal;