2017-07-29 21:34:22 +02:00
|
|
|
.pagination {
|
2018-10-17 00:29:55 +02:00
|
|
|
+ .form-field {
|
2018-12-19 06:44:53 +01:00
|
|
|
margin-left: var(--spacing-vertical-medium);
|
2018-10-17 00:29:55 +02:00
|
|
|
}
|
2017-07-29 21:34:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination__item {
|
2018-12-19 06:44:53 +01:00
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
2017-07-29 21:34:22 +02:00
|
|
|
display: inline-block;
|
2018-12-19 06:44:53 +01:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:not(&--selected):not(&--break):not(.disabled):hover {
|
|
|
|
background-color: $lbry-gray-1;
|
|
|
|
}
|
2018-06-21 20:32:16 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
&:not(&--previous):not(&--next) {
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(&--break):not(.disabled) {
|
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;
|
2017-07-29 21:34:22 +02:00
|
|
|
}
|
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 {
|
|
|
|
bottom: -0.4rem;
|
|
|
|
font-size: 2.5rem;
|
|
|
|
line-height: 1;
|
|
|
|
position: relative;
|
2017-08-09 06:31:56 +02:00
|
|
|
}
|
|
|
|
|
2017-07-29 21:34:22 +02:00
|
|
|
.pagination__item--selected {
|
2018-12-19 06:44:53 +01:00
|
|
|
background-color: $lbry-teal-5;
|
2018-10-17 19:14:24 +02:00
|
|
|
color: $lbry-white;
|
2018-09-07 06:04:03 +02:00
|
|
|
}
|