You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
59 lines
1.2 KiB
.d-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
}
|
|
.d-pagination__btn,
|
|
.d-pagination__page {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0.5rem;
|
|
background: rgba(175, 181, 185, 0.15);
|
|
color: rgba(46, 53, 58, 0.6);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
cursor: default;
|
|
}
|
|
.d-pagination__btn:not(:disabled),
|
|
.d-pagination__page[data-page]:not(.is-active) {
|
|
cursor: pointer;
|
|
}
|
|
.d-pagination__btn img {
|
|
display: block;
|
|
width: 1.0625rem;
|
|
height: auto;
|
|
transform: scaleX(-1);
|
|
filter: grayscale(1) opacity(0.45);
|
|
}
|
|
.d-pagination__btn--next img {
|
|
transform: none;
|
|
filter: none;
|
|
}
|
|
.d-pagination__btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
.d-pagination__page.is-active {
|
|
background: var(--color-primary);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.d-pagination {
|
|
gap: 8Px;
|
|
}
|
|
.d-pagination__btn,
|
|
.d-pagination__page {
|
|
width: 40Px;
|
|
height: 40Px;
|
|
font-size: 16Px;
|
|
}
|
|
}
|