2018-05-20 20:12:45 +00:00
|
|
|
.pagination {
|
2018-04-16 00:33:54 +00:00
|
|
|
display: flex;
|
2018-10-24 22:48:07 +00:00
|
|
|
justify-content: space-between;
|
2018-10-25 00:15:23 +00:00
|
|
|
align-items: stretch;
|
|
|
|
width: 100%;
|
2018-04-16 00:33:54 +00:00
|
|
|
|
2018-10-24 22:48:07 +00:00
|
|
|
&__section {
|
|
|
|
display: flex;
|
2018-10-25 00:15:23 +00:00
|
|
|
align-items: stretch;
|
2018-10-24 22:48:07 +00:00
|
|
|
overflow: auto;
|
|
|
|
flex: 0 0 auto;
|
2018-04-23 03:00:55 +00:00
|
|
|
|
2018-10-24 22:48:07 +00:00
|
|
|
&--pages {
|
|
|
|
flex-shrink: 1;
|
2018-04-16 00:33:54 +00:00
|
|
|
|
2018-10-24 22:48:07 +00:00
|
|
|
@media (max-width: @site-mobile-width) {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-04-16 00:33:54 +00:00
|
|
|
}
|
2018-10-25 00:15:23 +00:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
2018-04-16 00:33:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
2018-10-25 00:15:23 +00:00
|
|
|
display: flex;
|
|
|
|
min-width: 40px;
|
2018-10-24 22:48:07 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 1.5em;
|
2018-10-25 00:15:23 +00:00
|
|
|
padding: 3px 10px 4px;
|
2018-04-16 00:33:54 +00:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
2018-10-24 22:48:07 +00:00
|
|
|
background-color: var(--background-colour);
|
|
|
|
color: var(--accent-colour);
|
|
|
|
border: 1px solid var(--accent-colour);
|
|
|
|
border-radius: 2px;
|
|
|
|
transition: background-color .2s, color .2s;
|
2018-10-25 00:15:23 +00:00
|
|
|
text-align: center;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
2018-10-24 22:48:07 +00:00
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
--accent-colour: #555;
|
|
|
|
}
|
2018-04-16 00:33:54 +00:00
|
|
|
|
2018-10-25 00:15:23 +00:00
|
|
|
&--first,
|
|
|
|
&--last,
|
|
|
|
&--next,
|
|
|
|
&--prev {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2018-10-24 22:48:07 +00:00
|
|
|
&--current,
|
|
|
|
&:not(&--disabled):hover,
|
|
|
|
&:not(&--disabled):active,
|
|
|
|
&:not(&--disabled):focus {
|
|
|
|
background-color: var(--accent-colour);
|
|
|
|
color: var(--background-colour);
|
2018-04-16 00:33:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|