mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
ed89be1f44
We have it set to `1` right now just to avoid compilation errors, but it’s been replaced everywhere with our new spacer classes anywho. We’ll likely want to remap that var to custom component vars though (e.g., `$pagination-margin` instead of `$spacer-y`).
62 lines
1,010 B
SCSS
62 lines
1,010 B
SCSS
//
|
|
// Pager pagination
|
|
// --------------------------------------------------
|
|
|
|
|
|
.pager {
|
|
padding-left: 0;
|
|
margin-top: $spacer-y;
|
|
margin-bottom: $spacer-y;
|
|
text-align: center;
|
|
list-style: none;
|
|
@include clearfix();
|
|
|
|
li {
|
|
display: inline;
|
|
|
|
> a,
|
|
> span {
|
|
display: inline-block;
|
|
padding: 5px 14px;
|
|
background-color: $pager-bg;
|
|
border: 1px solid $pager-border;
|
|
border-radius: $pager-border-radius;
|
|
}
|
|
|
|
> a {
|
|
@include hover-focus {
|
|
text-decoration: none;
|
|
background-color: $pager-hover-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
.disabled {
|
|
> a {
|
|
@include plain-hover-focus {
|
|
color: $pager-disabled-color;
|
|
cursor: $cursor-disabled;
|
|
background-color: $pager-bg;
|
|
}
|
|
}
|
|
> span {
|
|
color: $pager-disabled-color;
|
|
cursor: $cursor-disabled;
|
|
background-color: $pager-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pager-next {
|
|
> a,
|
|
> span {
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
.pager-prev {
|
|
> a,
|
|
> span {
|
|
float: left;
|
|
}
|
|
}
|