2014-12-02 22:02:35 +00:00
|
|
|
.pagination {
|
2016-12-28 22:39:06 +00:00
|
|
|
display: flex;
|
2017-09-28 17:25:34 +00:00
|
|
|
@include list-unstyled();
|
2014-12-02 22:02:35 +00:00
|
|
|
@include border-radius();
|
2015-10-30 05:24:25 +00:00
|
|
|
}
|
2014-12-02 22:02:35 +00:00
|
|
|
|
2015-12-08 06:24:50 +00:00
|
|
|
.page-item {
|
2015-10-30 05:24:25 +00:00
|
|
|
&:first-child {
|
2015-10-30 05:03:06 +00:00
|
|
|
.page-link {
|
2015-10-30 05:24:25 +00:00
|
|
|
margin-left: 0;
|
|
|
|
@include border-left-radius($border-radius);
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-30 05:24:25 +00:00
|
|
|
&:last-child {
|
|
|
|
.page-link {
|
|
|
|
@include border-right-radius($border-radius);
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-30 05:24:25 +00:00
|
|
|
&.active .page-link {
|
2017-10-20 07:01:29 +00:00
|
|
|
z-index: 1;
|
2016-12-28 22:41:00 +00:00
|
|
|
color: $pagination-active-color;
|
|
|
|
background-color: $pagination-active-bg;
|
2017-04-16 22:45:10 +00:00
|
|
|
border-color: $pagination-active-border-color;
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
|
2015-10-30 05:24:25 +00:00
|
|
|
&.disabled .page-link {
|
2016-12-28 22:41:00 +00:00
|
|
|
color: $pagination-disabled-color;
|
|
|
|
pointer-events: none;
|
|
|
|
background-color: $pagination-disabled-bg;
|
2017-04-16 22:45:10 +00:00
|
|
|
border-color: $pagination-disabled-border-color;
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-30 05:24:25 +00:00
|
|
|
.page-link {
|
|
|
|
position: relative;
|
2016-12-28 22:41:20 +00:00
|
|
|
display: block;
|
2015-10-30 05:24:25 +00:00
|
|
|
padding: $pagination-padding-y $pagination-padding-x;
|
2017-04-27 16:19:13 +00:00
|
|
|
margin-left: -$pagination-border-width;
|
2016-11-28 07:37:36 +00:00
|
|
|
line-height: $pagination-line-height;
|
2015-10-30 05:24:25 +00:00
|
|
|
color: $pagination-color;
|
|
|
|
background-color: $pagination-bg;
|
2015-12-08 08:01:44 +00:00
|
|
|
border: $pagination-border-width solid $pagination-border-color;
|
2015-10-30 05:24:25 +00:00
|
|
|
|
|
|
|
@include hover-focus {
|
|
|
|
color: $pagination-hover-color;
|
2016-11-23 19:37:56 +00:00
|
|
|
text-decoration: none;
|
2015-10-30 05:24:25 +00:00
|
|
|
background-color: $pagination-hover-bg;
|
2017-04-16 22:45:10 +00:00
|
|
|
border-color: $pagination-hover-border-color;
|
2015-10-30 05:24:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-18 18:38:47 +00:00
|
|
|
|
|
|
|
//
|
2014-12-02 22:02:35 +00:00
|
|
|
// Sizing
|
2015-04-18 18:38:47 +00:00
|
|
|
//
|
2014-12-02 22:02:35 +00:00
|
|
|
|
|
|
|
.pagination-lg {
|
2015-08-14 06:04:16 +00:00
|
|
|
@include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination-sm {
|
2015-08-14 06:04:16 +00:00
|
|
|
@include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|