lbry-desktop/ui/scss/component/_pagination.scss

58 lines
1 KiB
SCSS
Raw Normal View History

2017-07-29 21:34:22 +02:00
.pagination {
2019-07-21 23:31:22 +02:00
@extend .ul--no-style;
display: flex;
align-items: center;
+ .form-field {
2019-06-11 20:10:58 +02:00
margin-left: var(--spacing-medium);
}
2017-07-29 21:34:22 +02:00
}
.pagination__item {
width: 3rem;
height: 3rem;
border-radius: 50%;
text-align: center;
2019-01-08 20:48:09 +01:00
&:not(.pagination__item--selected):hover {
color: $lbry-black;
}
&:not(.pagination__item--selected):not(.pagination__item--break):not(.disabled):hover {
background-color: $lbry-gray-1;
}
2018-06-21 20:32:16 +02:00
&:not(.pagination__item--previous):not(.pagination__item--next) {
2019-11-07 20:39:22 +01:00
font-weight: var(--font-weight-bold);
line-height: 3rem;
margin: 0 0.5em;
}
&:not(.pagination__item--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 {
display: block;
2019-07-21 23:31:22 +02:00
height: 100%;
2017-07-29 21:34:22 +02:00
}
2017-07-17 08:06:04 +02:00
}
.pagination__item--break {
opacity: 0.3;
2017-07-17 08:06:04 +02:00
}
.pagination__item--previous,
.pagination__item--next {
2019-07-21 23:31:22 +02:00
font-size: var(--font-multiplier-xlarge);
line-height: 1;
position: relative;
2019-07-21 23:31:22 +02:00
padding-top: var(--spacing-small);
2017-08-09 06:31:56 +02:00
}
2017-07-29 21:34:22 +02:00
.pagination__item--selected {
background-color: $lbry-teal-5;
2018-10-17 19:14:24 +02:00
color: $lbry-white;
}