2017-07-29 15:34:22 -04:00
|
|
|
.pagination {
|
2019-07-21 17:31:22 -04:00
|
|
|
@extend .ul--no-style;
|
2019-01-07 18:29:40 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2018-10-16 17:29:55 -05:00
|
|
|
+ .form-field {
|
2019-06-11 14:10:58 -04:00
|
|
|
margin-left: var(--spacing-medium);
|
2018-10-16 17:29:55 -05:00
|
|
|
}
|
2020-01-08 14:20:30 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
2017-07-29 15:34:22 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination__item {
|
2018-12-19 00:44:53 -05:00
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
|
2019-01-08 14:48:09 -05:00
|
|
|
&:not(.pagination__item--selected):hover {
|
2019-11-22 16:13:00 -05:00
|
|
|
background-color: var(--color-button-secondary-bg);
|
2019-01-08 14:48:09 -05:00
|
|
|
}
|
|
|
|
|
2019-01-07 18:29:40 -05:00
|
|
|
&:not(.pagination__item--selected):not(.pagination__item--break):not(.disabled):hover {
|
2019-11-22 16:13:00 -05:00
|
|
|
color: var(--color-button-secondary-text);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-button-secondary-bg-hover);
|
|
|
|
}
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
2018-06-21 14:32:16 -04:00
|
|
|
|
2019-01-07 18:29:40 -05:00
|
|
|
&:not(.pagination__item--previous):not(.pagination__item--next) {
|
2019-11-07 14:39:22 -05:00
|
|
|
font-weight: var(--font-weight-bold);
|
2018-12-19 00:44:53 -05:00
|
|
|
line-height: 3rem;
|
2019-01-07 18:29:40 -05:00
|
|
|
margin: 0 0.5em;
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
|
|
|
|
2019-01-07 18:29:40 -05:00
|
|
|
&:not(.pagination__item--break):not(.disabled) {
|
2018-06-21 14:32:16 -04:00
|
|
|
cursor: pointer;
|
2017-07-29 15:34:22 -04:00
|
|
|
}
|
2018-06-21 14:32:16 -04:00
|
|
|
|
2017-07-29 15:34:22 -04:00
|
|
|
> a {
|
2018-12-19 00:44:53 -05:00
|
|
|
display: block;
|
2019-07-21 17:31:22 -04:00
|
|
|
height: 100%;
|
2017-07-29 15:34:22 -04:00
|
|
|
}
|
2020-01-08 14:20:30 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
|
|
|
|
&:not(.pagination__item--previous):not(.pagination__item--next) {
|
|
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
}
|
2017-07-17 13:06:04 +07:00
|
|
|
}
|
|
|
|
|
2018-12-19 00:44:53 -05:00
|
|
|
.pagination__item--break {
|
|
|
|
opacity: 0.3;
|
2017-07-17 13:06:04 +07:00
|
|
|
}
|
|
|
|
|
2018-12-19 00:44:53 -05:00
|
|
|
.pagination__item--previous,
|
|
|
|
.pagination__item--next {
|
2020-05-04 10:43:05 -04:00
|
|
|
line-height: 1.5;
|
2018-12-19 00:44:53 -05:00
|
|
|
position: relative;
|
2019-07-21 17:31:22 -04:00
|
|
|
padding-top: var(--spacing-small);
|
2017-08-08 22:31:56 -06:00
|
|
|
}
|
|
|
|
|
2017-07-29 15:34:22 -04:00
|
|
|
.pagination__item--selected {
|
2019-11-22 16:13:00 -05:00
|
|
|
background-color: var(--color-button-secondary-bg);
|
2018-09-06 22:04:03 -06:00
|
|
|
}
|
2020-05-11 11:54:39 -04:00
|
|
|
|
|
|
|
.paginate-channel {
|
|
|
|
width: 5rem;
|
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
}
|