This commit is contained in:
root 2018-08-27 10:51:26 +00:00
parent 9c02e2913e
commit 48083b09eb
2 changed files with 64 additions and 4 deletions

View File

@ -145,7 +145,69 @@ ul.clearing-thumbs li {
.pagination button:hover,
.pagination span.current
{
background: #1779ba !important; }
background: #1779ba !important;
}
.years {
text-align: center;
margin-left: 16px;
margin-right: 16px;
padding-bottom: 20px;
}
.years::before, .years::after {
display: table;
content: ' ';
}
.years::after {
clear: both;
}
.years li {
margin-right: 0.0625rem;
border-radius: 0;
font-size: 0.875rem;
display: inline-block;
}
.years a,
.years button {
display: block;
padding: 0.1875rem 0.625rem;
border-radius: 0;
color: #0a0a0a; }
.years a:hover,
.years button:hover {
background: #e6e6e6; }
.years .current {
padding: 0.1875rem 0.625rem;
background: #1779ba;
color: #fefefe;
cursor: default; }
.years .disabled {
padding: 0.1875rem 0.625rem;
color: #cacaca;
cursor: not-allowed; }
.years .disabled:hover {
background: transparent; }
.years .ellipsis::after {
padding: 0.1875rem 0.625rem;
content: '\2026';
color: #0a0a0a;
}
.years {
}
.years a, .years button {
color: #ffffff !important;
}
.years a:hover,
.years button:hover,
.years span.current
{
background: #1779ba !important;
}
.admin-menu {
position: absolute;

View File

@ -47,8 +47,7 @@
<br>
{% if years %}
<div class="row">
<div class="medium-8 medium-offset-2 end columns">
<ul class="pagination">
<ul class="years">
{% for y in years %}
{% if year == y %}
<li><span class="current">{{y}}</a></li>
@ -57,7 +56,6 @@
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% if content.has_other_pages %}