2024-10-07 09:16:06 -04:00
|
|
|
// Pagination (multiple pages)
|
|
|
|
// --------------------------------------------------
|
|
|
|
.pagination {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 0;
|
2024-10-17 08:35:13 -04:00
|
|
|
margin: 0;
|
2024-10-07 09:16:06 -04:00
|
|
|
|
|
|
|
> li {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
> a,
|
2024-10-21 15:49:09 -04:00
|
|
|
> span,
|
|
|
|
> button {
|
2024-10-07 09:16:06 -04:00
|
|
|
position: relative;
|
|
|
|
float: left; // Collapse white-space
|
|
|
|
padding: var(--spacing-04) var(--spacing-06);
|
|
|
|
line-height: var(--line-height-base);
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--neutral-90);
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid var(--neutral-30);
|
|
|
|
margin-left: -1px;
|
|
|
|
font-weight: 600;
|
2024-10-31 11:50:40 -04:00
|
|
|
transition: background-color 0.15s ease-in-out;
|
2024-10-07 09:16:06 -04:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: var(--neutral-90);
|
|
|
|
background-color: var(--neutral-10);
|
|
|
|
border-color: var(--neutral-30);
|
|
|
|
text-decoration: none;
|
2024-10-31 11:50:40 -04:00
|
|
|
transition: background-color 0.15s ease-in-out;
|
2024-10-07 09:16:06 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
> a,
|
2024-10-21 15:49:09 -04:00
|
|
|
> span,
|
|
|
|
> button {
|
2024-10-07 09:16:06 -04:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .active > a,
|
2024-10-21 15:49:09 -04:00
|
|
|
> .active > span,
|
|
|
|
> .active > button {
|
2024-10-07 09:16:06 -04:00
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
z-index: 2;
|
|
|
|
color: var(--green-70);
|
|
|
|
background-color: var(--green-10);
|
|
|
|
border-color: var(--neutral-30);
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ellipses {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|