twbs--bootstrap/scss/_pager.scss

57 lines
859 B
SCSS
Raw Normal View History

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