mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Co-authored-by: codecalm <codecalm@gmail.com> Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
59 lines
952 B
SCSS
59 lines
952 B
SCSS
.pagination {
|
|
--#{$prefix}pagination-gap: .25rem;
|
|
user-select: none;
|
|
gap: var(--#{$prefix}pagination-gap);
|
|
}
|
|
|
|
.page-link {
|
|
min-width: 1.75rem;
|
|
border-radius: var(--#{$prefix}border-radius);
|
|
}
|
|
|
|
.page-item {
|
|
text-align: center;
|
|
|
|
&:not(.active) {
|
|
.page-link {
|
|
&:hover {
|
|
background: transparent;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.page-prev,
|
|
&.page-next {
|
|
flex: 0 0 50%;
|
|
text-align: left;
|
|
}
|
|
|
|
&.page-next {
|
|
margin-left: auto;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.page-item-subtitle {
|
|
margin-bottom: 2px;
|
|
font-size: 12px;
|
|
color: var(--#{$prefix}secondary);
|
|
text-transform: uppercase;
|
|
|
|
.page-item.disabled & {
|
|
color: $pagination-disabled-color;
|
|
}
|
|
}
|
|
|
|
.page-item-title {
|
|
font-size: $h3-font-size;
|
|
font-weight: var(--#{$prefix}font-weight-normal);
|
|
color: var(--#{$prefix}body-color);
|
|
|
|
.page-link:hover & {
|
|
color: $link-color;
|
|
}
|
|
|
|
.page-item.disabled & {
|
|
color: $pagination-disabled-color;
|
|
}
|
|
}
|