Commit 35c0e4b9 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix album download button

parent 07d802fd
......@@ -11,7 +11,7 @@
{% block body %}
<h1>{{ album.title }}
<span class="title-meta clearfix">
<span><a href="{% url 'photos:album-download' album.slug %}" class="overlay-icon-download"></a></span>
<span><a href="{% url 'photos:album-download' album.slug %}" class="download"></a></span>
<span><a href="{% url 'photos:index' %}" class="back"></a></span>
</span>
<span class="title-meta clearfix">
......
......@@ -1555,43 +1555,54 @@ body {
top: 22px;
width: auto !important;
white-space: nowrap;
}
[class^="title-meta"] span {
span {
display: block;
background: none;
float: left;
margin: 0;
padding: 0;
position: relative;
}
[class^="title-meta"] span a {
a {
display: block;
height: 24px;
margin-left: 5px;
width: 24px;
margin-left: 5px;
&.download {
background: url('../images/misc/icon_download.png') no-repeat 0 -24px;
background-size: 24px auto;
&:hover {
background-position: 0 0;
}
}
[class^="title-meta"] span a.prev {
&.prev {
background: url('../images/misc/icon_next_prev.png') 0 0 no-repeat;
background-size: 48px 48px;
&:hover {
background-position: 0 -24px;
}
[class^="title-meta"] span a.next {
}
&.next {
background: url('../images/misc/icon_next_prev.png') -24px 0 no-repeat;
background-size: 48px 48px;
&:hover {
background-position: -24px -24px;
}
}
[class^="title-meta"] span a.back {
&.back {
background: url('../images/misc/icon_back.png') 0 0 no-repeat;
background-size: 48px 24px;
}
[class^="title-meta"] span a.prev:hover {
background-position: 0 -24px;
}
[class^="title-meta"] span a.next:hover {
background-position: -24px -24px;
}
[class^="title-meta"] span a.back:hover {
&:hover {
background-position: -24px 0;
}
[class^="title-meta"] span a.calendar {
}
&.calendar {
background-color: #e62272;
color: #000000;
......@@ -1605,6 +1616,9 @@ body {
margin-left: 1px;
}
}
}
}
}
/* pagination */
.pagination-wrapper {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment