Remove collection_thumbnail styling, so collection thumbnails are styled the same as other thumbnails
This commit is contained in:
parent
cacb6feae4
commit
98b927250e
@ -392,6 +392,11 @@ textarea#comment_content {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media_thumbnail a.remove {
|
||||||
|
color: #86D4B1;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
a.thumb_entry_title {
|
a.thumb_entry_title {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
@ -404,34 +409,6 @@ a.thumb_entry_title {
|
|||||||
margin-right: 0px;
|
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 */
|
/* media detail */
|
||||||
|
|
||||||
h2.media_title {
|
h2.media_title {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
{% for item in row %}
|
{% for item in row %}
|
||||||
{% set media_entry = item.get_media_entry %}
|
{% set media_entry = item.get_media_entry %}
|
||||||
{% set entry_url = media_entry.url_for_self(request.urlgen) %}
|
{% 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
|
{%- if loop.first %} thumb_entry_first
|
||||||
{%- elif loop.last %} thumb_entry_last{% endif %}">
|
{%- elif loop.last %} thumb_entry_last{% endif %}">
|
||||||
<a href="{{ entry_url }}">
|
<a href="{{ entry_url }}">
|
||||||
@ -35,7 +35,6 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% if item.note %}
|
{% if item.note %}
|
||||||
<br />
|
|
||||||
<a href="{{ entry_url }}">{{ item.note }}</a>
|
<a href="{{ entry_url }}">{{ item.note }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.user and
|
{% if request.user and
|
||||||
@ -46,7 +45,6 @@
|
|||||||
user=item.in_collection.get_creator.username,
|
user=item.in_collection.get_creator.username,
|
||||||
collection=item.in_collection.slug,
|
collection=item.in_collection.slug,
|
||||||
collection_item=item.id) -%}
|
collection_item=item.id) -%}
|
||||||
<br />
|
|
||||||
<a href="{{ remove_url }}" class="remove">
|
<a href="{{ remove_url }}" class="remove">
|
||||||
{%- trans %}(remove){% endtrans -%}
|
{%- trans %}(remove){% endtrans -%}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user