lbry-desktop/ui/scss/component/_pagination.scss
jessopb 3034f4ce6c
bring in styles (#7542)
* bring in ody styles; modify; cleanup

* workflow

* workflow

* v0.52.6-alpha.teststyles.1

* fix hook

* v0.52.6-alpha.teststyles.2

* style fixes

* fix pagination styling

* v0.52.6-alpha.teststyles.3

* wallet icon was bad

* restore deploy script

* fixes

* fix player close button

* modal inputs

* cleanup

* cleanup

* fix staked indicator

* fix profile menu button skel delay

* fix view-all-playlists hover

* fix overlay buttons on collection page

* fix header buttons
2022-04-17 13:04:56 -04:00

80 lines
1.6 KiB
SCSS

.pagination {
@extend .ul--no-style;
display: flex;
align-items: center;
+ .form-field {
margin-left: var(--spacing-m);
}
@media (max-width: $breakpoint-small) {
font-size: var(--font-small);
}
.pagination__item {
margin-bottom: 0;
}
}
.pagination__item {
width: var(--height-button);
height: var(--height-button);
border-radius: 50%;
text-align: center;
&:not(.pagination__item--selected):hover {
background-color: var(--color-button-secondary);
}
&:not(.pagination__item--selected):not(.pagination__item--break):not(.disabled):hover {
&:hover {
background-color: var(--color-button-secondary-bg-hover);
}
}
&:not(.pagination__item--previous):not(.pagination__item--next) {
font-weight: var(--font-weight-bold);
line-height: var(--height-button);
margin: 0 0.5em;
}
&:not(.pagination__item--selected) {
background-color: unset;
cursor: pointer;
}
> a {
display: block;
height: 100%;
}
@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;
}
}
}
.pagination__item--break {
opacity: 0.3;
}
.pagination__item--previous,
.pagination__item--next {
line-height: var(--height-button);
background-color: var(--color-header-background);
}
.pagination__item--selected {
background-color: var(--color-button-secondary-bg);
}
.paginate-goto {
width: 5rem;
border-top-left-radius: var(--border-radius);
border-bottom-left-radius: var(--border-radius);
}