2019-08-11 19:36:19 +02:00
|
|
|
/** pagination **/
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
list-style: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
2019-08-24 13:32:41 +02:00
|
|
|
padding-top: 1rem;
|
2019-08-11 19:36:19 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2019-08-24 13:32:41 +02:00
|
|
|
font-size: .8rem;
|
2019-08-11 19:36:19 +02:00
|
|
|
color: #bfbfbf;
|
2019-08-24 13:32:41 +02:00
|
|
|
letter-spacing: .1rem;
|
2019-08-11 19:36:19 +02:00
|
|
|
font-weight: 700;
|
|
|
|
padding: 5px 5px;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: 3px;
|
|
|
|
margin: 0 20px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover a {
|
2020-01-31 15:53:04 +01:00
|
|
|
color: $pagination-link-hover-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme &:hover a {
|
2020-01-31 15:53:04 +01:00
|
|
|
color: $pagination-link-hover-color-dark;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
width: 0;
|
|
|
|
height: 3px;
|
2020-01-31 15:53:04 +01:00
|
|
|
background: $pagination-link-hover-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
transition: 0.3s;
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme &:before,
|
|
|
|
.dark-theme &:after {
|
2020-01-31 15:53:04 +01:00
|
|
|
background: $pagination-link-hover-color-dark;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before .active,
|
|
|
|
&:after .active {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
a {
|
2020-01-31 15:53:04 +01:00
|
|
|
color: $pagination-link-hover-color;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme & a {
|
2020-01-31 15:53:04 +01:00
|
|
|
color: $pagination-link-hover-color-dark;
|
2019-08-11 19:36:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|