Remove collection_thumbnail styling, so collection thumbnails are styled the same as other thumbnails

This commit is contained in:
Jef van Schendel 2012-12-16 21:57:19 +01:00
parent cacb6feae4
commit 98b927250e
2 changed files with 6 additions and 31 deletions

View File

@ -392,6 +392,11 @@ textarea#comment_content {
display: block;
}
.media_thumbnail a.remove {
color: #86D4B1;
text-decoration: underline;
}
a.thumb_entry_title {
padding: 8px;
}
@ -404,34 +409,6 @@ a.thumb_entry_title {
margin-right: 0px;
}
/* collection media */
.collection_thumbnail {
float: left;
padding: 0px;
width: 180px;
margin: 0px 4px 10px;
text-align: left;
font-size: 0.875em;
background-color: #222;
border-radius: 0 0 5px 5px;
padding: 0 0 6px;
text-overflow: ellipsis;
}
.collection_thumbnail a {
color: #eee;
text-decoration: none;
}
.collection_thumbnail a.remove {
color: #86D4B1;
}
.collection_thumbnail img {
max-height: 135px;
}
/* media detail */
h2.media_title {

View File

@ -27,7 +27,7 @@
{% for item in row %}
{% set media_entry = item.get_media_entry %}
{% set entry_url = media_entry.url_for_self(request.urlgen) %}
<td class="collection_thumbnail thumb_entry
<td class="media_thumbnail thumb_entry
{%- if loop.first %} thumb_entry_first
{%- elif loop.last %} thumb_entry_last{% endif %}">
<a href="{{ entry_url }}">
@ -35,7 +35,6 @@
</a>
{% if item.note %}
<br />
<a href="{{ entry_url }}">{{ item.note }}</a>
{% endif %}
{% if request.user and
@ -46,7 +45,6 @@
user=item.in_collection.get_creator.username,
collection=item.in_collection.slug,
collection_item=item.id) -%}
<br />
<a href="{{ remove_url }}" class="remove">
{%- trans %}(remove){% endtrans -%}
</a>