2021-02-18 21:44:01 +01:00
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
list-style: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
padding: 1rem 0 0;
|
|
|
|
|
|
|
|
a {
|
2021-02-18 22:21:36 +01:00
|
|
|
font-size: 0.8rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
color: #bfbfbf;
|
2021-02-18 22:21:36 +01:00
|
|
|
letter-spacing: 0.1rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
font-weight: 700;
|
|
|
|
padding: 5px 5px;
|
|
|
|
text-decoration: none;
|
|
|
|
@include transition(0.3s);
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: 3px;
|
|
|
|
margin: 0 20px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover a {
|
|
|
|
color: $pagination-link-hover-color;
|
|
|
|
}
|
|
|
|
|
2021-02-18 22:21:36 +01:00
|
|
|
[theme="dark"] &:hover a {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $pagination-link-hover-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
width: 0;
|
|
|
|
height: 3px;
|
|
|
|
background: $pagination-link-hover-color;
|
|
|
|
@include transition(0.3s);
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
2021-02-18 22:21:36 +01:00
|
|
|
[theme="dark"] &:before,
|
|
|
|
[theme="dark"] &:after {
|
2021-02-18 21:44:01 +01:00
|
|
|
background: $pagination-link-hover-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before .active,
|
|
|
|
&:after .active {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
a {
|
|
|
|
color: $pagination-link-hover-color;
|
|
|
|
}
|
|
|
|
|
2021-02-18 22:21:36 +01:00
|
|
|
[theme="dark"] & a {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $pagination-link-hover-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|