Commit 70f53ffa authored by Simon Daron's avatar Simon Daron
Browse files

Fade current instead of hiding on News nav

parent 72b7fb12
......@@ -762,13 +762,18 @@ body{
.newsRoll .labels .item{
display:block;
background:#3333FF;
background:#0000FF;
color:white;
margin:0.1em;
font-size:0.9em;
padding:0.3em;
}
.newsList .current a{
opacity:0.5;
}
.newsList .current img{
border-color:#0000FF;
}
/*
.newsRoll {
padding-top: 5px;
......
......@@ -24,10 +24,10 @@
<div class="rightPart">
<div class="sub">
{% if newsitem.emission %}
<h5 class="sectionLabel">proposé par</h5>
{% with newsitem.emission as emission %}
<div class="">{% emission_resume %}</div>
{% endwith %}
<h5 class="sectionLabel">proposé par</h5>
{% with newsitem.emission as emission %}
<div class="">{% emission_resume %}</div>
{% endwith %}
{% endif %}
<h5 class="sectionLabel right">
<a href="{% url 'newsArchives' %}">
......@@ -37,9 +37,9 @@
<h5 class="sectionLabel">
<span class="iconLabel">Dernières actus</span>
</h5>
<ul class="custom list">
<ul class="custom list newsList">
{% for content in news %}
{% if content != newsitem %}<li>{% news_inline %}</li>{% endif %}
<li class="{% if content == newsitem %}current{% endif %}">{% news_inline %}</li>
{% endfor %}
</ul>
</div>
......
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