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