0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/scss/_pager.scss

58 lines
953 B
SCSS
Raw Normal View History

.pager {
padding-left: 0;
margin-top: $spacer-y;
margin-bottom: $spacer-y;
text-align: center;
list-style: none;
2014-12-02 23:02:35 +01:00
@include clearfix();
2013-04-17 17:32:48 +02:00
li {
display: inline;
2014-12-02 23:02:35 +01:00
2013-04-17 17:32:48 +02:00
> a,
> span {
display: inline-block;
padding: 5px 14px;
2014-12-02 23:02:35 +01:00
background-color: $pager-bg;
2015-11-15 07:49:14 +01:00
border: $pager-border-width solid $pager-border-color;
2014-12-02 23:02:35 +01:00
border-radius: $pager-border-radius;
2013-04-17 17:32:48 +02:00
}
> a {
@include hover-focus {
text-decoration: none;
background-color: $pager-hover-bg;
}
2013-04-17 17:32:48 +02:00
}
}
.disabled {
> a {
@include plain-hover-focus {
color: $pager-disabled-color;
cursor: $cursor-disabled;
background-color: $pager-bg;
}
}
2013-04-17 17:32:48 +02:00
> span {
2014-12-02 23:02:35 +01:00
color: $pager-disabled-color;
cursor: $cursor-disabled;
background-color: $pager-bg;
2013-04-17 17:32:48 +02:00
}
}
}
.pager-next {
> a,
> span {
float: right;
}
}
.pager-prev {
> a,
> span {
float: left;
}
}