1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/_pager.scss

63 lines
1,010 B
SCSS
Raw Normal View History

2012-06-29 00:46:45 -04:00
//
// Pager pagination
// --------------------------------------------------
.pager {
padding-left: 0;
margin-top: $spacer-y;
margin-bottom: $spacer-y;
text-align: center;
list-style: none;
2014-12-02 17:02:35 -05:00
@include clearfix();
2013-04-17 11:32:48 -04:00
li {
display: inline;
2014-12-02 17:02:35 -05:00
2013-04-17 11:32:48 -04:00
> a,
> span {
display: inline-block;
padding: 5px 14px;
2014-12-02 17:02:35 -05:00
background-color: $pager-bg;
border: 1px solid $pager-border;
border-radius: $pager-border-radius;
2013-04-17 11:32:48 -04:00
}
> a {
@include hover-focus {
text-decoration: none;
background-color: $pager-hover-bg;
}
2013-04-17 11:32:48 -04:00
}
}
.disabled {
> a {
@include plain-hover-focus {
color: $pager-disabled-color;
cursor: $cursor-disabled;
background-color: $pager-bg;
}
}
2013-04-17 11:32:48 -04:00
> span {
2014-12-02 17:02:35 -05:00
color: $pager-disabled-color;
cursor: $cursor-disabled;
background-color: $pager-bg;
2013-04-17 11:32:48 -04:00
}
}
}
.pager-next {
> a,
> span {
float: right;
}
}
.pager-prev {
> a,
> span {
float: left;
}
}